/**
 * ELGI Institute of Theology - E-Learning Platform
 * Main Stylesheet
 * Color Palette from Logo:
 * - Royal Purple: #3D1A78 (primary)
 * - Deep Purple: #2A0F5C (darker shade)
 * - Gold/Amber: #C9A227 (accent)
 * - Rich Gold: #D4AF37 (highlights)
 * - Burgundy Red: #8B1538 (cross/accent)
 * - Pure White: #FFFFFF (backgrounds)
 */

/* ==================== CSS VARIABLES ==================== */
:root {
    --primary: #3D1A78;
    --primary-dark: #2A0F5C;
    --primary-light: #5A2D9C;
    --primary-rgb: 61, 26, 120;
    --gold: #C9A227;
    --gold-light: #D4AF37;
    --gold-dark: #A68B1F;
    --gold-rgb: 201, 162, 39;
    --burgundy: #8B1538;
    --burgundy-light: #A61B44;
    --burgundy-dark: #6E112C;
    --white: #FFFFFF;
    --off-white: #F8F7FC;
    --light-gray: #F0EDF5;
    --gray: #6B7280;
    --dark-gray: #374151;
    --black: #1F1F1F;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;
    --font-primary: 'Playfair Display', Georgia, serif;
    --font-secondary: 'Source Sans 3', 'Segoe UI', sans-serif;
    --font-accent: 'Cormorant Garamond', serif;
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 50%;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(var(--primary-rgb), 0.15);
    --shadow-xl: 0 20px 40px rgba(var(--primary-rgb), 0.2);
    --shadow-gold: 0 4px 20px rgba(var(--gold-rgb), 0.3);
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms ease;
    --container-max: 1280px;
    --container-padding: 1.5rem;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-secondary); font-size: 1rem; line-height: 1.6; color: var(--dark-gray); background-color: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-primary); font-weight: 700; line-height: 1.3; color: var(--primary-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }
p { margin-bottom: var(--space-md); }
a { color: var(--primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--gold); }
.text-gold { color: var(--gold); }
.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-padding); }
.section { padding: var(--space-3xl) 0; }
.section-header { text-align: center; margin-bottom: var(--space-2xl); }
.section-header h2 { margin-bottom: var(--space-sm); }
.section-header .subtitle { font-size: 1.125rem; color: var(--gray); max-width: 600px; margin: 0 auto; }
.section-header .gold-line { width: 80px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); margin: var(--space-md) auto 0; border-radius: var(--radius-full); }

.grid { display: grid; gap: var(--space-lg); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); padding: 0.875rem 2rem; font-family: var(--font-secondary); font-size: 1rem; font-weight: 600; text-decoration: none; border: none; border-radius: var(--radius-md); cursor: pointer; transition: all var(--transition-normal); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: linear-gradient(135deg, var(--primary-light), var(--primary)); transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--white); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--primary-dark); box-shadow: var(--shadow-gold); }
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold)); transform: translateY(-2px); color: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-outline-gold { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--primary-dark); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--primary); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.125rem; }
.btn-icon { width: 48px; height: 48px; padding: 0; border-radius: var(--radius-full); }

