/* =========================================
   1. VARIABLES & GLOBAL RESET
   ========================================= */
:root {
    --bg-cream: #F2EFE4;
    --primary-teal: #2A8A88;
    --dark-green: #0F3D3E;
    --card-teal: #9EDAD9;
    --footer-bg: #104C52;
    --text-dark: #1a1a1a;
    --brand: #14d69e; /* Added for Service Badges */
    --text-white: #ffffff;
}

html, body {
    overflow-x: hidden; /* Prevents horizontal scrollbar */
    width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    height: auto !important; /* Prevents double vertical scrollbar */
    overflow-y: visible !important;
}

body {
    background-color: var(--bg-cream);
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    color: var(--text-dark);
    position: relative;
}

/* =========================================
   2. TYPOGRAPHY & BUTTONS
   ========================================= */
h1, h2, h3, h4 {
    font-family: 'Canela', serif;
    color: var(--dark-green);
}
h1 { font-weight: 700; }
h2 { font-weight: 400; }
h3 { font-weight: 500; }

.section-padding { padding: 80px 0; }

.btn-primary {
    background-color: var(--primary-teal);
    color: white;
    border-radius: 50px;
    padding: 10px 25px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}
.btn-primary:hover {
    background-color: var(--dark-green);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(42, 138, 136, 0.4);
}

.btn-custom {
    background-color: #2A8A88;
    color: white;
    border-radius: 50px;
    padding: 15px 45px;
    border: none;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    margin-top: 20px;
    transition: all 0.2s ease;
}
.btn-custom:hover {
    background-color: #0F3D3E;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(42, 138, 136, 0.4);
}

/* =========================================
   3. NAVBAR (FIXED OVERLAY)
   ========================================= */
.nav-wrapper {
    position: fixed !important; /* Force Float */
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto;
    z-index: 9999; /* Top priority */
    background: transparent; /* Invisible wrapper */
    display: flex;
    justify-content: center;
    padding-top: 30px;
    pointer-events: none; /* Allows clicks to pass through empty space */
}

.navbar {
    pointer-events: auto; /* Re-enable clicks on the pill itself */
    width: 90%;
    max-width: 1100px;
    background-color: #FDFBF6;
    border-radius: 50px;
    padding: 10px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 40px;
    object-fit: contain;
}

.nav-link {
    color: #0F3D3E !important;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #2A8A88;
    transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* RESET SPACING TO FIX GAP */
    margin-top: 0 !important;
    padding-top: 0;
    top: 0;

    border-bottom-left-radius: 50% 15%;
    border-bottom-right-radius: 50% 15%;
    margin-bottom: -60px; 
    z-index: 10;
    background-color: #0F3D3E;
}

.hero-bg {
    background-image: url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(15, 61, 62, 0.3), rgba(15, 61, 62, 0.6));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    margin-top: 60px; /* Slight push for visual balance */
    text-align: center;
}

.hero-title {
    font-size: 4.5rem;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* =========================================
   5. SERVICES SECTION (Glassmorphism)
   ========================================= */
.services-section {
    background-image: url('assets/extra-bg.png'); 
    background-size: cover;
    background-position: center;
}

.service-card {
    background: rgba(18, 25, 35, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--brand);
}

.card-img-wrap {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 0 10px rgba(20, 214, 158, 0.2));
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.outcome-badge {
    margin-top: auto;
    padding: 10px 12px;
    background: rgba(20, 214, 158, 0.1);
    border-left: 3px solid var(--brand);
    border-radius: 4px;
    font-size: 0.8rem;
    color: #fff;
}

.outcome-label {
    color: var(--brand);
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 5px;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}
.text-white-50 { color: rgba(255, 255, 255, 0.9) !important; }


/* =========================================
   6. CLIENTS & ABOUT
   ========================================= */
#about { padding-top: 120px; }

.about-card {
    background-color: var(--primary-teal);
    color: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(42, 138, 136, 0.2);
    position: relative;
}
.about-card h3 { color: white; }
.arrow-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    color: white;
    text-decoration: none;
}
.arrow-circle:hover { background: rgba(0,0,0,0.5); }

