/* =========================================================
   Home Landing Page - Modern animated styles
   ========================================================= */

:root {
    --gc-deep-green: #1B5E20;
    --gc-soft-green: #66BB6A;
    --gc-leaf-green: #E8F5E9;
    --gc-blue: #1E88E5;
    --gc-amber: #F59E0B;
    --gc-teal: #14B8A6;
    --gc-dark: #1F2A37;
    --gc-muted: #6B7280;
}

/* ---------- Generic helpers ---------- */
.min-vh-90 { min-height: 90vh; }

.gradient-text {
    /*background: linear-gradient(90deg, #1B5E20 0%, #66BB6A 50%, #14B8A6 100%);*/
    background:linear-gradient(90deg, #14B8A6 0%, #66BB6A 50%, #14B8A6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn-pill { border-radius: 999px !important; }

/* ============================================================
   HERO
   ============================================================ */
.landing-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0F3D14 0%, #1B5E20 45%, #2E7D32 100%);
    color: #fff;
    padding: 80px 0 60px;
}

.landing-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .55;
    animation: blobFloat 14s ease-in-out infinite;
}

.blob--1 {
    width: 520px; height: 520px;
    background: #66BB6A;
    top: -120px; left: -100px;
}
.blob--2 {
    width: 420px; height: 420px;
    background: #14B8A6;
    bottom: -120px; right: -80px;
    animation-delay: 3s;
}
.blob--3 {
    width: 360px; height: 360px;
    background: #A7F3D0;
    top: 30%; left: 40%;
    opacity: .35;
    animation-delay: 6s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(40px, -30px) scale(1.05); }
    66%      { transform: translate(-30px, 25px) scale(.95); }
}

.grid-overlay {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* Floating icons */
.floating-icons {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.float-icon {
    position: absolute;
    color: rgba(255,255,255,.18);
    font-size: 2rem;
    animation: floatY 8s ease-in-out infinite;
}
.float-icon--1 { top: 15%; left: 8%;  font-size: 2.4rem; animation-delay: 0s; }
.float-icon--2 { top: 30%; left: 85%; font-size: 1.8rem; animation-delay: 1.2s; }
.float-icon--3 { top: 70%; left: 12%; font-size: 2rem;   animation-delay: 2.4s; }
.float-icon--4 { top: 80%; left: 70%; font-size: 2.2rem; animation-delay: 3.6s; }
.float-icon--5 { top: 50%; left: 5%;  font-size: 1.6rem; animation-delay: 4.8s; }
.float-icon--6 { top: 20%; left: 60%; font-size: 1.7rem; animation-delay: 1.8s; }

@keyframes floatY {
    0%, 100% { transform: translateY(0) rotate(0); }
    50%      { transform: translateY(-22px) rotate(8deg); }
}

/* Hero content */
.landing-hero .container { position: relative; z-index: 2; }

.hero-pill {
    display: inline-flex; align-items: center; gap: .4rem;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.25);
    padding: .45rem 1rem;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}
.hero-pill__dot {
    width: 8px; height: 8px;
    background: #86EFAC; border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(134,239,172,.7);
    animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
    0%   { box-shadow: 0 0 0 0 rgba(134,239,172,.7); }
    70%  { box-shadow: 0 0 0 10px rgba(134,239,172,0); }
    100% { box-shadow: 0 0 0 0 rgba(134,239,172,0); }
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 1.25rem;
}

.typed-cursor {
    display: inline-block;
    color: #A7F3D0;
    animation: blink 1s steps(2) infinite;
    margin-left: 2px;
    font-weight: 300;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-lead {
    font-size: 1.15rem;
    color: rgba(255,255,255,.85);
    max-width: 560px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex; flex-wrap: wrap; gap: .75rem;
    margin-bottom: 2.5rem;
}

.btn-hero-primary {
    position: relative;
    overflow: hidden;
    background: #fff;
    color: var(--gc-deep-green);
    font-weight: 600;
    padding: .85rem 1.75rem;
    border-radius: 999px;
    border: none;
    box-shadow: 0 10px 24px rgba(0,0,0,.25);
    transition: transform .25s ease, box-shadow .25s ease;
}
.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0,0,0,.3);
    color: var(--gc-deep-green);
}
.btn-shine {
    position: absolute; top: 0; left: -75%;
    width: 50%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.6), transparent);
    transform: skewX(-20deg);
    animation: shine 3.5s infinite;
}
@keyframes shine {
    0%   { left: -75%; }
    60%  { left: 125%; }
    100% { left: 125%; }
}

.btn-hero-ghost {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
    font-weight: 600;
    padding: .85rem 1.75rem;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    transition: var(--gc-transition);
}
.btn-hero-ghost:hover {
    background: rgba(255,255,255,.2);
    color: #fff;
    border-color: #fff;
}

