/* --- SCROLLBAR STYLE FOR A CLEANER LOOK --- */
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
  border: 2px solid #fff;
}
body::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* --- 1. Global Reset, Variables & Typography --- */
:root {
    --primary-color: #FF9800; /* Bright Orange for energy/sun */
    --secondary-color: #00796b; /* Teal/Dark Green for environment/trust */
    --text-color: #333;
    --light-bg: #f7f7f7;
    --dark-bg: #003e6b; /* Dark Slate for depth */
    --max-width: 1280px;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background: #e0f2f1;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: auto;
    overflow: hidden;
}

.section-padding {
    padding: 30px 0;
}

/* --- 2. Headings & Titles --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}
.page-title {
    font-size: 3em;
    color: var(--secondary-color);
}
.subtitle {
    text-align: center;
    font-size: 1.1em;
    color: #777;
    margin-bottom: 50px;
}

/* --- 3. Header & Navigation (FIXED) --- */
header {
    background: #fff;
    height: 70px; /* Force a consistent height for the bar */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    display: flex;
    align-items: center; /* Centers items vertically without expanding bar */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    height: 100%; /* Take full height of header */
}

/* LOGO FIX: This makes the logo big without breaking the nav */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 180px; /* Adjust this to make your logo as big as you want */
    width: auto;
    position: absolute; /* Allows logo to "overflow" the bar if needed */
    top: -15px; /* Adjust this to center it vertically if using absolute */
    transition: transform 0.1s;
}

/* Keep the Nav contained */
nav {
    margin-left: auto;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li a:not(.btn) {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #00796b;
}

/* --- 4. Buttons (More Defined) --- */
.btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    transition: transform 0.3s, background-color 0.3s;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.primary-btn-lg {
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 15px 40px;
    font-size: 1.1em;
}

.primary-btn-sm {
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 8px 18px;
    margin-left: 15px;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.text-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}
.text-link:hover {
    color: var(--primary-color);
}


/* --- 5. Hero Section (New Look) --- */
.hero-new {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('solar-panels-wide.jpg') no-repeat center center/cover; /* REPLACE with your own image */
    height: 70vh;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
}

.hero-content-new {
    z-index: 10;
    max-width: 650px;
    text-align: left;
    padding: 0 20px;
}

.hero-content-new h1 {
    font-size: 3.8em;
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero-content-new p {
    font-size: 1.3em;
    margin-bottom: 30px;
    font-weight: 300;
}

/* --- 6. Services Preview Grid (Image Cards) --- */
.service-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding-bottom: 25px;
}

.card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--secondary-color);
    font-size: 1.5em;
    padding: 0 20px;
}

.service-card p {
    padding: 0 20px 20px;
}

/* --- 7. Trust Grid (Why Choose Us) --- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.trust-item {
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: box-shadow 0.3s;
}

.trust-item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.trust-item i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.trust-item h4 {
    color: var(--dark-bg);
}


/* --- 8. Contact Section & Form (Two Columns) --- */
.bg-dark {
    background: var(--dark-bg);
    color: #fff;
}
.bg-dark h2 {
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Form is wider than map */
    gap: 50px;
    text-align: left;
}

.contact-form-area input[type="text"],
.contact-form-area input[type="email"],
.contact-form-area input[type="tel"],
.contact-form-area textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
    background: #fff;
    color: #fff;
    font-size: 1em;
}

.contact-form-area textarea {
    resize: vertical;
}

.contact-form-area .primary-btn-lg {
    width: 100%;
    text-align: center;
}

.map-placeholder {
    height: 350px;
    background: #444;
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden; /* Ensures map iframe fits borders */
}

.address-text {
    margin-top: 15px;
    color: #ccc;
    font-size: 0.9em;
}

/* --- 9. Footer --- */
footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 20px 0;
    font-size: 0.9em;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

