:root {
    --primary-color: #882D61;
    /* The rich ruby/magenta from PHB Educational Society */
    --primary-hover: #70214e;
    --text-dark: #0f172a;
    /* Dark text for headings */
    --text-body: #64748b;
    /* Lighter text for paragraphs */
    --bg-light: #ffffff;
    --font-family: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-light);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-text {
    font-weight: 600;
    color: var(--text-dark);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--primary-color);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Header */
.header {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.6rem 0;
}

/* Solid sticky header for sub-pages */
.header-solid {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.8rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #e2e8f0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.logo-img {
    height: 71px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
    transition: var(--transition);
}

/* Smaller logo for sub-page solid header */
.header-solid .logo-img {
    height: 50px;
}

.logo-img:hover {
    transform: scale(1.05);
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.main-nav a i {
    font-size: 0.7rem;
    margin-left: 0.2rem;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hero Section */
.hero {
    padding-top: 110px;
    padding-bottom: 50px;
    position: relative;
    overflow: hidden;
    min-height: 65vh;
    display: flex;
    align-items: center;
}

.hero-bg-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(255, 245, 204, 0.6) 0%, rgba(255, 255, 255, 0) 50%),
        radial-gradient(circle at 30% 70%, rgba(204, 229, 255, 0.4) 0%, rgba(255, 255, 255, 0) 50%);
    z-index: -1;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-content h2 {

    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-body);
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: 400px;
    border-radius: 50%;
    z-index: 2;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    margin-bottom: 1.5rem;
}

.feature-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-link:hover {
    text-decoration: underline;
}

