/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Tajawal', sans-serif;
    background: #fff;
    color: #333;
    direction: rtl;
    line-height: 1.7;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(10px);
    padding: 12px 0; transition: all 0.3s;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.navbar.scrolled { background: rgba(255, 255, 255, 1); box-shadow: 0 2px 16px rgba(0,0,0,0.1); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.navbar-logo img { height: 45px; }
.navbar-menu { display: flex; gap: 24px; align-items: center; }
.navbar-menu a { color: #333; font-size: 14px; font-weight: 600; transition: color 0.3s; position: relative; }
.navbar-menu a:hover { color: #E53935; }
.navbar-menu a::after { content: ''; position: absolute; bottom: -4px; right: 0; width: 0; height: 2px; background: #E53935; transition: width 0.3s; }
.navbar-menu a:hover::after { width: 100%; }
.navbar-actions { display: flex; gap: 10px; align-items: center; }
.btn-login { color: #1A1A1A; font-size: 14px; padding: 8px 16px; border: 1px solid #1A1A1A; border-radius: 8px; transition: all 0.3s; }
.btn-login:hover { background: #1A1A1A; color: #fff; }
.btn-cta { background: #E53935; color: #fff; font-size: 14px; font-weight: 700; padding: 8px 20px; border-radius: 8px; transition: all 0.3s; }
.btn-cta:hover { background: #C62828; transform: translateY(-1px); }
.navbar-toggle { display: none; background: none; border: none; color: #1A1A1A; font-size: 24px; cursor: pointer; }

/* ===== HERO ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    background: url('../images/hero-bg.jpg') center center / cover no-repeat;
    background-color: #1A1A1A;
    padding: 120px 0 100px;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.6) 0%, rgba(17,17,17,0.5) 50%, rgba(0,0,0,0.7) 100%);
}
.hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 80px; background: #fff;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 2;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
    display: inline-block; background: rgba(229,57,53,0.15); color: #E53935;
    padding: 8px 20px; border-radius: 50px; font-size: 14px; font-weight: 600; margin-bottom: 20px;
    border: 1px solid rgba(229,57,53,0.3);
}
.hero-badge i { margin-left: 6px; }
.hero-title { font-family: 'Cairo', sans-serif; font-size: 48px; font-weight: 900; color: #fff; margin-bottom: 16px; line-height: 1.2; }
.hero-subtitle { font-size: 22px; color: #E53935; font-weight: 700; margin-bottom: 16px; }
.hero-desc { font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 30px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
    background: #E53935; color: #fff; padding: 14px 32px; border-radius: 12px;
    font-weight: 700; font-size: 16px; transition: all 0.3s; display: inline-block;
}
.btn-primary:hover { background: #C62828; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(229,57,53,0.3); }
.btn-secondary {
    border: 2px solid rgba(255,255,255,0.3); color: #fff; padding: 14px 32px; border-radius: 12px;
    font-weight: 600; font-size: 16px; transition: all 0.3s; display: inline-block;
}
.btn-secondary:hover { border-color: #E53935; color: #E53935; }
.hero-image { text-align: center; }
.hero-image img {
    width: 380px; height: 380px; object-fit: cover; border-radius: 50%;
    border: 4px solid rgba(229,57,53,0.3); box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ===== HERO GUIDE PILLS ===== */
.hero-guides-pills {
    display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px;
}
.hero-guide-pill {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.08); border: 1.5px solid rgba(229,57,53,0.4);
    padding: 10px 18px; border-radius: 12px;
    color: #fff; font-size: 14px; font-weight: 600;
    transition: all 0.3s; cursor: pointer; text-decoration: none;
}
.hero-guide-pill:hover {
    background: rgba(229,57,53,0.15); border-color: #E53935;
    transform: translateY(-2px);
}
.pill-title { white-space: nowrap; }
.pill-icon { color: rgba(255,255,255,0.7); font-size: 16px; }
.pill-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: #E53935; color: #fff;
    font-size: 13px; font-weight: 800; flex-shrink: 0;
}

/* ===== SECTIONS COMMON ===== */
.section-title {
    font-family: 'Cairo', sans-serif; font-size: 36px; font-weight: 800;
    color: #1A1A1A; text-align: center; margin-bottom: 12px;
}
.section-desc { text-align: center; color: #666; font-size: 16px; margin-bottom: 50px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* ===== VIDEO ===== */
.video-section { padding: 80px 0; background: #f8f9fa; }
.video-wrapper {
    max-width: 800px; margin: 0 auto; border-radius: 16px; overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1); aspect-ratio: 16/9;
}
.video-wrapper iframe { width: 100%; height: 100%; }

/* ===== GUIDES & COURSES ===== */
.guides-section { padding: 80px 0; }
.guide-block { margin-bottom: 60px; }
.guide-header {
    border-radius: 16px; padding: 30px; color: #fff; margin-bottom: 30px;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.guide-header-content { display: flex; align-items: center; gap: 20px; }
.guide-image { width: 80px; height: 80px; border-radius: 12px; object-fit: cover; border: 2px solid rgba(255,255,255,0.3); }
.guide-title { font-family: 'Cairo', sans-serif; font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.guide-desc { font-size: 14px; opacity: 0.9; margin-bottom: 6px; }
.guide-count { font-size: 13px; background: rgba(255,255,255,0.2); padding: 4px 12px; border-radius: 20px; display: inline-block; }
.guide-duration { font-size: 13px; background: rgba(255,255,255,0.2); padding: 4px 12px; border-radius: 20px; display: inline-block; margin-right: 8px; }
.guide-duration i { margin-left: 4px; }
.btn-guide {
    background: rgba(255,255,255,0.2); color: #fff; padding: 10px 24px; border-radius: 10px;
    font-weight: 600; transition: all 0.3s; border: 1px solid rgba(255,255,255,0.3);
}
.btn-guide:hover { background: rgba(255,255,255,0.3); }
.courses-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.course-card {
    background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #eee;
    transition: all 0.3s; text-align: center; padding-bottom: 16px;
    display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); border-color: #E53935; }
.course-thumb { height: 200px; overflow: hidden; }
.course-thumb img { width: 100%; height: 100%; object-fit: cover; }
.course-thumb-placeholder {
    width: 100%; height: 100%; background: linear-gradient(135deg, #1A1A1A, #333333);
    display: flex; align-items: center; justify-content: center;
}
.course-thumb-placeholder i { font-size: 40px; color: rgba(255,255,255,0.5); }
.course-name { font-family: 'Cairo', sans-serif; font-size: 14px; font-weight: 700; color: #1A1A2E; padding: 12px 12px 4px; }
.course-desc { font-size: 12px; color: #888; padding: 0 12px; line-height: 1.6; flex: 1; }
.course-meta { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 12px 0; flex-wrap: wrap; margin-top: auto; }
.course-meta-item { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: #1A1A1A; font-weight: 600; background: rgba(26,26,26,0.06); padding: 4px 10px; border-radius: 20px; }
.course-meta-item i { font-size: 10px; color: #E53935; }

/* ===== STATS ===== */
.stats-section {
    background: linear-gradient(135deg, #1A1A1A, #111111); padding: 60px 0;
    background-size: cover; background-position: center; position: relative;
}
.stats-section::before { content: ''; position: absolute; inset: 0; background: rgba(26,26,26,0.85); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; z-index: 1; }
.stat-item { text-align: center; color: #fff; }
.stat-number { font-family: 'Cairo', sans-serif; font-size: 48px; font-weight: 900; color: #E53935; display: block; }
.stat-label { font-size: 16px; opacity: 0.9; }

/* ===== WORKSHOPS ===== */
.workshops-section { padding: 60px 0; background: #f8f9fa; }
/* Default: 3 or more */
.workshops-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* 1 workshop */
.workshops-grid.workshops-count-1 { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
/* 2 workshops */
.workshops-grid.workshops-count-2 { grid-template-columns: repeat(2, 1fr); max-width: 750px; margin: 0 auto; }
.workshop-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    border: 1px solid #eee; transition: all 0.3s;
    display: flex; flex-direction: column;
}
.workshop-card:hover { transform: translateY(-6px); box-shadow: 0 12px 35px rgba(0,0,0,0.1); border-color: #E53935; }
.workshop-thumb { height: 200px; overflow: hidden; position: relative; }
.workshop-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.workshop-card:hover .workshop-thumb img { transform: scale(1.05); }
.workshop-thumb-placeholder {
    width: 100%; height: 100%; background: linear-gradient(135deg, #1A1A1A, #333333);
    display: flex; align-items: center; justify-content: center;
}
.workshop-thumb-placeholder i { font-size: 48px; color: rgba(255,255,255,0.4); }
.workshop-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.workshop-name {
    font-family: 'Cairo', sans-serif; font-size: 16px; font-weight: 700;
    color: #1A1A2E; margin-bottom: 8px; line-height: 1.5;
}
.workshop-desc {
    font-size: 13px; color: #777; line-height: 1.7; margin-bottom: 12px; flex: 1;
}
.workshop-meta {
    display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap;
}
.workshop-meta-item {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; color: #1A1A1A; font-weight: 600;
    background: rgba(26,26,26,0.06); padding: 5px 12px; border-radius: 20px;
}
.workshop-meta-item i { font-size: 11px; color: #E53935; }
.workshop-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 20px; background: linear-gradient(135deg, #E53935, #C62828);
    color: #fff; border-radius: 10px; font-size: 14px; font-weight: 700;
    font-family: 'Cairo', sans-serif; transition: all 0.3s; text-decoration: none;
    align-self: flex-start;
}
.workshop-btn:hover { background: linear-gradient(135deg, #C62828, #B71C1C); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(229,57,53,0.3); color: #fff; }
.workshop-btn i { font-size: 12px; }
.workshop-price {
    display: flex; align-items: center; gap: 6px;
    font-family: 'Cairo', sans-serif; font-size: 16px; font-weight: 800;
    color: #E53935; margin-bottom: 12px;
}
.workshop-price i { font-size: 13px; }

/* ===== BOOKS & DICTIONARIES ===== */
.books-section, .dictionaries-section { padding: 60px 0; }
.dictionaries-section { background: #f8f9fa; }
.books-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 900px; margin: 0 auto; }
.book-card { text-align: center; }
.book-thumb { height: 280px; border-radius: 12px; overflow: hidden; margin-bottom: 12px; border: 1px solid #eee; }
.book-thumb img { width: 100%; height: 100%; object-fit: cover; }
.book-thumb-placeholder {
    width: 100%; height: 100%; background: linear-gradient(135deg, #1A1A1A, #333333);
    display: flex; align-items: center; justify-content: center;
}
.book-thumb-placeholder i { font-size: 50px; color: rgba(255,255,255,0.5); }
.book-thumb-placeholder.dict { background: linear-gradient(135deg, #5c6bc0, #7986cb); }
.book-name { font-family: 'Cairo', sans-serif; font-size: 16px; font-weight: 700; color: #1A1A2E; }

/* ===== PRICING ===== */
.pricing-section { padding: 80px 0; background: #f8f9fa; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 50px; align-items: stretch; }
.plan-card {
    background: #fff; border-radius: 16px; padding: 30px; border: 2px solid #eee;
    text-align: center; position: relative; transition: all 0.3s;
    display: flex; flex-direction: column; height: 100%;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.plan-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    color: #fff; padding: 6px 20px; border-radius: 20px; font-size: 13px; font-weight: 700; white-space: nowrap;
}
.plan-price-box { margin-bottom: 20px; padding-top: 10px; }
.price-old { font-size: 18px; opacity: 0.5; margin-left: 8px; }
.price-current { font-size: 42px; font-family: 'Cairo', sans-serif; font-weight: 900; }
.plan-title { font-family: 'Cairo', sans-serif; font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.plan-subtitle { font-size: 14px; color: #888; margin-bottom: 20px; }
.plan-features { text-align: right; margin-bottom: 20px; flex-grow: 1; }
.plan-features li { padding: 6px 0; font-size: 14px; color: #555; display: flex; align-items: center; gap: 8px; }
.plan-features li i { font-size: 14px; }
.plan-bottom { margin-top: auto; }
.plan-price-egp { margin-bottom: 16px; }
.price-old-egp { font-size: 16px; color: #999; margin-left: 8px; }
.price-current-egp { font-size: 24px; font-family: 'Cairo', sans-serif; font-weight: 800; }
.guide-selector { margin-bottom: 16px; text-align: right; }
.guide-selector label { display: block; font-size: 13px; color: #666; margin-bottom: 6px; font-weight: 600; }
.guide-selector select {
    width: 100%; padding: 10px 12px; border: 2px solid #eee; border-radius: 8px;
    font-family: 'Tajawal', sans-serif; font-size: 14px; background: #f8f9fa;
    direction: rtl; cursor: pointer; transition: border-color 0.3s;
}
.guide-selector select:focus { border-color: #1A1A1A; outline: none; }
.btn-subscribe {
    display: block; width: 100%; color: #fff; padding: 14px; border-radius: 10px;
    font-weight: 700; font-size: 16px; transition: all 0.3s; text-align: center;
    border: none; cursor: pointer;
}
.btn-subscribe:hover { opacity: 0.9; transform: translateY(-2px); }

/* Egypt Payment */
.egypt-payment {
    background: #fff; border-radius: 16px; padding: 40px; max-width: 700px; margin: 0 auto;
    text-align: center; border: 1px solid #eee;
}
.egypt-payment h3 { font-family: 'Cairo', sans-serif; font-size: 22px; font-weight: 800; color: #1A1A2E; margin-bottom: 24px; }
.payment-methods-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 24px; }
.payment-method-card {
    display: flex; align-items: center; gap: 12px; padding: 16px; background: #f8f9fa;
    border-radius: 12px; border: 1px solid #eee;
}
.payment-method-card img { width: 50px; height: 50px; object-fit: contain; border-radius: 8px; }
.pm-title { font-weight: 700; color: #1A1A2E; }
.pm-subtitle { font-size: 13px; color: #888; }
.payment-note { color: #555; margin-bottom: 16px; font-weight: 600; }
.btn-whatsapp {
    display: inline-block; background: #E53935; color: #fff; padding: 12px 30px;
    border-radius: 10px; font-weight: 700; font-size: 16px; transition: all 0.3s;
}
.btn-whatsapp:hover { background: #C62828; transform: translateY(-2px); }
.btn-whatsapp i { margin-left: 8px; }

/* ===== FOOTER ===== */
.footer { background: #1A1A1A; color: #fff; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { height: 50px; filter: brightness(2); margin-bottom: 16px; }
.footer-text { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.8; }
.footer-links h4, .footer-social h4 { font-family: 'Cairo', sans-serif; color: #E53935; font-size: 18px; margin-bottom: 16px; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 14px; transition: color 0.3s; }
.footer-links a:hover { color: #E53935; }
.social-icons { display: flex; gap: 10px; }
.social-icons a {
    width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center; transition: all 0.3s;
    color: #fff; font-size: 16px;
}
.social-icons a:hover { background: rgba(255,255,255,0.2); color: #E53935; }
/* ===== COUNTDOWN TIMER ===== */
.countdown-wrapper { margin-bottom: 40px; text-align: center; }
.countdown-container {
    display: inline-block;
    background: linear-gradient(135deg, #1A1A1A 0%, #111111 100%);
    padding: 24px 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(26,26,26,0.2);
    position: relative;
    overflow: hidden;
}
.countdown-container::before {
    content: ''; position: absolute; top: -50%; right: -30%;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(229,57,53,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.countdown-title {
    font-family: 'Cairo', sans-serif;
    font-size: 18px; font-weight: 700;
    color: #E53935; margin-bottom: 16px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.countdown-boxes {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    position: relative; z-index: 1;
}
.countdown-box {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 12px 18px;
    min-width: 70px;
    text-align: center;
}
.countdown-number {
    display: block;
    font-family: 'Cairo', sans-serif;
    font-size: 32px; font-weight: 900;
    color: #fff;
    line-height: 1;
}
.countdown-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}
.countdown-separator {
    font-size: 28px; font-weight: 900;
    color: #E53935;
    padding-bottom: 16px;
}

@media (max-width: 480px) {
    .countdown-container { padding: 18px 16px; }
    .countdown-box { min-width: 55px; padding: 10px 10px; }
    .countdown-number { font-size: 24px; }
    .countdown-title { font-size: 15px; }
    .countdown-separator { font-size: 22px; }
}

/* App Store Buttons */
.app-download-links h4 { font-family: 'Cairo', sans-serif; color: #E53935; font-size: 16px; margin-bottom: 12px; }
.app-store-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.app-store-btn {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
    padding: 10px 16px; border-radius: 10px;
    color: #fff; transition: all 0.3s; text-decoration: none;
}
.app-store-btn:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }
.app-store-btn i { font-size: 24px; color: #fff; }
.app-store-btn div { display: flex; flex-direction: column; line-height: 1.3; }
.app-store-btn small { font-size: 10px; color: rgba(255,255,255,0.6); }
.app-store-btn span { font-size: 14px; font-weight: 700; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 14px; color: rgba(255,255,255,0.5); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-image { order: -1; }
    .hero-image img { width: 280px; height: 280px; }
    .courses-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .plan-card { min-height: auto; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .navbar-menu { display: none; flex-direction: column; position: absolute; top: 100%; right: 0; left: 0; background: #f5f5f5; padding: 20px; gap: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
    .navbar-menu.active { display: flex; }
    .navbar-toggle { display: block; }
    .navbar-actions { display: none; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 18px; }
    .hero-guides-pills { gap: 8px; }
    .hero-guide-pill { padding: 8px 12px; font-size: 12px; }
    .pill-number { width: 24px; height: 24px; font-size: 11px; }
    .section-title { font-size: 28px; }
    .courses-grid { grid-template-columns: repeat(2, 1fr); }
    .course-thumb { height: 280px; }
    .workshops-grid, .workshops-grid.workshops-count-2, .workshops-grid.workshops-count-3plus { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
    .workshops-grid.workshops-count-1 { grid-template-columns: 1fr; max-width: 420px; }
    .books-grid { grid-template-columns: repeat(2, 1fr); }
    .guide-header { flex-direction: column; text-align: center; }
    .guide-header-content { flex-direction: column; }
    .payment-methods-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .courses-grid { grid-template-columns: 1fr; }
    .course-thumb { height: 280px; }
    .workshops-grid, .workshops-grid.workshops-count-2, .workshops-grid.workshops-count-3plus { grid-template-columns: 1fr; max-width: 100%; }
    .workshops-grid.workshops-count-1 { max-width: 100%; }
    .books-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-number { font-size: 36px; }
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 70px 0;
    background: #f8f9fa;
}
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid rgba(26,26,26,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item:hover {
    box-shadow: 0 4px 20px rgba(26,26,26,0.1);
    border-color: rgba(26,26,26,0.15);
}
.faq-item.active {
    border-color: #E53935;
    box-shadow: 0 4px 20px rgba(229,57,53,0.12);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
    text-align: right;
    gap: 16px;
    transition: all 0.3s ease;
}
.faq-question:hover {
    background: rgba(26,26,26,0.02);
}
.faq-question span {
    flex: 1;
    line-height: 1.6;
}
.faq-icon {
    font-size: 14px;
    color: #E53935;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 24px;
}
.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px;
}
.faq-answer p {
    color: #555;
    font-size: 15px;
    line-height: 1.9;
    border-top: 1px solid rgba(26,26,26,0.08);
    padding-top: 16px;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 16px 18px;
        font-size: 15px;
    }
    .faq-answer {
        padding: 0 18px;
    }
    .faq-item.active .faq-answer {
        padding: 0 18px 16px;
    }
}