.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); transition: all var(--transition-normal); }
.header.scrolled { box-shadow: var(--shadow-md); }
.top-bar { background: linear-gradient(90deg, var(--primary-dark), var(--primary)); color: var(--white); padding: 0.5rem 0; font-size: 0.875rem; }
.top-bar a { color: var(--gold-light); }
.top-bar a:hover { color: var(--white); }
.nav-wrapper { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.logo { display: flex; align-items: center; gap: var(--space-sm); }
.logo img { height: 55px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-text .name { font-family: var(--font-primary); font-size: 1.125rem; font-weight: 700; color: var(--primary-dark); line-height: 1.2; }
.logo-text .tagline { font-family: var(--font-accent); font-size: 0.75rem; color: var(--gold); font-style: italic; }
.nav-menu { display: flex; align-items: center; gap: var(--space-xl); list-style: none; }
.nav-menu a { font-weight: 500; color: var(--dark-gray); position: relative; padding: 0.5rem 0; }
.nav-menu a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gold); transition: width var(--transition-normal); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: var(--space-md); flex-shrink: 0; }
.user-nav-links { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; }
.user-nav-links .btn-sm { white-space: nowrap; padding: 0.4rem 0.8rem; font-size: 0.8rem; }
.notification-wrapper { position: relative; }
.notification-bell { position: relative; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: rgba(var(--primary-rgb), 0.1); border-radius: 50%; color: var(--primary); font-size: 1.1rem; transition: all var(--transition-fast); border: none; cursor: pointer; }
.notification-bell:hover { background: var(--primary); color: white; }
.notification-count { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; background: var(--danger, #dc3545); color: white; font-size: 0.7rem; font-weight: 600; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

/* Notification Dropdown */
.notification-dropdown { position: absolute; top: calc(100% + 10px); right: 0; width: 340px; background: white; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); z-index: 1000; display: none; overflow: hidden; }
.notification-dropdown.active { display: block; animation: notifFadeIn 0.2s ease; }
@keyframes notifFadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.notification-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 18px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: white; }
.notification-header h4 { margin: 0; font-size: 0.95rem; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.notification-close { background: rgba(255,255,255,0.2); border: none; color: white; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.notification-close:hover { background: rgba(255,255,255,0.35); }
.notification-body { max-height: 320px; overflow-y: auto; }
.notification-item { display: flex; align-items: flex-start; padding: 12px 15px; border-bottom: 1px solid #eee; transition: background 0.2s; gap: 10px; }
.notification-item:hover { background: #f8f9fa; }
.notification-item.unread { background: #fff8e1; border-left: 3px solid var(--gold); }
.notification-icon { width: 34px; height: 34px; background: #f0f0f0; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #666; }
.notification-item.unread .notification-icon { background: var(--gold); color: white; }
.notification-content { flex: 1; min-width: 0; }
.notification-content strong { display: block; font-size: 0.85rem; margin-bottom: 2px; color: #333; }
.notification-content p { margin: 0; font-size: 0.8rem; color: #666; line-height: 1.3; }
.notification-time { font-size: 0.7rem; color: #999; }
.notification-action { width: 28px; height: 28px; background: #f0f0f0; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #666; transition: all 0.2s; flex-shrink: 0; font-size: 0.8rem; }
.notification-action:hover { background: var(--primary); color: white; }
.notification-empty { text-align: center; padding: 35px 20px; color: #999; }
.notification-empty i { font-size: 2rem; margin-bottom: 10px; display: block; }
.notification-empty p { margin: 0; }
.notification-footer { display: flex; justify-content: space-between; padding: 10px 15px; background: #f8f9fa; border-top: 1px solid #eee; }
.notification-footer a { font-size: 0.8rem; color: var(--primary); display: flex; align-items: center; gap: 4px; }
.notification-footer a:hover { text-decoration: underline; }

.search-toggle { background: none; border: none; color: var(--dark-gray); font-size: 1.25rem; cursor: pointer; transition: color var(--transition-fast); }
.search-toggle:hover { color: var(--primary); }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--primary); cursor: pointer; }
@media (max-width: 1024px) {
    .nav-menu { position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; background: var(--white); flex-direction: column; align-items: flex-start; padding: 5rem 2rem; gap: var(--space-lg); transition: right var(--transition-normal); box-shadow: var(--shadow-xl); }
    .nav-menu.active { right: 0; }
    .mobile-toggle { display: block; }
}

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%); overflow: hidden; padding-top: 100px; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23C9A227" stroke-width="0.5" opacity="0.1"/></svg>') repeat; background-size: 200px; animation: float 20s infinite linear; }
@keyframes float { 0% { transform: translateY(0) rotate(0deg); } 100% { transform: translateY(-50px) rotate(360deg); } }
.hero::after { content: ''; position: absolute; bottom: -50px; left: 0; right: 0; height: 100px; background: var(--white); clip-path: ellipse(70% 100% at 50% 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; color: var(--white); max-width: 900px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: var(--space-sm); padding: 0.5rem 1.5rem; background: rgba(201, 162, 39, 0.2); border: 1px solid var(--gold); border-radius: var(--radius-full); font-size: 0.875rem; color: var(--gold-light); margin-bottom: var(--space-lg); animation: fadeInUp 0.8s ease; }
.hero h1 { color: var(--white); margin-bottom: var(--space-lg); animation: fadeInUp 0.8s ease 0.1s backwards; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.25rem; opacity: 0.9; max-width: 700px; margin: 0 auto var(--space-xl); animation: fadeInUp 0.8s ease 0.2s backwards; }
.hero-buttons { display: flex; justify-content: center; gap: var(--space-md); animation: fadeInUp 0.8s ease 0.3s backwards; }
.hero-stats { display: flex; justify-content: center; gap: var(--space-3xl); margin-top: var(--space-3xl); padding-top: var(--space-xl); border-top: 1px solid rgba(255, 255, 255, 0.2); animation: fadeInUp 0.8s ease 0.4s backwards; }
.hero-stat { text-align: center; }
.hero-stat .number { display: block; font-family: var(--font-primary); font-size: 2.5rem; font-weight: 700; color: var(--gold); }
.hero-stat .label { font-size: 0.875rem; opacity: 0.8; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.course-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: all var(--transition-normal); height: 100%; display: flex; flex-direction: column; }
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.course-card-image { position: relative; padding-top: 56.25%; overflow: hidden; }
.course-card-image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.course-card:hover .course-card-image img { transform: scale(1.08); }
.course-card-badge { position: absolute; top: var(--space-md); left: var(--space-md); padding: 0.25rem 0.75rem; background: var(--gold); color: var(--primary-dark); font-size: 0.75rem; font-weight: 600; border-radius: var(--radius-sm); text-transform: uppercase; }
.course-card-badge.free { background: var(--success); color: var(--white); }
.course-card-wishlist { position: absolute; top: var(--space-md); right: var(--space-md); width: 36px; height: 36px; background: var(--white); border: none; border-radius: var(--radius-full); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--gray); transition: all var(--transition-fast); box-shadow: var(--shadow-sm); }
.course-card-wishlist:hover, .course-card-wishlist.active { color: var(--burgundy); transform: scale(1.1); }
.course-card-content { padding: var(--space-lg); flex: 1; display: flex; flex-direction: column; }
.course-card-category { font-size: 0.75rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--space-sm); }
.course-card-title { font-size: 1.125rem; margin-bottom: var(--space-sm); line-height: 1.4; }
.course-card-title a { color: var(--primary-dark); }
.course-card-title a:hover { color: var(--primary); }
.course-card-instructor { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-md); font-size: 0.875rem; color: var(--gray); }
.course-card-instructor img { width: 28px; height: 28px; border-radius: var(--radius-full); object-fit: cover; }
.course-card-meta { display: flex; align-items: center; gap: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--light-gray); margin-top: auto; font-size: 0.875rem; color: var(--gray); }
.course-card-meta span { display: flex; align-items: center; gap: 0.25rem; }
.course-card-meta i { color: var(--gold); }
.course-card-footer { display: flex; align-items: center; justify-content: space-between; padding: var(--space-md) var(--space-lg); background: var(--off-white); border-top: 1px solid var(--light-gray); }
.course-card-price { font-family: var(--font-primary); font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.course-card-price .original { font-size: 0.875rem; color: var(--gray); text-decoration: line-through; margin-left: var(--space-sm); font-weight: 400; }
.course-card-price.free { color: var(--success); }

.category-card { background: var(--white); border-radius: var(--radius-lg); padding: var(--space-xl); text-align: center; box-shadow: var(--shadow-md); transition: all var(--transition-normal); border: 2px solid transparent; }
.category-card:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.category-card-icon { width: 80px; height: 80px; margin: 0 auto var(--space-lg); background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--gold); transition: all var(--transition-normal); }
.category-card:hover .category-card-icon { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--primary-dark); transform: rotateY(180deg); }
.category-card h4 { margin-bottom: var(--space-sm); }
.category-card p { font-size: 0.875rem; color: var(--gray); margin-bottom: var(--space-md); }
.category-card .course-count { font-size: 0.875rem; color: var(--primary); font-weight: 600; }

.features-section { background: var(--off-white); }
.feature-card { background: var(--white); padding: var(--space-xl); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: all var(--transition-normal); position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(180deg, var(--gold), var(--gold-dark)); transform: scaleY(0); transition: transform var(--transition-normal); }
.feature-card:hover::before { transform: scaleY(1); }
.feature-card:hover { box-shadow: var(--shadow-lg); }
.feature-icon { width: 60px; height: 60px; background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.05)); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-lg); font-size: 1.5rem; color: var(--primary); }
.feature-card h4 { margin-bottom: var(--space-sm); }
.feature-card p { color: var(--gray); font-size: 0.9375rem; margin: 0; }

.instructor-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: all var(--transition-normal); }
.instructor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.instructor-card-image { position: relative; padding-top: 100%; }
.instructor-card-image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.instructor-card-content { padding: var(--space-lg); text-align: center; }
.instructor-card h4 { margin-bottom: 0.25rem; }
.instructor-card .title { font-size: 0.875rem; color: var(--gold); margin-bottom: var(--space-md); }
.instructor-card-stats { display: flex; justify-content: center; gap: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--light-gray); }
.instructor-card-stats span { font-size: 0.875rem; color: var(--gray); }
.instructor-card-stats strong { color: var(--primary); }

