/* --- MODERN UI VARIABLES --- */
:root {
    --primary: #0077b6;
    --primary-dark: #005f8f;
    --accent: #48cae4;
    --dark: #1d3557;
    --light: #f8f9fa;
    --white: #ffffff;
    --text: #333333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- BASE STYLES & RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    opacity: 1 !important; /* Ensures images stay visible */
    visibility: visible !important;
}

/* --- NAVIGATION --- */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    height: 80px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 5%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 45px;
    height: auto;
}

.brand-name {
    display: block;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
    line-height: 1;
}

.brand-sub {
    font-size: 0.7rem;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Menu Logic */
.nav-toggle { display: none; }
.nav-toggle-label { cursor: pointer; display: flex; align-items: center; z-index: 2001; }
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    display: block; background: var(--primary); height: 3px; width: 25px; border-radius: 2px; position: relative; transition: var(--transition);
}
.nav-toggle-label span::before { content: ''; position: absolute; bottom: 8px; }
.nav-toggle-label span::after { content: ''; position: absolute; top: 8px; }

.nav-menu {
    position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px);
    background: var(--white); display: flex; flex-direction: column; align-items: center; padding-top: 2rem; transition: var(--transition);
}

.nav-menu a {
    text-decoration: none; color: var(--dark); font-size: 1.2rem; font-weight: 500; padding: 1.5rem; width: 100%; text-align: center; border-bottom: 1px solid #f0f0f0;
}

.nav-cta { background: var(--primary); color: var(--white) !important; }
.nav-toggle:checked ~ .nav-menu { left: 0; }

/* --- HERO --- */
.hero { padding: 4rem 5% 2rem; background: linear-gradient(135deg, #f9fcff 0%, #e6f2ff 100%); text-align: center; }
.hero h1 { font-size: 2.2rem; color: var(--dark); line-height: 1.2; margin-bottom: 1.5rem; }
.hero h1 span { color: var(--primary); }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; margin: 2rem 0; }

/* --- BUTTONS --- */
.btn-primary, .btn-secondary, .btn-sticky {
    padding: 1rem 2rem; border-radius: 50px; text-decoration: none; font-weight: 600; text-align: center; transition: var(--transition); display: inline-block;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-secondary { border: 2px solid var(--primary); color: var(--primary); }

/* --- TRUST BAR (Fixed Mobile Distortion) --- */
.trust-bar {
    background: var(--dark); color: var(--white); padding: 1.5rem 5%;
    display: flex; flex-direction: column; gap: 10px; align-items: center;
}

/* --- WHY CHOOSE US (Fixed Image Distortion) --- */
.about { padding: 5rem 5%; }
.about-grid { display: flex; flex-direction: column; gap: 3rem; align-items: center; }
.about-img-wrapper { position: relative; width: 100%; max-width: 500px; }
.main-about-img { width: 100%; height: 350px; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.motive-badge { position: absolute; bottom: -15px; right: -10px; width: 130px; background: white; padding: 5px; border-radius: 12px; box-shadow: var(--shadow); }

/* --- SERVICES --- */
.services { padding: 5rem 0; background: var(--light); }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 3rem; color: var(--dark); }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 0 5%; }
.service-card { background: var(--white); padding: 30px; border-radius: 15px; box-shadow: var(--shadow); text-align: center; }

/* --- GALLERY --- */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 15px; padding: 0 5%; }
.gallery-item img { border-radius: 12px; height: 300px; width: 100%; object-fit: cover; }

/* --- TESTIMONIALS (Fixed Small Image Issue) --- */
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 2rem; }
.testimonial-card { background: var(--white); padding: 2.5rem; border-radius: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; text-align: center; }
.testimonial-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 1.5rem; border: 4px solid var(--primary); }

/* --- CONTACT --- */
.contact { background: var(--dark); color: var(--white); padding: 5rem 5%; text-align: center; }
.contact-wrapper { max-width: 700px; margin: 2rem auto 0; background: rgba(255, 255, 255, 0.05); padding: 2rem; border-radius: 15px; }
.contact-actions { display: flex; flex-direction: column; gap: 15px; }



