 :root {
            --primary-blue: #0b2a5c;
            --secondary-blue: #153772;
            --accent-gold: #eebd32;
            --bg-light: #f8f9fa;
            --text-dark: #333333;
            --text-light: #f4f4f4;
            --font-main: 'Poppins', sans-serif;
            --max-width: 1200px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: var(--font-main);
            color: var(--text-dark);
            line-height: 1.6;
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        img {
            max-width: 100%;
            display: block;
        }

        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
        }

        .section-padding {
            padding: 80px 0;
        }

        .text-center { text-align: center; }
        .flex { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
        .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
        .grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }

        h2 {
            font-size: 2.5rem;
            color: var(--primary-blue);
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }
        h2::after {
            content: '';
            display: block;
            width: 60px;
            height: 4px;
            background: var(--accent-gold);
            margin: 10px auto 0;
        }

       /* --- CSS Drawn Logo Loader (Updated for Exact Logo) --- */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}
#loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.logo-svg {
    width: 130px; /* Slightly adjusted for the new 200x200 box */
    height: auto;
    display: block;
    margin: 0 auto 15px auto;
}

.logo-path {
    fill: none;
    stroke: #0b2a5c;
    stroke-width: 18; /* Adjusted to match the thick, bold appearance */
    stroke-linecap: butt;
    stroke-linejoin: miter;
}

/* Frame Animation */
.logo-path.frame {
    stroke-dasharray: 640;
    stroke-dashoffset: 640;
    animation: drawFrame 1.5s ease-in-out forwards;
}

/* N Shape Animation */
.logo-path.n-shape {
    stroke-dasharray: 400; /* Covers the 3 distinct parts of the N */
    stroke-dashoffset: 400;
    animation: drawN 1.5s ease-in-out forwards 0.4s; /* Starts 0.4s after the frame */
}

@keyframes drawFrame {
    to { stroke-dashoffset: 0; }
}
@keyframes drawN {
    to { stroke-dashoffset: 0; }
}

.loader-text {
    font-family: 'Poppins', sans-serif;
    color: #0b2a5c;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    opacity: 0;
    animation: fadeInText 0.8s ease forwards 0.9s;
}

@keyframes fadeInText {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
       /* --- Header & Nav (White & Blue Elegant Theme) --- */
header {
    background: #ffffff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}


.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    line-height: 0; /* Removes unwanted spacing below image */
}

.brand-logo {
    max-height: 55px; /* Adjust this value if your logo is too large/small */
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

/* Solid Blue CTA Button */
.cta-btn {
    background: var(--primary-blue);
    color: #ffffff !important;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.cta-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-blue) !important;
    transform: translateY(-2px);
}

/* Hamburger menu (blue color to match theme) */
.hamburger { 
    display: none; 
    color: var(--primary-blue); 
    font-size: 1.6rem; 
    cursor: pointer; 
}

/* --- Mobile Menu Override (White background, Blue text) --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #ffffff; /* White background for mobile menu */
        padding: 25px 0;
        position: absolute;
        top: 75px; /* Match header height + padding */
        left: 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        gap: 15px;
        text-align: center;
    }
    .nav-links.active { 
        display: flex; 
    }
    .hamburger { 
        display: block; 
    }
    .nav-links a { 
        color: var(--primary-blue); 
        padding: 8px 0; 
    }
}

/* --- Dropdown Menu Styling (Elegant White & Blue) --- */
.dropdown-parent {
    position: relative;
}

.dropdown-toggle {
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    cursor: pointer;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.dropdown-toggle:hover {
    color: var(--accent-gold);
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Rotate the chevron on hover */
.dropdown-parent:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-radius: 10px;
    padding: 12px 0;
    margin: 0;
    list-style: none;
    z-index: 100;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

/* Show dropdown on hover */
.dropdown-parent:hover .dropdown-menu {
    display: flex;
    animation: fadeSlideDown 0.3s ease forwards;
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 25px;
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f4f4f4;
    text-align: left;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--accent-gold);
    padding-left: 32px; /* Subtle slide effect */
}


/* Typing Cursor Effect */
.typing-text {
    border-right: 3px solid var(--accent-gold);
    padding-right: 5px;
    white-space: normal;
    overflow: hidden;
    animation: blink-caret 0.75s step-end infinite;
    display: inline-block;
}
@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent-gold); }
}
        /* --- Hero Section --- */
       /* --- Hero Section (Updated for Mobile Fluid layout) --- */
