/* =============================================
Nokea Library - Modern Nursing Education Platform
Professional Design System
============================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables - Design System */
:root {
    /* Primary Colors - Calming Blues */
    --primary: #0065cb;
    --primary-light: #4facfe;
    --primary-dark: #004b9a;
    --secondary: #0057ad;
    
    /* Accent Colors - Diverse Palette */
    --accent-purple: #667eea;
    --accent-pink: #ff758c;
    --accent-peach: #fda085;
    --accent-gold: #f6d365;
    
    /* Neutral Colors */
    --light-bg: #f5f9ff;
    --card-bg: #ffffff;
    --text-main: #2d3748;
    --text-light: #718096;
    --text-lighter: #a0aec0;
    --border-light: #e2e8f0;
    
    /* Shadows - Multi-level depth */
    --shadow-sm: 0 2px 8px rgba(0, 87, 173, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 87, 173, 0.12);
    --shadow-lg: 0 20px 40px rgba(0, 87, 173, 0.18);
    --shadow-xl: 0 30px 60px rgba(0, 87, 173, 0.25);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0057ad 0%, #0065cb 50%, #4facfe 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #0065cb 50%, #4facfe 100%);
    --gradient-card: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =============================================
NAVIGATION
============================================= */
.main-nav {
    background: var(--gradient-primary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.brand-highlight {
    font-weight: 300;
    opacity: 0.9;
}

.pulse-icon {
    color: #ff6b6b;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.auth-buttons a {

    text-decoration: none;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-login {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color:white;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-signup {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-logout {
    background: rgba(211, 47, 47, 0.9);
}

.btn-logout:hover {
    background: rgba(183, 28, 28, 1);
    transform: translateY(-2px);
}

/* =============================================
HERO SECTION
============================================= */
.hero-section {
    background: var(--gradient-hero);
    color: white;
    padding: 1rem 2rem 2rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);

}

.highlight {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
}

/* Search Container */
.search-container {
    max-width: 700px;
    margin: 0px auto 1rem;
}

.search-bar {
    display: flex;
    align-items: center;
    background: white;
    border-radius: var(--radius-full);
    padding: 0.5rem;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-smooth);
}

.search-bar:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.search-icon {
    padding: 0 1.25rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.search-bar input {
    flex: 1;
    padding: 1rem 0;
    border: none;
    font-size: 1rem;
    outline: none;
    color: var(--text-main);
    background: transparent;
}

.search-bar input::placeholder {
    color: var(--text-lighter);
}

.search-btn {
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.search-suggestions {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.suggestion-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.suggestion-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 400;
}

/* =============================================
MAIN CONTENT
============================================= */
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Headers */
/*.section-header {*/
/*    text-align: center;*/
/*    margin-bottom: 4rem;*/
/*}*/

/*.section-title {*/
/*    font-size: 2.5rem;*/
/*    font-weight: 700;*/
/*    color: var(--secondary);*/
/*    margin-bottom: 1rem;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    gap: 1rem;*/
/*}*/

/*.section-title i {*/
/*    color: var(--primary);*/
/*    font-size: 2rem;*/
/*}*/

/*.section-subtitle {*/
/*    font-size: 1.15rem;*/
/*    color: var(--text-light);*/
/*    max-width: 600px;*/
/*    margin: 0 auto;*/
/*    line-height: 1.6;*/
/*}*/

/* =============================================
RESOURCE CARDS
============================================= */
.resources-section {
    margin: 2rem 0;
}

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

.resource-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-bounce);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 101, 203, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.resource-card:hover .card-glow {
    opacity: 1;
}

.card-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.card-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-gold);
    color: var(--text-main);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

/* Card Color Variations */
.card-textbooks .card-icon {
    background: linear-gradient(135deg, #00c6fb 0%, #005bea 100%);
}

.card-entry .card-icon {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
}

.card-nursing .card-icon {
    background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 100%);
}

.card-licensure .card-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.card-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    flex-grow: 1;
}

.card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-smooth);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    background: rgba(0, 101, 203, 0.08);
    align-self: flex-start;
}

.card-cta:hover {
    background: var(--primary);
    color: white;
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.card-cta i {
    transition: transform var(--transition-smooth);
}

.card-cta:hover i {
    transform: translateX(5px);
}

.card-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
    text-decoration: none;
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-md);
    background: var(--light-bg);
    transition: all var(--transition-smooth);
    font-weight: 500;
}

.card-link:hover {
    background: var(--primary);
    color: white;
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
}

.card-link i:first-child {
    color: var(--primary);
    font-size: 1.1rem;
}

.card-link:hover i:first-child {
    color: white;
}

