/* ============================================
   Digital Edu Pay — Home Page Styles
   Palette: emerald (#10b981) + sky (#0ea5e9)
   ============================================ */

:root {
    --green-50:  #f0fdf4;
    --green-100: #d1fae5;
    --green-400: #34d399;
    --green-500: #10b981;
    --green-600: #059669;
    --green-700: #047857;

    --sky-50:  #f0f9ff;
    --sky-100: #e0f2fe;
    --sky-400: #38bdf8;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;

    --ink-900: #0f172a;
    --ink-800: #1e293b;
    --ink-700: #334155;
    --ink-600: #475569;
    --ink-500: #64748b;
    --ink-400: #94a3b8;

    --cyan-400: #22d3ee;
    --cyan-600: #0891b2;

    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 30px 60px rgba(15, 23, 42, 0.12);
    --shadow-green: 0 20px 45px rgba(16, 185, 129, 0.25);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --grad-green: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --grad-sky:   linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    --grad-mix:   linear-gradient(135deg, #10b981 0%, #0ea5e9 100%);
    --grad-soft:  linear-gradient(135deg, var(--green-50) 0%, var(--sky-100) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--green-50) 0%, var(--sky-100) 100%);
    color: var(--ink-700);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; }

/* ============================================
   Top Announcement Bar
   ============================================ */
.top-bar {
    background: linear-gradient(90deg, #047857 0%, #0284c7 100%);
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 0;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.2px;
}
.top-bar i { color: #fde68a; }

/* ============================================
   Navigation
   ============================================ */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 14px 0;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}
.navbar.nav-scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 6px 30px rgba(15, 23, 42, 0.1);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 4px;
}
.brand-text {
    background: var(--grad-mix);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    padding: 6px;
    transition: transform 0.3s ease;
}
.navbar-brand:hover .logo-icon { transform: rotate(-6deg) scale(1.05); }
.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.navbar-toggler {
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 6px 10px;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15); }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2310b981' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link-custom {
    color: var(--ink-600);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 9px 16px !important;
    border-radius: 10px;
    transition: all 0.25s ease;
    position: relative;
}
.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--green-600);
    background: var(--green-50);
}
.nav-link-custom.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green-500);
}

.btn-nav {
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
}
.btn-login-nav {
    background: var(--grad-green);
    color: #fff;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.28);
}
.btn-login-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(16, 185, 129, 0.42);
    color: #fff;
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    padding: 80px 0 110px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(240, 253, 244, 0.65) 0%, rgba(224, 242, 254, 0.65) 100%);
}

/* Decorative background */
.hero-bg-decor {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    animation: blobFloat 14s ease-in-out infinite;
}
.blob-1 {
    width: 420px; height: 420px;
    background: radial-gradient(circle at 30% 30%, #34d399, transparent 70%);
    top: -120px; right: -80px;
}
.blob-2 {
    width: 360px; height: 360px;
    background: radial-gradient(circle at 70% 30%, #38bdf8, transparent 70%);
    bottom: -100px; left: -80px;
    animation-delay: -3s;
}
.blob-3 {
    width: 280px; height: 280px;
    background: radial-gradient(circle at 50% 50%, #22d3ee, transparent 70%);
    top: 30%; left: 45%;
    opacity: 0.35;
    animation-delay: -7s;
}
.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(20px, -30px) scale(1.08); }
    66%      { transform: translate(-15px, 20px) scale(0.95); }
}

.hero-content { position: relative; z-index: 5; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(14, 165, 233, 0.12) 100%);
    color: var(--green-700);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 24px;
    color: var(--ink-900);
    letter-spacing: -1.2px;
}
.hero-title .typing-text {
    background: var(--grad-mix);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-right: 3px solid var(--green-500);
    animation: blink 0.8s infinite;
    display: inline-block;
    line-height: 1.08;
    vertical-align: top;
    min-height: 1em;
    min-width: 1ch;
    padding-right: 4px;
}
@keyframes blink {
    0%, 50%   { border-color: var(--green-500); }
    51%, 100% { border-color: transparent; }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--ink-500);
    margin-bottom: 32px;
    max-width: 540px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-hero {
    padding: 16px 30px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}
.btn-primary-hero {
    background: var(--grad-green);
    color: #fff;
    box-shadow: var(--shadow-green);
}
.btn-primary-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 55px rgba(16, 185, 129, 0.45);
    color: #fff;
}
.btn-secondary-hero {
    background: #fff;
    color: var(--sky-600);
    border: 2px solid var(--sky-500);
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.12);
}
.btn-secondary-hero:hover {
    background: var(--grad-sky);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(14, 165, 233, 0.35);
}
.btn-ghost-hero {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}
.btn-ghost-hero:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-4px);
    color: #fff;
}