.hero {
    min-height: 85vh; /* Changed from fixed 'height' to 'min-height' for flexibility */
    display: flex;
    align-items: center;
    justify-content: center; /* Ensures content centers vertically */
    padding: 60px 0; /* Prevents text from hitting the absolute edges */
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(11, 42, 92, 0.85), rgba(11, 42, 92, 0.7));
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px; /* Keeps the text block from stretching too wide on huge monitors */
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1; /* Tighter line height for big headlines */
    margin-bottom: 20px;
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 20px;
}
.hero-content h2::after { display: none; }

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons Container --- */
.hero-content div {
    display: flex;
    justify-content: center;
    gap: 15px; /* Creates breathing room between buttons */
    flex-wrap: wrap; /* Allows buttons to wrap neatly on mobile */
}

.hero-btn {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block; /* Ensures buttons behave properly inside flex */
}
.hero-btn:hover {
    background: #fff;
    color: var(--primary-blue);
}
.hero-btn-fill {
    background: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    color: var(--primary-blue);
}
.hero-btn-fill:hover {
    background: #fff;
    border: 2px solid #fff;
}
       
/* --- Tablet / Small Laptops --- */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3rem; }
    .hero-content h2 { font-size: 1.8rem; }
    .hero-content p { font-size: 1.1rem; }
}

/* --- Mobile Phones --- */
@media (max-width: 768px) {
    .hero {
        min-height: 75vh; /* Reduces the height slightly so content isn't stretched */
        padding: 40px 0;
    }
    .hero-content h1 {
        font-size: 2.2rem; /* Reduced drastically to fit comfortably */
        margin-bottom: 15px;
    }
    .hero-content h2 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    .hero-content p {
        font-size: 1rem;
        padding: 0 10px; /* Adds side padding so text doesn't hug the screen edge */
        margin-bottom: 25px;
    }
    
    /* Stack buttons vertically on mobile */
    .hero-content div {
        flex-direction: column; 
        align-items: center;
        gap: 12px; 
    }
    .hero-btn {
        width: 100%; 
        max-width: 280px; /* Restricts width so they look neat */
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* --- Very Small Mobile Screens (Under 480px) --- */
@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content h2 { font-size: 1.3rem; }
    .hero-btn { max-width: 100%; } /* Allow full width on tiny screens */
}




/* --- About Section --- */





        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }
        .founder-img {
            border-radius: 15px;
            box-shadow: 10px 10px 0px var(--accent-gold);
            width: 100%;
        }
        .about-text h3 { color: var(--secondary-blue); font-size: 1.5rem; margin-bottom: 5px; }
        .about-text p { margin-bottom: 15px; }