.social-links a {
    font-size: 1.2em;
    margin-left: 15px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* --- 10. Services Page Specific Styles (For services-full.html) --- */

.service-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.reverse-grid {
    grid-template-areas: "image text";
}
.reverse-grid .service-image-container {
    grid-area: image;
}
.reverse-grid .service-text {
    grid-area: text;
}

.block-title {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-top: 0;
}

.full-width-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.check-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}
.check-list li {
    padding: 8px 0;
    font-size: 1.05em;
}
.check-list li i {
    color: var(--secondary-color);
    margin-right: 10px;
}


/* --- 11. ANIMATION KEYFRAMES & CLASSES --- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fade-in { animation: fadeIn 1s ease-out forwards; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }


/* --- 12. Media Queries (Responsiveness) --- */
@media (max-width: 900px) {
    .contact-grid, .service-layout-grid {
        grid-template-columns: 1fr; /* Stack form, map, and service blocks vertically */
    }
    .map-area {
        margin-top: 40px;
    }
    .hero-content-new h1 {
        font-size: 3em;
    }
    .reverse-grid {
        grid-template-areas: none; /* Disable grid area logic for mobile stack */
    }
}
@media (max-width: 600px) {
    header .container {
        flex-direction: column;
    }
    nav ul {
        margin-top: 10px;
    }
    nav ul li {
        margin: 0 5px;
    }
    .primary-btn-sm {
        margin-left: 0;
        margin-top: 5px;
    }
    .hero-content-new h1 {
        font-size: 2.2em;
    }
    .hero-new {
        height: 60vh;
    }
    .service-card {
        margin-bottom: 20px;
    }
    footer .container {
        flex-direction: column;
        text-align: center;
    }
    .social-links {
        margin-top: 10px;
    }
}

/* --- ABOUT PAGE SPECIFIC STYLES --- */

/* Section for Quality and Certification (Section 3 on about.html) */
.about-quality-grid {
    display: grid;
    gap: 40px;
    align-items: center;
    grid-template-columns: 1fr 1fr; /* Standard two-column layout */
}

.quality-text {
    padding-right: 20px;
}