.testimonials-section { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--white); position: relative; overflow: hidden; }
.testimonials-section .section-header h2, .testimonials-section .section-header .subtitle { color: var(--white); }
.testimonials-section .section-header .subtitle { opacity: 0.8; }
.testimonial-card { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.15); padding: var(--space-xl); border-radius: var(--radius-lg); position: relative; }
.testimonial-card::before { content: '"'; position: absolute; top: var(--space-md); left: var(--space-lg); font-size: 4rem; font-family: var(--font-accent); color: var(--gold); opacity: 0.3; line-height: 1; }
.testimonial-content { position: relative; z-index: 1; margin-bottom: var(--space-lg); font-size: 1.0625rem; line-height: 1.7; opacity: 0.95; }
.testimonial-author { display: flex; align-items: center; gap: var(--space-md); }
.testimonial-author img { width: 56px; height: 56px; border-radius: var(--radius-full); border: 3px solid var(--gold); object-fit: cover; }
.testimonial-author-info h5 { color: var(--white); margin-bottom: 0.125rem; }
.testimonial-author-info span { font-size: 0.875rem; color: var(--gold-light); }

.star-rating { display: inline-flex; align-items: center; gap: 2px; }
.star-rating i { color: var(--gold); font-size: 0.875rem; }
.star-rating .rating-number { margin-left: var(--space-sm); font-weight: 600; color: var(--dark-gray); }

.cta-section { background: var(--off-white); position: relative; }
.cta-box { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: var(--radius-xl); padding: var(--space-3xl); text-align: center; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(201, 162, 39, 0.2) 0%, transparent 70%); border-radius: var(--radius-full); }
.cta-box h2 { color: var(--white); margin-bottom: var(--space-md); position: relative; z-index: 1; }
.cta-box p { color: rgba(255, 255, 255, 0.9); max-width: 600px; margin: 0 auto var(--space-xl); position: relative; z-index: 1; }
.cta-box .btn { position: relative; z-index: 1; }

.footer { background: linear-gradient(180deg, var(--primary-dark), #1A0A3E); color: var(--white); padding-top: var(--space-3xl); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: var(--space-2xl); padding-bottom: var(--space-2xl); }
@media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { max-width: 350px; }
.footer-brand .logo { margin-bottom: var(--space-lg); }
.footer-brand .logo-text .name { color: var(--white); }
.footer-brand p { opacity: 0.8; font-size: 0.9375rem; margin-bottom: var(--space-lg); }
.footer-social { display: flex; gap: var(--space-sm); }
.footer-social a { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--white); transition: all var(--transition-fast); }
.footer-social a:hover { background: var(--gold); color: var(--primary-dark); transform: translateY(-3px); }
.footer-column h4 { color: var(--white); font-size: 1.125rem; margin-bottom: var(--space-lg); position: relative; padding-bottom: var(--space-sm); }
.footer-column h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--gold); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: var(--space-sm); }
.footer-links a { color: rgba(255, 255, 255, 0.8); font-size: 0.9375rem; transition: all var(--transition-fast); }
.footer-links a:hover { color: var(--gold); padding-left: var(--space-sm); }
.footer-contact-item { display: flex; gap: var(--space-md); margin-bottom: var(--space-lg); }
.footer-contact-item i { width: 40px; height: 40px; background: rgba(201, 162, 39, 0.2); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }
.footer-contact-item span { font-size: 0.9375rem; opacity: 0.9; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: var(--space-lg) 0; display: flex; align-items: center; justify-content: space-between; font-size: 0.875rem; opacity: 0.8; }
.footer-bottom a { color: var(--gold); }

