/* 
* Free Tablet Programs - Hybrid Theme (Light Global + Dark Hero)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Colors (restored light theme) */
    --clr-primary: #3b82f6;
    --clr-accent: #10b981;
    --clr-dark: #0f172a;
    --clr-text: #334155;
    --clr-text-light: #64748b;
    --clr-bg: #ffffff;
    --clr-bg-alt: #f8fafc;
    --clr-border: #e2e8f0;

    /* Gradients */
    --gradient-primary: linear-gradient(90deg, #335DEC 0%, #6A43ED 100%);
    --gradient-hover: linear-gradient(90deg, #254EDB 0%, #5B35D0 100%);

    /* Hero Specific Dark Theme Vars */
    --hero-bg: linear-gradient(90deg, #335DEC 0%, #6A43ED 100%);

    /* Spacing & Radius */
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* -------------------------------------------------------------------------
   Reset & Base
------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    color: var(--clr-dark);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-4);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

/* -------------------------------------------------------------------------
   Layout
------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.section {
    padding: var(--space-12) 0;
    position: relative;
}

.section-alt {
    background: var(--clr-bg-alt);
}

.grid {
    display: grid;
    gap: var(--space-8);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

.text-center {
    text-align: center;
}

.text-lead {
    font-size: 1.25rem;
    color: var(--clr-text-light);
    max-width: 60ch;
}

.text-light {
    color: var(--clr-text-light);
}

/* -------------------------------------------------------------------------
   Components
------------------------------------------------------------------------- */
.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-6 {
    margin-bottom: var(--space-6);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mb-20 {
    margin-bottom: 5rem;
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-6 {
    margin-top: var(--space-6);
}

.mt-8 {
    margin-top: var(--space-8);
}

.mt-10 {
    margin-top: 2.5rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mt-16 {
    margin-top: 4rem;
}

.mt-20 {
    margin-top: 5rem;
}

.m-0 {
    margin: 0;
}

.card {
    background: white;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-title {
    color: var(--clr-dark);
    margin-bottom: var(--space-2);
}

.card-text {
    color: var(--clr-text-light);
    font-size: 0.95rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--clr-primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-gradient-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
}

.btn-gradient-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -3px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--clr-text);
    border: 1px solid var(--clr-border);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
    background: #f0f9ff;
    transform: translateY(-2px);
}

.program-card-icon {
    width: 56px;
    height: 56px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    color: var(--clr-primary);
    transition: all 0.3s ease;
}

.card:hover .program-card-icon {
    background: var(--clr-primary);
    color: white;
    transform: scale(1.1);
}

/* -------------------------------------------------------------------------
   Header & Navigation
------------------------------------------------------------------------- */
.header-shell {
    padding: var(--space-4) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--clr-border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--clr-dark);
}

.logo-icon {
    width: 32px;
    height: 32px;
}

/* Desktop Nav - One Line Layout */
/* Desktop Nav - One Line Layout */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    /* Wider gap for clean text look */
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--clr-text);
    position: relative;
    padding-bottom: 2px;
}

/* Link Underline Animation */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-primary);
    /* Use Logo Gradient */
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--clr-primary);
}

.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 120%;
    left: 0;
    background: white;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    min-width: 220px;
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--clr-text);
    border-radius: var(--radius-sm);
    transition: 0.2s;
}

.dropdown-link:hover {
    background: var(--clr-bg-alt);
    color: var(--clr-primary);
    transform: translateX(5px);
}

/* Header Scroll Animation */
/* Header Scroll Animation - Fixed to prevent vibration */
.header-shell {
    transition: box-shadow 0.3s ease, background 0.3s ease;
    /* Removed padding transition to stop layout shift/vibration */
}

.header-shell.scrolled {
    /* padding: var(--space-2) 0;  <-- REMOVED to fix vibration */
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
    /* Slightly more opaque on scroll */
}

/* Buttons - Updated to Blue-Purple Gradient per user request */
.btn-primary,
.btn-gradient-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(51, 93, 236, 0.4);
    /* Blue shadow match */
    border: none;
}