.quality-image {
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Call to Action Banner */
.cta-banner {
    background-color: #2c3e50; /* Dark blue/grey background */
    color: #ffffff;
}
.cta-banner h2 {
    color: #ffffff;
    margin-bottom: 10px;
}

/* --- RESPONSIVE ADJUSTMENTS for About Page --- */
@media (max-width: 992px) {
    /* Stack the content for smaller screens */
    .about-quality-grid {
        grid-template-columns: 1fr;
    }
    .quality-text {
        padding-right: 0;
    }
}
/* --- ABOUT PAGE HEADER FINAL REVISION --- */

/* 1. Add extra padding for vertical space */
.section-padding.bg-light.text-center {
    padding-top: 100px;
    padding-bottom: 80px;
}

/* 2. Constrain text width for better readability and centering */
.section-padding.bg-light.text-center .container {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* 3. Style the Main Title */
.page-title {
    /* Change color to the deep blue for a professional, sharp look */
    color: #2c3e50 !important; 
    font-size: 3.5em; /* Larger and more impactful */
    font-family: 'Oswald', sans-serif; /* Use the bold Oswald font */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

/* 4. Style the Subtitle/Mission Statement */
.subtitle {
    font-size: 1.3em; /* Make the mission statement stand out */
    color: #0d4274; 
    max-width: 700px; /* Constrain subtitle even more */
    margin: 0 auto;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .section-padding.bg-light.text-center {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .page-title {
        font-size: 2.2em; /* Ensure it fits nicely on phone screens */
    }
    .subtitle {
        font-size: 1.1em;
    }
    @media (max-width: 768px) {
        header {
            height: 70px; /* Slimmer header for mobile */
        }
        .logo img {
            height: 60px; /* Smaller logo for mobile so it fits */
            position: static; /* Put it back in line so it doesn't overlap menu */
            margin: 0 auto;
        }
        header .container {
            flex-direction: row; /* Keeps hamburger and logo side-by-side */
        }
    }
}
/* --- ABOUT PAGE SPECIFIC STYLES AND LAYOUT --- */

/* 🛑 HERO BANNER NEW DESIGN */
.about-hero {
    /* Set a dark, professional background color */
    background-color: #003e6b; 
    /* Add generous padding for vertical space */
    padding: 20px 0; 
}

.about-hero .container {
    max-width: 900px;
    margin: 0 auto;
}

.about-hero .page-title {
    /* White text for contrast */
    color: #ffffff !important; 
    font-family: 'Oswald', sans-serif;
    font-size: 3.0em; /* Very large and dominant title */
    font-weight: 900;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 10px;
    
}

.about-hero .subtitle {
    /* Lighter text for secondary information */
    color: #cccccc; 
    font-size: 1.3em;
    max-width: 750px;
    margin: 0 auto;
}


/* Section for Quality and Certification (Interior two-column layout) */
.about-quality-grid {
    display: grid;
    gap: 40px;
    align-items: center;
    grid-template-columns: 1fr 1fr; 
}

.quality-text {
    padding-right: 20px;
}

.quality-image {
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Call to Action Banner Styling */
.cta-banner {
    background-color: #003e6b; 
    color: #ffffff;
}
.cta-banner h2 {
    color: #ffffff;
    margin-bottom: 10px;
}

/* --- RESPONSIVE ADJUSTMENTS for About Page --- */
@media (max-width: 992px) {
    /* Stack the quality content for smaller screens */
    .about-quality-grid {
        grid-template-columns: 1fr;
    }
    .quality-text {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 60px 0;
    }
    .about-hero .page-title {
        font-size: 2.2em; 
    }
    .about-hero .subtitle {
        font-size: 1.1em;
    }
}
/* --- GLOBAL MOBILE RESPONSIVENESS CHECKS (for screens up to 768px wide) --- */

@media (max-width: 768px) {
    
    /* Global Section Padding on Mobile */
    .section-padding {
        padding: 40px 0;
    }

    /* Main Navigation (Header) */
    header .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Stack the main header navigation vertically */
    header nav ul {
        flex-direction: column;
        padding: 10px 0 0;
    }

    header nav ul li {
        margin: 5px 0;
    }
    
    /* Make buttons and text in lists full width on mobile */
    header nav ul li a.btn {
        width: 100%;
        display: block;
        box-sizing: border-box;
    }

    /* Service and Main Layouts (Stack to one column) */
    .service-layout-grid,
    .trust-grid,
    .about-quality-grid {
        grid-template-columns: 1fr;
        gap: 30px; /* Reduce gap on mobile */
    }

    /* Footer adjustments for better stacking */
    footer .container {
        flex-direction: column;
        text-align: center;
    }

    footer .social-links {
        margin-top: 15px;
    }
    
    /* Remove padding on text columns that had it for desktop view */
    .service-text, .quality-text {
        padding-right: 0;
    }
}
/* --- ESSENTIAL MOBILE FIX FOR SCATTERED NAVIGATION --- */
@media (max-width: 768px) {
    /* Force header content to stack vertically */
    header .container {
        flex-direction: column;
        align-items: center;
    }

    /* Force the navigation links to stack vertically */
    header nav ul {
        flex-direction: column;
        padding: 10px 0 0;
        width: 100%;
        text-align: center;
    }

    /* Give stacked links some vertical space */
    header nav ul li {
        margin: 5px 0;
        width: 100%;
    }
    
    /* Ensure buttons like 'Book a Quote' are centered and full-width */
    header nav ul li a.btn {
        width: 90%;
        margin: 5px auto;
        display: block;
        box-sizing: border-box;
    
    }
}
/* --- BACK TO TOP BUTTON STYLES --- */
#backToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position */
    bottom: 20px; /* 20px from the bottom */
    right: 20px; /* 20px from the right */
    z-index: 99; /* Make sure it's above other elements */
    border: none;
    outline: none;
    background-color: #ff9800; /* Orange color */
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%; /* Circular shape */
    font-size: 18px;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, opacity 0.3s;
}

#backToTopBtn:hover {
    background-color: #ffb74d; /* Lighter orange on hover */
}
@media (max-width: 768px) {
    /* This rule forces the stacking */
    header .container {
        flex-direction: column;
        align-items: center;
    }
    /* This rule forces the navigation links themselves to stack */
    header nav ul {
        flex-direction: column;
        /* ... other styling ... */
    }
    /* ... rest of the fixes ... */
}
/* --- UNIVERSAL HEADER FIX: Float Menu Right --- */

/* 1. Reset the header container's Flexbox properties for simpler alignment */
header .container {
    display: block; /* Change from flex to block */
    padding: 1px 0;
    /* Ensure no flex-specific alignment interferes */
}

/* 2. Style the Logo to float left */
header .logo {
    float: left;
    margin-bottom: 0; /* Clear any previous mobile margins */
    padding-left: 50px;
}

/* 3. Style the Navigation to float right */
header nav {
    float: right;
    /* Ensure the navigation doesn't interfere with the logo on smaller screens */
    width: auto;
}

/* 4. Ensure the list of links stays horizontal */
header nav ul {
    list-style: none;
    display: flex; /* Keep the links horizontal */
    padding: 0;
    margin: 0;
}

/* 5. Clear the float after the header content */
header::after {
    content: "";
    display: table;
    clear: both;
}

/* --- Clean up Mobile Layout for Links --- */
@media (max-width: 768px) {
    /* If the links overlap the logo on a tiny screen, increase padding/space */
    header .container {
        padding: 10px 0;
    }
}
/* --- NEW SERVICE PAGE HERO BANNER STYLE (services-full.html) --- */

.service-hero-banner {
    /* Set a slightly different dark background from the About page */
    background-color: var(--dark-bg); 
    padding: 100px 0; 
    text-align: center;
    color: #ffffff;
}

.service-hero-banner .page-title {
    color: #ffffff !important; 
    font-size: 3.5em;
    margin-bottom: 15px;
}

.service-hero-banner .subtitle {
    color: #cccccc; 
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2em;
}
/* --- NEW MODERN FEATURE GRID FOR SERVICE HIGHLIGHTS --- */
.feature-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
    text-align: center;
}

.feature-card-pro {
    padding: 30px;
    border-radius: 8px;
    background: var(--light-bg);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card-pro:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-card-pro i {
    font-size: 3em;
    color: var(--primary-color); /* Highlight with bright orange */
    margin-bottom: 20px;
    /* Optional: Give the icon background a professional touch */
    display: inline-block;
    padding: 15px;
    border-radius: 50%;
    background: rgba(255, 152, 0, 0.1); 
}

.feature-card-pro h4 {
    color: var(--secondary-color);
}
/* --- PRODUCT CARD ANIMATIONS & TRANSITIONS --- */

/* The card itself with a smooth hover transition */
.feature-card-pro {
    background: #fff;
    padding: 0; /* Removing padding so image hits the edges */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border: 1px solid #eee;
}

.feature-card-pro:hover {
    transform: translateY(-15px); /* Lift higher on hover */
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Image Container */
.product-image-box {
    width: 100%;
    height: 250px;
    background: #f9f9f9;
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid var(--primary-color);
}

.product-image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the inverter image isn't cropped weirdly */
    padding: 20px;
    transition: transform 0.5s ease;
}

.feature-card-pro:hover .product-image-box img {
    transform: scale(1.1); /* Zoom the product slightly on hover */
}

/* Product Info Padding */
.product-info {
    padding: 25px;
    text-align: center;
}

.product-info h4 {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* Scroll Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}
/* --- BACK TO TOP BUTTON --- */
#backToTopBtn {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: background-color 0.3s, transform 0.3s;
}

#backToTopBtn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}
/* --- HERO SLIDER FIX --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 80vh; /* Set height */
    overflow: hidden;
    background-color: #000;
}

.hero-slider .slide {
    position: absolute; /* Stack them on top of each other */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    /* HIDE BY DEFAULT */
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
    z-index: 1;
}

/* SHOW ONLY THE ACTIVE SLIDE */
.hero-slider .slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

/* Glassmorphism Text Box */
.glass-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    margin: 0 20px;
}