.form-group { margin-bottom: var(--space-lg); }
.form-group label { display: block; font-weight: 600; color: var(--dark-gray); margin-bottom: var(--space-sm); }
.form-control { width: 100%; padding: 0.875rem 1rem; font-family: var(--font-secondary); font-size: 1rem; color: var(--dark-gray); background: var(--white); border: 2px solid var(--light-gray); border-radius: var(--radius-md); transition: all var(--transition-fast); }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1); }
.form-control::placeholder { color: var(--gray); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { cursor: pointer; appearance: none; background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%236B7280"><path d="M7 10l5 5 5-5z"/></svg>'); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.5rem; }
.form-check { display: flex; align-items: center; gap: var(--space-sm); }
.form-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); }
.form-error { color: var(--error); font-size: 0.875rem; margin-top: var(--space-xs); }

.alert { padding: var(--space-md) var(--space-lg); border-radius: var(--radius-md); margin-bottom: var(--space-lg); display: flex; align-items: center; gap: var(--space-md); }
.alert-success { background: rgba(16, 185, 129, 0.1); border: 1px solid var(--success); color: var(--success); }
.alert-error { background: rgba(239, 68, 68, 0.1); border: 1px solid var(--error); color: var(--error); }
.alert-warning { background: rgba(245, 158, 11, 0.1); border: 1px solid var(--warning); color: var(--warning); }
.alert-info { background: rgba(59, 130, 246, 0.1); border: 1px solid var(--info); color: var(--info); }

.pagination-wrapper { display: flex; justify-content: center; margin-top: var(--space-2xl); }
.pagination { display: flex; list-style: none; gap: var(--space-sm); }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 var(--space-sm); background: var(--white); border: 1px solid var(--light-gray); border-radius: var(--radius-md); font-weight: 500; color: var(--dark-gray); transition: all var(--transition-fast); }
.pagination a:hover, .pagination a.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.pagination .dots { border: none; background: none; }

.breadcrumb { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-md) 0; font-size: 0.875rem; }
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--primary); }
.breadcrumb i { color: var(--gray); font-size: 0.75rem; }

.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.6); display: flex; align-items: center; justify-content: center; z-index: 2000; opacity: 0; visibility: hidden; transition: all var(--transition-normal); }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal { background: var(--white); border-radius: var(--radius-lg); max-width: 500px; width: 90%; max-height: 90vh; overflow-y: auto; transform: translateY(-20px); transition: transform var(--transition-normal); }
.modal-overlay.active .modal { transform: translateY(0); }
.modal-header { padding: var(--space-lg); border-bottom: 1px solid var(--light-gray); display: flex; align-items: center; justify-content: space-between; }
.modal-header h3 { margin: 0; }
.modal-close { background: none; border: none; font-size: 1.5rem; color: var(--gray); cursor: pointer; transition: color var(--transition-fast); }
.modal-close:hover { color: var(--primary); }
.modal-body { padding: var(--space-lg); }
.modal-footer { padding: var(--space-lg); border-top: 1px solid var(--light-gray); display: flex; justify-content: flex-end; gap: var(--space-md); }

.spinner { width: 40px; height: 40px; border: 3px solid var(--light-gray); border-top-color: var(--primary); border-radius: var(--radius-full); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, 0.9); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-md); z-index: 3000; }

.progress-bar { height: 8px; background: var(--light-gray); border-radius: var(--radius-full); overflow: hidden; }
.progress-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--gold)); border-radius: var(--radius-full); transition: width var(--transition-slow); }

.tabs { display: flex; border-bottom: 2px solid var(--light-gray); margin-bottom: var(--space-xl); }
.tab-btn { padding: var(--space-md) var(--space-lg); background: none; border: none; font-family: var(--font-secondary); font-size: 1rem; font-weight: 600; color: var(--gray); cursor: pointer; position: relative; transition: color var(--transition-fast); }
.tab-btn::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform var(--transition-fast); }
.tab-btn:hover, .tab-btn.active { color: var(--primary); }
.tab-btn.active::after { transform: scaleX(1); }
.tab-content { display: none; }
.tab-content.active { display: block; }

.accordion-item { border: 1px solid var(--light-gray); border-radius: var(--radius-md); margin-bottom: var(--space-md); overflow: hidden; }
.accordion-header { width: 100%; padding: var(--space-lg); background: var(--white); border: none; display: flex; align-items: center; justify-content: space-between; font-family: var(--font-secondary); font-size: 1rem; font-weight: 600; color: var(--dark-gray); cursor: pointer; transition: all var(--transition-fast); }
.accordion-header:hover { background: var(--off-white); }
.accordion-header i { transition: transform var(--transition-fast); }
.accordion-item.active .accordion-header i { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height var(--transition-normal); }
.accordion-item.active .accordion-content { max-height: 500px; }
.accordion-body { padding: 0 var(--space-lg) var(--space-lg); }

.badge { display: inline-block; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 600; border-radius: var(--radius-full); text-transform: uppercase; }
.badge-primary { background: rgba(var(--primary-rgb), 0.1); color: var(--primary); }
.badge-gold { background: rgba(var(--gold-rgb), 0.2); color: var(--gold-dark); }
.badge-success { background: rgba(16, 185, 129, 0.1); color: var(--success); }

