:root {
    /* Standardized Colors */
    --tt-green: rgba(42, 156, 100, 1); /* Official Green */
    --tt-green-light: rgba(42, 156, 100, 0.9);
    --light-bg: #f9f9f9; /* Soft background */
    --card-bg: #ffffff; /* Pure white cards/elements */
    --dark-text: #333333; /* Main text color */
    --gray-text: #666666; /* Secondary text color */
    --accent-gold: #ff9800; /* A warmer, contrasting accent */
    --nav-height: 90px; /* Variable for navbar height, crucial for preventing overlap */
}

/* ----
/* ---------------------------------- */
/* GLOBAL */
/* ---------------------------------- */
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
}
body, html {
    overflow-x: hidden !important;
}

/* ---------------------------------- */
/* NAVBAR */
/* ---------------------------------- */

.navbar-wrapper {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background: transparent; /* IMPORTANT – bg image shows behind navbar */
}

.navbar-box {
    width: 90%;
    background: white;
    padding: 6px 35px;
    border-radius: 60px;
    box-shadow: 0px 4px 20px rgba(0,0,0,0.1);

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.footer-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
}

.logo img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0 auto;
}

.nav-links li a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links li a:hover {
    color: #0A954F;
}

.book-btn {
    background: #0F9D58;
    color: white;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background 0.2s;
}
.book-btn:hover { background: #0c7c47; }


.book-btn-mobile {
    padding: 8px 12px;
    border-radius: 50px;
    font-size: 25px;
    text-decoration: none;
    margin-left: auto;
}

.book-btn-mobile i { color: #000; }

.menu-toggle {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding-right: 10px;
}

/* MOBILE NAV FIXES */
@media (max-width: 991px) {
    .nav-links, .book-btn {
        display: none !important;
    }

    .logo {
        margin: 0 auto;
        padding-left: 0;
        text-align: center;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.mobile-menu {
    width: 50%;
    min-width: 200px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 20px;
    font-size: 18px;

    position: fixed;          /* FIXED = stays under navbar always */
    top: 90px;                /* exactly under navbar */
    left: -60%;               /* hidden off-screen */
    z-index: 99999;

    transition: left 0.35s ease;
}

/* Show when opening */
.menu-open {
    left: 10%;               /* original popup spot */
}


.mobile-menu ul { list-style: none; padding: 0; }
.mobile-menu li { margin: 12px 0; }
.mobile-menu a { text-decoration: none; color: #000; font-weight: 500; }



/* ---------------------------------- */
/* HERO SECTION */
/* ---------------------------------- */
.hero-about {
    /* FIX: Added padding to push content below the fixed navbar */
    padding-top: var(--nav-height); 
    background: linear-gradient(rgba(0,0,0,0.53), rgba(0,0,0,0.53)), url("../../images/cabservice.webp") no-repeat center center/cover;
    /* position: relative; */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-about::before {
    /* Lighter overlay for better contrast in light mode */
    /* background: linear-gradient(180deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0.484) 70%, rgba(255,255,255,0.95) 100%); */
    z-index: 1;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Ensure the animation keyframes are defined elsewhere or removed if not needed */
    /* animation: fadeInSlideUp 1.5s ease-out forwards; */ 
    color: var(--dark-text);
}

.hero-content h1 {
    font-size: 4.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--tt-green);
    text-shadow: 0 0 10px rgba(42, 156, 100, 0.2); 
}

.hero-content p {
    font-size: 1.8rem;
    font-weight: 300;
    color: white;
}

.scroll-down-indicator {
    color: var(--tt-green);
}

/* ---------------------------------- */
/* ABOUT INTRO & VISUAL STORY */
/* ---------------------------------- */
.about {
    background-color: var(--card-bg);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.intro-text {
    font-size: 1.6rem;
    color: var(--dark-text);
}

.intro-text strong {
    color: var(--tt-green);
}

.visual-story {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.story-element {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
}

.story-element.right-align {
    flex-direction: row;
}

.story-element.left-align {
    flex-direction: row-reverse;
}

.story-element .text-content {
    flex: 1;
    padding: 0 40px;
}

.story-element .image-wrapper {
    flex: 1;
    min-height: 400px;
    background-color: #e5e5e5;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); 
    border: 3px solid var(--card-bg);
    transition: all 0.3s ease;
}

.story-element .image-wrapper:hover {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.story-element .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-element .text-content h2 {
    text-align: left;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    padding-bottom: 10px;
}

.story-element .text-content h2::after {
    left: 0;
    transform: none;
    width: 50px;
}

.story-element .text-content h2 span {
    display: block;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--tt-green);
    margin-top: 5px;
}

.story-element .text-content p {
    color: var(--gray-text);
}

/* Scroll Reveal States (Used by JS) */
.reveal { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}

/* ---------------------------------- */
/* INTERACTIVE STATS */
/* ---------------------------------- */
.interactive-stats {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--card-bg) 0%, #f0f0f0 100%);
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    background-color: var(--card-bg);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--tt-green);
    text-shadow: 0 0 5px rgba(42, 156, 100, 0.2);
    margin-bottom: 15px;
    display: block;
}

.stat-item .stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-gold); 
    display: block;
    line-height: 1;
}

.stat-item h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-text);
    margin-top: 10px;
    margin-bottom: 0;
}

/* ---------------------------------- */
/* TEAM CAROUSEL */
/* ---------------------------------- */
.our-team {
    padding: 100px 0;
    background-color: var(--card-bg);
}

.team-carousel-wrapper {
    overflow: hidden;
    margin: 0 auto;
    padding: 0 2rem;
    margin-top: 5vh;
    max-width: 1000px; 
}

.team-carousel {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth slide */
}

.team-member {
    flex: 0 0 300px; /* Base width for desktop (3 members visible + gaps) */
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 5px solid var(--tt-green);
}

.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    border: 4px solid var(--light-bg);
    box-shadow: 0 0 0 5px rgba(42, 156, 100, 0.2);
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--dark-text);
}