.glass-box h1 { color: #fff; font-size: 3rem; margin-bottom: 15px; }
.glass-box p { color: #eee; font-size: 1.2rem; margin-bottom: 25px; }
/* --- FIX: Reduce Navbar Padding --- */
header {
    padding: 0; /* Reduced from 5px */
}

header nav ul li a:not(.btn) {
    padding: 10px 12px; /* Tightened horizontal padding */
    font-size: 0.95rem; /* Slightly smaller text to fit better */
}

.header-logo {
    height: 70px; /* Reduced from 100px to make header slimmer */
    padding-left: 20px; /* Reduced from 50px */
}

/* --- FIX: Ensure Hero Slider is Visible --- */
.hero-slider {
    display: block;
    height: 80vh;
    min-height: 500px; /* Ensures it doesn't collapse on small screens */
    position: relative;
    z-index: 5;
}

/* Ensure the Glass Box is visible against dark backgrounds */
.glass-box {
    position: relative;
    z-index: 20;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* --- MOBILE NAV COMPACTION --- */
@media (max-width: 768px) {
    header .logo {
        padding-left: 0;
        float: none;
        text-align: center;
    }
    
    }
/* --- HAMBURGER MENU STYLES --- */

/* Hide toggle by default (Desktop) */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--secondary-color);
    cursor: pointer;
}

@media (max-width: 768px) {
    header .container {
        display: flex;
        flex-direction: row; /* Keep logo and hamburger on same line */
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        
    }

    .menu-toggle {
        display: block; /* Show hamburger on mobile */
        z-index: 1001;
    }

    /* Hide the nav off-screen by default */
    nav {
        position: fixed;
        top: 0;
        right: -100%; /* Slide it out of view */
        width: 70%;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: 0.4s ease;
        z-index: 1000;
        padding-top: 80px; /* Space for the top */
    }

    /* When the 'active' class is added via JS, slide it in */
    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    nav ul li a.btn {
        width: 80% !important;
        margin: 10px auto !important;
    }
}
/* --- ENHANCED SERVICE PAGE STYLES --- */

.service-hero-banner {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #002a4d 100%);
    padding: 50px 0 50px;
    text-align: center;
    color: #fff;
}

.category-tag {
    display: inline-block;
    background: rgba(0, 121, 107, 0.1);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.feature-card-pro {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    text-align: left; /* More professional than centered text for products */
}

.product-image-box {
    background-color: #fcfcfc;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes the generated images look uniform */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.feature-card-pro:hover .product-image-box img {
    transform: scale(1.08);
}

.product-info {
    padding: 10px;
}

.product-info h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

.product-info p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

/* Icons for the 'Why Choose Us' list */
.check-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}
/* --- PREMIUM FEATURE SHOWCASE --- */
.premium-feature-showcase {
    background: #001d33; /* Very deep professional blue */
    padding: 100px 0;
    color: #ffffff;
    overflow: hidden;
}

.showcase-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.eyebrow-text {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
}

.showcase-description {
    font-size: 1.1rem;
    color: #b0c4de;
    margin-bottom: 40px;
}

/* Premium List Styling */
.premium-list {
    list-style: none;
    margin-bottom: 40px;
}

.premium-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.list-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 152, 0, 0.15);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.list-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.list-text p {
    font-size: 0.9rem;
    color: #a0aec0;
}

