/* ═══════════════════════════════════════════
    HOME PAGE STYLES - LIGHT MODE
═══════════════════════════════════════════ */

/* ─── Hero Section ───────────────────────────────── */
#hero {
    min-height: calc(100vh - 112px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-offwhite) 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

/* Subtle grid background */
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(#E2E8F0 1px, transparent 1px),
        linear-gradient(90deg, #E2E8F0 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.3;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

/* Green glow orb - lighter for light mode */
#hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 65%);
    pointer-events: none;
}

.hero-content { 
    position: relative; 
    z-index: 2; 
}

/* Eyebrow */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease 0.1s forwards;
}

/* Headline */
.hero-headline {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease 0.25s forwards;
}

.hero-headline .accent {
    color: var(--green);
    position: relative;
    display: inline-block;
}

.hero-headline .accent::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--green), transparent);
    border-radius: 2px;
}

/* Body text */
.hero-body {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 520px;
    margin-bottom: 2.25rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease 0.4s forwards;
}

/* Buttons */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease 0.55s forwards;
}

.btn-primary-custom {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    color: white;
    background: var(--green);
    border: none;
    padding: 0.85rem 1.8rem;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.2s ease;
}

.btn-primary-custom:hover {
    background: var(--green-dim);
    box-shadow: 0 0 28px rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
    color: white;
}

.btn-ghost-custom {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid #E2E8F0;
    padding: 0.85rem 1.6rem;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.2s ease;
}

.btn-ghost-custom:hover {
    border-color: var(--green);
    color: var(--green);
    background: rgba(16, 185, 129, 0.04);
    transform: translateY(-2px);
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #E2E8F0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease 0.7s forwards;
    flex-wrap: wrap;
}

.hero-stat-number {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.hero-stat-number span { 
    color: var(--green); 
    font-size: 1.2rem;
}

.hero-stat-label {
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* ─── Right Panel — Trust Card ───────────────────── */
.hero-visual {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeRight 0.8s ease 0.5s forwards;
}

.hero-card-stack {
    position: relative;
    padding: 1rem;
}

/* Main card */
.hero-dashboard {
    background: var(--bg-white);
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
}

.hero-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--green), var(--green-dim), transparent);
}

/* Card header */
.dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dash-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0;
}

.dash-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--green);
    font-weight: 600;
    background: rgba(16, 185, 129, 0.08);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.dash-status-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

/* Grid of value props */
.dash-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.dash-metric {
    background: var(--bg-offwhite);
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 0.9rem;
    transition: all 0.2s ease;
}

.dash-metric:hover { 
    border-color: var(--green);
    background: rgba(16, 185, 129, 0.02);
    transform: translateY(-2px);
}

.dash-metric-icon {
    width: 36px;
    height: 36px;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1rem;
    margin-bottom: 0.7rem;
}

.dash-metric-val {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.dash-metric-label {
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

/* Impact metrics */
.dash-impact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #E2E8F0;
}

.dash-impact-item:last-child { 
    border-bottom: none; 
}

.dash-impact-icon {
    width: 32px;
    height: 32px;
    background: rgba(16, 185, 129, 0.06);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1rem;
    flex-shrink: 0;
}

.dash-impact-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dash-impact-text {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.dash-impact-number {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green);
}

/* Floating badges */
.hero-badge {
    position: absolute;
    background: var(--bg-white);
    border: 1px solid #E2E8F0;
    border-radius: 40px;
    padding: 0.6rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    z-index: 3;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--navy);
    white-space: nowrap;
}

.hero-badge i { 
    color: var(--green); 
    font-size: 0.9rem;
}

.hero-badge span {
    font-weight: 500;
}

.hero-badge-1 {
    top: -15px;
    right: -20px;
    animation: float1 4s ease-in-out infinite;
}

.hero-badge-2 {
    bottom: -20px;
    left: -35px;
    animation: float2 5s ease-in-out infinite;
    white-space: normal;
    max-width: 220px;
    text-align: left;
    line-height: 1.3;
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(8px); }
}

