/* ===================================
   GENERAL STYLES & RESET
   =================================== */

/* Font Awesome font-display override */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-display: swap;
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary - Clean Blue */
    --primary-color: #2563EB;
    --primary-light: #3B82F6;
    --primary-dark: #1D4ED8;
    
    /* Secondary - Slate */
    --secondary-color: #64748B;
    
    /* Accent - Light Orange */
    --accent-color: #FB923C;
    
    /* Neutrals */
    --dark-color: #1E293B;
    --light-color: #F8FAFC;
    --text-color: #334155;
    --border-color: #E2E8F0;
    
    /* Status Colors */
    --success-color: #22C55E;
    --error-color: #EF4444;
    --warning-color: #F59E0B;
    --info-color: #3B82F6;
    
    /* Gradients */
    --gradient-1: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    --gradient-2: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    --gradient-3: linear-gradient(135deg, #0EA5E9 0%, #2563EB 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   EXAM POPUP STYLES
   =================================== */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
}

.popup-overlay.active {
    display: flex;
}

.popup-container {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: slideDown 0.4s ease-out;
    overflow: hidden;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    color: var(--text-color);
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.popup-close:hover {
    background: var(--light-color);
    color: var(--error-color);
    transform: rotate(90deg);
}

.popup-header {
    background: var(--gradient-1);
    color: white;
    padding: 25px 20px;
    text-align: center;
}

.popup-header i {
    font-size: 40px;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

.popup-header h2 {
    font-size: 1.5rem;
    margin: 0;
}

.popup-body {
    padding: 30px 25px;
}

.exam-info {
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--light-color);
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color);
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 3px;
}

.info-item strong {
    display: block;
    color: var(--dark-color);
    margin-bottom: 3px;
    font-size: 0.95rem;
}

.info-item p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.9rem;
}

.popup-cta {
    text-align: center;
    padding-top: 10px;
}

.popup-cta .btn {
    width: 100%;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ===================================
   EXAM ANNOUNCEMENT BANNER
   =================================== */
.exam-announcement {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    margin-top: 0;
}

.announcement-header {
    text-align: center;
    margin-bottom: 2rem;
}

.announcement-header i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    animation: pulse 2s infinite;
}

.announcement-header h2 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
}

.announcement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.announcement-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.announcement-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.announcement-item i {
    font-size: 2rem;
    margin-top: 0.2rem;
    opacity: 0.9;
}

.announcement-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.announcement-item p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.95;
}

.announcement-cta {
    text-align: center;
}

.announcement-cta .btn {
    background: white;
    color: #667eea;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border: none;
}

.announcement-cta .btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .exam-announcement {
        padding: 2rem 0;
    }
    
    .announcement-header h2 {
        font-size: 1.5rem;
    }
    
    .announcement-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ===================================
   C-CAT INFO BOX (Homepage Hero)
   =================================== */
.ccat-info-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: visible;
}

.ccat-info-box h4 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 600;
}

.ccat-info-box p {
    margin: 0 0 0.8rem 0;
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.5;
}

.ccat-dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.6rem;
    margin: 0.8rem 0;
}

.ccat-date-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f3f4f6;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.ccat-date-item:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ccat-date-item i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.ccat-date-item div {
    line-height: 1.3;
}

.ccat-date-item small {
    display: block;
    font-size: 0.7rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
}

.ccat-date-item strong {
    display: block;
    font-size: 0.8rem;
    color: #111827;
    font-weight: 600;
    white-space: nowrap;
}

.ccat-info-box .btn {
    margin-top: 0.8rem;
    display: inline-block;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
    overflow: visible;
}

.mock-test-btn {
    position: relative;
    overflow: visible;
}

.new-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
    z-index: 10;
    border: 1px solid white;
}

.new-badge-bounce {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.45rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.4);
    animation: zoom-badge 1.5s ease-in-out infinite;
    z-index: 10;
    border: 1px solid white;
}

.live-badge-zoom {
    display: inline-block;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    font-size: 0.45rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    margin-left: 4px;
    animation: zoom-badge 1.5s ease-in-out infinite;
}