.card-link i:last-child {
    margin-left: auto;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.card-link:hover i:last-child {
    opacity: 1;
}

/* Featured Card (Nursing Exams) */
.featured-card {
    grid-column: span 2;
    background: var(--gradient-card);
    border: 2px solid rgba(0, 101, 203, 0.15);
}

.featured-ribbon {
    position: absolute;
    top: 40px;
    right: -35px;
    background: var(--accent-gold);
    color: var(--text-main);
    padding: 0.5rem 3rem;
    font-size: 0.85rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.featured-ribbon i {
    margin-right: 0.25rem;
}

.card-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.card-link-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-main);
    transition: all var(--transition-smooth);
    border: 1px solid var(--border-light);
}

.card-link-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.link-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.link-content {
    flex-grow: 1;
}

.link-content strong {
    display: block;
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.link-content span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.card-link-box > i {
    color: var(--primary);
    opacity: 0;
    transition: all var(--transition-smooth);
}

.card-link-box:hover > i {
    opacity: 1;
    transform: translateX(5px);
}
/* Ensure resource cards are clickable */
.resource-card,
.card {
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

/* Make sure card links work */
.resource-card a,
.card {
    cursor: pointer;
    text-decoration: none;
}

/* Prevent glow effect from blocking clicks */
.card-glow,
.bento-glow {
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

/* Ensure card content is above glow */
/*.resource-card > *,*/
/*.card > * {*/
/*    position: relative;*/
/*    z-index: 1;*/
/*}*/
/* =============================================
VERTICAL ROW LINKS (For Entry & Licensure Cards)
============================================= */
.card-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.card-links-vertical .card-link-box {
    width: 100%;
    justify-content: flex-start; /* Ensures content aligns neatly to the left */
}

/* Optional: Make the hover effect slightly more pronounced for rows */
.card-links-vertical .card-link-box:hover {
    transform: translateX(8px); /* Slides slightly to the right on hover */
    border-color: var(--primary);
    background-color: #f8fbff;
}

/* =============================================
FEATURES SECTION - BENTO GRID (Full Width Hero)
============================================= */

.features-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

/* Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary);
    background: rgba(0, 101, 203, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.title-highlight {
    font-style: italic;
    background: linear-gradient(90deg, var(--primary) 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    max-width: 650px;
    margin: 0 auto;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* =============================================
BENTO GRID LAYOUT - 3 COLUMNS
============================================= */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Hero Card: Spans full width on the top row */
.bento-hero {
    grid-column: 1 / -1; 
    min-height: 380px; /* Gives it a nice horizontal banner proportion */
}

/* Base Bento Card Styling */
.bento-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 87, 173, 0.06);
    border: 1px solid rgba(0, 101, 203, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 87, 173, 0.12);
}

/* =============================================
HERO CARD (Full Width Blue Banner)
============================================= */
.bento-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
    border: none;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.bento-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.bento-number {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    background: linear-gradient(to right, #ffffff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}


.bento-hero h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: rgb(255, 215, 0) !important;
    max-width: 800px; /* Keeps text readable on wide screens */
}

/* Fix Hero Card Text Visibility */
.bento-hero p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.bento-hero em {
    color: #ffd700 !important;
    font-style: italic;
    font-weight: 600;
}

/* Ensure all text in hero card is white */
.bento-hero,
.bento-hero h3,
.bento-hero p,
.bento-hero span,
.bento-hero strong {
    color: white;
}

.bento-hero em {
    color: #ffd700;
}

/* Stats labels should be slightly transparent white */
.mini-stat span {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Stats Row inside Hero */
.bento-stat-row {
    display: flex;
    gap: 60px; /* Increased gap for full-width layout */
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: auto;
}

.mini-stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.mini-stat span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =============================================
STANDARD BENTO CARDS (Bottom Row)
============================================= */
.bento-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 12px;
    line-height: 1.3;
}

.bento-card h3 em {
    color: var(--primary);
    font-style: italic;
}

.bento-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Icon Wraps with Diverse Gradients */
.bento-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.bento-card:hover .bento-icon-wrap {
    transform: scale(1.08) rotate(-5deg);
}

/* Non-green, calming diverse palette */
.bento-card-2 .bento-icon-wrap { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.bento-card-3 .bento-icon-wrap { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.bento-card-4 .bento-icon-wrap { background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); }

/* Interactive Links */
.bento-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: auto;
    transition: gap 0.25s ease, color 0.2s ease;
}

.bento-link:hover {
    gap: 14px;
    color: var(--primary-dark);
}

/* =============================================
CURIOSITY CTA (Bottom Hook)
============================================= */
.curiosity-cta {
    margin-top: 40px;
    text-align: center;
    padding: 24px 32px;
    background: rgba(0, 101, 203, 0.04);
    border: 1px dashed rgba(0, 101, 203, 0.3);
    border-radius: 16px;
    color: #444;
    font-size: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.curiosity-cta i {
    color: #f6d365;
    margin-right: 8px;
}

.curiosity-cta strong {
    color: var(--secondary);
}

.curiosity-cta a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.curiosity-cta a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* =============================================
RESPONSIVE ADJUSTMENTS
============================================= */

/* Tablet: 2 Columns (Hero full, then 2 cards, then 1 card) */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-hero {
        grid-column: 1 / -1;
        min-height: 320px;
    }
    
    .bento-stat-row {
        gap: 40px;
    }
}

/* Mobile: 1 Column (Everything stacks) */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-hero {
        grid-column: 1;
        padding: 32px 24px;
        min-height: auto;
    }
    
    .bento-card {
        padding: 28px 24px;
    }
    
    .bento-number {
        font-size: 4rem;
    }
    
    .bento-hero h3 {
        font-size: 1.5rem;
    }
    
    .bento-stat-row {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .mini-stat strong {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .curiosity-cta {
        padding: 20px;
        font-size: 0.95rem;
    }
}

/* =============================================
COLSPAN 2 & MODERN ICON BOXES
============================================= */

/* 1. Makes specific grid items span across both columns */
.grid-item-full {
    grid-column: span 2;
}

/* 2. Modern Icon Box (Replaces the old <img> tags) */
/* Keeps the exact 200px width of your original .card img for perfect alignment */
.card-icon-box {
    width: 200px;
    height: 120px; /* Proportional height for the icon */
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-radius: 6px; /* Matches your original .card img border-radius */
    margin-bottom: 5px; /* Matches your original .card img margin */
    box-shadow: 0 4px 10px rgba(0, 101, 203, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 3. Subtle, calming hover animation for the icons */
.card:hover .card-icon-box {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 8px 20px rgba(0, 101, 203, 0.25);
}

/* 4. Responsive adjustments */
@media (max-width: 992px) {
    /* When the grid collapses to 1 column, colspan 2 must be disabled to prevent overflow */
    .grid-item-full {
        grid-column: span 1; 
    }
}
/* =============================================
CTA SECTION
============================================= */
.cta-section {
    margin: 5rem 0;
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    padding: 5rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--transition-smooth);
}

.btn-cta-primary {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* =============================================
FOOTER
============================================= */
.main-footer {
    background: linear-gradient(135deg, #004b9a 0%, #0057ad 100%);
    color: white;
    padding: 5rem 2rem 2rem;
    margin-top: 5rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3,
.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-col h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.6rem;
}

.footer-col h3 i {
    color: #ff6b6b;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.875rem;
}

.footer-col ul li a,
.footer-col ul li span {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-col ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-col ul li i {
    font-size: 0.75rem;
    opacity: 0.7;
}

.footer-contact ul li i {
    color: var(--primary-light);
    width: 20px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all var(--transition-smooth);
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: var(--shadow-md);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: white;
}

.footer-legal .divider {
    color: rgba(255, 255, 255, 0.3);
}

/* =============================================
RESPONSIVE DESIGN
============================================= */
@media (max-width: 1024px) {
    .featured-card {
        grid-column: span 1;
    }
    
    .card-links-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .auth-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .hero-section {
        padding: 4rem 1.5rem 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .search-bar {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: 1rem;
    }
    
    .search-bar input {
        width: 100%;
        text-align: center;
        margin-bottom: 0.75rem;
    }
    
    .search-btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .resource-grid {
        grid-template-columns: 1fr;
    }
    
    .features-section {
        margin: 3rem -1.5rem;
        padding: 3rem 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-section {
        padding: 3rem 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col ul li a,
    .footer-col ul li span {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .resource-card {
        padding: 2rem 1.5rem;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
}

/* =============================================
ANIMATIONS & UTILITIES
============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.resource-card,
.feature-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.resource-card:nth-child(1) { animation-delay: 0.1s; }
.resource-card:nth-child(2) { animation-delay: 0.2s; }
.resource-card:nth-child(3) { animation-delay: 0.3s; }
.resource-card:nth-child(4) { animation-delay: 0.4s; }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: var(--primary);
    color: white;
}

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
/* =============================================
ENTRY EXAM PAGE STYLES (Captivating & Modern)
============================================= */

/* Breadcrumb Navigation */
.exam-breadcrumb {
    background: #fff;
    padding: 16px 20px;
    border-bottom: 1px solid #e0f0ff;
    font-size: 0.95rem;
    max-width: 1280px;
    margin: 0 auto;
    color: #666;
}
.exam-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.exam-breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Hero Header with Animated Glow */
.exam-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
    padding: 50px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 87, 173, 0.2);
}

.exam-header::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: pulse-glow 15s infinite linear;
    pointer-events: none;
}

@keyframes pulse-glow {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

.exam-header h1 {
    font-size: 3rem;
    margin: 0 0 16px;
    font-weight: 800;
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.1);
    letter-spacing: -1px;
}

.exam-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    font-weight: 300;
}

/* Sections Container & Title */
.sections-container {
    max-width: 1280px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    color: var(--secondary);
    margin-bottom: 50px;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Modern Sections Grid */
.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Captivating Section Card */
.section-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 28px;
    text-decoration: none;
    color: #222;
    border: 1px solid rgba(0, 101, 203, 0.08);
    box-shadow: 0 4px 15px rgba(0, 87, 173, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* Animated Left Border on Hover */
.section-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.section-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 101, 203, 0.15);
    border-color: rgba(0, 101, 203, 0.2);
}

.section-card:hover::before {
    transform: scaleY(1);
}

.section-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, #4facfe 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 101, 203, 0.25);
    transition: transform 0.4s ease;
}

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

.section-card h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    flex-grow: 1;
    transition: color 0.3s ease;
}

.section-card:hover h3 {
    color: var(--primary);
}

.section-arrow {
    color: var(--primary);
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s ease;
    font-size: 1.4rem;
}

.section-card:hover .section-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Empty State with Floating Animation */
.no-content {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    border: 2px dashed #d1e0ff;
    box-shadow: 0 10px 30px rgba(0, 87, 173, 0.05);
}

.no-content i {
    font-size: 4rem;
    color: #a0c4ff;
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.no-content h2 {
    color: var(--secondary);
    margin-bottom: 12px;
    font-size: 1.8rem;
}

.no-content p {
    color: #666;
    font-size: 1.1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .exam-header { padding: 60px 20px; }
    .exam-header h1 { font-size: 2.2rem; }
    .sections-grid { grid-template-columns: 1fr; }
    .section-card { padding: 20px; }
}
/* =============================================
EXAM QUESTIONS PAGE STYLES
============================================= */

.questions-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}

.questions-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.question-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 87, 173, 0.08);
    border: 1px solid rgba(0, 101, 203, 0.08);
    display: flex;
    gap: 24px;
    transition: all 0.3s ease;
}

.question-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 101, 203, 0.15);
}

.question-number {
    flex-shrink: 0;
}

.question-number span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, #4facfe 100%);
    color: white;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 101, 203, 0.25);
}