/* Hero trust strip */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.trust-avatars {
    display: flex;
    align-items: center;
}
.trust-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2.5px solid #fff;
    margin-left: -10px;
    box-shadow: var(--shadow-sm);
}
.trust-avatar:first-child { margin-left: 0; }
.trust-avatar-more {
    background: var(--ink-800) !important;
    font-size: 0.8rem;
}
.trust-meta { display: flex; flex-direction: column; gap: 2px; }
.trust-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #fbbf24;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink-700);
}
.trust-stars i { color: #fbbf24; font-size: 0.85rem; }
.trust-stars span { margin-left: 6px; color: var(--ink-700); }
.trust-meta-text {
    font-size: 0.85rem;
    color: var(--ink-500);
    font-weight: 500;
}

/* ============================================
   Hero Visual (image + floating cards)
   ============================================ */
.hero-visual-wrap {
    position: relative;
    z-index: 5;
}
.hero-visual {
    position: relative;
    padding: 18px;
}

.hero-image-frame {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    aspect-ratio: 4 / 3.4;
    background: var(--grad-soft);
}
.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.hero-visual:hover .hero-image-frame img { transform: scale(1.04); }

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(4, 120, 87, 0.35) 100%);
}

.hero-image-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--green-700);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
}
.hero-image-tag i { color: var(--green-500); }

/* Floating cards */
.hero-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.6);
    min-width: 200px;
    z-index: 3;
    animation: floatBob 5s ease-in-out infinite;
}
.hfc-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}
.hfc-icon-success { background: var(--grad-green); }
.hfc-icon-info    { background: var(--grad-sky); }
.hfc-icon-warning { background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); }

.hfc-title { font-size: 0.78rem; color: var(--ink-500); font-weight: 600; }
.hfc-sub   { font-size: 0.95rem; color: var(--ink-900); font-weight: 800; }

.hfc-1 { top: 20%; left: -40px; animation-delay: 0s; }
.hfc-2 { top: 50%; right: -30px; animation-delay: -1.5s; }
.hfc-3 { bottom: 8%; left: 8%; animation-delay: -3s; }

@keyframes floatBob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

.hero-glow {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, transparent 70%);
    filter: blur(30px);
    z-index: 1;
    pointer-events: none;
}

/* ============================================
   Trust Strip
   ============================================ */
.trust-strip {
    padding: 26px 0;
    background: #fff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}
.trust-strip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.trust-strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-700);
    font-weight: 600;
    font-size: 0.95rem;
    flex: 1;
    justify-content: center;
    min-width: 160px;
}
.trust-strip-item i {
    color: var(--green-500);
    font-size: 1.2rem;
}
.trust-strip-divider {
    width: 1px;
    height: 28px;
    background: rgba(15, 23, 42, 0.08);
}

/* ============================================
   Section header (shared)
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--green-100) 0%, var(--sky-100) 100%);
    color: var(--green-700);
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.section-title {
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--ink-900);
    margin-bottom: 14px;
    letter-spacing: -0.8px;
}
.section-description {
    font-size: 1.05rem;
    color: var(--ink-500);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: 90px 0;
    background: #fff;
}
.feature-card {
    background: linear-gradient(160deg, #ffffff 0%, var(--green-50) 100%);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(15, 23, 42, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--grad-mix);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.2);
    box-shadow: var(--shadow-lg);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.2);
    transition: transform 0.35s ease;
}
.feature-card:hover .feature-icon { transform: rotate(-6deg) scale(1.08); }

.feature-icon-1 { background: var(--grad-green); }
.feature-icon-2 { background: var(--grad-sky); }
.feature-icon-3 { background: linear-gradient(135deg, #14b8a6 0%, #0891b2 100%); }
.feature-icon-4 { background: linear-gradient(135deg, #22d3ee 0%, #0ea5e9 100%); }
.feature-icon-5 { background: linear-gradient(135deg, #34d399 0%, #14b8a6 100%); }
.feature-icon-6 { background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%); }
.feature-icon-7 { background: linear-gradient(135deg, #f472b6 0%, #c026d3 100%); }

.feature-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 10px;
}
.feature-description {
    color: var(--ink-500);
    line-height: 1.7;
    font-size: 0.96rem;
}

/* ============================================
   Packages Section
   ============================================ */