.team-member p {
    font-weight: 400;
    color: var(--gray-text);
    margin-bottom: 15px;
}

.team-member .motto {
    display: block;
    font-style: italic;
    font-size: 0.95rem;
    color: var(--accent-gold);
    padding-left: 10px;
    border-left: 3px solid var(--accent-gold);
    margin-top: 15px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-nav button {
    background-color: var(--tt-green);
    color: var(--card-bg); 
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.3s;
    box-shadow: 0 5px 15px rgba(42, 156, 100, 0.3);
}

.carousel-nav button:hover:not(:disabled) {
    background-color: var(--tt-green-light);
}

.carousel-nav button:disabled {
    background-color: #ccc;
    color: #999;
    cursor: not-allowed;
    box-shadow: none;
}

/* ---------------------------------- */
/* CALL TO ACTION */
/* ---------------------------------- */
.cta-about {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(90deg, #f0f0f0 0%, #f5f5f5 50%, #f0f0f0 100%);
    border-top: 5px solid var(--tt-green);
}

.cta-about h2 {
    color: var(--tt-green);
    margin-bottom: 2vh;
}

.cta-about p {
    font-size: 1.3rem;
    color: var(--dark-text);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.cta-button {
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 15px 35px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background-color: var(--tt-green);
    color: var(--card-bg);
    box-shadow: 0 4px 15px rgba(42, 156, 100, 0.3);
}

.cta-button.primary:hover {
    box-shadow: 0 8px 20px rgba(42, 156, 100, 0.5);
    transform: translateY(-2px);
}

.cta-button.secondary {
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}

.cta-button.secondary:hover {
    background-color: var(--accent-gold);
    color: var(--card-bg);
    transform: translateY(-2px);
}



/* footer  */
/* --- Global Styles for Footer --- */
.main-footer {
    width: 100%;
    margin-top: 10vh;
    /* font-family: , sans-serif; Fallback font */
}

/* ========================================= */
/* 2. Main Footer (Bottom Dark Part) */
/* ========================================= */
.footer-bottom {
    background-color: #000000; /* Dark background color */
    color: #ffffff;
    padding: 80px 100px 40px 100px;
}

.footer-content {
    max-width: 1400px; /* Match newsletter width */
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-links-social {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    /* This section contains the navigation links and social icons */
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    margin: 0 10px;
    transition: color 0.3s;
}
.footer-nav a:first-child { margin-left: 0; }
.footer-nav a:hover {
    color: #38a55e;
}

.pipe {
    color: #777;
    font-size: 16px;
    font-weight: 300;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.3s, border-color 0.3s;
}
.social-icon:hover {
    background-color: #38a55e;
    border-color: #38a55e;
}

.footer-separator {
    border: none;
    height: 1px;
    background-color: rgb(255, 255, 255);
    margin-bottom: 20px;
}

.footer-copyright-policy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #ccc;
}

.privacy-policy {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}
.privacy-policy:hover {
    color: #38a55e;
}


/* ========================================= */
/* 📱 Responsive Adjustments (Max width 768px) */
/* ========================================= */
@media (max-width: 768px) {
    /* Newsletter Section */
    .newsletter-section {
        padding: 40px 20px 60px 20px;
    }

    .newsletter-content {
        flex-direction: column; /* Stack text and form */
        align-items: flex-start;
        gap: 30px;
    }

    .newsletter-heading {
        font-size: 28px;
    }

    .newsletter-form-container {
        flex-direction: column; /* Stack input and button */
        width: 100%;
        gap: 10px;
    }

    .email-input {
        width: 100%;
    }

    .subscribe-button {
        width: 100%;
    }

    /* Main Footer Section */
    .footer-bottom {
        padding: 60px 20px 30px 20px;
    }

    .footer-links-social {
        flex-direction: column; /* Stack links and social icons */
        align-items: flex-start;
        gap: 20px;
    }

    .footer-nav {
        display: flex;
        flex-wrap: wrap; /* Allow links to wrap */
    }

    .footer-nav a, .pipe {
        margin: 0 5px;
    }

    .footer-copyright-policy {
        flex-direction: column; /* Stack copyright and policy */
        gap: 10px;
        align-items: flex-start;
    }
}

/* ####################################################### */
/* RESPONSIVE DESIGN */
/* ####################################################### */

@media (max-width: 992px) {
    /* Global Adjustments */
    .container {
        padding: 0 1.5rem;
    }

    .hero-about {
        padding-top: calc(var(--nav-height) + 15px);
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.4rem;
    }

    /* Visual Story Re-flow (Crucial for Mobile) */
    .story-element {
        flex-direction: column !important; 
        margin-bottom: 60px;
        text-align: center;
    }

    .story-element .text-content {
        order: 2; 
        padding: 2rem 0;
        max-width: 100%;
    }

    .story-element .text-content h2 {
        text-align: center;
        font-size: 2rem;
    }

    .story-element .text-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .story-element .image-wrapper {
        order: 1; 
        min-width: 100%;
        height: 250px;
        margin: 0 !important;
    }

    /* Interactive Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 2rem;
    }

    .stat-item .stat-number {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    /* Newsletter Section */
    .newsletter-section {
        padding: 40px 20px 60px 20px;
    }

    .newsletter-content {
        flex-direction: column; 
        align-items: flex-start;
        gap: 30px;
    }

    .newsletter-heading {
        font-size: 28px;
    }

    .newsletter-form-container {
        flex-direction: column; 
        width: 100%;
        gap: 10px;
    }

    .email-input {
        width: 100%;
    }

    .subscribe-button {
        width: 100%;
    }

    /* Main Footer Section */
    .footer-bottom {
        padding: 60px 20px 30px 20px;
    }

    .footer-links-social {
        flex-direction: column; 
        align-items: flex-start;
        gap: 20px;
    }

    .footer-nav {
        display: flex;
        flex-wrap: wrap; 
    }

    .footer-nav a, .pipe {
        margin: 0 5px;
    }

    .footer-copyright-policy {
        flex-direction: column; 
        gap: 10px;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    /* Global Adjustments */
    h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    /* Hero Adjustments */
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }

    /* Intro Text */
    .intro-text {
        font-size: 1.2rem;
    }

    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr; 
    }

    /* Carousel Adjustments for Mobile */
    .team-carousel-wrapper {
        max-width: 100%;
        padding: 0 1rem;
    }

    .team-carousel {
        gap: 20px;
    }

    .team-member {
        flex: 0 0 85vw; /* Card takes up 85% of viewport width */
    }

    /* CTA Buttons Stack */
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-button {
        width: 100%;
        padding: 12px 20px;
    }
}