/* Video Frame with Glassmorphism */
.video-glass-frame {
    position: relative;
    border-radius: 24px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.showcase-video {
    width: 100%;
    border-radius: 15px;
    display: block;
}

/* Floating Badge */
.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--secondary-color);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.floating-badge i { color: #fff; }
.floating-badge span { font-weight: 700; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 992px) {
    .showcase-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    .premium-list li {
        text-align: left;
    }
    .floating-badge {
        left: 50%;
        transform: translateX(-50%);
    }
}
/* --- MODERN PROFESSIONAL CONTACT SECTION --- */
.bg-dark-professional {
    background-color: #001220; /* Slightly darker than the showcase for contrast */
    color: #fff;
}

.contact-card-wrapper {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    color: var(--text-color);
    margin-top: 50px;
}

/* FORM SIDE */
.contact-form-main {
    padding: 60px;
}

.form-header h3 {
    font-size: 2rem;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    margin-bottom: 40px;
}

.pro-contact-form .input-group {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.pro-contact-form label {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.pro-contact-form input, 
.pro-contact-form textarea, 
.pro-contact-form select {
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.pro-contact-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.1);
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full-width-btn {
    width: 100%;
    padding: 20px;
    border-radius: 12px;
    font-size: 1.1rem;
}

/* SIDEBAR SIDE */
.contact-info-sidebar {
    background: var(--dark-bg);
    color: #fff;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-block {
    margin-bottom: 40px;
}

.info-block h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.info-block p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e0;
}

.mini-map {
    height: 150px;
    background: #1a3a5a;
    border-radius: 15px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.trust-badge-mini {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 0.8rem;
    color: #a0aec0;
}

.trust-badge-mini i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .contact-card-wrapper {
        grid-template-columns: 1fr;
    }
    .contact-form-main { padding: 40px 20px; }
    .input-row { grid-template-columns: 1fr; }
}
/* Styling for the link of the page you are currently on */
nav ul li a.active {
    color: #ff9800 !important; /* Matches your brand orange */
    font-weight: 700;
    position: relative;
}

/* Optional: Adds a small orange line under the active link */
nav ul li a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #ff9800;
    bottom: -5px;
    left: 0;
    transition: 0.3s;
}

/* Ensures other links dim slightly to make the active one pop */
nav ul li a:not(.active) {
    opacity: 0.8;
}
/* --- COMPACT PROFESSIONAL FOOTER --- */
.main-footer {
    background: #003e6b; /* Deep Uni-body Navy */
    color: #ffffff;
    padding: 40px 0 20px 0; /* Significantly reduced height */
    border-top: 1px solid rgba(199, 12, 12, 0.05)
}

.footer-compact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: start;
    padding-bottom: 30px;
}