/* --- Scroll Reveal Animation CSS --- */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

        /* --- Services Section --- */
        .services {
            background: var(--bg-light);
        }
        .service-card {
            background: #fff;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
        .service-card i {
            font-size: 2.5rem;
            color: var(--accent-gold);
            margin-bottom: 15px;
        }
        .service-card h4 { color: var(--primary-blue); margin-bottom: 10px; }
        /* Styling for custom PNG icon to perfectly match FontAwesome icons */
.service-card img {
    /* Match the exact size of the FontAwesome icons (2.5rem) */
    width: 3.2rem;
    height: 3.2rem;
    object-fit: contain;
    
    /* Perfect centering and spacing */
    display: block;
    margin: 0 auto 15px auto; /* Centers horizontally and adds 15px bottom margin */
    
    /* 
     * MAGICAL FILTER: 
     * If kitchen.png is a black/white silhouette, this filter turns it 
     * into the exact #eebd32 gold color to match the other icons.
     */
    filter: invert(78%) sepia(80%) saturate(1500%) hue-rotate(350deg) brightness(95%);
}

/* 
 * HELPER (Optional): If your kitchen.png is already a gold-colored image, 
 * remove the 'filter' property above and just use the width/margin settings.
 */

        /* --- Commercial / Industrial Grids --- */
        .proj-grid {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 40px;
            background: var(--secondary-blue);
            color: #fff;
            border-radius: 15px;
            padding: 40px;
            margin-top: 40px;
        }
        .proj-grid.reverse { grid-template-columns: 0.8fr 1.2fr; background: #fff; color: var(--text-dark); border: 1px solid #ddd; }
        .proj-grid ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
        .proj-grid ul li i { color: var(--accent-gold); margin-right: 10px; }
        .proj-features { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 20px; }
       .features-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between the icon and the text */
    white-space: nowrap; /* Prevents the text from wrapping to a second line */
    
    background: var(--bg-light);
    padding: 15px 20px; /* Added extra horizontal padding so text doesn't touch edges */
    border-radius: 8px;
    flex: 1;
    min-width: 140px; /* A slightly larger min-width handles long text */
    color: var(--text-dark);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Styling for FontAwesome icons inside features-card */
.features-card i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    flex-shrink: 0; /* Prevents the icon from shrinking */
}

/* Styling for the custom SVG icon (Rupee Symbol) */
.features-card img {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
    flex-shrink: 0; /* Prevents the icon from shrinking */
    
    /* Tints the black/white SVG to match the primary blue */
    filter: invert(10%) sepia(90%) saturate(2000%) hue-rotate(195deg) brightness(95%);
}
        /* --- Residential Packages --- */
        .packages { margin-top: 40px; }
        .pkg-card {
            background: #fff;
            border-radius: 10px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            border-top: 5px solid var(--primary-blue);
            transition: all 0.3s ease;
        }
        .pkg-card:hover { transform: scale(1.03); }
        .pkg-card h4 { font-size: 1.2rem; margin-bottom: 15px; color: var(--secondary-blue); }
        .pkg-price {
            font-size: 2rem;
            color: var(--primary-blue);
            font-weight: 700;
            margin-bottom: 15px;
        }
        .pkg-price small { font-size: 1rem; font-weight: 400; color: #777; }
        .pkg-btn {
            background: var(--accent-gold);
            padding: 8px 30px;
            border-radius: 20px;
            font-weight: 600;
            display: inline-block;
            border: none;
            cursor: pointer;
        }

        /* --- Process Section --- */
        .process {
            background: var(--bg-light);
        }
        .process-steps {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            position: relative;
            margin-top: 50px;
        }
        .process-step {
            flex: 1;
            min-width: 150px;
            text-align: center;
            position: relative;
            padding: 0 10px;
        }
        .step-num {
            display: inline-block;
            width: 60px;
            height: 60px;
            background: var(--primary-blue);
            color: #fff;
            border-radius: 50%;
            line-height: 60px;
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 15px;
        }
        .process-step h5 { font-size: 1.1rem; color: var(--primary-blue); margin-bottom: 5px; }
        .process-step p { font-size: 0.9rem; color: #666; }

        /* --- Contact / Footer --- */
        footer {
            background: var(--primary-blue);
            color: #fff;
            padding: 60px 0 20px;
        }
        .footer-content {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-col h4 { color: var(--accent-gold); margin-bottom: 15px; font-size: 1.2rem; }
        .footer-col p, .footer-col a { color: #ccc; line-height: 1.8; display: block; margin-bottom: 5px; }
        .footer-col i { margin-right: 10px; color: var(--accent-gold); }
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 20px;
            text-align: center;
            font-size: 0.9rem;
            color: #888;
        }

        /* --- Responsive Media Queries --- */
        @media (max-width: 992px) {
            .about-grid, .proj-grid, .proj-grid.reverse, .footer-content {
                grid-template-columns: 1fr;
            }
            .proj-grid ul { grid-template-columns: 1fr 1fr; }
            .hero-content h1 { font-size: 3rem; }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
                flex-direction: column;
                width: 100%;
                background: var(--primary-blue);
                position: absolute;
                top: 70px;
                left: 0;
                padding: 20px;
            }
            .nav-links.active { display: flex; }
            .hamburger { display: block; }
            .hero-content h1 { font-size: 2.5rem; }
            .hero { height: 60vh; }
            .proj-grid ul { grid-template-columns: 1fr; }
            .process-steps { flex-direction: column; gap: 30px; }
            .process-step { width: 100%; }
        }

/* --- Testimonial Section --- */
.testimonial-card { background: #fff; color: var(--text-dark); padding: 30px; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); text-align: left; }
.testimonial-card i { font-size: 2rem; margin-bottom: 15px; display: block; }
.testimonial-card p { font-style: italic; margin-bottom: 15px; line-height: 1.6; }
.testimonial-card h5 { color: var(--secondary-blue); font-weight: 600; margin-bottom: 0; }
.stat-box .stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 5px;
}
.stat-box span {
    font-size: 1.1rem;
    font-weight: 400;
}



/* --- Projects Section --- */
.projects-section {
    background: var(--bg-light);
}

.project-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.project-cat-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.cat-img-wrapper {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    height: 180px;
}
.cat-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.project-cat-card:hover .cat-img-wrapper img {
    transform: scale(1.05);
}

.project-cat-card h4 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.project-cat-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.view-projects-btn {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}
.view-projects-btn:hover {
    background: var(--primary-blue);
    color: #fff;
}
.view-projects-btn i {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}
.view-projects-btn:hover i {
    transform: translateX(4px);
}

/* --- Modal / Popup Styling --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
    padding: 20px;
}

.modal-content {
    background: #fff;
    max-width: 700px;
    width: 100%;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: modalFadeIn 0.3s ease forwards;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}
.close-modal:hover {
    color: var(--primary-blue);
}

.modal-header h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--accent-gold);
    display: inline-block;
    padding-bottom: 5px;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.carousel-arrow {
    background: var(--primary-blue);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.carousel-arrow:hover {
    background: var(--accent-gold);
    transform: scale(1.1);
}

.carousel-slide {
    flex: 1;
    text-align: center;
    overflow: hidden;
    padding: 0 5px;
}

.carousel-image-wrapper {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #f0f0f0;
}
.carousel-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}
.carousel-image-wrapper img.fade-out {
    opacity: 0;
}
.carousel-image-wrapper img.fade-in {
    opacity: 1;
}

.carousel-text h4 {
    color: var(--secondary-blue);
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.carousel-text p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}
.dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* --- Responsive Projects & Modal --- */
@media (max-width: 992px) {
    .project-categories {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .project-categories {
        grid-template-columns: 1fr;
    }
    .carousel-image-wrapper {
        height: 220px;
    }
    .carousel-arrow {
        width: 35px;
        height: 35px;
    }
    .modal-content {
        padding: 20px 15px;
    }
}


/* --- Contact & Map Section --- */
.contact-section {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.contact-card, .map-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover, .map-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.1);
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.95rem;
}
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--bg-light);
}
.form-control:focus {
    border-color: var(--accent-gold);
    outline: none;
    box-shadow: 0 0 0 4px rgba(238, 189, 50, 0.15);
}
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    display: inline-block;
    width: 100%;
    background: var(--primary-blue);
    color: #ffffff;
    padding: 14px 35px;
    border: none;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}