.packages-section {
    padding: 90px 0;
    background: linear-gradient(180deg, var(--green-50) 0%, var(--sky-100) 100%);
    position: relative;
}
.package-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 38px 30px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
}
.package-card-popular {
    border-color: var(--green-500);
    box-shadow: 0 25px 55px rgba(16, 185, 129, 0.25);
    transform: scale(1.02);
}
.package-card-popular:hover {
    transform: scale(1.02) translateY(-10px);
}

.package-ribbon {
    position: absolute;
    top: 22px;
    right: -38px;
    background: var(--grad-green);
    color: #fff;
    padding: 6px 42px;
    transform: rotate(45deg);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.35);
}

.package-header { text-align: center; margin-bottom: 26px; }
.package-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 12px 26px rgba(16, 185, 129, 0.25);
}
.package-icon-basic   { background: linear-gradient(135deg, #34d399 0%, #059669 100%); }
.package-icon-advance { background: linear-gradient(135deg, #10b981 0%, #0ea5e9 100%); }
.package-icon-premium { background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%); }

.package-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ink-900);
    margin-bottom: 8px;
}
.package-price {
    font-size: 2.8rem;
    font-weight: 900;
    background: var(--grad-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.package-price-meta {
    color: var(--ink-500);
    font-size: 0.92rem;
    margin-top: 4px;
    font-weight: 500;
}

.package-limits { margin-bottom: 24px; }
.package-limit-row {
    padding: 14px;
    background: var(--green-50);
    border-radius: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.25s ease;
}
.package-limit-row:hover { background: rgba(16, 185, 129, 0.12); }
.package-limit-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-600);
    font-size: 0.95rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}
.package-limit-label { font-size: 0.78rem; color: var(--ink-500); }
.package-limit-value { font-weight: 700; color: var(--ink-900); font-size: 0.98rem; }

.package-features { margin-bottom: 26px; flex-grow: 1; }
.package-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 11px;
    font-size: 0.92rem;
}
.package-feature.is-included i { color: var(--green-500); }
.package-feature.is-included span { color: var(--ink-700); font-weight: 500; }
.package-feature.is-excluded i { color: #d1d5db; }
.package-feature.is-excluded span { color: var(--ink-400); }

.package-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    background: var(--grad-green);
    color: #fff !important;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.25);
}
.package-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(16, 185, 129, 0.4);
    color: #fff;
}
.package-cta-popular {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.3);
}

/* ============================================
   Schools Section
   ============================================ */
.schools-section {
    padding: 90px 0;
    background: #fff;
    overflow: hidden;
}
.schools-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 36px;
    padding: 30px 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.schools-slider::-webkit-scrollbar { display: none; }

.school-slider-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 190px;
}
.school-logo-circle {
    width: 150px;
    height: 110px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green-50) 0%, var(--sky-50) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.04);
    transition: all 0.35s ease;
    margin-bottom: 14px;
}
.school-logo-circle:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 14px 30px rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.2);
}
.school-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}
.school-logo-circle i {
    font-size: 2.6rem;
    background: var(--grad-mix);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.school-name-simple {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink-700);
    line-height: 1.3;
    max-width: 180px;
}

/* ============================================
   Stats Section
   ============================================ */
.stats {
    padding: 70px 0;
    background: var(--grad-green);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.stats-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.12) 0%, transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 35%);
}
.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
}
.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.5rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 4px;
    letter-spacing: -1px;
}
.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    padding: 90px 0;
    background: linear-gradient(180deg, var(--green-50) 0%, var(--sky-100) 100%);
}
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 32px 28px;
    position: relative;
    transition: all 0.35s ease;
    border: 1px solid rgba(15, 23, 42, 0.04);
    height: 100%;
    box-shadow: var(--shadow-sm);
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14, 165, 233, 0.2);
}

.testimonial-quote {
    position: absolute;
    top: 22px;
    right: 24px;
    font-size: 1.6rem;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(14, 165, 233, 0.12) 100%);
    color: var(--green-600);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-content { position: relative; z-index: 1; }
