.home-hero {
    position: relative;
    text-align: center;
    padding: 10px 10px;
    overflow: hidden;
    background-size: 200% 200%;
}

@keyframes heroGradientShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: var(--fs-h1);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 3rem;

    /* Gradient Text */
    background: linear-gradient(180deg, var(--btn-accent-hover));
    -webkit-background-clip: text;
    background-clip: text;
    animation: heroGlow 5s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { text-shadow: 0 0 4px var(--reg-shadow); }
    50% { text-shadow: 0 0 12px var(--reg-shadow); }
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 70ch;
    margin: 0 auto 1rem;
    color: var(--black);
    line-height: 1.7;
}

/* Glass CTA Bar */
.hero-cta-bar {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem;
    margin: 1rem auto 0;
    max-width: 560px;
    background: var(--gray3-bg);
    backdrop-filter: blur(var(--backdrop-blur));
    border-radius: var(--radius);
    border: 1px solid var(--reg-border);
    box-shadow: var(--shadow-1);
}

/* Section Title Underline Accent */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem !important;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: var(--underline-h);
    background: var(--header_tco_footer);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--reg-shadow);
}

/* Container & Padding */
.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--pad-x);
}


/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--anim-med) cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s var(--anim-med) cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Grids */
.pillars-grid,
.paths-grid,
.trust-grid,
.edu-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 3rem;
}

/* Cards – Flashy Hover */
.pillar-card,
.path-card,
.trust-card,
.edu-card,
.testimonial-card {
    background: var(--surface-alt);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--reg-border);
    transition: all var(--anim-med) ease;
    position: relative;
    overflow: hidden;
}

.pillar-card::before,
.path-card::before,
.edu-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, transparent, var(--card-border-before), transparent);
    transform: scaleX(0);
    transition: transform var(--anim-med) ease;
}

.pillar-card:hover::before,
.path-card:hover::before,
.edu-card:hover::before {
    transform: scaleX(1);
}

.pillar-card:hover,
.path-card:hover,
.trust-card:hover,
.edu-card:hover,
.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2);
    border-color: var(--card-border);
}

.edu-card {
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.edu-card h3 {
    margin: 0 0 0.75rem;
    color: var(--h3-text);
}

/* Buttons – Glowing */
.btn {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-align: center;
    transition: all var(--anim-fast) ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(45deg, transparent, var(--white), transparent);
    transform: translateX(-100%);
    transition: transform var(--anim-med) ease;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--btn-accent);
    color: white;
    box-shadow: 0 0 20px var(--reg-shadow);
}

.btn-primary:hover {
    background: var(--btn-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--reg-shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--btn2-accent);
    border: 2px solid var(--btn2-border);
    border-radius: var(--radius);
    padding: 1rem;
}

.btn-secondary:hover {
    background: var(--btn2-accent-hover);
    box-shadow: 0 0 20px var(--reg-shadow);
    color: var(--white);
    border: 2px solid var(--black);
}

.btn-disabled {
    background: var(--gray3-bg);
    color: var(--gray2-bg);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Lead Magnet Box */
.lead-box {
    background: var(--backgound-color);
    backdrop-filter: blur(4px);
    border: 1px solid var(--reg-border);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    box-shadow: var(--shadow-1);
}

.lead-form {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.lead-form input {
    flex: 1;
    min-width: 240px;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--form-border-accent);
    border-radius: var(--radius-sm);
    background: var(--gray-bg);
    color: white;
    font-size: 1rem;
}

.lead-form input::placeholder {
    color: var(--muted);
}

.note {
    font-size: 0.875rem;
    color: var(--black);
    margin-top: 1rem;
}

/* Testimonial Styling */
.testimonials {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--surface-alt);
    padding: 1.75rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--form-border-accent);
    font-style: italic;
}

.author {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--h2-text);
    font-style: normal;
    font-size: 0.9rem;
}

/* Tag */
.tag {
    background: var(--h2-text);
    color: white;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Final CTA */
.home-final-cta {
    background: linear-gradient(135deg, var(--backgound-color), var(--gray3-bg));
    text-align: center;
}


.learning-map {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.learning-panel {
    border: 1px solid var(--reg-border);
    border-radius: var(--radius);
    background: var(--gray2-bg);
    backdrop-filter: blur(4px);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.learning-panel:hover {
    border-color: var(--btn-clr-hover);
    box-shadow: 0 0 12px var(--reg-shadow);
}

.panel-header {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    color: #000;
}

.panel-header .chevron {
    width: 16px;
    height: 16px;
    border-right: 3px solid #000;
    border-bottom: 3px solid #000;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

.learning-panel.open .chevron {
    transform: rotate(-135deg);
}

.panel-body {
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0 1.5rem;
    transition: max-height 0.35s ease;
}

.learning-panel.open .panel-body {
    max-height: 300px;
    padding-bottom: 1rem;
}

.panel-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding-top: 0.8rem;
}

.learn-btn {
    padding: 0.55rem 1.1rem;
    background: var(--backgound-color);
    color: var(--teal-800);
    border: 1px solid var(--reg-border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.learn-btn:hover {
    background: var(--btn-clr-hover);
    color: white;
    border-color: var(--btn-clr-border);
    box-shadow: 0 0 10px var(--reg-shadow);
    transform: translateY(-2px);
}
