* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

#about, 
#contact {
    scroll-margin-top: 130px; 
}

/* --- 1. Top White Header --- */
.main-header {
    background: #fff;
    padding: 0; 
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 90%; 
    margin: 0 auto;
}
/* Default Desktop */
@media (min-width: 769px) {
    .logo img {
        height: 90px;
        width: auto;
        max-width: min(650px, 38vw);
        display: block;
        object-fit: contain;
    }
}

/* Extra Large Screens Only */
@media (min-width: 1600px) {
    .logo img {
        max-width: 750px;
    }
}
/* Right Side: Contact Box Container */
.contact-boxes {
    display: flex;
    gap: 30px; 
    height: 105px;
    align-items: center;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 12px; /* UPDATED: Slightly narrowed internal gap to save room */
}

/* Square border box for email/call icons */
.icon-box {
    width: 50px;
    height: 50px;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a935a; 
    font-size: 20px;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-text strong {
    font-size: 17px; 
    color: #111;
    font-weight: 600;
}

.info-text span {
    font-size: 15px; 
    color: #555;
    margin-top: 2px;
}

/* --- Added: Desktop Styles for Custom WhatsApp Pill Link --- */
.whatsapp-pill-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* UPDATED: Reduced gap to make container smaller */
    background: #ffffff; /* Default White Background */
    border: 2px solid #1a935a; /* Green Border */
    color: #1a935a; /* Green Text/Icon Default */
    padding: 10px 9px; /* UPDATED: Reduced horizontal padding to shrink container size */
    border-radius: 50px; /* Pill Shape */
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    height: 45px; /* Matches the vertical height of original icon boxes */
    box-sizing: border-box;
}

.whatsapp-pill-link i {
    font-size: 29px; /* UPDATED: Increased icon size from 19px */
}

/* Hover effect: Transforms seamlessly to your green graphic image scheme */
.whatsapp-pill-link:hover {
    background: #1a935a; /* Green Hover Background */
    color: #ffffff; /* White Text and Icon on Hover */
}
/* --- 2. Dark Slim Navigation Bar --- */
/* --- 1. BASE NAVIGATION STYLES --- */
.dark-navbar {
    background: #f4f6f5; /* UPDATED: Light Background */
    width: 100%;
    border-bottom: 3px solid #1b4d3e; /* UPDATED: Accent Color */
}

.nav-container {
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center; /* Aligns items vertically */
}

.nav-links {
    list-style: none;
    display: flex;
    margin-left: auto;
    align-items: center; /* Ensures the pill button aligns vertically with standard links */
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    display: block;
    text-decoration: none;
    color: #241e1c; /* UPDATED: Dark text for light background */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    padding: 15px 25px; 
    transition: background 0.3s ease;
}

.nav-links li a:hover {
    background: #1a935a; /* UPDATED: Changed to a slightly lighter, refined green selection color */
    color: #fff; /* UPDATED: Text color on hover */
}

/* --- Added: Custom Get In Touch Pill Button Layout --- */
.nav-links li.nav-btn-wrapper a.nav-btn-get-in-touch {
    background:#0066cc; 
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 50px; /* Perfect circular pill shape from image */
    margin-left: 15px;
    text-transform: none; /* Keeps CamelCase lettering style */
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-links li.nav-btn-wrapper a.nav-btn-get-in-touch:hover {
    background: #1a935a ;/* Darker corporate deep green state on cursor hover */
    color: #ffffff;
}

/* --- Added: Modal Box Popup Core Elements --- */
.form-modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 5000; /* Stays securely on top of header navigation containers */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.55); /* Dimmed backdrop screen opacity layer */
    backdrop-filter: blur(3px); /* Gives professional soft blurring behind form */
    align-items: center;
    justify-content: center;
}

/* Form block positioning wrapper adjustment inside popup view */
.modal-content-box {
    position: relative;
    background-color: #ffffff;
    margin: auto;
    padding: 40px;
    border-radius: 6px;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
    animation: modalShowEffect 0.35s ease;
}

