/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Improve touch interactions on mobile */
@media (hover: none) and (pointer: coarse) {
    /* Better touch targets */
    a, button, input, select, textarea {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Prevent text selection on double tap */
    * {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        -webkit-touch-callout: none;
    }
    
    /* Allow text selection in inputs and content areas */
    input, textarea, p, span, div.resource-description {
        -webkit-touch-callout: default;
        user-select: text;
    }
}

:root {
    --primary-color: #10b981;
    --primary-dark: #059669;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary-color: #34d399;
    --primary-dark: #10b981;
    --secondary-color: #94a3b8;
    --success-color: #34d399;
    --warning-color: #fbbf24;
    --danger-color: #f87171;
    --light-bg: #1e293b;
    --white: #0f172a;
    --text-dark: #f1f5f9;
    --text-light: #cbd5e1;
    --border-color: #334155;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

/* Dark Mode Specific Styles */
[data-theme="dark"] .hero-section {
    background: linear-gradient(180deg, #0F1B33 0%, #1E293B 100%);
}

[data-theme="dark"] .navbar {
    background: #0F1B33;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .hero-section h1,
[data-theme="dark"] .hero-section p,
[data-theme="dark"] .hero-tagline,
[data-theme="dark"] .hero-subtitle {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .section-header h2,
[data-theme="dark"] .section-header p,
[data-theme="dark"] .page-header h2,
[data-theme="dark"] .page-header p {
    color: #f1f5f9 !important;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: #f1f5f9 !important;
}

[data-theme="dark"] p,
[data-theme="dark"] span,
[data-theme="dark"] div {
    color: #cbd5e1;
}

[data-theme="dark"] .resource-card,
[data-theme="dark"] .stat-card,
[data-theme="dark"] .feature-item,
[data-theme="dark"] .about-card {
    background: #1e293b;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .resource-card h3,
[data-theme="dark"] .stat-card h3,
[data-theme="dark"] .resource-card p,
[data-theme="dark"] .stat-card p {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .resource-description,
[data-theme="dark"] .meta-item {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .resource-card:hover,
[data-theme="dark"] .stat-card:hover {
    background: #334155;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .footer h3,
[data-theme="dark"] .footer h4 {
    color: #ffffff !important;
}

[data-theme="dark"] .footer p,
[data-theme="dark"] .footer ul li {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .footer a {
    color: #94a3b8 !important;
}

[data-theme="dark"] .footer a:hover {
    color: #10b981 !important;
}

[data-theme="dark"] .navbar {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .hero-trust {
    background: rgba(255, 255, 255, 0.1);
    color: #f1f5f9 !important;
}

[data-theme="dark"] .stat-number,
[data-theme="dark"] .stat-label {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .hero-section .hero-wave .shape-fill {
    fill: #0f172a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar - Professional Theme */
.navbar {
    background: #FFFFFF;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: none;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 20px;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0F1B33;
    text-decoration: none;
    text-shadow: none;
    letter-spacing: 0.5px;
}

.nav-brand i {
    font-size: 2rem;
    color: #2B6CB0;
    filter: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-menu a {
    color: #0F1B33;
    text-decoration: none;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 2px solid transparent;
    position: relative;
}

.nav-menu a:hover {
    color: #1E4F8C;
    transform: translateY(-2px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #2B6CB0;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 80%;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid #2B6CB0;
    color: #2B6CB0 !important;
    font-size: 1.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-menu-toggle i {
    color: #2B6CB0 !important;
}

.mobile-menu-toggle:hover {
    background: rgba(43, 108, 176, 0.1);
    border: 2px solid #2B6CB0;
    color: #2B6CB0 !important;
    transform: scale(1.05);
}


.mobile-menu-toggle:hover i {
    color: #2B6CB0 !important;
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

/* Login/Signup Button in Navbar */
.nav-menu a[href="login.php"] {
    background: #2B6CB0 !important;
    color: #FFFFFF !important;
    border-radius: 10px !important;
    padding: 0.65rem 1.25rem !important;
    font-weight: 600 !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.nav-menu a[href="login.php"]:hover {
    background: #1E4F8C !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(43, 108, 176, 0.3) !important;
}

.nav-menu a[href="login.php"]::after {
    display: none !important;
}

/* Dark Mode Toggle Button */
.dark-mode-toggle {
    background: transparent;
    border: 2px solid #2B6CB0;
    color: #2B6CB0;
    font-size: 1.2rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-toggle:hover {
    background: rgba(43, 108, 176, 0.1);
    border-color: #2B6CB0;
    color: #2B6CB0;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(43, 108, 176, 0.2);
}

.dark-mode-toggle:active {
    transform: scale(0.95);
}

.dark-mode-toggle i {
    transition: transform 0.3s;
}

[data-theme="dark"] .dark-mode-toggle i {
    transform: rotate(180deg);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    position: relative;
}

.dropdown-menu .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 6px;
    min-width: 200px;
    margin-top: 0;
    padding: 0.75rem 0;
    z-index: 1000;
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu:hover .dropdown {
    display: block;
}

.dropdown-menu .dropdown li {
    list-style: none;
}

.dropdown-menu .dropdown a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s;
    border-radius: 0;
    font-size: 0.95rem;
}

.dropdown-menu .dropdown a:hover {
    background: var(--primary-color);
    color: var(--white);
    padding-left: 1.5rem;
}

.dropdown-menu .dropdown a i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.dropdown-menu > a .fa-chevron-down {
    font-size: 0.7rem;
    margin-left: 3px;
    transition: transform 0.3s;
}

.dropdown-menu:hover > a .fa-chevron-down {
    transform: rotate(180deg);
}

/* More Menu Styling */
.more-menu > a {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 2px solid rgba(255, 255, 255, 0.25) !important;
    font-weight: 500;
}

.more-menu > a:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.more-menu .dropdown {
    min-width: 220px;
}

[data-theme="dark"] .more-menu > a {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Mega Menu Styles */
.mega-menu .mega-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 800px;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: 2rem;
    z-index: 1000;
    flex-direction: row;
    gap: 2rem;
}

.mega-menu:hover .mega-dropdown {
    display: flex;
}

.mega-column {
    flex: 1;
    list-style: none;
}

.mega-column h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.mega-column a {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.mega-column a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.mega-all {
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 2px solid var(--border-color);
    padding-left: 2rem;
}

.browse-all {
    background: linear-gradient(135deg, #FFD54F, #FFA726);
    color: #5C3B00 !important;
    padding: 1rem 1.5rem !important;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

.browse-all:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    padding-left: 1.5rem !important;
}

/* User Menu Dropdown */
.user-menu {
    position: relative;
}

.user-menu .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 6px;
    min-width: 200px;
    margin-top: 0;
    padding: 0.75rem 0;
    z-index: 1000;
    animation: fadeIn 0.2s ease-in-out;
}

.user-menu:hover .dropdown {
    display: block;
}

.user-menu .dropdown li {
    list-style: none;
}

.user-menu .dropdown a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s;
    border-radius: 0;
    font-size: 0.95rem;
}

.user-menu .dropdown a:hover {
    background: var(--primary-color);
    color: var(--white);
    padding-left: 1.5rem;
}

.user-menu .dropdown a i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.user-menu > a .fa-chevron-down {
    font-size: 0.7rem;
    margin-left: 3px;
    transition: transform 0.3s;
}

.user-menu:hover > a .fa-chevron-down {
    transform: rotate(180deg);
}

/* Search Container */
.search-container {
    background: var(--white);
    border-bottom: 2px solid var(--primary-color);
    padding: 1.5rem 0;
    box-shadow: var(--shadow);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-form {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--light-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0 1rem;
    transition: all 0.3s;
}

.search-input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.search-input-wrapper i.fa-search {
    color: var(--text-light);
    margin-right: 0.75rem;
}

.search-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 0;
    font-size: 1rem;
    outline: none;
}

.search-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.search-close:hover {
    color: var(--danger-color);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 0;
    margin: 0;
}

/* Hero Section - 2 Column Layout */
.hero-section {
    background: linear-gradient(180deg, #F5F9FF 0%, #E7F0FF 100%);
    color: #0F1B33;
    padding: 90px 0 70px 0;
    margin-bottom: 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

/* Hero Container - 2 Column Grid */
.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    gap: 60px 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

/* Trust Section - Spans full width */
.hero-trust-section {
    grid-column: 1 / -1;
    margin-top: 40px;
    text-align: center;
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 30px 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(43, 108, 176, 0.1);
}

/* Trust Badge */
.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
    padding: 15px 25px;
    background: rgba(43, 108, 176, 0.08);
    border-radius: 50px;
    border: 1px solid rgba(43, 108, 176, 0.15);
    display: inline-flex;
    box-shadow: 0 4px 15px rgba(43, 108, 176, 0.1);
}

.hero-trust i {
    font-size: 1.2rem;
    color: #2B6CB0;
}

.hero-trust span {
    font-size: 16px;
    font-weight: 600;
    color: #0F1B33;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
}

/* College Trust Section */
.college-trust {
    margin-top: 20px;
}

.college-trust p {
    font-size: 16px;
    color: #445275;
    margin-bottom: 15px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.1);
}

.college-trust .highlight-number {
    color: #0FA958;
    font-weight: 700;
}

/* Trust Logos */
.trust-logos {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #FFFFFF;
    border-radius: 25px;
    border: 1px solid rgba(43, 108, 176, 0.15);
    font-size: 14px;
    font-weight: 600;
    color: #0F1B33;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(43, 108, 176, 0.15);
    border-color: rgba(43, 108, 176, 0.25);
}

.trust-badge i {
    font-size: 14px;
    color: #2B6CB0;
}

/* Removed animated decorative lines to eliminate flash effect */


@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Floating Educational Icons */
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
    overflow: visible;
}

.floating-icon {
    position: absolute;
    font-size: 3.5rem;
    color: rgba(43, 108, 176, 0.12);
    animation: floatIcon 8s ease-in-out infinite;
    opacity: 0.12;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

/* Professional subtle pattern */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(43, 108, 176, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43, 108, 176, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.3;
    z-index: 0;
}

/* Animated Particles Container */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}



/* Left Section - Text Content */
.hero-left {
    text-align: left;
    padding-right: 40px;
    position: relative;
    z-index: 10;
}

.hero-left h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #0F1B33;
    text-shadow: none;
    line-height: 1.2;
}

.hero-left .hero-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0F1B33;
}

.hero-left .hero-subtitle {
    font-size: 18px;
    color: #445275;
    opacity: 1;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Right Section - Cards & Features */
.hero-right {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Hero Stats in Right Section */
.hero-right .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 350px;
}

.hero-right .hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 15px;
    background: #FFFFFF;
    border-radius: 16px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.hero-right .hero-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 25px rgba(43, 108, 176, 0.15);
}

.hero-right .hero-stat-item i {
    font-size: 1.8rem;
    color: #2B6CB0;
    margin-bottom: 0.3rem;
}

.hero-right .hero-stat-item .stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #0F1B33;
    line-height: 1;
}

.hero-right .hero-stat-item .stat-label {
    font-size: 13px;
    color: #55627A;
    font-weight: 500;
}

/* Cartoon Features */
.cartoon-features {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cartoon-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #A8D0FF 0%, #7BB3FF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(168, 208, 255, 0.3);
    animation: floatCartoon 4s ease-in-out infinite;
}

.cartoon-icon.green {
    background: linear-gradient(135deg, #C8F7DC 0%, #A3E6C1 100%);
    box-shadow: 0 6px 20px rgba(200, 247, 220, 0.3);
}

.cartoon-icon.pink {
    background: linear-gradient(135deg, #FBD5E5 0%, #F8B4D0 100%);
    box-shadow: 0 6px 20px rgba(251, 213, 229, 0.3);
}

.cartoon-icon.yellow {
    background: linear-gradient(135deg, #FFE9B0 0%, #FFD97D 100%);
    box-shadow: 0 6px 20px rgba(255, 233, 176, 0.3);
}

.cartoon-icon i {
    font-size: 24px;
    color: #FFFFFF;
}

.cartoon-icon:nth-child(1) {
    top: 10%;
    right: 20%;
    animation-delay: 0s;
}

.cartoon-icon:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: 1s;
}

.cartoon-icon:nth-child(3) {
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

.cartoon-icon:nth-child(4) {
    top: 30%;
    left: 15%;
    animation-delay: 1.5s;
}

@keyframes floatCartoon {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(5deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section .container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 40px;
        text-align: center;
    }
    
    .hero-left {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-left h1 {
        font-size: 2.5rem;
    }
    
    .hero-right .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 100%;
    }
    
    .hero-right .hero-stat-item {
        padding: 15px 10px;
    }
    
    .cartoon-features {
        display: none;
    }
    
    /* Trust Section Mobile */
    .hero-trust-section {
        margin-top: 30px;
        padding: 20px 15px;
    }
    
    .hero-trust {
        padding: 12px 20px;
        margin-bottom: 20px;
    }
    
    .hero-trust span {
        font-size: 14px;
    }
    
    .college-trust p {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .trust-logos {
        gap: 10px;
    }
    
    .trust-badge {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .trust-badge i {
        font-size: 12px;
    }
}

/* Hero Badge - Professional Theme */
.hero-badge {
    width: 80px;
    height: 80px;
    background: rgba(43, 108, 176, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(43, 108, 176, 0.2);
    box-shadow: 0 4px 20px rgba(43, 108, 176, 0.1);
}

.hero-badge i {
    font-size: 2.5rem;
    color: #2B6CB0;
}


.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #0F1B33;
    text-shadow: none;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 1rem;
    color: #445275;
    opacity: 1;
    text-shadow: none;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tagline {
    font-size: 1.5rem !important;
    font-weight: 600;
    margin-bottom: 1rem !important;
    color: #0F1B33 !important;
}

.hero-subtitle {
    font-size: 18px !important;
    color: #445275 !important;
    opacity: 1 !important;
    margin-bottom: 3rem !important;
}

/* Hero Stats - Clean Modern Style */
.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 30px;
    background: #FFFFFF;
    border-radius: 18px;
    border: none;
    transition: all 0.3s ease;
    min-width: 140px;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.hero-stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0px 8px 30px rgba(43, 108, 176, 0.15);
}

.hero-stat-item i {
    font-size: 2rem;
    color: #2B6CB0;
    margin-bottom: 0.5rem;
}

.hero-stat-item .stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #0F1B33;
    line-height: 1;
}

.hero-stat-item .stat-label {
    font-size: 15px;
    color: #55627A;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.hero-stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #1E88E5, #42A5F5);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.hero-stat-item:hover::after {
    width: 60%;
}

/* Tooltip */
.hero-stat-item[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    z-index: 1000;
}

.hero-stat-item[data-tooltip]:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.hero-stat-item i {
    font-size: 1.8rem;
    color: #FFA726;
}

.hero-stat-item .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #5C3B00;
}

.hero-stat-item .stat-label {
    font-size: 0.9rem;
    color: #6B5F4A;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* Large Buttons */
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-large:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* CTA Button with Pulse Effect */
.btn-cta {
    position: relative;
    overflow: hidden;
    animation: pulse-glow 2s ease-in-out infinite;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-cta:hover::before {
    width: 300px;
    height: 300px;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(56, 189, 248, 0.7);
    }
    50% {
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3), 0 0 20px 10px rgba(56, 189, 248, 0);
    }
}

/* Outline Button */
.btn-outline {
    background: transparent;
    border: 2px solid #2B6CB0;
    color: #2B6CB0;
}

.btn-outline:hover {
    background: #EAF2FF;
    border-color: #2B6CB0;
    color: #2B6CB0;
}

/* Hero Trust Badge */
.hero-trust {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    font-size: 1rem;
    color: #5C3B00;
    font-weight: 600;
    margin-top: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-trust:hover {
    border-color: #FFD54F;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 167, 38, 0.3);
}

.hero-trust::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: #FFD54F;
    transition: left 0.3s ease;
}

.hero-trust:hover::before {
    left: 0;
}

.hero-trust i {
    font-size: 1.3rem;
    color: #16a34a;
}

/* College Trust Section */
.college-trust {
    margin-top: 2rem;
    text-align: center;
}

.college-trust p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #5C3B00;
    margin-bottom: 1rem;
}

.trust-logos {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 25px;
    border: 2px solid transparent;
    font-size: 0.9rem;
    font-weight: 600;
    color: #5C3B00;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.trust-badge::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFD54F;
    transition: width 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 167, 38, 0.3);
    background: rgba(255, 255, 255, 0.9);
    border-color: #FFD54F;
}

.trust-badge:hover::after {
    width: 100%;
}

.trust-badge i {
    color: #FFA726;
    font-size: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: #2B6CB0;
    color: #FFFFFF;
    border-radius: 12px;
    border: none;
    padding: 14px 32px;
}

.btn-primary:hover {
    background: #1E4F8C;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(43, 108, 176, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #2B6CB0;
    border: 2px solid #2B6CB0;
    border-radius: 12px;
    padding: 14px 32px;
}

.btn-secondary:hover {
    background: #EAF2FF;
    color: #2B6CB0;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(43, 108, 176, 0.2);
}

.btn-success {
    background: var(--success-color);
    color: var(--white);
}

.btn-warning {
    background: var(--warning-color);
    color: var(--white);
}

.btn-danger {
    background: var(--danger-color);
    color: var(--white);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-header p {
color: var(--text-light);
font-size: 1.1rem;
}

/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Responsive Grid Adjustments */
@media (max-width: 1400px) {
    .resources-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 640px) and (max-width: 768px) {
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

.resource-card {
background: var(--white);
border-radius: 12px;
padding: 1.5rem;
box-shadow: var(--shadow);
transition: all 0.3s;
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.resource-icon {
    font-size: 3rem;
    color: var(--danger-color);
    margin-bottom: 1rem;
}

.resource-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.resource-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    min-height: 60px;
}

.resource-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 0.875rem;
}

.resource-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-size {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 12px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Auth Pages */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.auth-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.auth-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-light);
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

/* Google Sign-In Button */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    padding: 0 1rem;
}

.google-signin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 6px;
    color: #3c4043;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.google-signin-btn:hover {
    background: #f8f9fa;
    border-color: #c6c8ca;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    color: #3c4043;
}

.google-signin-btn:active {
    background: #f1f3f4;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.google-signin-btn svg {
    width: 20px;
    height: 20px;
    margin-right: 12px;
}

/* Dark mode Google button */
[data-theme="dark"] .google-signin-btn {
    background: var(--white);
    border-color: var(--border-color);
    color: var(--text-dark);
}

[data-theme="dark"] .google-signin-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Multiple Select Styling */
.form-group select[multiple] {
    min-height: 120px;
    padding: 0.5rem;
}

.form-group select[multiple] option {
    padding: 0.5rem;
    margin: 0.1rem 0;
    border-radius: 4px;
}

.form-group select[multiple] option:checked {
    background: var(--primary-color);
    color: white;
}

.form-group label small {
    color: var(--text-light);
    font-weight: normal;
    font-size: 0.85rem;
}

/* File Input */
.file-input-wrapper {
    position: relative;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-input-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem;
    border: 2px dashed var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.file-input-label:hover {
    border-color: var(--primary-color);
    background: var(--light-bg);
}

.file-name {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Tables */
.table-container {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: var(--light-bg);
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    font-weight: 600;
    color: var(--text-dark);
}

.data-table tbody tr:hover {
    background: var(--light-bg);
}

.data-table .actions {
    display: flex;
    gap: 0.5rem;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-approved {
    background: #d1fae5;
    color: #065f46;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

/* Admin Dashboard */
.admin-header {
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.stat-content h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: var(--text-light);
}

.admin-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.admin-section h3 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Upload Page */
.upload-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.upload-header {
    text-align: center;
    margin-bottom: 2rem;
}

.upload-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.page-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* About Page */
.about-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-card {
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
}

.about-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.values-list {
    list-style: none;
    text-align: left;
}

.values-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.values-list i {
    color: var(--success-color);
}

.features-section {
    margin: 0;
    padding: 6rem 0;
    background: var(--bg-color);
    position: relative;
}

.features-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.features-section h2::first-line {
    color: var(--text-dark);
}

/* Highlight btechpathshala in green */
.features-section h2 {
    background: linear-gradient(to right, var(--text-dark) 0%, var(--text-dark) 50%, #10b981 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-section .section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    opacity: 0.9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #ffffff;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-top: 3px solid transparent;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
    border-top-color: #FFD54F;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
    border-top-color: #10b981;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
    border-top-color: #FFD54F;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
    border-top-color: #10b981;
}

.feature-card:nth-child(5) {
    animation-delay: 0.5s;
    border-top-color: #FFD54F;
}

.feature-card:nth-child(6) {
    animation-delay: 0.6s;
    border-top-color: #10b981;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 0 0 3px rgba(255, 213, 79, 0.4);
    border-top-color: #b69a3f;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(255, 167, 38, 0.5);
}

.feature-card h3 {
    font-size: 1.3rem;
    color: #5C3B00;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feature-card p {
    color: #6B5F4A;
    line-height: 1.6;
    font-size: 0.95rem;
}

.cta-section {
    text-align: center;
    padding: 3rem;
    background: var(--light-bg);
    border-radius: 12px;
    margin-top: 3rem;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Contact Page */
.contact-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
}

.social-section {
    margin-top: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Footer - Dark Design */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e0e0e0;
    padding: 3rem 0 0 0;
    margin-top: 4rem;
    position: relative;
}

.footer .container {
    position: relative;
    z-index: 1;
    padding-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.footer-section {
    position: relative;
}

.footer-section p {
    color: #b0b0b0;
    line-height: 1.6;
}

.footer-section ul li {
    color: #b0b0b0;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: none;
    font-weight: 600;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
    transition: transform 0.3s;
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: #10b981;
}

.footer-section a i {
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #b0b0b0;
    margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN - Mobile First Approach
   ============================================ */

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

/* Large Tablets and Small Laptops (1025px - 1280px) */
@media (max-width: 1280px) {
    .container {
        max-width: 1100px;
        padding: 0 20px;
    }
    
    .resources-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Tablet Devices (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .semester-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    
    /* Better touch targets for tablets */
    .btn {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }
    
    .nav-menu a {
        min-height: 44px;
        padding: 0.75rem 1.25rem;
    }
    
    /* Mega menu adjustments */
    .mega-menu .mega-dropdown {
        min-width: 700px;
        padding: 1.5rem;
    }
}

/* Tablet Portrait Mode (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .hero-section {
        padding: 4rem 0 6rem 0;
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content p {
        font-size: 1.15rem;
    }
    
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .semester-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .data-table {
        font-size: 0.9rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.85rem;
    }
}

/* Tablet Landscape Mode (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero-section {
        padding: 3rem 0 4rem 0;
        min-height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .resources-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .semester-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .nav-menu {
        gap: 0.25rem;
    }
    
    .nav-menu a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    /* Navigation */
    .navbar .container {
        padding: 0.75rem 15px;
    }
    
    .nav-brand a {
        font-size: 1.2rem;
    }
    
    .nav-brand i {
        font-size: 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        gap: 0;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    /* Force dark text on all menu items */
    .nav-menu li a,
    .nav-menu > li > a,
    .nav-menu a,
    .dropdown-menu > a {
        width: 100%;
        padding: 1rem;
        border-radius: 0;
        color: #1e293b !important;
        background: transparent !important;
        border: none !important;
        font-size: 1rem;
        font-weight: 600;
        text-shadow: none !important;
    }
    
    .nav-menu > li > a:hover,
    .nav-menu a:hover {
        background: #f8fafc !important;
        color: #4f46e5 !important;
        transform: none !important;
        box-shadow: none !important;
    }
    
    .nav-menu > li > a i,
    .nav-menu a i {
        color: #1e293b !important;
        margin-right: 8px;
    }
    
    /* Dropdown adjustments for mobile */
    .dropdown-menu .dropdown {
        position: static;
        display: none;
        box-shadow: none;
        margin-top: 0;
        padding-left: 1rem;
        background: var(--light-bg);
    }
    
    .dropdown-menu.active .dropdown {
        display: block;
    }
    
    .dropdown-menu .dropdown a {
        color: #1e293b !important;
        background: transparent !important;
        padding: 0.75rem 1rem !important;
    }
    
    .dropdown-menu .dropdown a:hover {
        background: #e0e7ff !important;
        color: #4f46e5 !important;
    }
    
    .user-menu .dropdown {
        position: static;
        box-shadow: none;
        margin-top: 0;
        padding-left: 1rem;
        background: var(--light-bg);
    }
    
    .user-menu .dropdown a {
        color: #1e293b !important;
        background: transparent !important;
    }
    
    .user-menu .dropdown a:hover {
        background: #e0e7ff !important;
        color: #4f46e5 !important;
    }
    
    /* Override any white text in mobile menu */
    @media (max-width: 768px) {
        .nav-menu * {
            color: #1e293b !important;
        }
        
        .nav-menu .dropdown * {
            color: #1e293b !important;
        }
    }
    
    /* Hero Section */
    .hero-section {
        padding: 3rem 0 5rem 0;
        min-height: 450px;
    }
    
    .hero-section::before,
    .hero-section::after {
        width: 200px;
        height: 200px;
    }
    
    .hero-section .hero-wave svg {
        height: 40px;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-badge {
        width: 60px;
        height: 60px;
    }
    
    .hero-badge i {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .hero-stat-item {
        min-width: 100px;
        padding: 0.75rem 1rem;
    }
    
    .hero-stat-item i {
        font-size: 1.5rem;
    }
    
    .hero-stat-item .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-stat-item .stat-label {
        font-size: 0.8rem;
    }
    
    .btn-large {
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-trust {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn,
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Grids */
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .semester-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    /* Page Header */
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .page-header h2 {
        font-size: 1.5rem;
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Cards */
    .resource-card {
        padding: 1rem;
    }
    
    .resource-content h3 {
        font-size: 1.1rem;
    }
    
    .resource-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    /* Tables */
    .table-container {
        overflow-x: auto;
    }
    
    .data-table {
        min-width: 600px;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
    
    /* Forms */
    .auth-card,
    .upload-container {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    /* Search Bar Mobile */
    .search-container {
        padding: 1rem 0;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-form .btn {
        width: 100%;
    }
    
    .search-input-wrapper input {
        font-size: 0.9rem;
    }
    
    /* Contact Page */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* About Page */
    .about-section {
        padding: 1.5rem;
    }
    
    .about-header h1 {
        font-size: 1.75rem;
    }
    
    /* Admin Dashboard */
    .admin-section {
        padding: 1rem;
    }
    
    /* Footer */
    .footer .container {
        padding-top: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.25rem;
    }
}

/* Rating Stars for Resource Cards */
.resource-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.stars-small {
    display: flex;
    gap: 0.15rem;
}

.stars-small i {
    font-size: 0.9rem;
    color: #d1d5db;
}

.stars-small i.filled {
    color: #fbbf24;
}

.rating-text-small {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    /* Hero Section */
    .hero-section {
        padding: 2.5rem 0 4rem 0;
        min-height: 400px;
    }
    
    .hero-section::before,
    .hero-section::after {
        width: 150px;
        height: 150px;
    }
    
    .hero-section .hero-wave svg {
        height: 30px;
    }
    
    .hero-badge {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .hero-badge i {
        font-size: 1.5rem;
    }
    
    /* Typography */
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 0.75rem;
        margin: 1.5rem 0;
    }
    
    .hero-stat-item {
        min-width: 90px;
        padding: 0.6rem 0.8rem;
    }
    
    .hero-stat-item i {
        font-size: 1.3rem;
    }
    
    .hero-stat-item .stat-number {
        font-size: 1.3rem;
    }
    
    .hero-stat-item .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-trust {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-trust span {
        display: block;
        text-align: center;
    }
    
    .page-header h2,
    .section-header h2 {
        font-size: 1.25rem;
    }
    
    /* Navigation */
    .nav-brand a {
        font-size: 1.1rem;
    }
    
    .nav-brand span {
        display: none;
    }
    
    /* Buttons */
    .btn {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn i {
        font-size: 0.9rem;
    }
    
    /* Cards */
    .resource-card {
        padding: 0.75rem;
    }
    
    .resource-icon {
        font-size: 2rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .stat-content h3 {
        font-size: 1.5rem;
    }
    
    /* Semester Grid */
    .semester-grid {
        grid-template-columns: 1fr;
    }
    
    .semester-card {
        padding: 1rem;
    }
    
    /* Auth Forms */
    .auth-card {
        padding: 1rem;
    }
    
    .auth-header i {
        font-size: 2rem;
    }
    
    .auth-header h2 {
        font-size: 1.5rem;
    }
    
    /* Upload Form */
    .upload-container {
        padding: 1rem;
    }
    
    .upload-header i {
        font-size: 2rem;
    }
    
    .upload-header h2 {
        font-size: 1.5rem;
    }
    
    /* Tables - Stack on very small screens */
    .data-table thead {
        display: none;
    }
    
    .data-table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 0.5rem;
    }
    
    .data-table td {
        display: block;
        text-align: right;
        padding: 0.5rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .data-table td:last-child {
        border-bottom: none;
    }
    
    .data-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        color: var(--text-dark);
    }
    
    /* Contact Items */
    .contact-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Social Links */
    .social-links {
        justify-content: center;
    }
}

/* Mobile Portrait Mode (max-width: 768px) */
@media (max-width: 768px) and (orientation: portrait) {
    .hero-section {
        padding: 3.5rem 0 5rem 0;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-stat-item {
        flex: 0 0 calc(50% - 0.5rem);
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    /* Improve readability in portrait */
    .resource-card {
        padding: 1.25rem;
    }
    
    .resource-content h3 {
        font-size: 1.15rem;
        line-height: 1.4;
    }
}

/* Mobile Landscape Mode (max-width: 768px) */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 1.5rem 0 2rem 0;
        min-height: 300px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-stats {
        margin: 1rem 0;
        gap: 0.75rem;
    }
    
    .hero-stat-item {
        padding: 0.5rem 0.75rem;
        min-width: 80px;
    }
    
    .hero-stat-item .stat-number {
        font-size: 1.2rem;
    }
    
    .hero-stat-item .stat-label {
        font-size: 0.7rem;
    }
    
    .hero-buttons {
        margin-bottom: 1rem;
    }
    
    .btn-large {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .nav-menu {
        height: calc(100vh - 50px);
        top: 50px;
    }
    
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .resource-card {
        padding: 0.85rem;
    }
    
    .resource-content h3 {
        font-size: 1rem;
    }
    
    .resource-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
}

/* Very Small Mobile Landscape (max-width: 640px) */
@media (max-width: 640px) and (orientation: landscape) {
    .navbar .container {
        padding: 0.5rem 10px;
    }
    
    .hero-section {
        padding: 1rem 0 1.5rem 0;
        min-height: 250px;
    }
    
    .hero-badge {
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
    }
    
    .hero-badge i {
        font-size: 1.25rem;
    }
    
    .hero-content h1 {
        font-size: 1.25rem;
    }
    
    .hero-stats {
        display: none; /* Hide stats in very small landscape */
    }
    
    .resources-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
}

/* Quiz Champions Widget */
.quiz-champions-widget {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.champion-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.champion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.champion-card.rank-1 {
    border-color: #fbbf24;
    background: linear-gradient(to right, #fffbeb 0%, white 100%);
}

.champion-card.rank-2 {
    border-color: #c0c0c0;
    background: linear-gradient(to right, #f5f5f5 0%, white 100%);
}

.champion-card.rank-3 {
    border-color: #cd7f32;
    background: linear-gradient(to right, #fef3c7 0%, white 100%);
}

.champion-rank {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 50%;
}

.champion-rank .rank-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
}

.champion-info {
    flex: 1;
}

.champion-info h4 {
    margin: 0 0 0.75rem 0;
    color: #1e293b;
    font-size: 1.1rem;
}

.champion-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #475569;
    font-weight: 500;
}

.stat-badge i {
    font-size: 0.8rem;
}

.stat-badge.success {
    background: #d1fae5;
    color: #065f46;
}

/* Dark Mode for Quiz Champions */
[data-theme="dark"] .champion-card {
    background: #1e293b;
    border-color: #475569;
}

[data-theme="dark"] .champion-card.rank-1 {
    background: linear-gradient(to right, #422006 0%, #1e293b 100%);
    border-color: #fbbf24;
}

[data-theme="dark"] .champion-card.rank-2 {
    background: linear-gradient(to right, #334155 0%, #1e293b 100%);
    border-color: #94a3b8;
}

[data-theme="dark"] .champion-card.rank-3 {
    background: linear-gradient(to right, #422006 0%, #1e293b 100%);
    border-color: #d97706;
}

[data-theme="dark"] .champion-info h4 {
    color: #f1f5f9;
}

[data-theme="dark"] .champion-rank {
    background: #334155;
}

[data-theme="dark"] .stat-badge {
    background: #334155;
    color: #cbd5e1;
}

[data-theme="dark"] .stat-badge.success {
    background: #064e3b;
    color: #6ee7b7;
}

[data-theme="dark"] .quiz-champions-section h3 {
    color: #f1f5f9 !important;
}

/* Responsive for Quiz Champions */
@media (max-width: 768px) {
    .quiz-champions-widget {
        grid-template-columns: 1fr;
    }
    
    .champion-card {
        padding: 1rem;
    }
    
    .champion-rank {
        width: 50px;
        height: 50px;
    }
    
    .champion-rank i {
        font-size: 1.5rem !important;
    }
    
    .champion-stats {
        flex-direction: column;
        gap: 0.35rem;
    }
    
    .stat-badge {
        font-size: 0.8rem;
    }
}

/* Footer Newsletter Section */
.footer-newsletter {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #10b981;
    flex-shrink: 0;
}

.newsletter-text h3 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.newsletter-text p {
    color: #b0b0b0;
    font-size: 1.1rem;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: white;
    color: #1e293b;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
    padding: 1rem 2rem;
    border-radius: 50px;
    white-space: nowrap;
    background: #10b981;
    border: none;
}

.newsletter-form button:hover {
    background: #059669;
    transform: translateY(-2px);
}

/* Dark Mode for Newsletter */
[data-theme="dark"] .footer-newsletter {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Responsive Newsletter */
@media (max-width: 768px) {
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-text h3 {
        font-size: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .mobile-menu-toggle {
        display: none;
    }
    
    .main-content {
        padding: 0;
    }
    
    .resource-card,
    .auth-card {
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
}

/* Notification Bell Styles */
.notification-bell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.notification-bell:hover {
    background: rgba(102, 126, 234, 0.2);
    color: var(--primary-dark);
    transform: scale(1.05);
}

.notification-bell i {
    font-size: 1.2rem;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Dark mode notification bell */
[data-theme="dark"] .notification-bell {
    background: rgba(52, 211, 153, 0.1);
    color: var(--primary-color);
}

[data-theme="dark"] .notification-bell:hover {
    background: rgba(52, 211, 153, 0.2);
}

/* Mobile responsive notification bell */
@media (max-width: 768px) {
    .notification-bell {
        width: 35px;
        height: 35px;
    }
    
    .notification-bell i {
        font-size: 1rem;
    }
    
    .notification-badge {
        font-size: 0.7rem;
        min-width: 16px;
        height: 16px;
        top: -3px;
        right: -3px;
    }
}