/* Trust */
.hero-trust { display: flex; align-items: center; gap: .9rem; }
.trust-avatars { display: flex; }
.trust-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #66BB6A, #14B8A6);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    margin-left: -10px;
    border: 2px solid #1B5E20;
    font-size: .9rem;
}
.trust-avatar:first-child { margin-left: 0; }
.trust-avatar--more {
    background: rgba(255,255,255,.2);
    font-weight: 700;
}
.trust-text strong { display: block; font-size: .95rem; }
.trust-text span { font-size: .82rem; color: rgba(255,255,255,.7); }

/* Hero visual - orbit */
.hero-visual {
    position: relative;
    height: 460px;
    display: flex; align-items: center; justify-content: center;
}
.orbit { position: relative; width: 380px; height: 380px; }

.orbit-ring {
    position: absolute; inset: 0;
    border: 1.5px dashed rgba(255,255,255,.25);
    border-radius: 50%;
    animation: spin 30s linear infinite;
}
.orbit-ring--1 { inset: 10%; animation-duration: 25s; }
.orbit-ring--2 { inset: 0;   animation-duration: 40s; animation-direction: reverse; }
.orbit-ring--3 { inset: -10%; animation-duration: 50s; }
@keyframes spin { to { transform: rotate(360deg); } }

.orbit-core {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 130px; height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, #66BB6A, #14B8A6);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 60px rgba(102,187,106,.5), inset 0 0 30px rgba(255,255,255,.2);
    animation: corePulse 3s ease-in-out infinite;
}
.orbit-core i { font-size: 3.5rem; color: #fff; }
@keyframes corePulse {
    0%,100% { transform: translate(-50%,-50%) scale(1); }
    50%     { transform: translate(-50%,-50%) scale(1.05); }
}

.orbit-item {
    position: absolute;
    width: 56px; height: 56px;
    background: #fff;
    color: var(--gc-deep-green);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
    animation: orbitFloat 4s ease-in-out infinite;
}
.orbit-item--a { top: 5%;  left: 50%; transform: translateX(-50%); }
.orbit-item--b { top: 50%; right: 0;  transform: translateY(-50%); animation-delay: 1s; }
.orbit-item--c { bottom: 5%; left: 50%; transform: translateX(-50%); animation-delay: 2s; }
.orbit-item--d { top: 50%; left: 0;   transform: translateY(-50%); animation-delay: 3s; }
@keyframes orbitFloat {
    0%,100% { filter: drop-shadow(0 0 0 transparent); }
    50%     { filter: drop-shadow(0 0 14px rgba(167,243,208,.7)); }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    left: 50%; bottom: 16px;
    transform: translateX(-50%);
    width: 28px; height: 44px;
    border: 2px solid rgba(255,255,255,.5);
    border-radius: 14px;
    display: block;
    z-index: 3;
}
.scroll-indicator span {
    position: absolute;
    top: 8px; left: 50%;
    width: 4px; height: 8px;
    background: #fff;
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
    0%   { opacity: 0; transform: translate(-50%, 0); }
    40%  { opacity: 1; }
    80%, 100% { opacity: 0; transform: translate(-50%, 18px); }
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
    padding: 60px 0 30px;
    margin-top: -40px;
    position: relative;
    z-index: 3;
}
.stat-tile {
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(16,24,40,.08);
    transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;
}
.stat-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(16,24,40,.12);
}
.stat-tile__icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin-bottom: .75rem;
}
.stat-tile__icon--green { background: #E8F5E9; color: #1B5E20; }
.stat-tile__icon--blue  { background: #E3F2FD; color: #1E88E5; }
.stat-tile__icon--amber { background: #FEF3C7; color: #B45309; }
.stat-tile__icon--teal  { background: #CCFBF1; color: #0F766E; }

.stat-tile__number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gc-dark);
    line-height: 1;
}
.stat-tile__label {
    color: var(--gc-muted);
    font-size: .9rem;
    margin-top: .3rem;
}

/* ============================================================
   SECTION HEADS
   ============================================================ */
.features-section,
.how-section,
.featured-jobs-section,
.featured-pathways-section { padding: 70px 0; }

.section-eyebrow {
    display: inline-block;
    background: var(--gc-leaf-green);
    color: var(--gc-deep-green);
    font-size: .8rem;
    font-weight: 600;
    padding: .35rem .85rem;
    border-radius: 999px;
    margin-bottom: .75rem;
    letter-spacing: .02em;
}
.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--gc-dark);
    letter-spacing: -.01em;
    margin-bottom: .5rem;
}
.section-sub {
    color: var(--gc-muted);
    max-width: 640px;
    margin: 0 auto;
}

/* ============================================================
   FEATURE TILES
   ============================================================ */
.feature-tile {
    background: #fff;
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    height: 100%;
    border: 1px solid rgba(0,0,0,.04);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    position: relative;
    overflow: hidden;
}
.feature-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(102,187,106,.08) 100%);
    opacity: 0;
    transition: opacity .3s ease;
}
.feature-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(16,24,40,.1);
    border-color: rgba(102,187,106,.4);
}
.feature-tile:hover::before { opacity: 1; }