.submit-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
    transform: scale(1.02);
}

/* Map Styling */
.map-container {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.02);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive Layout */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .map-container {
        height: 300px;
    }
    .contact-card, .map-card {
        padding: 30px;
    }
}


/* --- Floating Actions Container --- */
/* --- Floating Actions Container --- */
/* --- Floating Actions Container --- */
/* --- Floating Actions Container --- */
.floating-buttons {
    position: fixed;
    bottom: 60px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* --- Shared Base Button --- */
.floating-button {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: none;
    outline: none;
    cursor: pointer;
}

/* --- WhatsApp (Perfect Circle) --- */
.floating-button.whatsapp { 
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E); 
}

/* --- Call (Perfect Circle) --- */
.floating-button.call { 
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff, #0056b3); 
}

/* --- Back to Top (Distinct Rounded Square with Greyish-Blue) --- */
.floating-button.back-to-top { 
    border-radius: 16px; /* DIFFERENTIATED SHAPE: Not a circle */
    background: linear-gradient(135deg, #66788A, #4A5A6A); /* Premium Greyish-Blue gradient */
    color: white;
    display: none; /* Hidden until user scrolls */
}
.floating-button.back-to-top.visible {
    display: flex; /* Shown at the bottom of the stack */
}

/* --- Hover States --- */
.floating-button:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}
.floating-button:active {
    transform: scale(0.95);
}
/* Back to Top Hover turning Gold */
.floating-button.back-to-top:hover {
    background: var(--accent-gold, #eebd32);
    color: var(--primary-blue, #0b2a5c);
    border-radius: 16px; /* Maintains its distinct square shape on hover */
}

/* --- Tooltips (Shared) --- */
.floating-button .button-tooltip {
    position: absolute;
    right: 75px;
    background: var(--primary-blue, #0b2a5c);
    color: white;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}
.floating-button .button-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-blue, #0b2a5c);
}
.floating-button:hover .button-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* --- Optional Notification Badge (for WhatsApp) --- */
.floating-button .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    font-size: 12px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    animation: pulse-dot 2s infinite ease-in-out;
}
@keyframes pulse-dot {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 992px) {
    .floating-buttons { bottom: 30px; right: 25px; gap: 12px; }
    .floating-button { width: 55px; height: 55px; font-size: 26px; }
}
@media (max-width: 768px) {
    .floating-buttons { bottom: 25px; right: 20px; gap: 12px; }
    .floating-button { width: 52px; height: 52px; font-size: 24px; }
    .floating-button .button-tooltip { right: 65px; font-size: 12px; padding: 6px 14px; }
}
@media (max-width: 480px) {
    .floating-buttons { bottom: 20px; right: 15px; gap: 10px; }
    .floating-button { width: 48px; height: 48px; font-size: 22px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15); }
    .floating-button .button-tooltip { display: none; } /* Hide tooltips on tiny screens to save space */
    .floating-button .badge { width: 18px; height: 18px; font-size: 10px; top: -4px; right: -4px; }
}