@media (max-width: 768px) {
    .hero-stats { flex-wrap: wrap; gap: var(--space-xl); }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .section { padding: var(--space-2xl) 0; }
    .footer-bottom { flex-direction: column; text-align: center; gap: var(--space-md); }
}

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.py-1 { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-2 { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-3 { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-4 { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.hidden { display: none; }
.visible { visibility: visible; }
.invisible { visibility: hidden; }
.bg-white { background-color: var(--white); }
.bg-off-white { background-color: var(--off-white); }
.bg-primary { background-color: var(--primary); }
.bg-gold { background-color: var(--gold); }
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }
.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.w-full { width: 100%; }
.h-full { height: 100%; }

/* ------------------
    Admin / Dashboard UI
    Shared styles for admin and user dashboard pages
    ------------------ */
.admin-content { padding: 90px 0; background: var(--off-white); min-height: 100vh; }
.admin-layout { gap: 30px; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-xl); }
.admin-header h1 { margin: 0; font-size: 1.75rem; }
.admin-header .text-muted { color: var(--gray); margin: 0; }
.header-actions { display: flex; align-items: center; gap: var(--space-md); }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); margin-bottom: var(--space-xl); }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .stats-grid { grid-template-columns: 1fr; } }

.stat-card { background: var(--white); border-radius: var(--radius-lg); padding: var(--space-lg); display: flex; align-items: center; gap: var(--space-lg); box-shadow: var(--shadow-sm); position: relative; }
.stat-card.primary { border-left: 4px solid var(--primary); }
.stat-card.success { border-left: 4px solid var(--success); }
.stat-card.warning { border-left: 4px solid var(--warning); }
.stat-card.info { border-left: 4px solid var(--info); }
.stat-card.small { padding: var(--space-md); }
.stat-card.small .stat-details h3 { font-size: 1.25rem; }
.stat-card.small .stat-details p { font-size: 0.875rem; }

.stat-icon { width: 60px; height: 60px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.stat-card.primary .stat-icon { background: rgba(var(--primary-rgb), 0.1); color: var(--primary); }
.stat-card.success .stat-icon { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.stat-card.warning .stat-icon { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.stat-card.info .stat-icon { background: rgba(59, 130, 246, 0.1); color: var(--info); }

.stat-details { flex: 1; }
.stat-details h3 { margin: 0 0 0.25rem 0; font-size: 1.75rem; font-weight: 700; color: var(--primary-dark); }
.stat-details p { margin: 0; color: var(--gray); font-size: 0.875rem; }

.stat-link { position: absolute; top: var(--space-lg); right: var(--space-lg); width: 32px; height: 32px; border-radius: var(--radius-full); background: rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: center; color: var(--gray); transition: all var(--transition-fast); }
.stat-link:hover { background: var(--primary); color: var(--white); }

.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); margin-bottom: var(--space-xl); }
@media (max-width: 900px) { .dashboard-grid { grid-template-columns: 1fr; } }

.dashboard-section-box { background: var(--white); border-radius: var(--radius-lg); padding: var(--space-xl); margin-bottom: var(--space-xl); box-shadow: var(--shadow-sm); }
.section-header-inline { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-lg); }
.section-header-inline h2 { margin: 0; font-size: 1.25rem; }

.expiring-courses-list { list-style: none; padding: 0; margin: 0; }
.expiring-courses-list li { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: rgba(255, 255, 255, 0.7); border-radius: var(--radius-sm); margin-bottom: 8px; }
.expiring-courses-list li:last-child { margin-bottom: 0; }
.expiring-courses-list a { color: var(--primary); text-decoration: none; }
.expiring-courses-list a:hover { text-decoration: underline; }

/* Topbar styling (admin-like) */
.admin-topbar { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.admin-topbar .breadcrumb { display:flex; align-items:center; gap:8px; color: var(--gray); font-size: 0.95rem; }
.admin-topbar .breadcrumb a { color: var(--primary); }
.admin-topbar .topbar-search { position: relative; display: flex; align-items: center; }
.admin-topbar .topbar-search input { padding-right: 34px; }
.admin-topbar .topbar-search i { position: absolute; right: 10px; color: var(--gray); }
.topbar-actions .action-btn { background: transparent; border: none; cursor: pointer; position: relative; font-size: 1rem; color: var(--dark-gray); }
.notification-badge { position: absolute; top: -6px; right: -6px; background: var(--error); color: #fff; font-size: 0.7rem; padding: 2px 6px; border-radius: 999px; }

.dashboard-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.card-header { display: flex; align-items: center; justify-content: space-between; padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--light-gray); }
.card-header h3 { margin: 0; font-size: 1.125rem; display: flex; align-items: center; gap: 10px; }
.card-body { padding: var(--space-lg); }

.call-item { display: flex; align-items: center; justify-content: space-between; padding: 12px; border-bottom: 1px solid var(--light-gray); }
.call-item:last-child { border-bottom: none; }
.call-details h4 { margin: 0 0 4px 0; font-size: 1rem; }

.notification-item { display: flex; align-items: center; justify-content: space-between; padding: 12px; border-bottom: 1px solid var(--light-gray); }
.notification-item:last-child { border-bottom: none; }
.notification-item .notif-content strong { display: block; }
.notification-item .notif-content p { margin: 4px 0 0 0; }

.continue-card { display: flex; gap: var(--space-lg); padding: var(--space-md); background: var(--off-white); border-radius: var(--radius-md); align-items: center; }
.continue-card img { width: 140px; height: 84px; object-fit: cover; border-radius: var(--radius-sm); }

.activity-list { display: flex; flex-direction: column; gap: var(--space-md); }
.activity-item { display: flex; gap: var(--space-md); align-items: center; }
.activity-icon { width: 44px; height: 44px; border-radius: var(--radius-full); background: rgba(var(--primary-rgb), 0.06); display: flex; align-items: center; justify-content: center; color: var(--primary); }

.course-card-mini { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.course-card-mini img { height: 120px; object-fit: cover; }
.mini-info { padding: var(--space-md); }

/* small utils for badges used in dashboard */
.days-badge { font-size: 0.8rem; padding: 6px 10px; border-radius: 999px; background: var(--gold); color: var(--primary-dark); font-weight: 700; }
.days-badge.critical { background: var(--error); color: #fff; animation: pulse 1.4s infinite; }

.user-avatar { width: 40px; height: 40px; border-radius: var(--radius-full); object-fit: cover; display: block; max-width: 100%; }
.user-name { margin-left: var(--space-sm); color: var(--dark-gray); font-weight: 500; }

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
}
.toast.show { transform: translateX(0); }
.toast i { font-size: 1.25rem; }
.toast-success { border-left: 4px solid var(--success); }
.toast-success i { color: var(--success); }
.toast-error { border-left: 4px solid var(--error); }
.toast-error i { color: var(--error); }
.toast-info { border-left: 4px solid var(--info); }
.toast-info i { color: var(--info); }

/* Wishlist active state */
.course-card-wishlist.active i,
.btn.active i.fa-heart { color: var(--error); }
.course-card-wishlist.active i::before { content: "\f004"; font-weight: 900; }

/* ==================== CURRICULUM BUILDER ==================== */

/* Info Box */
.curriculum-info-box {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05), rgba(var(--gold-rgb), 0.05));
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: 25px;
}
.curriculum-info-box > i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}
.curriculum-info-box strong {
    color: var(--primary-dark);
    display: block;
    margin-bottom: 5px;
}
.curriculum-info-box p {
    color: var(--gray);
    margin: 0;
    font-size: 0.95rem;
}