/* Close Symbol Layout element */
.modal-close-x {
    position: absolute;
    right: 22px;
    top: 15px;
    color: #666;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.modal-close-x:hover {
    color: #1a935a;
}

@keyframes modalShowEffect {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* --- 2. DROPDOWN & ARROW (DESKTOP) --- */
.nav-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px;
    vertical-align: middle;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #1c2421; /* UPDATED: Arrow color to match text */
    opacity: 1; /* UPDATED: Always visible on Desktop now */
    transition: all 0.3s ease;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff; /* UPDATED: Light Dropdown Background */
    min-width: 280px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1001;
    list-style: none;
    padding: 0;
    top: 100%;
    left: 0;
    border-top: 3px solid #1b4d3e; /* UPDATED: Accent Color */
}

.dropdown-content li a {
    padding: 12px 20px;
    text-transform: none;
    font-size: 13px;
    font-weight: 500;
    color: #1c2421; /* UPDATED: Dark link color */
    border-bottom: 1px solid #eaeaea; /* UPDATED: Separator color for light background */
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
    .dropdown:hover .nav-arrow {
        transform: rotate(180deg); /* Arrow flips on hover */
    }
}

/* ADD THIS SECTION for Desktop only */
@media (min-width: 769px) {
    .main-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .dark-navbar {
        position: sticky;
        top: 105px; /* Sits under the header */
        z-index: 999;
    }
}
/* --- REPLACE ONLY THIS BLOCK IN YOUR CODE --- */
.contact-boxes {
    display: flex;
    gap: 30px; 
    height: 105px;
    align-items: center;
}

/* Desktop Alignment Only: No changes made to mobile or navbar */
@media (min-width: 769px) {
    .contact-boxes {
        display: grid;
        grid-template-columns: 242px 242px 145px; /* Creates fixed columns matching the navbar items */
        align-items: center;
        height: 105px;
        gap: 0;
        width: 100%;
        justify-content: end;
    }

    /* Column 1: Pushes 'Call Us' to space nicely on the left side of the grid */
    .contact-boxes > .info-box:nth-child(1) {
        grid-column: 1;
        padding-right: 50px;
        justify-self: end;
    }

    /* Column 2: Locks 'Email Us' exactly over the HOME item area */
    .contact-boxes > .info-box:nth-child(2) {
        grid-column: 2;
        width: 242px; 
        justify-content: flex-start;
    }

    /* Column 3: Locks 'WhatsApp Pill' exactly over the Get In Touch button area */
    .contact-boxes > .whatsapp-pill-link {
        grid-column: 3;
        width: 145px; 
        justify-content: center;
        margin-left: auto;
    }
}
/* --- 3. Hero Slider Section --- */

.hero {
    position: relative;
    height: 85vh; 
    width: 100%;
    overflow: hidden;
    background: transparent;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center; 
    justify-content: flex-start; /* Content moves to the LEFT */
    opacity: 0;
    transition: none;
    padding-left: 8%; /* Margin from the left edge */
}

.slide.active {
    opacity: 1;
}

.hero-content {
    text-align: left;
    color: white;
    max-width: 650px;
    z-index: 5;
    padding: 20px 40px; /* Space around text */
    /* Professional Accent Line */
    border-left: 4px solid #2a9d8f; /* UPDATED: Crisp Mint/Forest Green Accent */
    /* Box removal: No background or backdrop-filter */
    background: transparent; 
    backdrop-filter: none;
    
    animation: contentFade 1s ease-out forwards;
}

.top-label {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #2a9d8f; /* UPDATED: Crisp Mint/Forest Green Accent */
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-content h1 { 
    font-size: 4rem; 
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.5); /* Added subtle shadow for readability on images */
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    line-height: 1.6;
    color: #f0f0f0;
}

