/* Custom Properties and Reset */
:root {
    --color-brand-primary: #FF7F50; /* Complementary orange/coral from logo */
    --color-brand-secondary: #334455; /* Dark blue/navy for text and details */
    --color-text: #4a4a4a;
    --color-text-light: #f4f4f4;
    --color-background-light: #ffffff;
    --color-background-dark: #f0f0f0;
    --font-family-primary: 'Poppins', sans-serif;
    --spacing-lg: 60px;
    --spacing-md: 30px;
    --spacing-sm: 15px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
html {
    scroll-padding-top: 80px; /* header height */
}

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background-light);
}

a {
    text-decoration: none;
    color: var(--color-brand-primary);
    transition: color 0.3s;
}

a:hover {
    color: var(--color-brand-secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

h1, h2, h3 {
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    color: var(--color-brand-secondary);
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.subtext {
    text-align: center;
    color: var(--color-text);
    font-size: 1.1em;
    margin-bottom: var(--spacing-lg);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.3s;
    border: 2px solid transparent;
}

/* --- Icon Spacing in Buttons --- */
.btn i {
    margin-right: 8px;
}

.btn-primary {
    background-color: var(--color-brand-primary);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background-color: #e57147; /* Slightly darker primary */
    color: var(--color-text-light);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-brand-secondary);
    border: 2px solid var(--color-brand-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-brand-secondary);
    color: var(--color-text-light);
}

.btn-large {
    padding: 12px 30px;
    font-size: 1.1em;
}


/* --- Header --- */
header {
    background: var(--color-background-light);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 35px; /* Standard logo height */
    width: auto;
}

nav a {
    color: var(--color-brand-secondary);
    margin-left: var(--spacing-md);
    font-weight: 600;
    padding: 5px 0;
}

nav a:hover {
    color: var(--color-brand-primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: var(--color-brand-secondary);
}

/* --- Hero Section - Background Image --- */
.hero-section {
    /* Set the background image and ensure it covers the area */
    background: url('Image/heroimage.png') center center no-repeat;
    background-size: cover;
    
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    /* This sets the default text color for the section (white/light) */
    color: var(--color-text-light);
}

/* --- Hero Overlay (The Black Film) --- */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* SETS THE VISIBLE BLACK FILM (50% Opacity) */
    background-color: rgba(0, 0, 0, 0.3); 
    z-index: 5;
    /* Ensures the overlay is visible over the image */
    display: block; 
}

/* --- Hero Content (Text & Buttons) --- */
/* --- Hero Content (Text & Buttons) --- */
.hero-content {
    position: relative;
    z-index: 10; 
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3em;
    /* Explicitly set color to white/light for maximum visibility */
    color: var(--color-text-light); 
    margin-bottom: var(--spacing-sm);
}

.hero-content p {
    font-size: 1.3em;
    /* Explicitly set color to white/light for maximum visibility */
    color: var(--color-text-light); 
    margin-bottom: var(--spacing-md);
}

/* --- Button Styling --- */
.hero-buttons a:first-child {
    margin-right: var(--spacing-sm);
}

/* Ensure buttons stand out against the dark film */
.hero-buttons .btn-primary {
    /* Primary button will have the orange background and white text */
    border-color: var(--color-text-light);
}

.hero-buttons .btn-secondary {
    /* Secondary button will have white text and a white border */
    color: var(--color-text-light);
    border: 2px solid var(--color-text-light); /* Enforced white border */
}

.hero-buttons .btn-secondary:hover {
    background-color: var(--color-text-light);
    color: var(--color-brand-secondary);
}


/* --- Sections --- */
.section {
    padding: var(--spacing-lg) 0;
}

.section-dark {
    background-color: var(--color-background-dark);
}

/* --- Stats Section --- */
.stats-section .container {
    display: flex;
    justify-content: space-around;
    padding: var(--spacing-md) 0;
    text-align: center;
    border-bottom: 1px solid var(--color-background-dark);
}

.stat-box {
    flex: 1;
    padding: var(--spacing-sm);
}

.stat-box i {
    font-size: 2em;
    color: var(--color-brand-primary);
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--color-brand-secondary);
    line-height: 1;
}

.stat-text {
    font-size: 0.95em;
    color: var(--color-text);
    margin-top: 5px;
}


/* --- About Us Section (Expanded & Professional Styling) --- */
.about-content p {
    margin-bottom: var(--spacing-sm);
    text-align: justify;
}

.expanded-about {
    max-width: 1000px;
    margin: 0 auto;
}

.about-vision, .about-local {
    margin-bottom: var(--spacing-md);
}

.about-vision h3, .about-local h3 {
    color: var(--color-brand-primary);
    margin-top: var(--spacing-sm);
    font-size: 1.5em;
}

/* Ensure icons inside these headings are spaced correctly */
.about-vision h3 i, .about-local h3 i {
    margin-right: 10px;
}

.about-values-grid {
    background-color: var(--color-background-dark);
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.about-values-grid h4 {
    color: var(--color-brand-secondary);
    margin-bottom: var(--spacing-md);
    font-size: 1.7em;
    text-align: center;
}

.about-values-grid h4 i {
    margin-right: 10px;
}

.about-values-grid .value-item {
    padding: var(--spacing-sm);
    border-radius: 5px;
}

.about-values-grid .value-item i {
    font-size: 2em;
    color: var(--color-brand-primary);
    margin-bottom: 5px;
}

.about-values-grid .value-item h5 {
    color: var(--color-brand-secondary);
    margin-bottom: 5px;
    font-size: 1.1em;
}

/* Three-column layout for values */
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.about-values-grid > h4 {
    grid-column: 1 / -1; /* Make the heading span all three columns */
}


/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: var(--color-background-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 3em;
    color: var(--color-brand-primary);
    margin-bottom: var(--spacing-sm);
}

.service-card h3 {
    color: var(--color-brand-secondary);
}

/* --- Testimonials Section --- */
.testimonial-scroller {
    display: flex;
    overflow-x: scroll; /* Ensures scrollbar is visible for manual user scrolling */
    scroll-snap-type: x mandatory; 
    padding-bottom: var(--spacing-md);
    gap: var(--spacing-md);
    -webkit-overflow-scrolling: touch; 
}

.testimonial-card {
    min-width: 350px; /* Minimum width of a card */
    max-width: 400px;
    background: var(--color-background-dark);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    scroll-snap-align: start; /* Snap point */
    flex-shrink: 0; /* Prevents cards from shrinking */
}

.testimonial-card i {
    font-size: 1.5em;
    color: var(--color-brand-primary);
    margin-bottom: 10px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: var(--spacing-sm);
}

.client-info {
    margin-top: 15px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    text-align: right;
}

.client-name {
    font-weight: 600;
    color: var(--color-brand-secondary);
}

.client-location {
    font-size: 0.9em;
    color: var(--color-text);
}


/* Modern Contact Section - Matching Website Typography */
.contact-section-modern {
    padding: 60px 0;
}

/* Flex layout */
.contact-flex {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* Left side */
.contact-left h2 {
    font-size: 2.5em; /* Same as site */
    margin-bottom: 10px;
    color: var(--color-brand-secondary);
}

.contact-tagline {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.contact-left-details {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.contact-left-details li {
    font-size: 1.05em; /* Matching original contact section */
    margin-bottom: 12px;
}

.contact-left-details i {
    color: var(--color-brand-primary);
    margin-right: 10px;
}

/* Map */
.map-container-modern {
    margin-top: 10px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

/* Right side */
.contact-right {
    flex: 1;
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}

.contact-right h3 {
    font-size: 1.6em; /* matches section headers */
    color: var(--color-brand-secondary);
    margin-bottom: 15px;
}

/* Inputs & labels matching site style */
.contact-right .form-group label {
    font-weight: 600;
    color: var(--color-brand-secondary);
}

.contact-right .form-group input,
.contact-right .form-group textarea {
    font-size: 1em; /* match website */
    padding: 10px;
}

/* Mobile responsive */
@media (max-width: 900px) {
    .contact-flex {
        flex-direction: column;
    }
}


@media (min-width: 768px) {
    .contact-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Contact Form */
.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-brand-secondary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-family-primary);
}

.contact-form-container .btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
}

/* --- Footer --- */
footer {
    background-color: var(--color-brand-secondary);
    color: var(--color-text-light);
    padding: var(--spacing-md) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-img {
    /* Inverts the dark logo text to white for the dark footer background */
    filter: brightness(0) invert(1);
    height: 35px; 
    width: auto;
}

.footer-brand p {
    font-size: 0.9em;
    margin-top: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links a, .footer-contact a {
    color: var(--color-text-light);
    opacity: 0.8;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--color-brand-primary);
    opacity: 1;
}

.footer-contact h4, .footer-links h4 {
    color: var(--color-brand-primary);
    margin-bottom: 15px;
}

.social-links {
    margin-top: var(--spacing-sm);
}

.social-links a {
    font-size: 1.2em;
    margin-right: 15px;
    transition: color 0.3s;
}

.footer-bottom {
    text-align: center;
    padding: var(--spacing-sm) 0;
    font-size: 0.85em;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Floating WhatsApp --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    background-color: #25d366; /* WhatsApp Green */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}
/*===============================*/
/* FIXED — Perfectly Centered Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;

    /* THIS CENTERS THE POPUP */
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
}

/* FIXED — Modal Box */
.modal-content {
    background: #ffffff;
    width: 95%;
    max-width: 550px;
    border-radius: 14px;
    padding: 30px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;

    animation: fadeIn 0.3s ease;
}

/* Close Icon on top-right */
.modal-close {
    position: absolute;
    top: 12px;
    right: 15px;

    font-size: 32px;
    color: #333;
    font-weight: bold;

    cursor: pointer;
    z-index: 3000;

    transition: 0.2s ease;
}

.modal-close:hover {
    color: var(--color-brand);
}



/* ================== Media Queries for Responsiveness ================== */

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 120px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 2em;
    }

    /* Header adjustments for mobile */
    .header-btn {
        display: none;
    }

    /* FIX: Ensures the navigation menu pushes content down and doesn't overlap */
    header .container {
        flex-wrap: wrap; /* Allows the nav to drop below the logo/toggle */
    }
    
    nav {
        display: none; 
        width: 100%; 
        position: relative; /* CRITICAL FIX: Keeps flow and prevents overlap */
        top: 0;
        left: 0;
        
        background-color: var(--color-background-light);
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        text-align: center;
        padding: 10px 0;
    }

    nav.active {
        display: flex;
    }

    nav a {
        margin: 10px 0;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }

    .menu-toggle {
        display: block;
    }
    
    /* About Us Adjustment */
    .about-values-grid {
        grid-template-columns: 1fr; /* Stack values vertically on small screens */
    }

    /* Stats adjustment */
    .stats-section .container {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    /* Testimonial adjustment */
    .testimonial-card {
        min-width: 80vw; /* On mobile, cards take up 80% of the viewport width */
    }

 /* ============================
   FIXED 4-COLUMN FOOTER LAYOUT
============================ */

footer {
    background-color: var(--color-brand-secondary);
    color: #fff;
    padding-top: 40px;
}

/* GRID: 4 equal columns */
.footer-grid-4 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 40px;
    padding-bottom: 40px;
}

/* Footer headings */
.footer-col h4 {
    color: var(--color-brand-primary);
    margin-bottom: 12px;
    font-size: 1.2em;
}

/* Footer text */
.footer-col p,
.footer-col li,
.footer-col a {
    font-size: 0.95em;
    line-height: 1.6;
    color: #eaeaea;
}

.footer-col a:hover {
    color: var(--color-brand-primary);
}

/* Remove bullets */
.footer-col ul {
    list-style: none;
    padding: 0;
}

/* Social icons */
.social-links a {
    font-size: 1.3em;
    margin-right: 12px;
    color: #fff;
    transition: 0.3s ease;
}

.social-links a:hover {
    color: var(--color-brand-primary);
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    padding: 15px 0;
    font-size: 0.9em;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* ========== RESPONSIVE FOOTER ========== */

/* Tablet — 2 columns */
@media (max-width: 900px) {
    .footer-grid-4 {
        grid-template-columns: 1fr 1fr !important;
        text-align: left;
    }
}

/* Mobile — 1 column */
@media (max-width: 600px) {
    .footer-grid-4 {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .social-links a {
        margin-right: 20px;
    }
}


/* Footer bottom */
.footer-bottom {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9em;
    color: #ccc;
}

/* ========== RESPONSIVE BEHAVIOR ========== */

/* Tablet — 2 columns */
@media (max-width: 900px) {
    .footer-grid-4 {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
}

/* Mobile — 1 column */
@media (max-width: 600px) {
    .footer-grid-4 {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links a {
        margin-right: 25px;
    }
}


	.footer-seo {
    margin-top: 25px;
    color: #ddd;
    font-size: 0.9em;
    line-height: 1.6;
}

.footer-seo h4 {
    color: var(--color-brand-primary);
    margin-bottom: 8px;
    margin-top: 15px;
}

.footer-seo ul {
    list-style: disc;
    margin-left: 20px;
    margin-top: 8px;
}

}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8em;
    }
    .hero-content p {
        font-size: 1em;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .hero-buttons a:first-child {
        margin-right: 0;
    }
}