/* Add Section Card */
.add-section-card {
    background: var(--white);
    border: 2px dashed rgba(var(--primary-rgb), 0.2);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 30px;
    transition: all var(--transition-normal);
}
.add-section-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.add-section-card h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}
@media (max-width: 768px) {
    .section-form-grid { grid-template-columns: 1fr; }
}

/* Curriculum Section */
.curriculum-section {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.curriculum-section[data-section-type="assessment"] {
    border-left: 4px solid var(--gold);
}
.curriculum-section[data-section-type="resource"] {
    border-left: 4px solid var(--info);
}

/* Section Header */
.curriculum-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    background: linear-gradient(135deg, var(--off-white), var(--white));
    border-bottom: 1px solid #e5e7eb;
}
.section-header-left {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.section-header-left > i {
    font-size: 1.4rem;
    color: var(--primary);
    margin-top: 3px;
}
.curriculum-section-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-dark);
    display: block;
    margin-bottom: 5px;
}
.section-description {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
    max-width: 500px;
}
.section-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}
.section-badge {
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
}
.section-badge.content { background: rgba(var(--primary-rgb), 0.1); color: var(--primary); }
.section-badge.assessment { background: rgba(var(--gold-rgb), 0.2); color: var(--gold-dark); }
.section-badge.resource { background: rgba(59, 130, 246, 0.1); color: var(--info); }
.lesson-count {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Lesson List */
.lesson-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.lesson-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background var(--transition-fast);
}
.lesson-item:last-child { border-bottom: none; }
.lesson-item:hover { background: var(--off-white); }
.lesson-item.preview { background: rgba(var(--gold-rgb), 0.05); }
.lesson-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}
.lesson-item.video-type .lesson-icon { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.lesson-item.text-type .lesson-icon { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.lesson-item.pre_test-type .lesson-icon,
.lesson-item.post_test-type .lesson-icon { background: rgba(var(--gold-rgb), 0.15); color: var(--gold-dark); }
.lesson-item.pop_quiz-type .lesson-icon,
.lesson-item.quiz-type .lesson-icon { background: rgba(168, 85, 247, 0.1); color: #a855f7; }
.lesson-item.assignment-type .lesson-icon { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.lesson-item.document-type .lesson-icon { background: rgba(249, 115, 22, 0.1); color: #f97316; }
.lesson-item.image-type .lesson-icon { background: rgba(236, 72, 153, 0.1); color: #ec4899; }

.lesson-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}
.lesson-title {
    font-weight: 500;
    color: var(--dark-gray);
}
.lesson-type-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
}
.lesson-type-badge.video { background: rgba(239, 68, 68, 0.1); color: #dc2626; }
.lesson-type-badge.text { background: rgba(59, 130, 246, 0.1); color: #2563eb; }
.lesson-type-badge.pre_test { background: rgba(var(--gold-rgb), 0.15); color: var(--gold-dark); }
.lesson-type-badge.pop_quiz { background: rgba(168, 85, 247, 0.1); color: #9333ea; }
.lesson-type-badge.post_test { background: rgba(var(--gold-rgb), 0.2); color: #92400e; }
.lesson-type-badge.quiz { background: rgba(168, 85, 247, 0.1); color: #9333ea; }
.lesson-type-badge.assignment { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.lesson-type-badge.document { background: rgba(249, 115, 22, 0.1); color: #ea580c; }
.lesson-type-badge.image { background: rgba(236, 72, 153, 0.1); color: #db2777; }

.lesson-badges {
    display: flex;
    gap: 8px;
}
.badge {
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}
.badge-preview { background: rgba(59, 130, 246, 0.1); color: var(--info); }
.badge-required { background: rgba(239, 68, 68, 0.1); color: #dc2626; }

/* Add Lesson Form */
.add-lesson-form {
    padding: 20px;
    background: var(--off-white);
    border-top: 1px solid #e5e7eb;
}
.lesson-form-header {
    margin-bottom: 20px;
}
.lesson-form-header h4 {
    color: var(--primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

/* Content Type Tabs */
.content-type-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}
.content-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 15px;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.content-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.content-tab.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.content-tab i { font-size: 1rem; }

/* Form Helpers */
.form-help {
    display: block;
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 5px;
}
.file-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    background: var(--white);
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
}
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* Assessment Info Boxes */
.assessment-info {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    background: rgba(var(--gold-rgb), 0.1);
    border: 1px solid rgba(var(--gold-rgb), 0.2);
}
.assessment-info > i {
    font-size: 1.3rem;
    color: var(--gold-dark);
    flex-shrink: 0;
}
.assessment-info strong {
    color: var(--gold-dark);
    display: block;
    margin-bottom: 3px;
}
.assessment-info p {
    color: var(--gray);
    margin: 0;
    font-size: 0.85rem;
}
.assessment-info.pop-quiz {
    background: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.2);
}
.assessment-info.pop-quiz > i,
.assessment-info.pop-quiz strong { color: #7c3aed; }
.assessment-info.post-test {
    background: rgba(var(--gold-rgb), 0.15);
    border-color: rgba(var(--gold-rgb), 0.3);
}
.assessment-info.post-test > i { color: var(--gold); }
.assessment-info.assignment {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.2);
}
.assessment-info.assignment > i,
.assessment-info.assignment strong { color: #16a34a; }

/* Lesson Form Actions */
.lesson-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

/* Empty Curriculum State */
.empty-curriculum {
    text-align: center;
    padding: 60px 20px;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    border: 2px dashed #e5e7eb;
}
.empty-curriculum i {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 20px;
}
.empty-curriculum h3 {
    color: var(--gray);
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.empty-curriculum p {
    color: #9ca3af;
    margin: 0;
}

/* ==================== QUIZ QUESTIONS BUILDER ==================== */
.quiz-questions-builder {
    margin-top: 20px;
    padding: 20px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    border: 1px solid #e5e7eb;
}
.quiz-questions-builder h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.quiz-questions-builder h4 i {
    color: var(--gold);
}
.questions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 15px;
}
.question-item {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    padding: 20px;
    position: relative;
}
.question-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}
.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f3f4f6;
}
.question-number {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}
.btn-remove-question {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}
.btn-remove-question:hover {
    background: #fef2f2;
}
.btn-add-question {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-fast);
}
.btn-add-question:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}
.options-container {
    margin-top: 15px;
}
.options-container > label {
    display: block;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 10px;
    font-size: 0.9rem;
}
.options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}
.option-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.option-item input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--success);
    cursor: pointer;
    flex-shrink: 0;
}
.option-item input[type="text"] {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast);
}
.option-item input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
}
.btn-remove-option {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 5px;
    transition: color var(--transition-fast);
}
.btn-remove-option:hover {
    color: #ef4444;
}
.btn-add-option {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: #f3f4f6;
    color: var(--dark-gray);
    border: 1px dashed #d1d5db;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}
.btn-add-option:hover {
    background: #e5e7eb;
    border-style: solid;
}
.true-false-container,
.short-answer-container {
    margin-top: 15px;
}
.true-false-container > label,
.short-answer-container > label {
    display: block;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 10px;
    font-size: 0.9rem;
}
.tf-options {
    display: flex;
    gap: 20px;
}
.tf-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.tf-option:hover {
    border-color: var(--primary-light);
}
.tf-option input[type="radio"] {
    accent-color: var(--success);
}
.tf-option span {
    font-weight: 500;
    color: var(--dark-gray);
}
.short-answer-container input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
}
.short-answer-container input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
}
.question-item .form-row {
    margin-top: 15px;
}
.question-item .form-group {
    margin-bottom: 12px;
}
.question-item .form-group label {
    display: block;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 5px;
    font-size: 0.85rem;
}
.question-item textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
}
.question-item textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.question-item select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    background: var(--white);
    cursor: pointer;
}
.question-item select:focus {
    outline: none;
    border-color: var(--primary);
}
.question-item input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
}
.question-item input[type="number"]:focus {
    outline: none;
    border-color: var(--primary);
}
.options-container .form-help {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    color: var(--success);
    font-size: 0.8rem;
}
.options-container .form-help i {
    font-size: 0.9rem;
}

