/* Custom CSS for Exam Preparation Page - Medico Admission Hub */

:root {
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-bg-dark: rgba(15, 23, 42, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-border-dark: rgba(255, 255, 255, 0.1);
    --card-glow-primary: rgba(13, 110, 253, 0.15);
    --card-glow-success: rgba(25, 135, 84, 0.15);
    --gradient-primary: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    --gradient-success: linear-gradient(135deg, #198754 0%, #157347 100%);
    --gradient-orange: linear-gradient(135deg, #fd7e14 0%, #e05e00 100%);
    --gradient-purple: linear-gradient(135deg, #6f42c1 0%, #5930ac 100%);
    --gradient-rainbow: linear-gradient(135deg, #0d6efd 0%, #6f42c1 50%, #fd7e14 100%);
    --text-navy: #0f172a;
}

/* Page Background */
.prep-page-bg {
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 0% 0%, rgba(13, 110, 253, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(25, 135, 84, 0.03) 0px, transparent 50%);
}

/* Floating Elements */
.prep-floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.prep-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.18;
    animation: prepOrbitalFloat 25s infinite linear alternate;
}

.prep-shape-1 {
    width: 300px;
    height: 300px;
    background: #0d6efd;
    top: 10%;
    left: -50px;
}

.prep-shape-2 {
    width: 400px;
    height: 400px;
    background: #198754;
    bottom: 20%;
    right: -100px;
    animation-duration: 35s;
    animation-delay: -5s;
}

.prep-shape-3 {
    width: 250px;
    height: 250px;
    background: #fd7e14;
    top: 45%;
    left: 40%;
    animation-duration: 30s;
    animation-delay: -10s;
}

@keyframes prepOrbitalFloat {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(60px, 80px) scale(1.1) rotate(180deg); }
    100% { transform: translate(-40px, 40px) scale(0.9) rotate(360deg); }
}

/* Section Header Styles */
.section-subtitle-badge {
    background-color: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid rgba(13, 110, 253, 0.15);
}

/* 1. Exam Cards (Gradient Border Hover Lift) */
.exam-prep-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 35px 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.exam-prep-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.exam-prep-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
    border-color: transparent;
}

.exam-prep-card:hover::before {
    opacity: 1;
}

.exam-prep-card.card-neet::before { background: var(--gradient-primary); }
.exam-prep-card.card-fmge::before { background: var(--gradient-success); }
.exam-prep-card.card-next::before { background: var(--gradient-orange); }
.exam-prep-card.card-entrance::before { background: var(--gradient-purple); }
.exam-prep-card.card-english::before { background: var(--gradient-rainbow); }
.exam-prep-card.card-licensing::before { background: linear-gradient(135deg, #0dcaf0 0%, #0d6efd 100%); }

.exam-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.exam-prep-card:hover .exam-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.icon-neet { background: rgba(13, 110, 253, 0.1); color: #0d6efd; }
.icon-fmge { background: rgba(25, 135, 84, 0.1); color: #198754; }
.icon-next { background: rgba(253, 126, 20, 0.1); color: #fd7e14; }
.icon-entrance { background: rgba(111, 66, 193, 0.1); color: #6f42c1; }
.icon-english { background: rgba(220, 53, 69, 0.1); color: #dc3545; }
.icon-licensing { background: rgba(13, 202, 240, 0.1); color: #0dcaf0; }

/* 2. Glassmorphism Feature Cards */
.glass-feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    padding: 30px 25px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04);
}

.glass-feature-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px var(--card-glow-primary);
    border-color: rgba(13, 110, 253, 0.3);
}

.feature-badge-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: #0d6efd;
    color: #ffffff;
    box-shadow: 0 8px 16px -4px rgba(13, 110, 253, 0.3);
    margin-bottom: 20px;
}

/* 3. Prep Process Timeline */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #e2e8f0;
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-progress-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    z-index: 1;
    height: 0%; /* Dynamically animated via JS */
    transition: height 0.1s linear;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 10px 40px 40px 40px;
    box-sizing: border-box;
    z-index: 2;
}

.timeline-item-left {
    left: 0;
    text-align: right;
}

.timeline-item-right {
    left: 50%;
    text-align: left;
}

.timeline-badge {
    position: absolute;
    top: 15px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #64748b;
    z-index: 3;
    transition: all 0.4s ease;
}

.timeline-item-left .timeline-badge {
    right: -24px;
}

.timeline-item-right .timeline-badge {
    left: -24px;
}

/* Timeline Active Node */
.timeline-item.active-node .timeline-badge {
    border-color: #0d6efd;
    background: #0d6efd;
    color: #ffffff;
    box-shadow: 0 0 0 8px rgba(13, 110, 253, 0.15);
}

.timeline-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 25px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: inline-block;
    max-width: 100%;
}

.timeline-card:hover {
    box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.timeline-step-num {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0d6efd;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

@media (max-width: 768px) {
    .timeline-line, .timeline-progress-line {
        left: 20px;
        transform: none;
    }
    .timeline-item {
        width: 100%;
        padding-left: 55px;
        padding-right: 0;
        text-align: left !important;
    }
    .timeline-item-left, .timeline-item-right {
        left: 0;
    }
    .timeline-item-left .timeline-badge, .timeline-item-right .timeline-badge {
        left: -4px;
        right: auto;
    }
    .timeline-card {
        display: block;
    }
}

/* 4. Coaching Metrics / Counters */
.coaching-metric-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.coaching-metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.coaching-metric-icon-wrap {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 135, 84, 0.08);
    color: #198754;
    font-size: 26px;
    margin-bottom: 20px;
}

.coaching-metric-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-navy);
    margin-bottom: 5px;
}

/* Success Statistics Section */
.stats-section-dark {
    background: var(--glass-bg-dark);
    position: relative;
    overflow: hidden;
}

.stat-counter-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 22px;
    padding: 40px 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-counter-box:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(to right, #ffffff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-title {
    color: #f8fafc;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.stat-desc {
    color: #94a3b8;
    font-size: 0.88rem;
    margin-bottom: 0;
}

/* 5. Testimonial Slider overrides */
.testimonial-card-premium {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
    margin: 15px 0;
    height: 100%;
    display: flex;
    flex-column: column;
    justify-content: space-between;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 16px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.testimonial-user-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f1f5f9;
}

.testimonial-user-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-navy);
    margin-bottom: 2px;
}

.testimonial-user-exam {
    font-size: 0.78rem;
    font-weight: 600;
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.07);
    padding: 2px 10px;
    border-radius: 50px;
    display: inline-block;
}