/* Responsive */
@media (max-width: 991.98px) {
    #hero {
        padding: 3rem 0;
        min-height: auto;
    }
    
    .hero-visual {
        margin-top: 2rem;
    }
    
    .hero-badge-1 {
        top: -10px;
        right: 0;
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }
    
    .hero-badge-2 {
        left: -10px;
        bottom: -10px;
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
        max-width: 180px;
    }
    
    .dash-grid {
        gap: 0.6rem;
    }
    
    .dash-metric {
        padding: 0.7rem;
    }
    
    .dash-metric-val {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        gap: 1.5rem;
    }
    
    .hero-stat-number {
        font-size: 1.4rem;
    }
    
    .hero-badge {
        display: none;
    }
}

/* ─── Services Section ───────────────────── */
#services {
    padding: 6rem 0;
    background: var(--bg-white);
    position: relative;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #E2E8F0, transparent);
}

.section-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.9rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 540px;
}

.service-card-visual {
    background: var(--bg-offwhite);
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    height: 100%;
}

.service-card-visual:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.15);
}

/* Image Section */
.service-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-light), var(--navy));
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-visual:hover .service-card-img {
    transform: scale(1.05);
}

/* No Image Fallback */
.service-card-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-light), var(--navy));
}

.service-card-no-image i {
    font-size: 6rem;
    color: var(--green);
    opacity: 0.5;
}

/* Service Badge Overlay */
.service-card-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: var(--green);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    z-index: 1;
}

/* Content Section */
.service-card-content {
    padding: 1.5rem;
}

.service-tagline {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green);
    margin-bottom: 0.5rem;
}

.service-description {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Features Tags */
.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.service-feature-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    background: var(--bg-offwhite);
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.service-feature-tag i {
    font-size: 0.65rem;
    color: var(--green);
}

/* Link */
.service-card-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s;
}

.service-card-visual:hover .service-card-link {
    gap: 0.6rem;
}

/* Responsive */
@media (max-width: 768px) {
    .service-card-image {
        height: 200px;
    }
    
    .service-card-content {
        padding: 1.25rem;
    }
}



/* ─── Why Us Section ─────────────────────── */
#why-us {
    padding: 6rem 0;
    background: var(--bg-offwhite);
}

.why-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    background: var(--bg-white);
    transition: border-color 0.25s, box-shadow 0.25s;
    height: 100%;
}

.why-card:hover {
    border-color: var(--green);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.why-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1.1rem;
}

.why-title {
    font-family: 'Syne', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.3rem;
}

.why-desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ─── CTA Section ────────────────────────── */
#cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-offwhite) 100%);
    position: relative;
    overflow: hidden;
}

#cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(16, 185, 129, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.cta-box {
    background: var(--bg-offwhite);
    border: 1px solid var(--green);
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
    opacity: 0.5;
}

.cta-headline {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.cta-sub {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* CTA button override */
#cta .btn-primary-custom {
    background: var(--green);
    color: white;
}

#cta .btn-primary-custom:hover {
    background: var(--green-dim);
}

/* ─── Animations ─────────────────────────── */
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeRight {
    to { opacity: 1; transform: translateX(0); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (max-width: 768px) {
    #hero { padding: 3rem 0; min-height: auto; }
    .hero-visual { margin-top: 3rem; }
    .hero-badge { display: none; }
    .hero-stats { gap: 1.25rem; }
    .cta-box { padding: 2.5rem 1.5rem; }
}



/* ---------GALLERY------ */
#home-gallery {
    padding: 6rem 0;
    background: var(--bg-white);
}

.home-gallery-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.home-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.15);
}

.home-gallery-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.home-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-gallery-card:hover .home-gallery-image img {
    transform: scale(1.05);
}

.home-gallery-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: var(--green);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 1;
}

.home-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.home-gallery-card:hover .home-gallery-overlay {
    opacity: 1;
}

.home-gallery-overlay i {
    font-size: 2rem;
}

.home-gallery-overlay span {
    font-size: 0.875rem;
    font-weight: 500;
}

.home-gallery-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-gallery-title {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.home-gallery-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.home-gallery-link {
    color: var(--green);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s;
}

.home-gallery-link:hover {
    gap: 0.5rem;
    color: var(--green-dim);
}

.home-gallery-modal-caption {
    background: rgba(0,0,0,0.8);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    color: white;
}

.home-gallery-modal-caption h5 {
    color: white;
    margin-bottom: 0.25rem;
}

.home-gallery-modal-caption p {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .home-gallery-image {
        height: 200px;
    }
    
    .home-gallery-content {
        padding: 1rem;
    }
    
    .home-gallery-title {
        font-size: 0.9rem;
    }
}