.feature-tile__icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 1rem;
    transition: transform .35s ease;
}
.feature-tile:hover .feature-tile__icon { transform: rotate(-6deg) scale(1.08); }
.feature-tile__icon--green { background: #E8F5E9; color: #1B5E20; }
.feature-tile__icon--blue  { background: #E3F2FD; color: #1E88E5; }
.feature-tile__icon--amber { background: #FEF3C7; color: #B45309; }
.feature-tile__icon--teal  { background: #CCFBF1; color: #0F766E; }

.feature-tile h5 { font-weight: 700; margin-bottom: .5rem; position: relative; }
.feature-tile p  { color: var(--gc-muted); font-size: .92rem; position: relative; }
.feature-link {
    color: var(--gc-deep-green);
    font-weight: 600;
    text-decoration: none;
    font-size: .9rem;
    position: relative;
}
.feature-link i { transition: transform .25s ease; display: inline-block; }
.feature-link:hover { color: var(--gc-deep-green); }
.feature-link:hover i { transform: translateX(4px); }

/* ============================================================
   TIMELINE
   ============================================================ */
.how-section { background: linear-gradient(180deg, #F5F7F8 0%, #fff 100%); }

.timeline {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    padding: 2rem 0;
}
.timeline__line {
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #66BB6A, #14B8A6);
    transform: translateX(-50%);
    border-radius: 2px;
    opacity: .35;
}
.timeline-step {
    position: relative;
    width: 50%;
    padding: 1rem 2.5rem 1rem 0;
    text-align: right;
    margin-bottom: 1rem;
}
.timeline-step--right {
    margin-left: 50%;
    padding: 1rem 0 1rem 2.5rem;
    text-align: left;
}
.timeline-step__bullet {
    position: absolute;
    top: 28px;
    right: -22px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1B5E20, #14B8A6);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(20,184,166,.35);
    z-index: 2;
}
.timeline-step--right .timeline-step__bullet { right: auto; left: -22px; }

.timeline-step__card {
    background: #fff;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 28px rgba(16,24,40,.08);
    display: inline-block;
    max-width: 360px;
    transition: transform .3s ease;
}
.timeline-step__card:hover { transform: translateY(-4px); }
.timeline-step__icon {
    color: var(--gc-deep-green);
    font-size: 1.4rem;
    margin-bottom: .4rem;
    display: inline-block;
}
.timeline-step__card h5 { font-weight: 700; margin-bottom: .4rem; }
.timeline-step__card p { color: var(--gc-muted); font-size: .9rem; margin: 0; }

@media (max-width: 768px) {
    .timeline__line { left: 22px; }
    .timeline-step,
    .timeline-step--right {
        width: 100%;
        margin-left: 0;
        padding: 1rem 0 1rem 60px;
        text-align: left;
    }
    .timeline-step__bullet { left: 0 !important; right: auto !important; }
}

/* ============================================================
   JOB / PATHWAY CARDS
   ============================================================ */
.featured-pathways-section { background: #fff; }

.job-card-modern,
.pathway-card-modern {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    border: 1px solid rgba(0,0,0,.05);
    transition: transform .3s ease, box-shadow .3s ease;
}
.job-card-modern:hover,
.pathway-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(16,24,40,.1);
}

.badge-soft {
    display: inline-block;
    padding: .25rem .65rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
}
.badge-soft--green { background: #E8F5E9; color: #1B5E20; }
.badge-soft--blue  { background: #E3F2FD; color: #1E88E5; }
.badge-soft--gray  { background: #F1F5F9; color: #475569; }

.pathway-steps-modern {
    background: #F8FAFB;
    border-radius: 10px;
    padding: .65rem .85rem;
    color: var(--gc-muted);
}

/* ============================================================
   CTA
   ============================================================ */
.cta-modern { padding: 30px 0 80px; }

.cta-modern__card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, #0F3D14 0%, #1B5E20 50%, #14B8A6 100%);
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 24px 60px rgba(20,184,166,.25);
}
.cta-modern__bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.blob--cta-1 {
    width: 360px; height: 360px;
    background: #66BB6A;
    top: -100px; left: -100px;
    opacity: .35;
}
.blob--cta-2 {
    width: 320px; height: 320px;
    background: #A7F3D0;
    bottom: -100px; right: -80px;
    opacity: .25;
    animation-delay: 4s;
}
.cta-modern__content { position: relative; z-index: 1; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-down { animation: fadeDown .8s ease both; }
.animate-fade-up   { animation: fadeUp .9s ease both .1s; }
.animate-zoom-in   { animation: zoomIn 1s ease both .3s; }

.delay-2 { animation-delay: .35s; }
.delay-3 { animation-delay: .55s; }
.delay-4 { animation-delay: .75s; }

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes zoomIn {
    from { opacity: 0; transform: scale(.85); }
    to   { opacity: 1; transform: scale(1); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001s !important;
    }
}