.testimonial-rating {
    color: #fbbf24;
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.testimonial-text {
    color: var(--ink-700);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--grad-mix);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25);
}
.testimonial-info h5 {
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 2px;
    font-size: 1rem;
}
.testimonial-info p {
    color: var(--ink-500);
    font-size: 0.88rem;
    margin: 0;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: 90px 0;
    background: #fff;
}
.cta-card {
    background: linear-gradient(135deg, var(--green-600) 0%, var(--sky-600) 100%);
    border-radius: var(--radius-xl);
    padding: 70px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(16, 185, 129, 0.25);
    max-width: 980px;
    margin: 0 auto;
}
.cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.cta-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.45;
}
.cta-blob-1 {
    width: 320px; height: 320px;
    background: rgba(255, 255, 255, 0.3);
    top: -120px; right: -80px;
}
.cta-blob-2 {
    width: 260px; height: 260px;
    background: rgba(255, 255, 255, 0.2);
    bottom: -100px; left: -60px;
}
.cta-content { position: relative; z-index: 1; }
.cta-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
}
.cta-title {
    font-size: 2.6rem;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -0.8px;
}
.cta-description {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 30px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--ink-900);
    color: #fff;
    padding: 70px 0 20px;
}
.footer-logo {
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    color: #fff;
}
.footer-logo img {
    width: 46px;
    height: 46px;
    margin-right: 12px;
    object-fit: contain;
    background: #fff;
    padding: 6px;
    border-radius: 12px;
}
.footer-description {
    color: var(--ink-400);
    line-height: 1.75;
    font-size: 0.95rem;
    max-width: 340px;
}
.footer-title {
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
    font-size: 1rem;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--grad-mix);
    border-radius: 2px;
}
.footer-links a {
    display: block;
    color: var(--ink-400);
    text-decoration: none;
    padding: 7px 0;
    transition: all 0.25s ease;
    font-size: 0.95rem;
}
.footer-links a:hover {
    color: var(--green-400);
    transform: translateX(4px);
}
.footer-contact a {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.5;
}
.footer-contact a i {
    color: var(--green-400);
    margin-top: 4px;
}
.social-icons { display: flex; gap: 10px; }
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-icons a:hover {
    background: var(--grad-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(16, 185, 129, 0.4);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    margin-top: 40px;
    text-align: center;
    color: var(--ink-400);
    font-size: 0.9rem;
}

/* ============================================
   Scroll reveal animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.reveal-in {
    opacity: 1;
    transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1199px) {
    .hero-title { font-size: 3rem; }
    .hero-floating-card { min-width: 180px; padding: 10px 14px; }
    .hfc-1 { left: -20px; }
    .hfc-2 { right: -15px; }
}

@media (max-width: 991px) {
    .navbar { padding: 10px 0; }
    .hero { padding: 50px 0 80px; text-align: center; }
    .hero .row { gap: 50px; }
    .hero-badge, .hero-buttons, .hero-trust { justify-content: center; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-title { font-size: 2.6rem; }
    .hero-visual { max-width: 560px; margin: 0 auto; }
    .hero-trust { text-align: left; }
    .trust-avatars, .trust-meta { justify-content: center; }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border-radius: 16px;
        padding: 14px;
        margin-top: 12px;
        box-shadow: var(--shadow-md);
    }
    .navbar-nav { gap: 4px !important; }
    .btn-nav { width: 100%; justify-content: center; margin-top: 6px; }

    .section-title { font-size: 2rem; }
    .cta-title { font-size: 2.2rem; }
    .cta-card { padding: 50px 28px; }

    .trust-strip-row { justify-content: center; gap: 16px; }
    .trust-strip-divider { display: none; }

    .package-card-popular { transform: none; }
    .package-card-popular:hover { transform: translateY(-10px); }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.1rem; letter-spacing: -0.5px; }
    .hero-description { font-size: 1rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn-hero { width: 100%; justify-content: center; }

    .hero-floating-card { min-width: 160px; padding: 9px 12px; }
    .hfc-1 { top: 12px; left: 8px; }
    .hfc-2 { top: auto; bottom: 60px; right: 8px; }
    .hfc-3 { bottom: 4px; left: 12px; }
    .hfc-icon { width: 32px; height: 32px; font-size: 0.85rem; }
    .hfc-title { font-size: 0.72rem; }
    .hfc-sub { font-size: 0.85rem; }

    .section-title { font-size: 1.7rem; }
    .section-description { font-size: 0.96rem; }
    .features, .packages-section, .schools-section, .testimonials, .cta { padding: 60px 0; }
    .stats { padding: 50px 0; }
    .stat-number { font-size: 2.2rem; }
    .cta-title { font-size: 1.8rem; }

    .navbar-brand { font-size: 1.15rem; }
    .logo-icon { width: 42px; height: 42px; }

    .footer-logo img { width: 40px; height: 40px; }

    .school-slider-item { min-width: 150px; }
    .school-logo-circle { width: 120px; height: 90px; border-radius: 14px; }
    .school-logo-circle img { padding: 8px; }
    .school-logo-circle i { font-size: 2.1rem; }
    .school-name-simple { font-size: 0.88rem; max-width: 140px; }
    .schools-slider { gap: 28px; padding: 22px 4px; }

    .hero-trust { justify-content: center; }
    .trust-avatar { width: 38px; height: 38px; font-size: 0.82rem; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 1.85rem; }
    .hero { padding: 40px 0 60px; }
    .top-bar { font-size: 0.78rem; }
    .top-bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    .btn-hero { padding: 14px 22px; font-size: 0.92rem; }
    .hero-visual { padding: 10px; }
    .hero-image-frame { border-radius: 22px; }
    .hero-floating-card { min-width: 150px; }

    .section-title { font-size: 1.5rem; }
    .feature-card, .testimonial-card { padding: 26px 22px; }
    .feature-icon { width: 60px; height: 60px; font-size: 1.4rem; }

    .cta-card { padding: 40px 22px; border-radius: var(--radius-lg); }
    .cta-title { font-size: 1.55rem; }
    .cta-actions { flex-direction: column; width: 100%; }
    .cta-actions .btn-hero { width: 100%; justify-content: center; }

    .package-card { padding: 30px 22px; }
    .package-price { font-size: 2.4rem; }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ============================================
   How It Works
   ============================================ */
.how-it-works {
    padding: 90px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}
.how-it-works::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(16, 185, 129, 0.25) 0 8px, transparent 8px 18px);
    z-index: 0;
}
.hiw-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}
.hiw-step {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    position: relative;
}
.hiw-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(16, 185, 129, 0.25);
}
.hiw-step-num {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--grad-green);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.4);
    border: 3px solid #fff;
}
.hiw-step-icon {
    width: 64px;
    height: 64px;
    margin: 12px auto 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--green-50) 0%, var(--sky-100) 100%);
    color: var(--green-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: transform 0.35s ease;
}
.hiw-step:hover .hiw-step-icon {
    transform: rotate(-6deg) scale(1.08);
    background: var(--grad-green);
    color: #fff;
}
.hiw-step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 10px;
}
.hiw-step-desc {
    color: var(--ink-500);
    font-size: 0.93rem;
    line-height: 1.65;
}
.hiw-cta {
    text-align: center;
    margin-top: 48px;
}