.footer-col h4 {
    color: #ff9800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.footer-links-inline {
    list-style: none;
    padding: 0;
}

.footer-links-inline li {
    margin-bottom: 8px;
}

.footer-links-inline a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-links-inline a:hover {
    color: #ff9800;
}

.footer-col p {
    font-size: 0.9rem;
    color: #cbd5e0;
    margin-bottom: 8px;
}

.footer-col i {
    color: #fff;
    margin-right: 10px;
}

/* Compact Social Icons */
.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px; /* Square with rounded corners for a modern look */
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    text-decoration: none;
}

.footer-socials a:hover {
    background: #1708f0;
    border-color: #1708f0;
    transform: translateY(-3px);
}

.wa-footer-link:hover {
    background: #25d366 !important; /* WhatsApp Green on hover */
    border-color: #25d366 !important;
}

/* Copyright Bar */
.footer-copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    font-size: 0.8rem;
    color: #718096;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-compact-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }
    .footer-socials {
        justify-content: center;
    }
}
/* --- PREMIUM SHOWCASE STYLE --- */
.premium-industrial-showcase {
    background-color: #002147; /* Your exact Navy color from the screenshot */
    padding: 60px 0;
    font-family: 'Montserrat', sans-serif;
}

.showcase-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.heavy-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.highlight { color: #ff9800; }

/* Side-by-Side Icon Alignment */
.lux-item {
    display: flex;
    align-items: flex-start; /* Keeps icon at the top of the text block */
    gap: 15px;
    margin-bottom: 20px;
}

.lux-item i {
    color: #ff9800;
    font-size: 1.2rem;
    padding-top: 5px; /* Aligns icon perfectly with the H4 text */
}

.lux-info h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.lux-info p {
    color: #a0aec0;
    font-size: 0.85rem;
    margin: 0;
}

/* Beautiful Executive Button */
.btn-executive {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ff9800;
    color: #fff;
    padding: 14px 30px;
    border-radius: 4px; /* Industrial squared look */
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.2);
}