/* --- Professional CTA Button --- */
.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: #1a935a; /* UPDATED: Shifted to a slightly lighter, premium matching green */
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.hero-btn-primary:hover {
    background: #fff;
    color: #1a935a; /* UPDATED: Hover text color adjusted to match the lighter green color tone */
    padding-left: 45px; /* Interactive slide-in effect */
}

/* Entrance Animation */
@keyframes contentFade {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Slider Controls */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 10;
    font-size: 24px;
    border-radius: 50%;
}

.arrow:hover { background: #1a935a; } /* UPDATED: Control hover updated to match new green color tone */
.prev { left: 30px; }
.next { right: 30px; }

.dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.dot {
    width: 11px;
    height: 11px;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #fff;
}

/* --- NEW ABOUT SECTION STYLES --- */
.about-section {
    padding: 80px 0;
    background: #fdfdfd;
}

.about-container {
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-content { flex: 1.2; }
.about-image { flex: 0.8; }

.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 15px 15px 0px #1a935a; /* UPDATED: Changed brand accent shadow to new green shade */
    display: block;
}

.about-content .top-label {
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 2.8rem;
    color: #2a2d34;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1.05rem;
    text-align: justify;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.about-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
}

.about-item i { color: #2a9d8f; font-size: 1.1rem; } /* UPDATED: Checkmark icons to Crisp Mint/Forest Green */

/* --- SERVICES SECTION STYLES --- */
.services-section {
    padding: 40px 0; /* Slightly more padding for a cleaner text-only look */
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    position: relative;
}

.services-section::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #1a935a; /* UPDATED: Changed top indicator bar to new green shade */
}

.services-container {
    max-width: 90%;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: #2a2d34;
    font-weight: 700;
    margin-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: #ffffff;
    padding: 35px 30px;
    border: 1px solid #eee;
    border-bottom: 4px solid #1a935a; /* UPDATED: Changed bottom card border to new green shade */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.service-card h3 {
    font-size: 1.3rem;
    color: #1a935a; /* UPDATED: Changed service heading highlight to new green shade */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.service-card p {
    color: #555;
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.service-card p strong {
    color: #333;
    display: block; /* Puts the specific service title on its own line for readability */
    margin-bottom: 2px;
}

/* --- SCROLL POSITION --- */
#about, #services, #contact {
    scroll-margin-top: 130px;
}

/* --- PROJECTS PREVIEW SECTION --- */
/* --- UPDATED PROJECTS PREVIEW SECTION --- */
.projects-preview-section {
    padding: 40px 0 60px 0; /* Reduced top padding from 100px to 40px for Desktop */
    background: #fff;
    overflow: hidden;
}

.projects-preview-container {
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Animation States */
.projects-preview-left {
    flex: 1;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.projects-preview-right {
    flex: 1;
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.projects-preview-container.show .projects-preview-left,
.projects-preview-container.show .projects-preview-right {
    opacity: 1;
    transform: translateX(0);
}

/* Left Side Content - Desktop */
.projects-preview-left h2 {
    font-size: 2.8rem;
    color: #2a2d34;
    margin-bottom: 20px;
    line-height: 1.2;
}

.projects-preview-left p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.05rem;
    text-align: justify; /* This justifies the text */
}

/* View More Button */
.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #1a935a; /* UPDATED: Changed button text link to new green shade */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid #1a935a; /* UPDATED: Changed arrow circle border to new green shade */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    color: #111;
}

.view-more-btn:hover .btn-arrow {
    background: #1a935a; /* UPDATED: Changed arrow hover fill to new green shade */
    color: #fff;
    transform: translateX(8px);
}

/* Visual Card */
.project-visual-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.project-visual-card img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.project-visual-card:hover img {
    transform: scale(1.05);
}

.visual-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* UPDATED: Overlay gradient to use transparent variation of new green shade (RGB for #1a935a is 26, 147, 90) */
    background: linear-gradient(to top, rgba(26, 147, 90, 0.7), transparent);
    z-index: 1;
}

.visual-stats {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    color: #fff;
}

.stat-item strong {
    font-size: 2.5rem;
    display: block;
}

/* --- CONTACT SECTION --- */
.contact-section {
    padding: 40px 0;
    background: #f9f9f9; /* Matches Services background color */
}

.contact-container {
    max-width: 90%; /* Matches Navigation and Services width */
    margin: 0 auto;
    display: flex;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

/* Left Column: Map */
.contact-map {
    flex: 1;
    min-height: 500px;
    background: #eee;
}

/* Right Column: Form Wrapper */
.contact-form-wrapper {
    flex: 1;
    padding: 50px;
    text-align: left;
}

.contact-form-wrapper h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2a2d34;
    margin: 10px 0 15px 0;
}

.contact-form-wrapper p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row input {
    flex: 1;
}

.form-group input, 
.form-group textarea,
.form-row input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

/* Validation Styling: Red border only when the user has typed something wrong */
.form-group input:invalid:not(:placeholder-shown),
.form-row input:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
}

.form-group textarea {
    resize: none; /* Disables resizing */
}

.form-group input:focus, 
.form-group textarea:focus,
.form-row input:focus {
    border-color: #1a935a; /* UPDATED: Changed focus border to the new matching green shade */
}

/* Submit Button: Fully visible and active */
.contact-form .hero-btn-primary {
    width: fit-content;
    padding: 12px 35px;
    background: #1a935a; /* UPDATED: Changed button background to the new matching green shade */
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
    margin-top: 10px;
    opacity: 1 !important;
}

.contact-form .hero-btn-primary:hover {
    background: #2a2d34;
}

/* --- Footer Styles (Clean White Theme) --- */
.main-footer-white {
    background: #ffffff; 
    color: #333;
    padding: 60px 0 0 0;
    font-family: 'Poppins', sans-serif;
    border-top: 1px solid #eee;
}

.footer-container {
    max-width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1.1fr 1.1fr 1.2fr; /* Adjusted for column width */
    gap: 30px;
    padding-bottom: 60px;
}

/* Moving headings and lists to the right */
.services-col, .company-col {
    padding-left: 40px; 
}

/* Update only this class in your CSS */
.footer-logo-img {
    height: 65px; /* Reduced size to make it more subtle */
    width: auto;
    margin-bottom: 25px;
    display: block; /* Ensures spacing is maintained */
}

/* Default PCs & Laptops */
.footer-description {
    color: #555;
    font-size: clamp(14px, 0.95vw, 16px);
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
    max-width: min(520px, 100%);
}

/* Ultra-wide Large Screens */
@media (min-width: 1600px) {
    .about-col {
        max-width: 650px;
    }

    .footer-logo-img {
        height: 80px;
        width: auto;
    }

    .footer-description {
        max-width: 650px;
        font-size: 16px;
    }
}

.footer-col h3 {
    font-size: 18px;
    color: #1a935a; /* UPDATED: Changed to new green shade */
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
}

/* Accent line using logo bright blue */
.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 35px;
    height: 3px;
    background: #2a9d8f; /* UPDATED: Changed to Crisp Mint/Forest Green */
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links li a {
    color: #666;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: 0.3s;
}

.footer-links li a:hover {
    color: #2a9d8f; /* UPDATED: Changed to Crisp Mint/Forest Green */
    padding-left: 5px;
}

/* Contact Section Styling */
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-icon {
    width: 45px;
    height: 45px;
    background: #f0f7f4; /* UPDATED: Very light professional green tint */
    border: 1px solid #1a935a; /* UPDATED: Changed to new green shade */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #1a935a; /* UPDATED: Changed to new green shade */
}

.contact-text strong {
    display: block;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
}

.contact-text a {
    color: #1a935a; /* UPDATED: Changed to new green shade */
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

/* Footer Bottom Bar */
.footer-bottom {
    background: #111814; /* UPDATED: Deep Charcoal Forest Black */
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid #1d2a22;
}

.footer-bottom p {
    font-size: 14px;
    color: #f5f0f0;
    margin: 0;
}

/* --- Added: Increase Footer WhatsApp Icon Size Only --- */
.contact-col .contact-item .fa-whatsapp {
    font-size: 22px; /* Increased from the standard 18px */
}

/* --- Fix: Hide Mobile Elements Natively on Desktop Viewports --- */
@media (min-width: 769px) {
    .mobile-action-left,
    .mobile-hamburger-trigger {
        display: none !important;
    }
}
/* =======================
   MOBILE CONFIGURATIONS 
   ======================= */
@media (max-width: 768px) {
    
    /* --- NAVIGATION ROW LAYOUT AND ALIGNMENT --- */
    .dark-navbar {
        background: #f4f6f5 !important; 
        position: relative !important; 
        top: auto !important;
    }

    .nav-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important; 
        align-items: center !important;
        padding: 10px 0 !important;
        position: relative !important;
    }

    /* Target wrapper positioning: "Get In Touch" left, Hamburger menu far right */
    .mobile-action-left {
        display: block !important;
        margin-left: 0 !important;
        margin-right: auto !important; 
    }

    .mobile-action-left a.nav-btn-get-in-touch {
        background: #0066cc !important; 
        color: #ffffff !important;
        padding: 8px 20px !important;
        border-radius: 50px !important;
        text-decoration: none !important;
        text-transform: none !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        display: inline-block !important;
    }

    /* --- HAMBURGER MENU ICON TRIGGER --- */
    .mobile-hamburger-trigger {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 26px !important;
        height: 18px !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
        margin-left: 15px !important; 
        z-index: 2000 !important;
    }

    .hamburger-bar {
        width: 100% !important;
        height: 3px !important;
        background-color: #241e1c !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
    }

    /* Transforms burger bars into an 'X' close state layout style */
    .mobile-hamburger-trigger.open-state .hamburger-bar:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg) !important;
    }
    .mobile-hamburger-trigger.open-state .hamburger-bar:nth-child(2) {
        opacity: 0 !important;
    }
    .mobile-hamburger-trigger.open-state .hamburger-bar:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg) !important;
    }

    /* --- MENU OVERLAY PANELS AND LINKS --- */
    .nav-links {
        display: none !important; 
        flex-direction: column !important;
        width: 100% !important;
        list-style: none !important;
        position: absolute !important;
        top: 100% !important; /* Forces dropdown directly underneath the row banner line */
        left: 0 !important;
        background: #f4f6f5 !important;
        box-shadow: 0px 8px 16px rgba(0,0,0,0.15) !important;
        z-index: 1500 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Appends reveal visibility rule hook toggled via JavaScript initialization */
    .nav-links.reveal-mobile-menu {
        display: flex !important;
    }

    .nav-links li {
        width: 100% !important;
        border-bottom: 1px solid #eaeaea !important;
    }

    .nav-links li a {
        padding: 12px 20px !important; 
        font-size: 13px !important;
        text-align: left !important; 
        display: block !important;
        color: #241e1c !important;
        text-decoration: none !important;
    }

    /* Hidden standard redundant buttons inside list blocks */
    .nav-links li.nav-btn-wrapperED,
    .desktop-only-btn-wrapper {
        display: none !important; 
    }

    /* --- MOBILE SUB-MENU DROPDOWN LINKS --- */
    .dropdown-content {
        position: static !important;
        display: none !important; 
        background-color: #ffffff !important;
        box-shadow: none !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .dropdown.active .dropdown-content {
        display: block !important;
    }

    .dropdown.active .nav-arrow {
        transform: rotate(180deg) !important;
    }

    .dropdown-content li a {
        padding-left: 40px !important;
        font-size: 12px !important;
        color: #1c2421 !important;
        border-bottom: 1px solid #eaeaea !important;
    }

    .nav-arrow {
        border-top: 5px solid #1c2421 !important;
    }

    /* --- ORIGINAL UTILITY BLOCKS AND LOGO ALIGNMENTS PRESERVED --- */
    .header-container {
        display: flex !important;
        flex-direction: column !important; 
        padding: 8px 0 !important; 
        max-width: 95% !important;
        align-items: center !important;
    }

    .logo img {
        height: 52px !important; 
        width: auto !important;
        margin-top: 5px !important;
        margin-bottom: 12px !important; 
        transform: scale(1.1) !important; 
        display: block !important;
    }

    .contact-boxes {
        display: flex !important;
        flex-direction: row !important; 
        gap: 6px !important; 
        width: 100% !important;
        height: 100% !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 8px 0 !important;
        border-top: 1px solid #eee !important;
        margin-left: 0 !important; 
        margin-right: 0 !important;
    }

    .info-box {
        flex: 1 !important; 
        gap: 6px !important; 
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        border: 1px solid #eee !important; 
        padding: 6px !important;
    }

    .icon-box {
        width: 32px !important;
        height: 32px !important;
        font-size: 13px !important;
        border: 1px solid #1a935a !important; 
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .info-text strong {
        font-size: 11px !important;
        color: #111 !important;
    }

    .info-text span {
        font-size: 9px !important;
        color: #666 !important;
        white-space: nowrap !important; 
    }

    /* --- ORIGINAL CIRCULAR WHATSAPP ACTION BUTTON PRESERVED --- */
    .whatsapp-pill-link {
        flex: 0 0 46px !important; 
        text-decoration: none !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center;
        gap: 0 !important; 
        background: #1a935a !important;
        border: 1px solid #1a935a !important;
        color: #ffffff !important;
        padding: 0 !important; 
        border-radius: 50% !important; 
        height: 46px !important; 
        width: 46px !important; 
        box-sizing: border-box !important;
        transition: all 0.2s ease !important;
    }

    .whatsapp-pill-link .whatsapp-text {
        display: none !important;
    }

    .whatsapp-pill-link i {
        font-size: 26px !important; 
        margin: 0 !important;
        display: block !important;
        line-height: 1 !important;
    }

    .whatsapp-pill-link:hover,
    .whatsapp-pill-link:active {
        background: #157a4a !important;
        color: #ffffff !important;
    }

    /* --- POPUPS, MODALS & SECTION LAYOUT REWRITES --- */
    .modal-content-box {
        max-width: 90% !important;
        padding: 25px 20px !important;
    }

    .about-section, .services-section, .projects-preview-section {
        padding: 20px 0 40px 0 !important;
    }

    .about-content h2, 
    .section-header h2, 
    .projects-preview-left h2 {
        font-size: 1.6rem !important;
        margin-bottom: 10px !important;
        text-align: left !important;
    }

    .about-content p, 
    .service-card p, 
    .projects-preview-left p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        text-align: justify !important;
        hyphens: auto !important;
        margin-bottom: 20px !important;
    }

    .service-card {
        padding: 20px !important;
        text-align: justify !important;
    }



    .hero {
        height: 55vh; /* Increased slightly to fit the new text and button */
    }

    .slide {
        padding-left: 5%; /* Less padding on mobile */
        justify-content: flex-start; /* Keeps content left-aligned on mobile */
        align-items: center;
    }

    .hero-content {
        text-align: left;
        padding: 15px 20px;
        max-width: 85%;
        
        /* Matching the Desktop Accent */
        border-left: 3px solid #2a9d8f; /* UPDATED: Changed mobile accent line to Crisp Mint/Forest Green */
        
        /* No box/background */
        background: transparent;
        backdrop-filter: none;
        
        animation: contentFade 0.8s ease-out forwards;
    }

    .top-label {
        font-size: 11px;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }

    .hero-content h1 {
        font-size: 1.8rem; /* Adjusted for better fit on small screens */
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    /* Adjusting the button size for mobile touch */
    .hero-btn-primary {
        padding: 10px 20px;
        font-size: 12px;
        gap: 8px;
    }
}

/* Extra small phone adjustment */
@media (max-width: 480px) {
    .hero {
        height: 60vh; /* Give more height for text stacking */
    }
    .hero-content h1 {
        font-size: 1.5rem;
    }
    .hero-content p {
        font-size: 0.85rem;
    }
    .logo img {
        height: 48px !important; /* Slightly smaller for small screens */
        transform: scale(1.1) !important;
        margin-bottom: 10px;
    }

    .nav-links li a {
        padding: 10px 15px;
        font-size: 12px;
    }
}

/* About Mobile View */
@media (max-width: 768px) {
    .about-section {
        /* Move the entire section up */
        padding-top: 10px !important; 
    }

    .about-container {
        flex-direction: column;
        padding: 10px 20px; 
        gap: 25px;
    }

    .about-content {
        /* Align content container to the left */
        text-align: left; 
    }

    .about-content h2 {
        font-size: 1.6rem;
        text-align: left; /* Heading to the left */
        margin-bottom: 10px;
    }

    .about-content p {
        font-size: 0.9rem; 
        line-height: 1.5;
        text-align: justify;
        hyphens: auto;
        padding: 0;
        margin-bottom: 20px;
    }

    .about-grid {
        display: grid; /* Switch back to grid for easier alignment */
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
        /* Ensure no centering is happening */
        width: 100%; 
    }

    .about-item {
        display: flex;
        align-items: center;
        gap: 10px;
        /* Aligns bullets to the left edge of the text */
        justify-content: flex-start; 
        font-size: 0.9rem;
    }
}

/* --- MOBILE ADJUSTMENTS --- */
/* --- UPDATED SERVICES MOBILE CODE --- */
@media (max-width: 768px) {
    .services-section {
        padding: 40px 0;
    }
    
    /* Centered the Heading */
    .section-header h2 {
        font-size: 1.6rem;
        text-align: center !important;
        width: 100%;
        display: block;
    }

    /* New rule for the content below "Our Specialized Services" */
    .section-header p {
        font-size: 0.9rem !important;
        text-align: center !important;
        margin-top: -5px; /* Pulls it closer to the heading */
        margin-bottom: 20px;
    }

    .service-card {
        padding: 20px; 
    }

    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
        text-align: left !important;
        color: #1a935a; /* UPDATED: Changed heading text color to match the new green shade */
    }

    .service-card p {
        font-size: 0.9rem; 
        line-height: 1.5;
        hyphens: auto;
        margin-bottom: 10px;
    }

    .service-card p strong {
        font-size: 0.9rem;
        display: block;
        margin-bottom: 2px;
    }
}
/* --- MOBILE ONLY UPDATES project section --- */
@media (max-width: 768px) {
    .projects-preview-section {
        padding: 20px 0 60px 0; /* Reduced top space for the entire section on mobile */
        overflow-x: hidden;
        width: 100%;
    }

    .projects-preview-container {
        display: flex;
        flex-direction: column;
        gap: 20px; /* Reduced gap between text and image */
        align-items: flex-start;
    }

    .projects-preview-left {
        opacity: 0;
        transform: translateX(-100px) !important;
        transition: all 0.8s ease-out;
    }

    /* REDUCED CONTENT SIZE FOR MOBILE */
    .projects-preview-left h2 {
        font-size: 1.6rem; /* Smaller heading */
        margin-bottom: 10px; /* Less space under heading */
    }

    .projects-preview-left p {
        font-size: 0.9rem; /* Smaller paragraph text */
        line-height: 1.5;
        margin-bottom: 20px; /* Less space above button */
        text-align: justify; /* This justifies the text on mobile */
        hyphens: auto;       /* Optional: helps clean up spacing in justified text */
    }

    .projects-preview-left .view-more-btn {
        color: #1a935a; /* UPDATED: Changed to new green shade */
    }

    .projects-preview-left .btn-arrow {
        border-color: #1a935a; /* UPDATED: Changed to new green shade */
    }

    .projects-preview-right {
        opacity: 0;
        transform: translateX(100px) !important;
        transition: all 0.8s ease-out;
        width: 100%;
    }

    .projects-preview-container.show .projects-preview-left,
    .projects-preview-container.show .projects-preview-right {
        opacity: 1;
        transform: translateX(0) !important;
    }
    
    .project-visual-card {
        height: 220px; /* Slightly shorter visual card */
    }
}

/* --- MOBILE VIEW contact section--- */
@media (max-width: 768px) {

    /* Heading: "Send us a message" */
    .contact-form-wrapper h2 {
        font-size: 1.6rem !important;
        margin-bottom: 10px;
    }

    /* Description paragraph below heading */
    .contact-form-wrapper p {
        font-size: 0.9rem !important;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    /* Text inside the form (Labels, Inputs, Textarea) */
    .contact-form-wrapper label,
    .contact-form-wrapper input,
    .contact-form-wrapper textarea,
    .contact-form-wrapper select {
        font-size: 0.9rem !important;
    }

    .contact-form-wrapper input:focus,
    .contact-form-wrapper textarea:focus {
        border-color: #1a935a !important; /* UPDATED: Changed to new green shade */
    }

    .contact-form-wrapper .hero-btn-primary {
        background: #1a935a !important; /* UPDATED: Changed to new green shade */
    }

    .contact-container {
        display: flex;
        flex-direction: column;
        width: 95%;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .contact-map {
        flex: none;
        height: 420px !important;
        min-height: 420px !important;
        margin-bottom: 20px;
        overflow: hidden;
    }

    .contact-map iframe {
        width: 100%;
        height: 90%;
        display: block;
    }

    .contact-form-wrapper {
        flex: none;
        padding: 30px 20px;
    }
}
/* Mobile Scroll Adjustment */
@media (max-width: 768px) {
    
    #about{
        scroll-margin-top: 10px;
    }

    #contact{
        scroll-margin-top: -450px;
    }
}
/* Responsive fixes footer section*/
@media (max-width: 600px) {
    /* REDUCED TOP AND BOTTOM WHITE SPACE */
    .footer-section, .main-footer, footer { 
        padding-top: 25px !important;  /* Reduces space above the logo */
        padding-bottom: 0px !important; /* Reduces space below the phone number */
    }

    .footer-container {
        grid-template-columns: 1fr 1fr; 
        gap: 30px 15px; 
        text-align: left; 
    }

    .about-col {
        grid-column: span 2;
    }

    .footer-logo-img {
    margin-left: 0;
    margin-top: 0;
    height: 65px;
    width: auto;
    max-width: 100%;
    display: block;
}

    .footer-description {
        text-align: justify; 
        padding-right: 0;
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .footer-col h3::after {
        left: 0;
        transform: none;
        background: #1a935a !important; /* UPDATED: Changed to match new green shade */
    }

    .services-col {
        padding-left: 0;
    }

    .company-col {
        padding-left: 25px; 
    }

    .footer-links li a {
        font-size: 0.9rem !important; 
    }

    .footer-links li a:hover {
        color: #1a935a !important; /* UPDATED: Changed to match new green shade */
    }

    .contact-item span, 
    .contact-item a{
        font-size: 0.9rem;
    }

    .contact-item a:hover {
        color: #1a935a !important; /* UPDATED: Changed to match new green shade */
    }

    /* REDUCED SPACE ABOVE GET IN TOUCH */
    .contact-col {
        grid-column: span 2;
        text-align: left;
        margin-top: -20px; /* Pulls the section slightly higher to close the gap */
    }

    .contact-item {
        display: flex;
        flex-direction: row; 
        justify-content: flex-start;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px; /* Maintains current internal spacing */
    }

    /* UPDATED: REMOVES EXTRA SPACE BELOW THE LAST CHILD (WHATSAPP ITEM) */
    .contact-item:last-child {
        margin-bottom: -10px; 
    }

    .footer-icon {
        margin: 0;
        color: #1a935a !important; /* UPDATED: Changed to match new green shade */
    }
}