/* ================= BASE THEME ================= */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f9fbff 0%, #eef4ff 100%);
    color: #0f172a;
}

/* ================= HERO SECTION ================= */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px;

    background: linear-gradient(135deg, #1e40af, #0ea5e9);
    background-size: 200% 200%;
    animation: heroBreath 10s ease infinite;

    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.45));
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.12);
    filter: blur(80px);
    top: -100px;
    left: -100px;
    border-radius: 50%;
    animation: floatGlow 8s ease-in-out infinite;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);

    padding: 30px;
    border-radius: 16px;
}

.hero-title {
    font-size: 2.7rem;
    font-weight: 700;
    color: #ffffff;

    text-shadow:
        0 3px 10px rgba(0, 0, 0, 0.8),
        0 6px 30px rgba(0, 0, 0, 0.6);

    letter-spacing: 0.5px;
    text-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
}

.hero-subtitle {
    margin-top: 15px;
    font-size: 1.1rem;
    color: #e2e8f0;

    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;

    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.2s;
}

.hero-actions {
    margin-top: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.4s;
}

/* ================= ANIMATIONS ================= */
@keyframes heroBreath {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatGlow {
    0% {
        transform: translate(0px, 0px);
    }

    50% {
        transform: translate(25px, 20px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= CONTAINER ================= */
.container {
    max-width: 1100px;
}

.container.py-5 {
    border-top: 1px solid rgba(37, 99, 235, 0.08);
    margin-top: 20px;
}

/* ================= CARDS ================= */
.card-custom {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 22px;
    cursor: pointer;
    transition: all 0.35s ease;

    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.08);

    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

.card-custom::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(37, 99, 235, 0.08), transparent);
    opacity: 0;
    transition: 0.4s;
}

.card-custom:hover::before {
    opacity: 1;
}

.card-custom:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(30, 58, 138, 0.18);
}

.card-custom.active {
    border: 1px solid rgba(37, 99, 235, 0.35);
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.18);
}

.card-header {
    font-weight: 600;
    font-size: 1.15rem;
    color: #0f172a;
}

.card-content p {
    color: #334155;
    font-size: 0.92rem;
    opacity: 0.9;
}

/* EXTRA CONTENT TOGGLE */
.card-extra {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.card-custom.active .card-extra {
    max-height: 150px;
    opacity: 1;
    margin-top: 10px;
}

[data-type="india"],
[data-type="international"] {
    display: none;
}

/* ================= BUTTONS ================= */
.btn-group-custom {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.btn-group-custom .btn-premium {
    flex: 1;
    text-align: center;
    min-width: 90px;
}

.btn-premium {
    background: linear-gradient(45deg, #2563eb, #38bdf8);
    border: none;
    color: white;
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.8rem;
    margin-top: 8px;
    transition: 0.3s;
    position: relative;
    z-index: 10;
    cursor: pointer !important;
}

.btn-premium:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.35);
}

/* ================= FEATURED CARD ================= */
.featured-card {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: white;
    border: none;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.25);
}

/* ================= FAQ SECTION ================= */
.student-faq {
    padding: 40px 20px;
    max-width: 1100px;
    /* thoda wide for 2 column */
    margin: auto;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #0f172a;
}

/* ✅ CHANGE: Flex → Grid */
.faq-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.faq-item:hover {
    transform: translateY(-3px);
}

/* Question */
.faq-question {
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    color: #1e293b;
    position: relative;
}

/* Optional arrow */
.faq-question::after {
    content: "+";
    position: absolute;
    right: 16px;
    font-size: 18px;
    transition: 0.3s;
}

.faq-item.active .faq-question::after {
    content: "−";
}

/* ✅ Smooth accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 16px;
    color: #475569;
    font-size: 0.9rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 10px 16px 14px 16px;
}

/* Footer full width */
.faq-footer {
    grid-column: span 2;
    text-align: center;
    margin-top: 10px;
}

.cta-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.cta-link:hover {
    text-decoration: underline;
}

/* ✅ Responsive */
@media (max-width: 768px) {
    .faq-container {
        grid-template-columns: 1fr;
    }

    .faq-footer {
        grid-column: span 1;
    }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .hero {
        padding: 90px 0;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .card-custom {
        padding: 18px;
    }

    .featured-card {
        padding: 28px;
    }
}