/* ==================== CURRICULUM SUMMARY CARD ==================== */
.curriculum-summary-card {
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, var(--off-white) 0%, #f0f9ff 100%);
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary-light);
    text-align: center;
}
.curriculum-summary-card .summary-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}
.curriculum-summary-card .summary-header i {
    font-size: 2rem;
    color: var(--success);
}
.curriculum-summary-card .summary-header h3 {
    margin: 0;
    color: var(--primary);
    font-size: 1.5rem;
}
.curriculum-summary-card .summary-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.curriculum-summary-card .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.curriculum-summary-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.curriculum-summary-card .stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 5px;
}
.curriculum-summary-card .summary-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.curriculum-summary-card .summary-actions .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
}
.curriculum-summary-card .summary-actions .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}
.curriculum-summary-card .btn-lg {
    padding: 14px 30px;
    font-size: 1.1rem;
}
.curriculum-summary-card .summary-note {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.curriculum-summary-card .summary-note i {
    color: var(--info);
}
@media (max-width: 600px) {
    .curriculum-summary-card .summary-stats {
        flex-direction: column;
        gap: 20px;
    }
    .curriculum-summary-card .summary-actions {
        flex-direction: column;
    }
}

/* ==================== DASHBOARD LAYOUT ==================== */
.dashboard-section {
    padding: 120px 0 60px;
    background: var(--off-white);
    min-height: 100vh;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-xl);
}

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

/* Dashboard Sidebar */
.dashboard-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    height: fit-content;
    position: sticky;
    top: 120px;
    box-shadow: var(--shadow-md);
}

.user-profile-card {
    text-align: center;
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: var(--space-lg);
}