/* Infinite Scroll */
.bg-dark-green {
    background-color: var(--dark-green);
    overflow: hidden;
}
.client-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}
.client-track {
    display: flex;
    width: calc(250px * 34); 
    animation: scroll 40s linear infinite;
}
.client-box {
    width: 200px;
    height: 100px;
    margin: 0 25px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.75);
    flex-shrink: 0;
    padding: 10px;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 17)); }
}

/* =========================================
   7. TESTIMONIALS (Swiper)
   ========================================= */
.testimonials-bg-header {
    background-image: url('assets/cta-bg.png'); 
    position: absolute;
    top: 0; left: 0; width: 100%; height: 350px;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
    mask-image: linear-gradient(to bottom, black, transparent);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent);
}

.testimonialSwiper {
    width: 100%;
    padding: 40px 10px 60px 10px; 
    overflow: visible;
}

.swiper-slide {
    width: 350px !important; 
    height: auto;
    transform: scale(0.9);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.swiper-slide-active {
    transform: scale(1.1);
    opacity: 1;
    z-index: 10;
    box-shadow: 0 20px 50px rgba(42, 138, 136, 0.15);
    border-radius: 20px;
}

.testimonial-card {
    background-color: var(--card-teal);
    height: 320px;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: var(--dark-green);
    cursor: grab;
}
.stars { color: #FFD700; margin-bottom: 20px; font-size: 1.2rem; letter-spacing: 2px; }
.quote { font-style: italic; font-size: 1rem; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; display: flex; align-items: center; justify-content: center; }
.author { font-weight: 700; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }

/* =========================================
   8. FOOTER & CTA
   ========================================= */
.footer-cta-section {
    position: relative;
    min-height: 600px;
    margin-top: 50px;
    border-top-left-radius: 50% 80px;
    border-top-right-radius: 50% 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-bg-image {
    background-image: url('assets/footer-bg.png');
    background-size: cover;
    background-position: bottom center;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}
.cta-content-wrapper { position: relative; z-index: 2; text-align: center; }
.cta-bubble {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 350px;
    height: 350px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    color: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.cta-bubble h3 { color: white; }

.main-footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 40px 0 20px;
}
.main-footer a { color: rgba(255,255,255,0.7); text-decoration: none; transition: 0.2s; }
.main-footer a:hover { color: white; }
.text-teal { color: #5ce1e6; }

/* Contact Section */
#contact { background-color: #fdfbf6; position: relative; z-index: 2; }
.icon-circle {
    width: 50px;
    height: 50px;
    background-color: rgba(42, 138, 136, 0.1);
    color: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.contact-details .d-flex:hover .icon-circle { background-color: var(--primary-teal); color: white; }

/* =========================================
   9. MOBILE & RESPONSIVE FIXES
   ========================================= */
@media (max-width: 768px) {
    /* Navbar Adjustment */
    .nav-wrapper { padding-top: 15px; }
    .navbar { width: calc(100% - 20px); padding: 8px 16px; border-radius: 40px; }
    .navbar-brand img { height: 32px; }
    .nav-link { font-size: 0.9rem; padding: 4px 0; }

    /* HERO FIX: Add padding to clear the fixed navbar */
    .hero-section {
        height: 85vh;
        border-bottom-left-radius: 50% 10%;
        border-bottom-right-radius: 50% 10%;
        padding-top: 130px !important; /* CRITICAL FIX: Pushes text down below navbar */
        padding-bottom: 60px;
        align-items: flex-start; /* Align content to top (plus padding) */
    }
    
    .hero-content { margin-top: 0; } /* Remove extra margin, use padding instead */
    .hero-title { font-size: 2.2rem; line-height: 1.2; }
    .hero-subtitle { font-size: 1rem; margin-top: 12px; }
    
    /* Other Components */
    .swiper-slide { width: 280px !important; }
    .footer-cta-section { min-height: 500px; }
    .cta-bubble { width: 300px; height: 300px; }
    .calendly-inline-widget { height: 850px !important; }
    .founder-photo { max-height: 350px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .navbar { padding: 6px 14px; }
}