/* ============================================
   Bangla QR Payment Section
   ============================================ */
.bangla-qr-section {
    padding: 90px 0;
    background: linear-gradient(180deg, var(--sky-50) 0%, var(--green-50) 100%);
    position: relative;
    overflow: hidden;
}
.bangla-qr-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="%2310b981" opacity="0.1"/><circle cx="50" cy="50" r="1" fill="%230ea5e9" opacity="0.1"/><circle cx="90" cy="90" r="1" fill="%2310b981" opacity="0.1"/></svg>') repeat;
    opacity: 0.3;
    pointer-events: none;
}
.bangla-qr-content {
    position: relative;
    z-index: 1;
}
.bangla-qr-content .section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}
.bangla-qr-content .section-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--ink-600);
}
.bangla-qr-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.bangla-qr-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    color: var(--ink-700);
    line-height: 1.5;
}
.bangla-qr-feature i {
    color: var(--green-500);
    font-size: 1.25rem;
    flex-shrink: 0;
}
.bangla-qr-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.bangla-qr-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: #fff;
    padding: 1.5rem;
}
.bangla-qr-image:hover {
    transform: scale(1.03);
    box-shadow: 0 40px 80px rgba(16, 185, 129, 0.2);
}
.bangla-qr-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--grad-green);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.35);
    animation: float 3s ease-in-out infinite;
}
.bangla-qr-badge i {
    font-size: 1.5rem;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   Responsive — new sections
   ============================================ */
@media (max-width: 991px) {
    .hiw-row { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
    .how-it-works::before { display: none; }
    .bangla-qr-section { padding: 60px 0; }
    .bangla-qr-content { text-align: center; margin-bottom: 2rem; }
    .bangla-qr-content .section-title { font-size: 2rem; }
    .bangla-qr-features {
        align-items: left;
        justify-content: center;
        text-align: left;
        max-width: 400px;
        margin: 0 auto;
    }
    .bangla-qr-feature {
        justify-content: flex-start;
    }
}
@media (max-width: 768px) {
    .hiw-row { grid-template-columns: 1fr; }
    .hiw-step { max-width: 420px; margin: 0 auto; width: 100%; }
}
@media (max-width: 576px) {
    .bangla-qr-section { padding: 40px 0; }
    .bangla-qr-content .section-title { font-size: 1.6rem; }
    .bangla-qr-content .section-description { font-size: 1rem; }
    .bangla-qr-features {
        font-size: 0.95rem;
        max-width: 100%;
    }
    .bangla-qr-badge {
        right: 0;
        bottom: -10px;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    .bangla-qr-badge i { font-size: 1.2rem; }
}