.user-profile-card .profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    border: 4px solid var(--gold);
    margin: 0 auto var(--space-md);
    object-fit: cover;
    display: block;
}

.user-profile-card h3 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
    color: var(--primary-dark);
}

.user-role {
    color: var(--gold);
    font-size: 0.875rem;
    font-weight: 600;
}

.dashboard-nav {
    display: flex;
    flex-direction: column;
}

.dashboard-nav a {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 0.875rem var(--space-md);
    color: var(--dark-gray);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    margin-bottom: var(--space-xs);
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.dashboard-nav a i {
    width: 20px;
    text-align: center;
}

.dashboard-nav a.logout {
    color: var(--error);
    margin-top: var(--space-md);
    border-top: 1px solid var(--light-gray);
    padding-top: var(--space-lg);
}

.dashboard-nav a.logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

.dashboard-nav .nav-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem var(--space-md) 0.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--light-gray);
}

/* Dashboard Main */
.dashboard-main {
    min-width: 0;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.dashboard-header h1 {
    font-size: 1.75rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.dashboard-header h1 i {
    color: var(--gold);
}

@media (max-width: 768px) {
    .dashboard-section {
        padding: 100px 0 40px;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==================== SEARCH OVERLAY ==================== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-content {
    width: 90%;
    max-width: 600px;
    position: relative;
}

.search-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.search-close:hover {
    color: var(--gold);
}

.search-form {
    display: flex;
    gap: var(--space-md);
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1.25rem;
    border: none;
    border-radius: var(--radius-md);
    background: white;
    color: var(--dark-gray);
}

.search-input:focus {
    outline: none;
}

.search-results {
    margin-top: var(--space-lg);
    max-height: 300px;
    overflow-y: auto;
}
/* ==================== MODERN PAGE STYLES ==================== */
/* Page Hero - Modern Style */
.page-hero-modern {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 60px;
}

.page-hero-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23C9A227" stroke-width="0.5" opacity="0.1"/></svg>') repeat;
    background-size: 200px;
}

.page-hero-modern .container {
    position: relative;
    z-index: 2;
}

.page-hero-modern h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.page-hero-modern h1 span {
    color: var(--gold);
}

.page-hero-modern p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
}

.page-hero-modern .breadcrumb {
    margin-bottom: var(--space-lg);
}

.page-hero-modern .breadcrumb a,
.page-hero-modern .breadcrumb span {
    color: rgba(255, 255, 255, 0.8);
}

.page-hero-modern .breadcrumb a:hover {
    color: var(--gold);
}

.page-hero-modern .breadcrumb i {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
}

/* Section Tag */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(var(--gold-rgb), 0.15);
    border: 1px solid rgba(var(--gold-rgb), 0.3);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.section-tag i {
    font-size: 0.9rem;
}

/* Modern Section Header */
.section-header-modern {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header-modern .section-tag {
    margin-bottom: var(--space-lg);
}

.section-header-modern h2 {
    margin-bottom: var(--space-sm);
}

.section-header-modern p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
}

.section-header-modern.light h2,
.section-header-modern.light p {
    color: var(--white);
}

.section-header-modern.light p {
    opacity: 0.9;
}

/* Animate on Scroll - Elements visible by default, hidden only after JS loads */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* JS will add this class to body to enable animations */
.js-loaded .animate-on-scroll:not(.animated) {
    opacity: 0;
    transform: translateY(30px);
}

.animate-on-scroll.animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Animation Delays */
.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Modern Cards */
.modern-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gold);
}

/* Feature Box */
.feature-box {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    text-align: center;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    opacity: 0.1;
    transition: all var(--transition-normal);
}

.feature-box:hover .feature-icon-bg {
    opacity: 0.2;
    transform: scale(1.1);
}

.feature-icon-wrap i {
    font-size: 2rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.feature-box h4 {
    margin-bottom: var(--space-sm);
    color: var(--primary-dark);
}

.feature-box p {
    color: var(--gray);
    margin: 0;
    font-size: 0.95rem;
}

/* Background Gradient Section */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
}

.bg-gradient-primary h2,
.bg-gradient-primary h3,
.bg-gradient-primary h4 {
    color: var(--white);
}

/* Button Glow Effect */
.btn-glow {
    box-shadow: 0 0 30px rgba(var(--gold-rgb), 0.4);
    transition: all var(--transition-normal);
}

.btn-glow:hover {
    box-shadow: 0 0 40px rgba(var(--gold-rgb), 0.6);
}

/* Glass Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
}

/* ==================== NEWSLETTER SECTION STYLES ==================== */
.footer-newsletter {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.15), rgba(212, 175, 55, 0.1));
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-2xl) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.newsletter-content {
    flex: 1;
    min-width: 280px;
}

.newsletter-title {
    color: var(--gold) !important;
    font-size: 1.4rem !important;
    margin-bottom: var(--space-sm) !important;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.newsletter-title i {
    color: var(--gold-light);
    font-size: 1.2rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: var(--space-sm);
    flex: 1;
    max-width: 500px;
    min-width: 300px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(var(--gold-rgb), 0.2);
}

.btn-newsletter {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--primary-dark) !important;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(var(--gold-rgb), 0.3);
}

.btn-newsletter:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(var(--gold-rgb), 0.5);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-newsletter i {
    transition: transform var(--transition-fast);
}

.btn-newsletter:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .footer-newsletter {
        flex-direction: column;
        text-align: center;
        padding: var(--space-lg);
    }
    
    .newsletter-title {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        width: 100%;
        max-width: none;
        min-width: auto;
    }
    
    .newsletter-form input[type="email"],
    .btn-newsletter {
        width: 100%;
        justify-content: center;
    }
}