@keyframes zoom-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes bounce-badge {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-4px);
    }
    50% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-2px);
    }
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ===================================
   HERO DATES BADGES
   =================================== */
.hero-dates {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.date-badge {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    border: 2px solid rgba(79, 70, 229, 0.3);
    transition: all 0.3s ease;
}

.date-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.2);
    border-color: var(--primary-color);
}

.date-badge i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.date-badge small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-color);
    opacity: 0.8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-badge strong {
    display: block;
    font-size: 0.9rem;
    color: var(--dark-color);
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .hero-dates {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .date-badge {
        width: 100%;
    }
}

/* ===================================
   NAVIGATION BAR
   =================================== */
.navbar {
    background: white;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-brand picture {
    display: flex;
    align-items: center;
}

.nav-brand .nav-logo {
    height: 48px;
    width: 48px;
    border-radius: 8px;
    display: block;
}

.nav-brand i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin-top: 0.5rem;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-menu a::after {
    display: none !important;
}

.dropdown-menu a i {
    width: 20px;
    color: var(--primary-color);
}

.dropdown-menu a:hover {
    background: var(--light-color);
    color: var(--primary-color);
    transform: translateX(4px);
}

/* Navigation Auth Buttons */
.btn-nav-login {
    background: transparent !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1.2rem !important;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-nav-login:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

.btn-nav-login::after {
    display: none !important;
}

.btn-nav-signup {
    background: var(--primary-color) !important;
    color: white !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-nav-signup:hover {
    background: var(--dark-color) !important;
    transform: translateY(-2px);
}

.btn-nav-signup::after {
    display: none !important;
}

/* Logged-in User Menu */
.user-menu {
    position: relative;
}

.user-dropdown {
    position: relative;
}

.user-btn {
    background: transparent;
    border: none;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.user-btn:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary-color);
}

.user-btn i:first-child {
    font-size: 1.2rem;
    color: inherit;
}

.user-btn:hover i:first-child {
    color: var(--primary-color);
}

.user-btn .dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    color: inherit;
}

.user-btn:hover .dropdown-arrow {
    color: var(--primary-color);
}

.user-dropdown.active .user-btn .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown:hover .dropdown-content,
.user-dropdown.active .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    color: var(--dark-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background: var(--primary-color);
    color: white;
}

.dropdown-content a i {
    width: 16px;
    color: inherit;
    transition: color 0.2s ease;
}

.dropdown-content .logout-link {
    color: #dc2626;
}

.dropdown-content .logout-link:hover {
    background: #dc2626;
    color: white;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.25rem 0;
}

.user-name {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-nav-logout {
    background: transparent;
    color: var(--error-color) !important;
    border: 2px solid var(--error-color);
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-nav-logout:hover {
    background: var(--error-color);
    color: white !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: 0.3s;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 600px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: fadeInLeft 1s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:disabled,
.btn-primary[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-primary:disabled:hover,
.btn-primary[disabled]:hover {
    transform: none;
    box-shadow: none;
    background: var(--primary-color);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInRight 1s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floating-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    animation: float 3s ease-in-out infinite;
    box-shadow: var(--shadow-xl);
}

.floating-card:nth-child(2) {
    animation-delay: 1s;
}

.floating-card:nth-child(3) {
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.floating-card p {
    font-size: 1rem;
    font-weight: 600;
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features {
    padding: 80px 20px;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.05), transparent);
    transition: left 0.6s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.feature-card:nth-child(2) .feature-icon {
    background: var(--gradient-2);
}

.feature-card:nth-child(3) .feature-icon {
    background: var(--gradient-3);
}

.feature-card:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #FA8BFF 0%, #2BD2FF 90%);
}

.feature-card:nth-child(5) .feature-icon {
    background: linear-gradient(135deg, #FFD26F 0%, #3677FF 100%);
}

.feature-card:nth-child(6) .feature-icon {
    background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.8;
}

/* ===================================
   SUBJECTS SECTION
   =================================== */
.subjects {
    padding: 80px 20px;
    background: var(--light-color);
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.subject-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.subject-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.subject-card:hover::after {
    transform: scaleX(1);
}

.subject-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
    border-color: var(--primary-color);
}

.subject-card i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.subject-card:hover i {
    color: var(--primary-color);
    transform: scale(1.1) rotateY(360deg);
}

.subject-card h3 {
    font-size: 1.3rem;
}

/* ===================================
   CALL TO ACTION
   =================================== */
.cta {
    background: var(--gradient-1);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Large Tablet / Small Desktop (1024px) */
@media (max-width: 1024px) {
    .navbar .container {
        padding: 0.8rem 20px;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .hero {
        padding: 60px 20px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .subjects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta h2 {
        font-size: 2rem;
    }
}

/* Tablet (768px) */
@media (max-width: 768px) {
    /* Hamburger Menu */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        display: none;
        gap: 0;
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu > li > a {
        color: var(--dark-color);
        font-weight: 600;
        font-size: 1rem;
    }

    .nav-menu > li > a:hover {
        color: var(--primary-color);
    }

    /* Mobile Dropdown */
    .nav-dropdown {
        position: relative;
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 0;
    }

    .dropdown-toggle i {
        transition: transform 0.3s ease;
    }

    .nav-dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none;
        background: rgba(37, 99, 235, 0.08);
        margin: 0.5rem 0 0 0;
        padding: 0;
        border-radius: 8px;
        display: none;
        left: 0;
        right: 0;
        width: 100%;
    }

    .dropdown-menu::before {
        display: none;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block !important;
        padding: 0.5rem;
    }

    /* Disable hover on mobile - only click works */
    .nav-dropdown:hover .dropdown-menu {
        display: none;
    }

    .nav-dropdown.active:hover .dropdown-menu {
        display: block !important;
    }

    .dropdown-menu a {
        display: flex !important;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        color: #1E293B !important;
        background: white;
        margin-bottom: 0.35rem;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 500;
    }

    .dropdown-menu a:hover {
        background: var(--primary-color);
        color: white !important;
    }

    .dropdown-menu a i {
        color: #2563EB;
        font-size: 1rem;
        width: 20px;
        text-align: center;
    }

    .dropdown-menu a:hover i {
        color: white;
    }

    .dropdown-menu li {
        padding: 0;
        border-bottom: none;
        list-style: none;
    }
    
    /* Mobile User Dropdown */
    .user-menu {
        width: 100%;
    }
    
    .user-dropdown {
        width: 100%;
    }
    
    .user-btn {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 0;
        background: transparent;
    }
    
    .dropdown-content {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: rgba(37, 99, 235, 0.08);
        margin: 0.5rem 0 0 0;
        padding: 0.5rem;
        border-radius: 8px;
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        width: 100%;
    }
    
    .user-dropdown:hover .dropdown-content {
        display: none;
        max-height: 0;
    }
    
    .user-dropdown.active .dropdown-content {
        display: block;
        max-height: 300px;
    }
    
    .dropdown-content a {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
        color: var(--dark-color);
        background: white;
        margin-bottom: 0.25rem;
        border-radius: 6px;
    }
    
    .dropdown-content a:hover {
        background: var(--primary-color);
        color: white;
    }
    
    .dropdown-divider {
        display: none;
    }

    /* Login button mobile styling */
    .btn-nav-login {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
        background: var(--primary-color) !important;
        color: white !important;
        border-radius: 8px;
        margin-top: 0.5rem;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    }

    .btn-nav-login:hover {
        background: var(--primary-dark) !important;
    }

    .btn-nav-login::after {
        display: none;
    }

    /* Hero Section */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 50px 20px;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-image {
        margin-top: 2rem;
    }

    /* C-CAT Info Box */
    .ccat-info-box {
        padding: 1.25rem;
        margin: 1.25rem 0;
    }

    .ccat-info-box h4 {
        font-size: 1.05rem;
    }

    .ccat-dates-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    /* Features Section */
    .features {
        padding: 50px 20px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Subjects Section */
    .subjects {
        padding: 50px 20px;
    }

    .subjects-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .subject-card {
        padding: 1.5rem 1rem;
    }

    .subject-card i {
        font-size: 2.5rem;
    }

    .subject-card h3 {
        font-size: 1rem;
    }

    /* CTA Section */
    .cta {
        padding: 50px 20px;
    }

    .cta h2 {
        font-size: 1.6rem;
    }

    .cta p {
        font-size: 1rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 20px 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    /* Floating Cards */
    .floating-card {
        padding: 1.5rem;
    }

    .floating-card i {
        font-size: 2rem;
    }

    /* Announcement Banner */
    .exam-announcement {
        padding: 2rem 15px;
    }

    .announcement-header h2 {
        font-size: 1.4rem;
    }

    .announcement-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .announcement-item {
        padding: 1rem;
    }

    /* Popup / Modal */
    .popup-container {
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* Mobile (480px) */
@media (max-width: 480px) {
    .navbar .container {
        padding: 0.6rem 15px;
    }

    .nav-brand {
        font-size: 1.2rem;
        gap: 8px;
    }

    .nav-brand .nav-logo {
        width: 35px;
        height: 35px;
    }

    .hero {
        padding: 40px 15px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
    }

    .ccat-info-box {
        padding: 1rem;
    }

    .ccat-info-box h4 {
        font-size: 0.95rem;
    }

    .ccat-info-box p {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .subjects-grid {
        grid-template-columns: 1fr;
    }

    .subject-card {
        padding: 1.25rem;
    }

    .subject-card i {
        font-size: 2rem;
    }

    .cta h2 {
        font-size: 1.4rem;
    }

    .cta p {
        font-size: 0.9rem;
    }

    .floating-card {
        padding: 1rem;
        width: 100%;
    }

    .floating-card i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .floating-card p {
        font-size: 0.9rem;
    }

    /* Footer Mobile */
    .footer-section h3,
    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }

    /* Date Badge Mobile */
    .date-badge {
        padding: 0.6rem 1rem;
    }

    .date-badge i {
        font-size: 1.2rem;
    }

    .date-badge strong {
        font-size: 0.85rem;
    }
}

/* Extra small mobile (390px - typical 6.1" phone) */
@media (max-width: 390px) {
    .navbar .container {
        padding: 0.5rem 12px;
    }
    
    .nav-brand {
        font-size: 1.1rem;
        gap: 6px;
    }
    
    .nav-brand .nav-logo {
        width: 32px;
        height: 32px;
    }
    
    .hero {
        padding: 30px 12px;
    }
    
    .hero-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .ccat-info-box {
        padding: 0.875rem;
    }
    
    .ccat-info-box h4 {
        font-size: 0.9rem;
    }
    
    .ccat-info-box p {
        font-size: 0.8rem;
    }
    
    .ccat-dates-grid {
        gap: 0.4rem;
    }
    
    .ccat-date-item {
        padding: 0.5rem 0.6rem;
    }
    
    .ccat-date-item small {
        font-size: 0.65rem;
    }
    
    .ccat-date-item strong {
        font-size: 0.75rem;
    }
    
    .subject-card {
        padding: 1rem;
    }
    
    .subject-card h3 {
        font-size: 1rem;
    }
    
    .subject-card p {
        font-size: 0.8rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 0.95rem;
    }
    
    .footer-section a,
    .footer-section p {
        font-size: 0.8rem;
    }
}

/* ===================================
   LEGAL CONTENT PAGES
   =================================== */
.legal-content {
    padding: 3rem 0;
    background: var(--light-color);
}

.legal-section {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
    color: var(--text-color);
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* ===================================
   PURCHASE MODAL (Global)
   =================================== */

.purchase-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.purchase-modal {
    background: white;
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.purchase-modal .modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.purchase-modal .modal-header i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.purchase-modal .modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.purchase-modal .modal-body {
    padding: 1.5rem;
    text-align: center;
}

.purchase-modal .modal-body p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.purchase-modal .modal-body h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.purchase-modal .modal-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.purchase-modal .modal-features {
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 1rem 0;
}

.purchase-modal .modal-features li {
    padding: 0.4rem 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.purchase-modal .modal-features li i {
    color: var(--success-color);
}

.purchase-modal .modal-note {
    font-size: 0.85rem;
    color: var(--text-light);
}

.purchase-modal .modal-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--light-color);
}

.purchase-modal .modal-actions .btn {
    flex: 1;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
}

@media (max-width: 480px) {
    .purchase-modal .modal-actions {
        flex-direction: column;
    }
}

/* ===================================
   NOTIFICATIONS
   =================================== */

.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 10000;
    font-size: 0.95rem;
    font-weight: 500;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    min-width: 280px;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid var(--success-color);
}

.notification.success i {
    color: var(--success-color);
    font-size: 1.3rem;
}

.notification.error {
    border-left: 4px solid var(--error-color);
}

.notification.error i {
    color: var(--error-color);
    font-size: 1.3rem;
}

.notification.info {
    border-left: 4px solid var(--info-color);
}

.notification.info i {
    color: var(--info-color);
    font-size: 1.3rem;
}

.notification.warning {
    border-left: 4px solid #F59E0B;
}

.notification.warning i {
    color: #F59E0B;
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .notification {
        top: 70px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: calc(100% - 20px);
    }
}

/* ===================================
   ENHANCED MOBILE RESPONSIVE STYLES
   =================================== */

/* Mobile Touch Optimizations */
@media (max-width: 768px) {
    /* Ensure all clickable elements are touch-friendly */
    .btn,
    .nav-menu a,
    .dropdown-menu a,
    button {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Improve spacing for mobile */
    .container {
        padding: 0 15px;
    }
    
    /* Hero Section Mobile Enhancements */
    .hero {
        padding: 40px 15px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.25;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .hero-image {
        display: none;
    }
    
    /* C-CAT Info Box Mobile */
    .ccat-info-box {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .ccat-info-box h4 {
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .ccat-info-box p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .ccat-dates-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .ccat-date-item {
        padding: 0.5rem 0.75rem;
    }
    
    .ccat-date-item i {
        font-size: 1rem;
    }
    
    .ccat-date-item small {
        font-size: 0.65rem;
    }
    
    .ccat-date-item strong {
        font-size: 0.75rem;
    }
    
    /* Features Section Mobile */
    .features {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    /* Subjects Section Mobile */
    .subjects {
        padding: 40px 15px;
    }
    
    .subjects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .subject-card {
        padding: 1rem 0.75rem;
    }
    
    .subject-card i {
        font-size: 1.75rem;
    }
    
    .subject-card h3 {
        font-size: 0.85rem;
    }
    
    /* CTA Section Mobile */
    .cta {
        padding: 40px 15px;
    }
    
    .cta h2 {
        font-size: 1.4rem;
    }
    
    .cta p {
        font-size: 0.9rem;
    }
    
    /* Footer Mobile Enhancements */
    .footer {
        padding: 2rem 15px 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 1.5rem;
    }
    
    /* Popup/Modal Mobile */
    .popup-overlay {
        padding: 15px;
    }
    
    .popup-container {
        width: 100%;
        max-height: 85vh;
        border-radius: 12px;
    }
    
    .popup-header {
        padding: 1.25rem 1rem;
    }
    
    .popup-header h2 {
        font-size: 1.25rem;
    }
    
    .popup-header i {
        font-size: 2rem;
    }
    
    .popup-body {
        padding: 1.25rem 1rem;
    }
    
    .info-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .info-item i {
        font-size: 1.25rem;
    }
    
    .info-item strong {
        font-size: 0.85rem;
    }
    
    .info-item p {
        font-size: 0.8rem;
    }
    
    /* Purchase Modal Mobile */
    .purchase-modal {
        max-width: 100%;
        margin: 0 10px;
    }
    
    .purchase-modal .modal-header {
        padding: 1.25rem;
    }
    
    .purchase-modal .modal-body {
        padding: 1.25rem;
    }
    
    .purchase-modal .modal-price {
        font-size: 2rem;
    }
    
    .purchase-modal .modal-actions {
        flex-direction: column;
        padding: 1rem;
    }
}

/* Extra Small Mobile (480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .subjects-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .ccat-info-box h4 {
        font-size: 0.9rem;
    }
    
    .ccat-dates-grid {
        gap: 0.4rem;
    }
    
    .footer-section ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}