/* Testimonial Swiper Slider controls */
.testimonial-swiper {
    padding-bottom: 55px !important;
}

.testimonial-swiper .swiper-pagination-bullet-active {
    background: #0d6efd !important;
    width: 25px !important;
    border-radius: 4px !important;
}

.testimonial-swiper .swiper-pagination-bullet {
    transition: all 0.3s ease;
}

/* 6. Parallax Free Counseling CTA */
.counseling-cta-parallax {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 100px 0;
    overflow: hidden;
}

/* Custom overlay helper */
.dark-overlay-70 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.70);
    z-index: 1;
}

.cta-content-wrapper {
    position: relative;
    z-index: 2;
}

.glass-cta-container {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 60px 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-desc {
    color: #e2e8f0;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta-apply-orange {
    background: linear-gradient(45deg, #AE8625, #d8d164, #D2AC47, #EDC967);
    color: #ffffff;
    font-weight: 700;
    border-radius: 50px;
    padding: 15px 35px;
    box-shadow: 0 10px 20px -5px rgba(253, 126, 20, 0.4);
    border: none;
    transition: all 0.3s ease;
}

.btn-cta-apply-orange:hover {
    background: linear-gradient(135deg, #E6C16A 0%, #D4A24C 35%, #B9832D 70%, #8E6224 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(253, 126, 20, 0.5);
    color: #ffffff;
}

.btn-cta-prep-outline {
    background: transparent;
    color: #ffffff;
    font-weight: 700;
    border-radius: 50px;
    padding: 15px 35px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-cta-prep-outline:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateY(-2px);
}