.btn-executive:hover {
    background: #e68900;
    transform: translateY(-2px);
}

/* Gallery Grid (to keep your images looking like the screenshot) */
.image-grid-frame {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 10px;
}

.main-visual img, .sub-visuals img {
    width: 100%;
    border-radius: 10px;
    display: block;
    object-fit: cover;
}

.sub-visuals {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.glass-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: #ff9800;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}
/* --- MODERN TYPOGRAPHY SYSTEM --- */
:root {
    --heading-font: 'Oswald', sans-serif;
    --body-font: 'Montserrat', sans-serif;
}

/* Apply White Color & Modern Fonts Globally */
.premium-industrial-showcase {
    background-color: #002147; /* Your Navy Blue */
    padding: 20px 0; /* Deep vertical padding for luxury feel */
    font-family: var(--body-font);
    color: #ffffff !important;
}

/* Professional Headers */
.heavy-title, 
.authority-content h2, 
.lux-info h4 {
    font-family: var(--heading-font);
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Clean Body Text */
.authority-description {
    font-size: 1.05rem;
    line-height: 1.8; /* Better readability */
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 25px;
    max-width: 650px;
}

/* Feature Item Padding */
.lux-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 10px; /* Spacious separation */
    padding-right: 15px;
}

.lux-info p {
    color: #cbd5e0 !important; /* Silver for secondary info */
    font-size: 0.9rem;
    line-height: 1.5;
}
.footer-copyright {
    padding: 10px 0; /* More space around copyright */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    
}

.footer-copyright p {
    color: #ffffff !important;
    font-size: 0.9rem;
    font-family: var(--body-font);
    opacity: 0.8;
    font-size: 10px;
}
/* --- MODERN SOCIAL ICON STYLING --- */

.footer-socials {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px; /* Matches the rounded boxes in your image */
    background: rgba(255, 255, 255, 0.1); /* Subtle transparent box */
    color: #ffffff; /* Default icon color */
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Official Brand Colors on Hover */
.footer-socials a.facebook:hover {
    background-color: #1877F2; /* Official Facebook Blue */
    border-color: #1877F2;
    transform: translateY(-3px);
}

.footer-socials a.twitter:hover {
    background-color: #1DA1F2; /* Official Twitter Blue */
    border-color: #1DA1F2;
    transform: translateY(-3px);
}

.footer-socials a.linkedin:hover {
    background-color: #0077B5; /* Official LinkedIn Blue */
    border-color: #0077B5;
    transform: translateY(-3px);
}

.footer-socials a.whatsapp:hover {
    background-color: #25D366; /* Official WhatsApp Green */
    border-color: #25D366;
    transform: translateY(-3px);
}
/* Official Instagram Gradient on Hover */
.footer-socials a.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(214, 36, 159, 0.3); /* Soft pink/purple glow */
}
/* --- STATIC COLORED SOCIAL ICONS --- */

.footer-socials {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 0; /* Ensures the icons have good "breathing" space */
}

.footer-socials a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px; /* Professional rounded corners from your screenshot */
    color: #ffffff !important; /* Keep icons pure white */
    text-decoration: none;
    transition: transform 0.3s ease; /* Keeps a small "lift" effect when clicked */
}