/* --- MOBILE STICKY BAR --- */
.mobile-sticky-bar { position: fixed; bottom: 20px; left: 5%; right: 5%; z-index: 1000; }
.btn-sticky { display: block; background: #25d366; color: white; box-shadow: 0 10px 20px rgba(0,0,0,0.2); width: 100%; }

/* --- DESKTOP ADAPTATIONS --- */
@media (min-width: 768px) {
    .nav-toggle-label { display: none; }
    .nav-menu { position: static; flex-direction: row; height: auto; width: auto; background: transparent; padding: 0; }
    .nav-menu a { font-size: 0.95rem; border: none; padding: 0 1rem; }
    .hero { display: flex; text-align: left; padding: 8rem 8%; align-items: center; gap: 50px; }
    .hero-content, .hero-image { flex: 1; }
    .hero h1 { font-size: 3.5rem; }
    .hero-actions { flex-direction: row; }
    .trust-bar { flex-direction: row; justify-content: space-around; }
    .about-grid { flex-direction: row; }
    .about-img-wrapper, .about-text { flex: 1; }
    .main-about-img { height: 450px; }
    .services-grid, .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-actions { flex-direction: row; justify-content: center; }
    .mobile-sticky-bar { display: none; }
}

/* --- FOOTER CONTENT ALIGNMENT --- */
/* --- COMPREHENSIVE FOOTER & IMAGE FIX --- */

footer {
    background-color: #0077b6;
    padding: 40px 0;
    width: 100%;
    display: block;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.footer-logo {
    display: block;
    width: 120px;       /* Increase if needed */
    height: auto;
    margin: 0 auto 15px;
    opacity: 1;
    visibility: visible;
    filter: none;       /* Make sure logo is visible */
}

.footer p {
    color: #ffffff;
    text-align: center;
    margin: 5px 0;
}


/* --- MOBILE-ONLY CENTER ALIGNMENT --- */
@media (max-width: 767px) {
    /* Force center alignment on sections that are sticking to the left */
    .hero, 
    .about, 
    .services, 
    .gallery, 
    .testimonials, 
    .contact,
    .footer-content {
        text-align: center !important;
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers flex items horizontally */
    }

    /* Fix headings and paragraphs */
    h1, h2, h3, p {
        text-align: center !important;
        width: 100%;
    }

    /* Ensure lists in the About section are centered */
    .about-text ul {
        display: inline-block;
        text-align: left; /* Keeps bullet points aligned with their text */
        margin: 0 auto;
        padding: 0;
    }

    /* Center the Trust Bar items */
    .trust-item {
        justify-content: center !important;
        width: 100%;
        text-align: center;
    }

    /* Force buttons to center and not stretch full width */
    .btn-primary, .btn-outline, .btn-secondary {
        margin: 10px auto !important;
        display: inline-block;
        width: fit-content;
    }
}

/* --- MOBILE ALIGNMENT FOR ABOUT SECTION --- */
@media (max-width: 767px) {
    .about {
        padding: 40px 5% !important;
        text-align: center !important;
    }

    .about-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* Centers the image and text box */
        text-align: center !important;
    }

    .about-text {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    /* Centers the heading and paragraph */
    .about-text h2, 
    .about-text p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Centers the bullet points while keeping them left-aligned to each other */
    .check-list {
        display: inline-block !important;
        text-align: left !important;
        margin: 20px auto 0 !important;
        padding: 0 !important;
        max-width: fit-content;
    }

    .check-list li {
        margin-bottom: 10px;
    }
	
	.nav-menu {
        position: fixed;
        top: 80px; /* Adjust based on your header height */
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers links for Mobile UX */
        justify-content: flex-start;
        padding-top: 2rem;
        transition: 0.3s ease-in-out;
        z-index: 2001;
    }

    /* Shows menu when toggle is checked */
    .nav-toggle:checked ~ .nav-menu {
        left: 0;
    }

    /* Makes the links large touch targets (UX Friendly) */
    .nav-menu a {
        padding: 20px;
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
        text-decoration: none;
        color: var(--dark);
    }

    /* Ensures the "Book Now" button stands out */
    .nav-cta {
        background: var(--primary);
        color: white !important;
        margin-top: 10px;
    }
	/* Ensure the labels act as full-width clickable areas */
.nav-menu label {
    width: 100%;
    display: block;
    cursor: pointer;
}

.nav-menu label a {
    display: block; /* Makes the entire area of the label clickable */
    width: 100%;
    text-decoration: none;
    color: var(--dark);
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

/* Fix for the CTA button label */
.nav-cta-wrapper a {
    background: var(--primary);
    color: white !important;
    border-bottom: none;
}


.nav-item {
    position: relative;
    width: 100%;
}

/* This invisible layer sits on top of the link to trigger the checkbox */
.close-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    cursor: pointer;
}

.nav-item a {
    position: relative;
    z-index: 1; /* Link sits below the label trigger */
    display: block;
    padding: 20px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}
}