.question-content {
    flex-grow: 1;
}

.question-content h3 {
    font-size: 1.15rem;
    color: var(--secondary);
    margin: 0 0 20px;
    line-height: 1.6;
    font-weight: 600;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.option-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: var(--light-bg);
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.option-item:hover {
    border-color: var(--primary);
    background: white;
    transform: translateX(4px);
}

.option-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.option-text {
    color: #333;
    line-height: 1.5;
    padding-top: 4px;
}

.explanation-box {
    background: linear-gradient(135deg, rgba(0, 101, 203, 0.05) 0%, rgba(79, 172, 254, 0.08) 100%);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 10px;
    margin-top: 16px;
}

.explanation-box i {
    color: #f6d365;
    font-size: 1.3rem;
    margin-right: 8px;
}

.explanation-box p {
    color: #444;
    line-height: 1.6;
    margin: 0;
    display: inline;
}

.explanation-box strong {
    color: var(--secondary);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.2s ease;
}

.back-btn:hover {
    background: var(--primary-dark);
    transform: translateX(-4px);
}

/* Responsive */
@media (max-width: 768px) {
    .question-card {
        flex-direction: column;
        padding: 24px;
    }
    
    .question-number span {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
}
/* =============================================
VERSIONS PAGE STYLES
============================================= */

.versions-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
}

.versions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.version-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 28px;
    text-decoration: none;
    color: #222;
    border: 1px solid rgba(0, 101, 203, 0.08);
    box-shadow: 0 4px 15px rgba(0, 87, 173, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.version-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.version-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 101, 203, 0.15);
    border-color: rgba(0, 101, 203, 0.2);
}

.version-card:hover::before {
    transform: scaleY(1);
}

.version-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, #4facfe 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 101, 203, 0.25);
    transition: transform 0.4s ease;
}

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

.version-content {
    flex-grow: 1;
}

.version-content h3 {
    margin: 0 0 6px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
    transition: color 0.3s ease;
}

.version-card:hover .version-content h3 {
    color: var(--primary);
}

.version-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.version-arrow {
    color: var(--primary);
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s ease;
    font-size: 1.4rem;
}

.version-card:hover .version-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
    .versions-grid {
        grid-template-columns: 1fr;
    }
    
    .version-card {
        padding: 20px;
    }
}