/* Static Official Brand Backgrounds */
.footer-socials a.facebook { background-color: #1877F2; }
.footer-socials a.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.footer-socials a.twitter { background-color: #1DA1F2; }
.footer-socials a.linkedin { background-color: #0077B5; }
.footer-socials a.whatsapp { background-color: #25D366; }

/* Subtle hover effect (optional: just a slight lift, no color change) */
.footer-socials a:hover {
    transform: translateY(-3px);
    filter: brightness(1.1); /* Makes the color pop slightly more on hover */
}
.top-bar {
    background-color: #002147; /* Your brand navy */
    color: #ffffff;
    padding: 10px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Montserrat', sans-serif; /* Clean modern font */
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a, .top-socials a {
    color: #ffffff;
    text-decoration: none;
    margin-right: 15px;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #ff9800; /* Your brand orange hover */
}

.contact-info i {
    color: #ff9800; /* Orange icons */
    margin-right: 5px;
}

.separator {
    color: rgba(255, 255, 255, 0.3);
    margin-right: 15px;
}

/* Ensure mobile responsiveness */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    .separator { display: none; }
}
/* Lock everything to the top */
.top-bar, header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

/* Ensure the main header sits directly under the top bar */
header {
    top: 35px; /* Adjust this to match your top-bar height */
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Adds a professional shadow on scroll */
    padding: 10px 0 !important;
}

/* 1. Force 3-Column Grid Layout */
.feature-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* 2. Card Container - Ensuring uniform height */
.feature-card-pro {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-bottom: 5px solid #f7a22b;
    display: flex;
    flex-direction: column;
    height: 100%; /* Keeps all cards the same size */
}

/* 3. Justified List Content (The Fix for the "Scattered" look) */
.card-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left; /* Ensures text isn't centered */
}

.card-bullets li {
    display: flex; /* Aligns checkmark and text in a row */
    align-items: flex-start; /* Keeps checkmark at the top of multi-line text */
    gap: 10px; /* Space between checkmark and text */
    font-size: 0.88rem;
    color: #444;
    margin-bottom: 12px;
    line-height: 1.5;
}

.card-bullets li::before {
    content: '✔';
    color: #f7a22b;
    font-weight: 500;
    flex-shrink: 0; /* Prevents the checkmark from squishing */
}

/* 4. Text emphasis for that 'Premium' look */
.card-bullets li strong {
    color: #333;
    font-weight: 700;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .feature-highlight-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .feature-highlight-grid { grid-template-columns: 1fr; }
}
/* Targeted fix for the product subtitles */
.product-info .subtitle {
    color: #ff9800 !important;   /* Changes text to Orange */
    font-size: 0.85rem !important; /* Reduces the Font Size */
    font-weight: 600 !important;  /* Makes it semi-bold for a professional look */
    text-align: left;           /* Centers it like in your uploaded image */
    display: block;               /* Ensures it sits on its own line */
    margin: 5px 0 15px 0;         /* Adds professional spacing around the text */
    text-transform: none;         /* Keeps it as sentence case (not all caps) */
}

/* Ensure the bullet text below it is also properly sized */
.card-bullets li {
    font-size: 0.78rem !important; /* Makes the technical specs smaller and cleaner */
    color: #666;                   /* Dark grey for better readability */
}
/* --- Desktop Helpers --- */
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

/* --- Mobile Responsiveness (Screen sizes less than 768px) --- */
@media (max-width: 768px) {
    /* Menu Toggle Styling */
    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        color: #00796b;
    }

    /* Hide Nav by default on mobile and position it */
    nav {
        display: none; /* Hidden until 'active' class is added */
        position: absolute;
        top: 70px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    /* Show Nav when active */
    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
    }

    nav ul li {
        margin: 15px 0;
        text-align: center;
    }

    /* Hero Section adjustments */
    .glass-box h1 {
        font-size: 1.8rem;
    }

    /* Contact Form - Stack the columns */
    .contact-card-wrapper {
        grid-template-columns: 1fr !important; /* Forces 1 column */
    }

    .contact-form-main {
        border-right: none !important;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .input-row {
        grid-template-columns: 1fr !important; /* Stack inputs inside the form */
    }
    
    .top-bar-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Default state for Desktop: Hide toggle */
@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
    nav {
        display: block !important;
    }
    nav ul {
        display: flex;
        gap: 20px;
        list-style: none;
    }
}