/* Grid System (Basic Polyfill) */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.align-items-center {
    align-items: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.col-lg-4,
.col-lg-8,
.col-sm-6,
.col-xs-12 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.text-right {
    text-align: right;
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-lg-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 991px) {
    .text-right {
        text-align: left;
        margin-top: 1rem;
    }
}

/* Course Section Styles */
.section-padding {
    padding: 100px 0;
}

.home_course {
    background-color: #ffffff;
}

.home_course .section-title h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

.home_course .section-title b {
    color: var(--primary-color);
}

.single_course {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: var(--transition);
}

.single_course:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.single_c_img {
    position: relative;
}

.single_c_img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.single_c_img span {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.course-stars {
    padding: 1.5rem 1.5rem 0;
    color: #f59e0b;
    font-size: 0.9rem;
}

.single_course h4 {
    padding: 0.5rem 1.5rem 1rem;
    font-size: 1.2rem;
    line-height: 1.4;
}

.single_course h4 a {
    transition: var(--transition);
}

.single_course h4 a:hover {
    color: var(--primary-color);
}

.course-meta {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: var(--text-body);
}

.course-meta p i {
    margin-right: 5px;
    color: var(--primary-color);
}

.single_course .price {
    padding: 1rem 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {

    .main-nav,
    .header-actions {
        display: none;
    }
}

/* ============================================================
   SUB-PAGE SOLID STICKY HEADER OVERRIDE
   (cbt, notes, video, study pages)
   ============================================================ */
.sub-page header.header,
header.header.header-solid {
    background-color: #ffffff !important;
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    padding: 0.8rem 0 !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.sub-page header.header .logo-img,
header.header.header-solid .logo-img {
    height: 50px !important;
}

.sub-page header.header .main-nav a,
header.header.header-solid .main-nav a {
    color: #0f172a !important;
}

.sub-page header.header .main-nav a:hover,
.sub-page header.header .main-nav a.active,
header.header.header-solid .main-nav a:hover,
header.header.header-solid .main-nav a.active {
    color: var(--primary-color) !important;
}

.sub-page header.header .btn-text,
header.header.header-solid .btn-text {
    color: #0f172a !important;
}

/* ============================================================
   PAGE BANNER  (shared across cbt / notes / video / study)
   ============================================================ */
.page-banner {
    background: linear-gradient(135deg, #882D61 0%, #4B1131 100%);
    padding: 60px 20px;
    text-align: center;
    color: #ffffff;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 30px rgba(136, 45, 97, 0.15);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.page-banner h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.page-banner p {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================================
   PAGE LAYOUT (sidebar + content)
   ============================================================ */
.page-layout {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .page-layout {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   FILTER SIDEBAR
   ============================================================ */
.filter-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.filter-card {
    background: white;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Category Toggle Switcher inside Sidebar */
.category-toggle-container {
    width: 100%;
}

.category-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.category-tab-btn {
    padding: 8px 10px;
    background: none;
    border: none;
    font-family: var(--font-family);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-body);
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 6px;
    outline: none;
    text-align: center;
}

.category-tab-btn.active {
    background-color: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

.filter-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-card h4.color-exam {
    color: #5b62f4;
}

.filter-card h4.color-notes {
    color: #ef4444;
}

.filter-card h4.color-video {
    color: #10b981;
}

.filter-card h4.color-study {
    color: #5b62f4;
}

.filter-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    display: block;
    margin-bottom: 6px;
}

.filter-select {
    width: 100%;
    padding: 10px 36px 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%235b62f4' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    margin-bottom: 12px;
}

.filter-select:focus {
    outline: none;
    border-color: #5b62f4;
}

.filter-btn {
    width: 100%;
    padding: 11px;
    border-radius: 10px;
    border: none;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.filter-btn.btn-exam {
    background: #5b62f4;
}

.filter-btn.btn-exam:hover {
    background: #4a51d4;
}

.filter-btn.btn-notes {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.filter-btn.btn-notes:hover {
    opacity: 0.9;
}

.filter-btn.btn-video {
    background: linear-gradient(135deg, #10b981, #06b6d4);
}

.filter-btn.btn-video:hover {
    opacity: 0.9;
}

.filter-btn.btn-reset {
    background: #f1f5f9;
    color: #64748b;
    margin-top: 8px;
}

.filter-btn.btn-reset:hover {
    background: #e2e8f0;
}

.filter-btn:hover {
    transform: translateY(-1px);
}

.filter-btn.btn-reset:hover {
    transform: none;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-tag.tag-exam {
    background: #eef0ff;
    color: #5b62f4;
}

.filter-tag.tag-notes {
    background: #fee2e2;
    color: #ef4444;
}

.filter-tag.tag-video {
    background: #d1fae5;
    color: #10b981;
}

/* ============================================================
   RESULTS HEADER
   ============================================================ */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.results-header h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.results-count {
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.83rem;
    font-weight: 700;
}

.results-count.count-exam {
    background: #eef0ff;
    color: #5b62f4;
}

.results-count.count-notes {
    background: #fee2e2;
    color: #ef4444;
}

.results-count.count-video {
    background: #d1fae5;
    color: #10b981;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 16px;
    display: block;
}

.empty-state p {
    color: #64748b;
}

/* ============================================================
   CBT EXAM CARDS
   ============================================================ */
.exam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.exam-card {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid #e2e8f0;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
}

.exam-card:hover {
    border-color: #5b62f4;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(91, 98, 244, 0.15);
}

.exam-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.class-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 8px;
    display: inline-block;
}

.class-badge.badge-exam {
    background: #eef0ff;
    color: #5b62f4;
}

.class-badge.badge-notes {
    background: #fee2e2;
    color: #ef4444;
}

.class-badge.badge-video {
    background: #d1fae5;
    color: #10b981;
}

.exam-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.exam-card p {
    font-size: 0.83rem;
    color: #64748b;
    margin-bottom: 6px;
}

.exam-meta {
    display: flex;
    gap: 12px;
    margin: 12px 0;
}

.exam-meta span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}

.exam-meta span i {
    color: #5b62f4;
    font-size: 0.75rem;
}

.start-btn {
    margin-top: auto;
    display: block;
    width: 100%;
    padding: 10px;
    background: #5b62f4;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}

.start-btn:hover {
    background: #4a51d4;
}

/* ============================================================
   NOTES / PDF CARDS
   ============================================================ */
.pdf-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pdf-card {
    background: white;
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid #e2e8f0;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    gap: 18px;
}

.pdf-card:hover {
    border-color: #ef4444;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.12);
}

.pdf-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #fee2e2;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.pdf-info {
    flex: 1;
}

.pdf-info h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.pdf-info p {
    font-size: 0.8rem;
    color: #64748b;
}

.pdf-info .sub-tag {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pdf-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.pdf-btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.pdf-btn.download {
    background: #ef4444;
    color: white;
}

.pdf-btn.download:hover {
    background: #dc2626;
}

.pdf-btn.read {
    background: #fee2e2;
    color: #ef4444;
    border: 1px solid #fca5a5;
}

.pdf-btn.read:hover {
    background: #fecaca;
}

@media (max-width: 768px) {
    .pdf-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .pdf-actions {
        flex-direction: row;
    }
}

/* ============================================================
   VIDEO CARDS
   ============================================================ */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.video-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid #e2e8f0;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    border-color: #10b981;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
}

.video-thumb {
    position: relative;
    padding-bottom: 56.25%;
    background: #0f172a;
    overflow: hidden;
}

.video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: background 0.2s;
}

.play-overlay:hover {
    background: rgba(0, 0, 0, 0.2);
}

.play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: transform 0.2s;
}

.play-overlay:hover .play-btn {
    transform: scale(1.1);
}

.video-info {
    padding: 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-info h3 {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.video-info p {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 10px;
}

.video-meta {
    display: flex;
    gap: 12px;
}

.video-meta span {
    font-size: 0.78rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-meta span i {
    color: #10b981;
    font-size: 0.7rem;
}

.watch-btn {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #10b981;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    border-top: 1px solid #e2e8f0;
}

.watch-btn:hover {
    color: #059669;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal.open {
    display: flex;
}

.modal-inner {
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    max-width: 860px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.modal-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================================================
   STUDY PORTAL  (study.html)
   ============================================================ */
.sub-page-bg {
    background: #f8fafc;
}

/* Step Banner */
.step-banner {
    background: linear-gradient(135deg, #882D61 0%, #4B1131 100%);
    color: white;
    text-align: center;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 30px rgba(136, 45, 97, 0.15);
    position: relative;
    overflow: hidden;
}

.step-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.step-banner h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-banner p {
    font-size: 1.05rem;
    opacity: 0.95;
    color: white;
    margin: 0;
}

/* Breadcrumb */
.breadcrumb {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0;
}

.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #64748b;
}

.breadcrumb-item.active {
    color: #5b62f4;
    font-weight: 700;
}

.breadcrumb-item span.arrow {
    color: #cbd5e1;
}

/* Step pills */
.steps-row {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 24px;
}

.step-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: default;
}

.step-pill:first-child {
    border-radius: 50px 0 0 50px;
}

.step-pill:last-child {
    border-radius: 0 50px 50px 0;
}

.step-pill.done {
    background: rgba(255, 255, 255, 0.3);
}

.step-pill.active {
    background: white;
    color: #5b62f4;
}

.step-pill .num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-pill.active .num {
    background: #5b62f4;
    color: white;
}

.step-pill.done .num {
    background: #10b981;
    color: white;
}

/* Portal container */
.portal-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Section label / heading */
.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #5b62f4;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-heading {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 28px;
}

/* Selector card grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.card-grid.subjects {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.card-grid.chapters {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.sel-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.sel-card:hover {
    border-color: #5b62f4;
    background: #eef0ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(91, 98, 244, 0.15);
}

.sel-card.selected {
    border-color: #5b62f4;
    background: #eef0ff;
}

.sel-card .card-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.sel-card .card-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.sel-card .card-sub {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 4px;
}

.sel-card .check-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #5b62f4;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: none;
    align-items: center;
    justify-content: center;
}

.sel-card.selected .check-badge {
    display: flex;
}

/* Subject color variants */
.sub-math {
    --sc: #5b62f4;
}

.sub-science {
    --sc: #10b981;
}

.sub-english {
    --sc: #f59e0b;
}

.sub-social {
    --sc: #ef4444;
}

.sub-hindi {
    --sc: #8b5cf6;
}

.sub-computer {
    --sc: #06b6d4;
}

.sel-card.sub-card:hover,
.sel-card.sub-card.selected {
    border-color: var(--sc);
    background: color-mix(in srgb, var(--sc) 8%, white);
}

.sel-card.sub-card .card-icon {
    color: var(--sc);
}

.sel-card.sub-card.selected .check-badge {
    background: var(--sc);
}

/* Chapter list card */
.chapter-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.25s;
    text-align: left;
}

.chapter-card:hover {
    border-color: #5b62f4;
    background: #eef0ff;
    transform: translateX(4px);
}

.chapter-num {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eef0ff;
    color: #5b62f4;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chapter-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.chapter-info p {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 3px;
}

/* Step section visibility */
.step-section {
    display: none;
}

.step-section.visible {
    display: block;
}

/* Back button */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5b62f4;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    margin-bottom: 20px;
    background: none;
    border: none;
    padding: 0;
}

.back-btn:hover {
    text-decoration: underline;
}

/* Info tags */
.info-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.info-tag {
    background: #eef0ff;
    color: #5b62f4;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Content panel */
.content-panel {
    background: white;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.content-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.content-chapter-num {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, #5b62f4, #8b5cf6);
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-header-text h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
}

.content-header-text p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Resource grid */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 700px) {
    .resource-grid {
        grid-template-columns: 1fr;
    }
}

.resource-card {
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.25s;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-card.mcq {
    background: linear-gradient(135deg, #5b62f4, #8b5cf6);
    color: white;
}

.resource-card.pdf {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
}

.resource-card.video {
    background: linear-gradient(135deg, #10b981, #06b6d4);
    color: white;
}

.resource-card i {
    font-size: 2.5rem;
    margin-bottom: 14px;
    display: block;
}

.resource-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: white;
}

.resource-card p {
    font-size: 0.85rem;
    opacity: 0.9;
    color: white;
}

.go-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 14px;
    color: white;
    transition: background 0.2s;
}

.resource-card:hover .go-btn {
    background: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
    background-color: #f8fafc;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 991px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

.about-content h2 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-desc {
    margin-bottom: 2rem;
    font-size: 1.05rem;
    color: var(--text-body);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-feature-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.about-feature-icon {
    width: 46px;
    height: 46px;
    background-color: color-mix(in srgb, var(--primary-color) 10%, transparent);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.about-feature-item:hover .about-feature-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.about-feature-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}

.about-feature-text p {
    font-size: 0.92rem;
    color: var(--text-body);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(91, 98, 244, 0.08);
    border-color: #e2e8f0;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
    background-color: #ffffff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

@media (max-width: 991px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.info-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.info-icon {
    width: 44px;
    height: 44px;
    background-color: color-mix(in srgb, var(--primary-color) 10%, transparent);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.info-item:hover .info-icon {
    background-color: var(--primary-color);
    color: white;
}

.info-text h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-text p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.5;
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    height: 220px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
    transition: var(--transition);
}

.input-wrapper .text-area-icon {
    top: 18px;
    transform: none;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 12px 16px 12px 46px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 0.92rem;
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
    background-color: #f8fafc;
}

.input-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    height: 50px;
}

.input-wrapper .fa-chevron-down-select {
    left: auto !important;
    right: 16px !important;
    pointer-events: none;
}

.input-wrapper textarea {
    padding-top: 14px;
    resize: none;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(136, 45, 97, 0.15);
}

.input-wrapper input:focus+i,
.input-wrapper select:focus+i,
.input-wrapper textarea:focus+i,
.input-wrapper input:focus~i,
.input-wrapper select:focus~i,
.input-wrapper textarea:focus~i {
    color: var(--primary-color);
}

.submit-btn {
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.submit-btn i {
    font-size: 0.85rem;
    transition: var(--transition);
}

.submit-btn:hover i {
    transform: translate(3px, -3px);
}

.form-success-msg {
    display: none;
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    align-items: center;
    gap: 0.5rem;
}

.form-success-msg.show {
    display: flex;
    animation: fadeIn 0.4s ease forwards;
}

/* ============================================================
   AUTH MODALS (SIGN IN / SIGN UP) & STANDALONE PAGE WRAPPER
   ============================================================ */
.auth-page-wrapper {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: radial-gradient(circle at 10% 20%, rgba(91, 98, 244, 0.08) 0%, rgba(255, 255, 255, 0) 50%),
        radial-gradient(circle at 90% 80%, rgba(91, 98, 244, 0.04) 0%, rgba(255, 255, 255, 0) 50%),
        #fafaff;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Floating background blobs for extra depth */
.auth-page-wrapper::before,
.auth-page-wrapper::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
    animation: authBlobFloat 14s infinite alternate ease-in-out;
}

.auth-page-wrapper::before {
    width: 300px;
    height: 300px;
    background: rgba(91, 98, 244, 0.15);
    top: 15%;
    left: 10%;
}

.auth-page-wrapper::after {
    width: 250px;
    height: 250px;
    background: rgba(139, 92, 246, 0.12);
    bottom: 15%;
    right: 10%;
    animation-delay: -7s;
}

@keyframes authBlobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, 30px) scale(1.15);
    }
}

.auth-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-modal.open {
    display: flex;
}

.auth-modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    transition: var(--transition);
    z-index: 1;
}

.auth-modal-content {
    background-color: rgba(255, 255, 255, 0.95);
    width: 100%;
    max-width: 460px;
    border-radius: 24px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08),
        0 1px 3px rgba(15, 23, 42, 0.03);
    position: relative;
    z-index: 2;
    overflow: hidden;
    animation: authCardEntrance 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 40px);
}

@keyframes authCardEntrance {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.auth-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #f1f5f9;
    border: none;
    color: var(--text-body);
    font-size: 1.35rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    line-height: 1;
    z-index: 100;
}

.auth-modal-close:hover {
    background: #e2e8f0;
    color: var(--text-dark);
    transform: rotate(90deg);
}

.auth-header {
    background: transparent;
    padding: 32px 32px 0 32px;
}

.auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: #f1f5f9;
    padding: 6px;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
}

.auth-tab-btn {
    padding: 10px 16px;
    background: none;
    border: none;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-body);
    cursor: pointer;
    transition: all 0.25s ease;
    border-radius: 100px;
    outline: none;
    text-align: center;
    position: relative;
}

.auth-tab-btn.active {
    background-color: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.auth-bodies-container {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.auth-body {
    padding: 24px 32px 36px 32px;
    display: none;
}

.auth-body.active {
    display: block;
    animation: authFormFadeIn 0.35s ease forwards;
}

@keyframes authFormFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-body h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.auth-body p {
    font-size: 0.9rem;
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

.auth-body form {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.form-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-pass {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

.forgot-pass:hover {
    text-decoration: underline;
}

.form-options {
    margin-top: 0.15rem;
}

/* Custom Checkbox */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-body);
    user-select: none;
}

.checkbox-container a {
    color: var(--primary-color);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #f1f5f9;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    transition: var(--transition);
}

.checkbox-container:hover input~.checkmark {
    border-color: var(--primary-color);
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 5px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Show/Hide Password Eye Button Styling */
.toggle-password {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 6px;
    font-size: 0.95rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.input-wrapper input[type="password"] {
    padding-right: 44px !important;
}

.auth-submit-btn {
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    margin-top: 0.4rem;
    box-shadow: 0 4px 12px rgba(91, 98, 244, 0.25);
    transition: var(--transition);
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(91, 98, 244, 0.35);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

.auth-separator {
    text-align: center;
    position: relative;
    margin: 1.25rem 0;
}

.auth-separator::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background-color: #e2e8f0;
    z-index: 1;
}

.auth-separator span {
    background-color: #ffffff;
    padding: 0 12px;
    position: relative;
    z-index: 2;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-logins {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.social-btn {
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    background-color: white;
    border-radius: 8px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.social-btn:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.social-btn:active {
    transform: translateY(0);
}

.social-btn i {
    font-size: 0.95rem;
}

.google-btn i {
    color: #ea4335;
}

.facebook-btn i {
    color: #1877f2;
}

/* ============================================================
   MOBILE RESPONSIVE STYLING FOR LOGO & HERO SECTION
   ============================================================ */
@media (max-width: 576px) {
    .logo-img {
        height: 48px !important;
    }

    .hero {
        padding-top: 90px !important;
        padding-bottom: 30px !important;
        min-height: auto !important;
    }

    .hero-container {
        gap: 1.5rem !important;
    }

    .hero-content {
        max-width: 100% !important;
    }

    .hero-content h2 {
        font-size: 1.65rem !important;
        line-height: 1.35 !important;
        margin-bottom: 1rem !important;
    }

    .hero-content p {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.5 !important;
    }

    .hero-buttons .btn-large {
        padding: 0.75rem 2rem !important;
        font-size: 0.95rem !important;
    }

    .hero-image img {
        max-height: 280px !important;
        height: 280px !important;
    }
}

/* ============================================================
   PARSUJAPUR HABIBA BIDYAPITH EDUCATION SOCIETY CUSTOM STYLES
   ============================================================ */

/* Special Initiative Section */
.initiative-section {
    background: linear-gradient(135deg, #fdf4f7 0%, #f8fafc 100%);
    padding: 100px 0;
    position: relative;
}

.initiative-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.initiative-header span {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.initiative-header h2 {
    font-size: 2.75rem;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.initiative-header p {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.6;
}

.assessment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.assessment-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(136, 45, 97, 0.08);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(136, 45, 97, 0.02);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.assessment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: var(--transition);
}

.assessment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(136, 45, 97, 0.08);
}

.assessment-card:hover::before {
    opacity: 1;
}

.assessment-icon {
    width: 60px;
    height: 60px;
    background: rgba(136, 45, 97, 0.08);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.assessment-card:hover .assessment-icon {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.05);
}

.assessment-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.assessment-card p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* Course / Program Adjustments */
.course-badge {
    background: rgba(136, 45, 97, 0.08) !important;
    color: #fff !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px !important;
    border-radius: 6px !important;
}

.program-card {
    border-top: 4px solid var(--primary-color);
}

.program-features {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.program-feature-tag {
    font-size: 0.75rem;
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.program-feature-tag i {
    color: var(--primary-color);
}

/* Action Banner */
.action-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #681f48 100%);
    color: #ffffff;
    padding: 4rem 2rem;
    border-radius: 20px;
    margin-top: 4rem;
    box-shadow: 0 20px 40px rgba(136, 45, 97, 0.15);
    position: relative;
    overflow: hidden;
}

.action-banner-bg {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.action-banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.action-banner-content h3 {
    color: #ffffff;
    font-size: 2.25rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.action-banner-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.action-banner-content .btn-white {
    background: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.action-banner-content .btn-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    color: var(--primary-hover);
}