.btn-primary:hover,
.btn-gradient-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -3px rgba(51, 93, 236, 0.5);
    filter: brightness(1.1);
    /* Slight brighten on hover */
}

/* Logo Text Gradient */
.logo-container span {
    background: var(--hero-bg);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Footer Advanced Animations */
.footer-links a {
    color: var(--clr-text-light);
    display: block;
    margin-bottom: var(--space-2);
    position: relative;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--clr-primary);
    transform: translateX(8px);
}

/* Social Icon Pulse */
.social-icon:hover {
    fill: var(--clr-primary);
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 4px 6px rgba(59, 130, 246, 0.4));
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 2000;
    padding: var(--space-6);
    transform: translateX(100%);
    transition: 0.3s;
}

.mobile-menu-overlay.is-active {
    transform: translateX(0);
}

@media(max-width: 1024px) {
    .nav-desktop {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
}

/* -------------------------------------------------------------------------
   Dark Hero Section (Scoped)
------------------------------------------------------------------------- */
.hero-dark-mode {
    background: var(--hero-bg);
    color: white;
    padding-top: var(--space-8);
    padding-bottom: var(--space-12);
}

/* User Request: Hero Apply Now button should be white */
.hero-dark-mode .btn-primary {
    background: white;
    color: #335DEC;
    /* Primary Blue Text */
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.hero-dark-mode .btn-primary:hover {
    background: #f8fafc;
    color: #254EDB;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Overrides for children of hero-dark-mode */
.hero-dark-mode h1 {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: white;
    -webkit-text-fill-color: white;
}

.hero-dark-mode .text-lead {
    color: #cbd5e1;
}

.hero-dark-mode .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #10b981;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Stats Card Glassmorphism */
/* Stats Card Glassmorphism - Updated to Light Purple Tint */
.hero-stats-card {
    background: rgba(139, 92, 246, 0.15);
    /* Light Purple tint */
    backdrop-filter: blur(16px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
}

.hero-stats-card h3 {
    color: white;
}

/* Program Item Animations */
.program-item:hover {
    transform: translateX(5px) scale(1.02);
    background: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: default;
}

.program-icon {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.latest-update-box {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    margin-top: var(--space-8);
}

/* -------------------------------------------------------------------------
   Footer (Professional Styling + White Logo)
------------------------------------------------------------------------- */
.footer-shell {
    background: var(--gradient-primary);
    color: white;
    padding-top: 5rem;
    padding-bottom: 2rem;
    margin-top: auto;
    border-top: none;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.footer-shell .logo-container span {
    background: none;
    -webkit-text-fill-color: white;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer-shell .logo-icon {
    fill: white;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    display: block;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '›';
    font-size: 1.2rem;
    line-height: 1;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: none;
    transform: translateX(5px);
    padding-left: 5px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Info Polish */
.contact-list {
    gap: 1.25rem;
}

.contact-item {
    align-items: flex-start;
}

.contact-icon {
    width: 22px;
    height: 22px;
    fill: rgba(255, 255, 255, 0.9);
    margin-top: 3px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.contact-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    margin-bottom: 4px;
}

.contact-details {
    line-height: 1.5;
}

/* Social - Modern Glass Effect */
.footer-social {
    gap: 1.5rem;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon {
    width: 28px;
    height: 28px;
    fill: white;
}

.social-icon-link:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icon-link:hover .social-icon {
    fill: #335DEC;
    /* Brand Blue */
}

/* Footer Bottom Sections */
.footer-middle {
    background: transparent;
    border-top: none;
    padding: 2rem 1rem;
    margin-top: 3rem;
    text-align: center;
}

.footer-middle p {
    background: white;
    color: #333;
    font-size: 0.875rem;
    line-height: 1.6;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-bottom {
    background: transparent;
    padding: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.delay-200 {
    animation-delay: 0.2s;
}

/* Floating Animation for Hero Badges */
@keyframes floatGentle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: floatGentle 2.5s ease-in-out infinite;
}

.float-animation-delayed {
    animation: floatGentle 2.8s ease-in-out infinite;
    animation-delay: 0.3s;
}

/* -------------------------------------------------------------------------
   Program Section Specifics
------------------------------------------------------------------------- */
.btn-program-readmore {
    background: white;
    color: var(--clr-text);
    border: 1px solid var(--clr-border);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-program-readmore:hover {
    background: linear-gradient(90deg, #335DEC 0%, #6A43ED 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(51, 93, 236, 0.3);
}

.card:hover .program-card-icon {
    background: linear-gradient(90deg, #335DEC 0%, #6A43ED 100%);
    transform: scale(1.1);
}

/* Force icons to white on hover */
.card:hover .program-card-icon svg path.icon-stroke {
    stroke: white;
}

.card:hover .program-card-icon svg path.icon-fill {
    fill: white;
}

.card:hover .program-card-icon svg text.icon-text {
    fill: white;
}

/* For Lifeline USAC logo bg */
.card:hover .program-card-icon svg path.icon-bg {
    fill: rgba(255, 255, 255, 0.2);
}

.text-gradient-special {
    background: linear-gradient(90deg, #335DEC 0%, #6A43ED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* -------------------------------------------------------------------------
   Gradient Border Cards
------------------------------------------------------------------------- */
.card-gradient-border {
    position: relative;
    background: white;
    background-clip: padding-box;
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    z-index: 1;
}

.card-gradient-border::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    /* Border width */
    background: linear-gradient(90deg, #335DEC 0%, #6A43ED 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    pointer-events: none;
}

/* Fallback/Alternative approach for better specific border visibility */
.card-gradient-border {
    position: relative;
    border: 1px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box,
        linear-gradient(90deg, #335DEC 0%, #6A43ED 100%) border-box;
}

.card-gradient-border:hover {
    box-shadow: 0 10px 30px rgba(51, 93, 236, 0.15);
    transform: translateY(-5px);
}

/* -------------------------------------------------------------------------
   Tabbed Program Interface
------------------------------------------------------------------------- */
/* Tab Nav */
.program-tabs-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--clr-border);
    background: white;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    color: var(--clr-text-light);
    transition: all 0.2s ease;
}

.tab-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.tab-btn.active {
    background: #335DEC;
    /* Matching the reference blue */
    color: white;
    border-color: #335DEC;
    box-shadow: 0 4px 6px rgba(51, 93, 236, 0.25);
}

.tab-badge {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 0.5rem;
    background: #f1f5f9;
    color: #64748b;
}

.tab-btn.active .tab-badge {
    background: white;
    color: #335DEC;
    font-weight: 700;
}

.tab-badge.active {
    background: #dcfce7;
    color: #166534;
}

/* Green tint */
.tab-badge.paused {
    background: #ffedd5;
    color: #9a3412;
}

/* Orange tint */
.tab-badge.special {
    background: #f3e8ff;
    color: #6b21a8;
}

/* Purple tint */

/* Tab Content */
.program-tab-content {
    background: white;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    /* Soft large shadow */
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Layout for Content */
.grid-2-special {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
}

@media (max-width: 900px) {
    .grid-2-special {
        grid-template-columns: 1fr;
    }
}

/* Info Badges (Pills) */
.badge-pill {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
}

.active-pill {
    background: #dcfce7;
    color: #166534;
}

.paused-pill {
    background: #ffedd5;
    color: #9a3412;
}

.special-pill {
    background: #f3e8ff;
    color: #6b21a8;
}

/* Checklist */
.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--clr-text);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 800;
}

/* Info Boxes (Right Column) */
.program-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

.info-box {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    /* Cleaner look */
}

.info-box h4 {
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-size: 1.1rem;
}

.info-box p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

.bg-blue-50 {
    background: #eff6ff;
}

.bg-green-50 {
    background: #f0fdf4;
}

.bg-orange-50 {
    background: #fff7ed;
}

.bg-purple-50 {
    background: #faf5ff;
}

.box-icon {
    margin-bottom: 0.75rem;
}

.text-blue-600 {
    color: #2563eb;
}

.text-green-600 {
    color: #16a34a;
}

.text-orange-600 {
    color: #ea580c;
}

.text-purple-600 {
    color: #9333ea;
}

/* -------------------------------------------------------------------------
   Eligibility Checker & Qualification Section (Advanced CSS)
------------------------------------------------------------------------- */
.eligibility-card-wrapper {
    height: auto;
    /* Changed from 100% to auto */
}

.eligibility-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    /* Reduced padding from 2.5rem */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    border: 1px solid #f1f5f9;
    height: auto;
    /* Changed from 100% to auto */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eligibility-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-title {
    font-size: 1.5rem;
    color: #1e293b;
    font-weight: 800;
}

/* Form Elements */
.form-group {
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    color: #334155;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* More space between items */
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #475569;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: background 0.2s;
}

.checkbox-item:hover {
    background: #f8fafc;
}

/* Custom Checkbox */
.checkbox-item input {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

.checkmark {
    height: 22px;
    width: 22px;
    background-color: white;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.checkbox-item:hover .checkmark {
    border-color: #94a3b8;
}

.checkbox-item input:checked+.checkmark {
    background-color: #335DEC;
    /* Primary Brand Color */
    border-color: #335DEC;
    transform: scale(1.05);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-item input:checked+.checkmark:after {
    display: block;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

/* Inputs & Selects */
.form-select,
.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    background: #f8fafc;
    font-size: 1rem;
    transition: all 0.2s ease;
    color: #1e293b;
}

.form-select:hover,
.form-input:hover {
    border-color: #cbd5e1;
}

.form-select:focus,
.form-input:focus {
    border-color: #335DEC;
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(51, 93, 236, 0.15);
}

/* Check Button */
#check-eligibility-btn {
    margin-top: 1rem;
    /* Space above button */
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 6px -1px rgba(51, 93, 236, 0.3);
    transition: all 0.3s ease;
}

#check-eligibility-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(51, 93, 236, 0.4);
}

/* Result Box */
.result-box {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    background: #f8fafc;
}

.result-box.success {
    background: #ecfdf5;
    border-color: #34d399;
    /* Brighter green border */
    color: #064e3b;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.1);
}

.result-box.fail {
    background: #fef2f2;
    border-color: #f87171;
    /* Brighter red border */
    color: #7f1d1d;
    box-shadow: 0 4px 6px rgba(239, 68, 68, 0.1);
}

/* Income Table */
.income-table {
    border-collapse: separate;
    border-spacing: 0;
}

.income-table th {
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.income-table td {
    padding: 0.875rem 0.5rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    transition: background 0.2s;
}

.income-table tr:hover td {
    background: #f8fafc;
}

.income-table tr:last-child td {
    border-bottom: none;
}

.income-table .font-style-italic {
    font-style: italic;
    color: #94a3b8;
}

/* Timeline */
.process-timeline {
    position: relative;
    padding-left: 2.5rem;
    margin-top: 2rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 0.9rem;
    /* Center of the circle which is ~24px wide */
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
    border-radius: 2px;
}

.process-step {
    position: relative;
    margin-bottom: 2rem;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-num {
    position: absolute;
    left: -2.5rem;
    top: -2px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #335DEC 0%, #1e40af 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
    border: 3px solid white;
    box-shadow: 0 0 0 1px #e2e8f0, 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Disclaimer text */
.text-xs {
    font-size: 0.75rem;
}

.text-gray-500 {
    color: #64748b;
}

/* Gradient Border Heading */
.gradient-border-heading {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 99px;
    background: white;
    position: relative;
    z-index: 1;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white),
        linear-gradient(90deg, #335DEC, #6A43ED);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

/* Pulse Animation */
@keyframes pulse-slow {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(51, 93, 236, 0.4);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(51, 93, 236, 0);
    }
}

.animate-pulse-slow {
    animation: pulse-slow 3s infinite;
}

/* -------------------------------------------------------------------------
   Notice / Disclaimer Box
------------------------------------------------------------------------- */
.notice-box {
    background-color: #FFFBEB;
    /* Light yellow/cream */
    border: 1px solid #FCD34D;
    /* Yellow border */
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    text-align: left;
}

.notice-icon {
    flex-shrink: 0;
    color: #F59E0B;
    /* Amber/Orange icon color */
    margin-top: 2px;
}

.notice-content {
    flex: 1;
}

.notice-title {
    color: #92400E;
    /* Dark amber/brown title */
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.notice-text {
    color: #92400E;
    /* Dark amber/brown text */
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.notice-text a {
    color: #92400E;
    text-decoration: underline;
    font-weight: 600;
}

.notice-text a:hover {
    color: #78350f;
}

/* -------------------------------------------------------------------------
   Scroll Animations
------------------------------------------------------------------------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------------------------------------
   Program Card Components
------------------------------------------------------------------------- */
.program-card {
    position: relative;
    background: white;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

/* Gradient Header Bar */
.program-card-header {
    background: linear-gradient(90deg, #335DEC 0%, #6A43ED 100%);
    padding: 1rem 1.5rem;
    color: white;
}

/* Program Badge */
.program-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.program-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.4;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
}

/* Rating Display */
.program-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

.program-rating .stars {
    color: #FCD34D;
    font-size: 1rem;
    letter-spacing: 2px;
}

.program-rating .rating-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-style: italic;
}

/* Card Body */
.program-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-overview {
    margin-bottom: 1.5rem;
}

.program-overview h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--clr-dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-overview p {
    color: var(--clr-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Device Pills */
.device-pills {
    margin-bottom: 1.5rem;
}

.device-pills h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--clr-dark);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.device-pill-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.device-pill {
    display: inline-block;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    color: #1E40AF;
    padding: 0.4rem 0.9rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #BFDBFE;
    transition: all 0.3s ease;
}

.device-pill:hover {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(30, 64, 175, 0.2);
}

/* Key Details with Checkmarks */
.program-details {
    margin-bottom: 1.5rem;
}

.program-details h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--clr-dark);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-details .check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-details .check-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.65rem;
    color: var(--clr-text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.program-details .check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
}

/* CTA Button */
.program-card-cta {
    margin-top: auto;
    padding-top: 1rem;
}

.program-card-cta .btn {
    width: 100%;
    justify-content: center;
    background: linear-gradient(90deg, #335DEC 0%, #6A43ED 100%);
    color: white;
    border: none;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    box-shadow: 0 4px 14px rgba(51, 93, 236, 0.4);
}

.program-card-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(51, 93, 236, 0.5);
}

/* -------------------------------------------------------------------------
   Image Quote Card (Students/Seniors Section)
------------------------------------------------------------------------- */
/* Section Background - Hero Style */
/* Section Background - Light Gradient */
.student-senior-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    position: relative;
    overflow: hidden;
    color: var(--clr-text);
    /* Ensure default text is dark */
}

.student-senior-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.image-quote-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.image-quote-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.image-quote-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
}

/* Image Placeholder */
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.4s ease;
}

.image-quote-card:hover .image-placeholder {
    transform: scale(1.05);
}

/* Quote Overlay - White Version */
.quote-overlay-white {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 2rem;
    color: var(--clr-dark);
    border-top: 3px solid #3b82f6;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.image-quote-card:hover .quote-overlay-white {
    padding: 2.25rem;
}

.quote-overlay-white .quote-text {
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    color: var(--clr-text-light);
}

.quote-overlay-white .quote-label {
    display: inline-block;
    color: #EF4444;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* CTA Button in Quote */
.btn-quote-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 99px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-quote-cta:hover {
    background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateX(3px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-up.is-visible {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .image-quote-wrapper {
        height: 400px;
    }

    .quote-overlay {
        padding: 1.5rem;
    }

    .quote-text {
        font-size: 0.9rem;
    }
}

/* -------------------------------------------------------------------------
   Student and Senior Section Enhancements
------------------------------------------------------------------------- */
.bg-gradient-primary {
    background: var(--hero-bg);
    color: white;
}

/* Reverted to Solid White Card */
.student-senior-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.student-senior-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.text-gradient-light {
    background: linear-gradient(to right, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Clear Image Placeholders */
.image-placeholder-clear {
    background: transparent !important;
    border: 2px dashed #94a3b8;
    /* Dark border */
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Remove margins so it fits fully into the auto-layout wrapper */
    margin: 0;
    margin-top: var(--space-4);
    border-radius: var(--radius-lg);
}

.image-placeholder-clear::after {
    content: 'Image Area';
    color: #94a3b8;
    /* Dark text */
    font-weight: 500;
    font-size: 1.1rem;
}

/* Quote Overlay Fix - Stacked Layout */
.quote-overlay-white {
    position: relative !important;
    /* Force relative to stack content */
    background: white !important;
    /* Ensure solid white background */
    backdrop-filter: none !important;
    /* Remove any blur */
    -webkit-backdrop-filter: none !important;
    padding: var(--space-6);
    color: var(--clr-text);
    border-top: none;
    /* Clean look */
    transform: none !important;
    /* Reset transform */
}

/* Ensure wrapper adapts to content height */
.student-senior-card .image-quote-wrapper {
    height: auto !important;
    min-height: 0;
    display: flex;
    flex-direction: column;
    /* Stack children vertically */
}

@keyframes shimmerGreen {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.quote-label {
    font-weight: 800;
    letter-spacing: 0.05em;
    font-size: 0.95rem;
    text-transform: uppercase;
    /* Subtle Green Gradient Animation */
    background: linear-gradient(270deg, #059669, #10b981, #34d399, #059669);
    /* Darker green for white bg */
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmerGreen 6s ease infinite;
}

.quote-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: var(--space-4);
    color: var(--clr-text);
    /* Dark text */
    text-shadow: none;
}

.btn-quote-cta {
    background: var(--gradient-primary);
    /* Gradient Button */
    color: white;
    /* White text */
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

/* -------------------------------------------------------------------------
   Real Stories Review Section (Slider Layout)
------------------------------------------------------------------------- */
.reviews-section {
    background-color: #f8fafc;
    padding: 5rem 0;
    text-align: center;
}

.reviews-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.text-gradient-review {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.reviews-header p {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Card Container */
.testimonial-card-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    padding: 3rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    /* Ensure height context */
    display: flex;
    /* Flex context for centering if needed */
    align-items: center;
}

/* -------------------------------------------------------------------------
   EBT / SNAP Promo Section (Professional Design)
------------------------------------------------------------------------- */
.ebt-promo-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    /* Light blue/slate mix standard */
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.ebt-card-container {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid #e2e8f0;
}

.ebt-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ebt-label {
    display: inline-block;
    background: #eff6ff;
    color: var(--clr-primary);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: fit-content;
    border: 1px solid #dbeafe;
    animation: pulseSubtle 3s infinite ease-in-out;
}

@keyframes pulseSubtle {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(59, 130, 246, 0);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.1);
    }
}

.ebt-heading {
    font-size: 2.75rem;
    line-height: 1.1;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.ebt-heading span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Site standard gradient text */
}

.ebt-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 2.5rem;
}

.ebt-note {
    background: #f1f5f9;
    border-left: 4px solid var(--clr-primary);
    padding: 1.25rem;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    color: #334155;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.btn-ebt {
    background: var(--gradient-primary);
    /* Standard Site Gradient */
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px -5px rgba(59, 130, 246, 0.4);
    border: none;
    text-decoration: none;
    width: fit-content;
}

.btn-ebt:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -5px rgba(59, 130, 246, 0.5);
    background: var(--gradient-hover);
    color: white;
}

.ebt-visual {
    background: #f8fafc;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem;
}

.ebt-visual img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s ease;
}

.ebt-visual:hover img {
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .ebt-card-container {
        grid-template-columns: 1fr;
    }

    .ebt-content {
        padding: 2.5rem;
    }
}

/* -------------------------------------------------------------------------
   FAQ Section
------------------------------------------------------------------------- */
.faq-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.faq-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.faq-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.faq-search-wrapper {
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
}

.faq-search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    padding-left: 3rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-full);
    font-size: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-search-input:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.category-btn {
    padding: 0.5rem 1.25rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-btn:hover {
    background: #f1f5f9;
    color: #334155;
}

.category-btn.active {
    background: var(--clr-primary);
    color: white;
    border-color: var(--clr-primary);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: flex-start;
    font-weight: 600;
    color: #1e293b;
    font-size: 1.05rem;
}

.faq-question>span:nth-child(2) {
    text-align: left;
}

.faq-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    background: #dcfce7;
    color: #166534;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    height: fit-content;
}

.faq-question:hover {
    color: var(--clr-primary);
}

.faq-toggle-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: #94a3b8;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
    color: var(--clr-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #f8fafc;
}

.faq-answer p {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Approximate max height */
    transition: max-height 0.5s ease-in;
}

/* Category Tag in Item (Optional) */
.faq-cat-tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    background: #e0f2fe;
    color: #0369a1;
    margin-right: 0.75rem;
    font-weight: 600;
}

.review-slide {
    display: none;
    /* Hidden by default */
    width: 100%;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.review-slide.active {
    display: grid;
    /* Show as grid when active */
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Left Content */
.testimonial-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stars {
    color: #facc15;
    font-size: 1.25rem;
    display: flex;
    gap: 0.25rem;
}

.quote-icon-large {
    font-size: 4rem;
    line-height: 1;
    color: #bfdbfe;
    font-family: serif;
    margin-bottom: -1rem;
    margin-top: -1rem;
    display: block;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #334155;
    font-style: italic;
}

/* Right Image Area (Simple Container for Icon) */
.testimonial-image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    /* Square */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    /* background set inline for specific color */
    display: flex;
    align-items: center;
    justify-content: center;
}

.large-program-icon {
    font-size: 8rem;
    line-height: 1;
}

/* Updated Reviewer Info */
.reviewer-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.reviewer-meta {
    font-size: 0.95rem;
    color: #64748b;
}

/* Navigation Controls */
.reviews-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: 2rem auto 0;
}

.nav-btn {
    padding: 0.5rem 1.25rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    color: #475569;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.nav-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

/* Active Dot Pulse */
.dot.active {
    background: #3b82f6;
    /* Active blue */
}

/* Responsive */
@media (max-width: 768px) {
    .review-slide.active {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .testimonial-content {
        order: 2;
    }

    .testimonial-image-container {
        max-width: 250px;
        margin: 0 auto;
    }

    .reviewer-info h4 {
        text-align: center;
    }
}

/* -------------------------------------------------------------------------
   Application Steps Page Specific Styles
------------------------------------------------------------------------- */

/* Process Timeline Enhancements */
.step-content {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover .step-content {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

/* Comparison Table Specifics */
.hidden-mobile {
    display: table-cell;
}

@media (max-width: 640px) {
    .hidden-mobile {
        display: none !important;
    }
}

/* Task Table Enhancements */
.task-table-card {
    border: none;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.task-table {
    margin: 0;
}

.task-table thead th {
    background: linear-gradient(135deg, #335DEC 0%, #6A43ED 100%);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: none;
    padding: 1.25rem 1.5rem;
    font-size: 0.8rem;
}

.task-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f5f9;
}

.task-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.task-table tbody tr:hover {
    background: #eff6ff;
    transform: scale(1.01);
    box-shadow: 0 4px 12px rgba(51, 93, 236, 0.08);
}

.task-table td {
    padding: 1.5rem 1.5rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
    color: #334155;
}

.task-table td:first-child {
    font-weight: 800;
    color: var(--clr-primary);
    font-size: 1.1rem;
    text-align: center;
    background: rgba(59, 130, 246, 0.05);
    /* Subtle blue bg for step column */
}

.task-table tr:last-child td {
    border-bottom: none;
}

/* Badge Float Animation */
@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

.float-animation {
    animation: floatBadge 3s ease-in-out infinite;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-gradient-special {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}