/* =========================================
   AL-FAJAR QURAN ACADEMY
   Theme: Emerald Green + Royal Gold + Cream
   ========================================= */

:root {
    --primary: #0d4f3c;
    --primary-dark: #0a3a2c;
    --primary-light: #1a7a5e;
    --gold: #c9a961;
    --gold-dark: #b8954d;
    --gold-light: #e6d093;
    --cream: #f9f6ee;
    --cream-dark: #f0ead8;
    --dark: #1a2330;
    --text: #2c3e50;
    --text-light: #6c7a89;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(13, 79, 60, 0.12);
    --shadow-lg: 0 20px 60px rgba(13, 79, 60, 0.18);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--cream);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== PROMO BAR (International Online) ===== */
.promo-bar {
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
    background-size: 200% 100%;
    animation: shimmer 6s linear infinite;
    color: var(--primary-dark);
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    overflow: hidden;
}
@keyframes shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
.promo-bar .container {
    display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap;
}
.promo-bar a {
    background: var(--primary-dark);
    color: var(--gold-light);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.promo-bar a:hover { background: #fff; color: var(--primary-dark); transform: translateY(-2px); }

/* International badge below hero h2 */
.intl-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.08);
    border: 1px dashed rgba(201,169,97,0.5);
    color: var(--gold-light);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
}
.intl-tag .flags { font-size: 16px; letter-spacing: -2px; }

/* ===== HUGE ENROLL CTA SECTION ===== */
.enroll-cta {
    background:
        linear-gradient(135deg, rgba(13,79,60,0.95), rgba(10,58,44,0.97)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="100" cy="100" r="80" fill="none" stroke="rgba(201,169,97,0.12)" stroke-width="1"/><circle cx="100" cy="100" r="50" fill="none" stroke="rgba(201,169,97,0.12)" stroke-width="1"/><circle cx="100" cy="100" r="20" fill="none" stroke="rgba(201,169,97,0.12)" stroke-width="1"/></svg>');
    background-size: cover, 280px;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.enroll-cta::before {
    content: '🌍'; position: absolute;
    font-size: 240px; top: -40px; left: -40px;
    opacity: 0.05;
}
.enroll-cta::after {
    content: '☪'; position: absolute;
    font-size: 240px; bottom: -60px; right: -40px;
    opacity: 0.05;
    color: var(--gold);
}
.enroll-cta .small {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 14px;
    display: inline-block;
}
.enroll-cta h2 {
    color: var(--white);
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 18px;
    max-width: 800px;
    margin-left: auto; margin-right: auto;
}
.enroll-cta h2 span { color: var(--gold); }
.enroll-cta p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto 35px;
}
.enroll-cta .big-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 22px 50px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--primary-dark);
    border-radius: 60px;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 15px 40px rgba(201,169,97,0.5);
    position: relative;
    overflow: hidden;
    transition: all .4s;
    animation: pulse 2.5s ease-in-out infinite;
}
.enroll-cta .big-btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 25px 60px rgba(201,169,97,0.7);
    animation-play-state: paused;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 15px 40px rgba(201,169,97,0.5); }
    50% { box-shadow: 0 15px 40px rgba(201,169,97,0.5), 0 0 0 20px rgba(201,169,97,0); }
}
.enroll-cta .countries {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    letter-spacing: 1px;
}
.enroll-cta .countries span { display: flex; align-items: center; gap: 6px; }

/* ===== FLOATING ENROLL BUTTON ===== */
.float-enroll {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}
.float-enroll a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: all .3s;
    color: #fff;
    font-size: 14px;
}
.float-enroll a:hover { transform: translateY(-3px) scale(1.05); }
.float-enroll .enroll-fab {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    animation: bounce 2.5s ease-in-out infinite;
}
.float-enroll .whatsapp-fab { background: #25d366; }
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.float-enroll a i { font-size: 18px; }

/* ===== ONLINE FEATURES STRIP ===== */
.online-strip {
    background: var(--cream-dark);
    padding: 30px 0;
    border-top: 2px solid rgba(201,169,97,0.3);
    border-bottom: 2px solid rgba(201,169,97,0.3);
}
.online-strip .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}
.online-strip .item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 14px;
}
.online-strip .item i {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ===== TOP BAR ===== */
.topbar {
    background: var(--primary-dark);
    color: var(--cream);
    padding: 10px 0;
    font-size: 13px;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.topbar .info { display: flex; gap: 25px; flex-wrap: wrap; }
.topbar .info span { display: flex; align-items: center; gap: 8px; }
.topbar .info i { color: var(--gold); }
.topbar .socials a {
    width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255,255,255,0.1);
    margin-left: 6px; transition: var(--transition);
    color: var(--gold);
}
.topbar .socials a:hover { background: var(--gold); color: var(--primary-dark); transform: translateY(-3px); }

/* ===== HEADER / NAV ===== */
.header {
    background: var(--white);
    padding: 18px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header.scrolled { padding: 12px 0; box-shadow: var(--shadow); }
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}
.logo img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(13,79,60,0.2));
}
.logo .brand h1 {
    font-size: 22px;
    color: var(--primary);
    margin: 0;
    line-height: 1;
}
.logo .brand span {
    font-size: 11px;
    color: var(--gold-dark);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: 8px;
    list-style: none;
    align-items: center;
}
.nav-menu a {
    padding: 10px 18px;
    color: var(--text);
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
    background: var(--cream-dark);
}
.nav-menu .btn-enroll {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white) !important;
    padding: 11px 24px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(201,169,97,0.4);
}
.nav-menu .btn-enroll:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,169,97,0.55); background: linear-gradient(135deg, var(--gold-dark), var(--gold)); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary);
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    background:
        linear-gradient(135deg, rgba(13,79,60,0.92), rgba(10,58,44,0.95)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="p" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10 0L20 10L10 20L0 10Z" fill="none" stroke="rgba(201,169,97,0.15)" stroke-width="0.4"/></pattern></defs><rect width="100" height="100" fill="url(%23p)"/></svg>');
    background-size: cover, 60px;
    color: var(--white);
    padding: 100px 0 120px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(201,169,97,0.2), transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -200px; left: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(201,169,97,0.15), transparent 70%);
    border-radius: 50%;
}
.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-text .arabic {
    font-family: 'Amiri', 'Traditional Arabic', serif;
    font-size: 32px;
    color: var(--gold-light);
    margin-bottom: 18px;
    direction: rtl;
}
.hero-text .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(201,169,97,0.15);
    border: 1px solid rgba(201,169,97,0.4);
    color: var(--gold-light);
    border-radius: 30px;
    font-size: 13px;
    margin-bottom: 22px;
    font-weight: 500;
    letter-spacing: 1px;
}
.hero-text h2 {
    color: var(--white);
    font-size: 56px;
    margin-bottom: 22px;
    line-height: 1.15;
}
.hero-text h2 span {
    color: var(--gold);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-text p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 35px;
    max-width: 540px;
}
.hero-buttons { display: flex; gap: 18px; flex-wrap: wrap; }
.btn-primary, .btn-secondary {
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    font-size: 15px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    box-shadow: 0 10px 30px rgba(201,169,97,0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(201,169,97,0.55); }
.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: var(--white); color: var(--primary); border-color: var(--white); }

.hero-image {
    position: relative;
    text-align: center;
}
.hero-image .frame {
    position: relative;
    display: inline-block;
    padding: 30px;
}
.hero-image .frame::before, .hero-image .frame::after {
    content: '';
    position: absolute;
    width: 80px; height: 80px;
    border: 3px solid var(--gold);
}
.hero-image .frame::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.hero-image .frame::after { bottom: 0; right: 0; border-left: none; border-top: none; }
.hero-image img {
    max-width: 380px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.3));
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ===== STATS BAR ===== */
.stats {
    background: var(--white);
    margin-top: -60px;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 5;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.stat-item {
    text-align: center;
    padding: 15px;
    border-right: 1px solid #eee;
}
.stat-item:last-child { border-right: none; }
.stat-item i {
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 10px;
}
.stat-item .num {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}
.stat-item p {
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

/* ===== SECTION ===== */
section { padding: 90px 0; }

.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}
.section-head .small {
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 15px;
    position: relative;
    padding: 0 50px;
}
.section-head .small::before, .section-head .small::after {
    content: '';
    position: absolute;
    top: 50%; width: 40px; height: 2px;
    background: var(--gold);
}
.section-head .small::before { left: 0; }
.section-head .small::after { right: 0; }
.section-head h2 {
    font-size: 42px;
    margin-bottom: 18px;
}
.section-head p {
    color: var(--text-light);
    font-size: 16px;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: center;
}
.about-img {
    position: relative;
}
.about-img .main-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.about-img .main-img img { max-width: 100%; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2)); }
.about-img .badge-circle {
    position: absolute;
    bottom: -25px; right: -25px;
    width: 140px; height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(201,169,97,0.5);
}
.about-img .badge-circle .num { font-size: 32px; font-weight: 800; }
.about-img .badge-circle .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }

.about-content h2 { font-size: 38px; margin-bottom: 20px; }
.about-content > p { color: var(--text-light); margin-bottom: 25px; font-size: 16px; }
.feature-list { list-style: none; margin-bottom: 30px; }
.feature-list li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px dashed #e0d8c0;
}
.feature-list li i {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===== COURSES ===== */
.courses-section { background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); }

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.course-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(201,169,97,0.15);
    position: relative;
}
.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}
.course-card .icon-wrap {
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.course-card .icon-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(201,169,97,0.3), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1), transparent 50%);
}
.course-card .icon-wrap i {
    font-size: 70px;
    color: var(--gold);
    z-index: 2;
    transition: var(--transition);
}
.course-card:hover .icon-wrap i { transform: scale(1.15) rotate(-5deg); }
.course-card .featured-tag {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--gold);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
}
.course-card .body { padding: 28px 25px; }
.course-card .meta {
    display: flex;
    gap: 16px;
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 12px;
}
.course-card .meta span { display: flex; align-items: center; gap: 5px; }
.course-card .meta i { color: var(--gold); }
.course-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    transition: var(--transition);
}
.course-card:hover h3 { color: var(--gold-dark); }
.course-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    min-height: 48px;
}
.course-card .footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    border-top: 1px dashed #e0d8c0;
}
.course-card .fee {
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 18px;
}
.course-card .more {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.course-card .more:hover { gap: 12px; color: var(--gold-dark); }

/* ===== FEATURES / WHY US ===== */
.why-us {
    background:
        linear-gradient(135deg, rgba(13,79,60,0.96), rgba(10,58,44,0.96)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="100" cy="100" r="80" fill="none" stroke="rgba(201,169,97,0.1)" stroke-width="1"/><circle cx="100" cy="100" r="50" fill="none" stroke="rgba(201,169,97,0.1)" stroke-width="1"/></svg>');
    background-size: cover, 200px;
    color: var(--white);
}
.why-us .section-head h2 { color: var(--white); }
.why-us .section-head p { color: rgba(255,255,255,0.8); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.feature-box {
    text-align: center;
    padding: 40px 25px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(201,169,97,0.2);
    transition: var(--transition);
}
.feature-box:hover {
    transform: translateY(-8px);
    background: rgba(201,169,97,0.1);
    border-color: var(--gold);
}
.feature-box .ico {
    width: 80px; height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(201,169,97,0.5);
}
.feature-box h3 { color: var(--white); font-size: 20px; margin-bottom: 12px; }
.feature-box p { color: rgba(255,255,255,0.75); font-size: 14px; }

/* ===== TEACHERS ===== */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.teacher-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}
.teacher-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.teacher-card .photo {
    height: 220px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 80px;
}
.teacher-card .info { padding: 25px; }
.teacher-card h3 { font-size: 20px; margin-bottom: 6px; }
.teacher-card .role { color: var(--gold-dark); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.teacher-card p { color: var(--text-light); font-size: 14px; }

/* ===== CTA ===== */
.cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 5 L60 40 L95 40 L65 60 L75 95 L50 75 L25 95 L35 60 L5 40 L40 40 Z" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    background-size: 100px;
}
.cta .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 2;
}
.cta h2 { color: var(--white); font-size: 36px; margin-bottom: 8px; }
.cta p { color: rgba(255,255,255,0.9); font-size: 16px; }
.cta .btn-primary { background: var(--white); color: var(--primary); }
.cta .btn-primary:hover { background: var(--primary-dark); color: var(--white); }

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 70px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}
.footer-col h4 {
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(201,169,97,0.3);
    display: inline-block;
}
.footer-col p { font-size: 14px; line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    font-size: 14px;
}
.footer-col ul a:hover { color: var(--gold); padding-left: 6px; }
.footer-col .contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
}
.footer-col .contact-item i { color: var(--gold); margin-top: 4px; }

.footer .logo { margin-bottom: 18px; }
.footer .logo .brand h1 { color: var(--white); }

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

/* ===== PAGE BANNER ===== */
.page-banner {
    background:
        linear-gradient(135deg, rgba(13,79,60,0.92), rgba(10,58,44,0.95)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="p" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10 0L20 10L10 20L0 10Z" fill="none" stroke="rgba(201,169,97,0.15)" stroke-width="0.4"/></pattern></defs><rect width="100" height="100" fill="url(%23p)"/></svg>');
    background-size: cover, 60px;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}
.page-banner h1 { color: var(--white); font-size: 46px; margin-bottom: 12px; }
.page-banner .breadcrumb {
    display: flex; gap: 12px; justify-content: center;
    color: rgba(255,255,255,0.7); font-size: 14px;
}
.page-banner .breadcrumb a { color: var(--gold); }

/* ===== COURSE DETAIL ===== */
.course-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}
.course-detail .icon-block {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 30px;
}
.course-detail .icon-block i { font-size: 100px; color: var(--gold); }
.course-detail h2 { font-size: 36px; margin-bottom: 20px; }
.course-detail p { color: var(--text); margin-bottom: 18px; line-height: 1.9; }

.course-sidebar {
    background: var(--white);
    border-radius: 18px;
    padding: 30px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
    height: fit-content;
}
.course-sidebar h3 { font-size: 22px; margin-bottom: 20px; color: var(--primary); padding-bottom: 12px; border-bottom: 2px solid var(--gold); }
.course-sidebar .info-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px dashed #e0d8c0;
}
.course-sidebar .info-row:last-child { border: none; }
.course-sidebar .info-row .lbl { color: var(--text-light); display: flex; align-items: center; gap: 8px; }
.course-sidebar .info-row .lbl i { color: var(--gold); }
.course-sidebar .info-row .val { font-weight: 600; color: var(--primary); }
.course-sidebar .btn-primary { width: 100%; margin-top: 20px; justify-content: center; }

/* ===== FORMS ===== */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.contact-info {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 40px;
    border-radius: 20px;
    color: var(--white);
}
.contact-info h3 { color: var(--white); font-size: 26px; margin-bottom: 25px; }
.contact-info .item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: start;
}
.contact-info .item .ico {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--primary-dark);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}
.contact-info .item h4 { color: var(--gold-light); margin-bottom: 4px; font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; }
.contact-info .item p { color: rgba(255,255,255,0.85); margin: 0; }

.form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.form-card h3 { font-size: 26px; margin-bottom: 8px; color: var(--primary); }
.form-card .sub { color: var(--text-light); margin-bottom: 25px; font-size: 14px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
    font-size: 14px;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #e0d8c0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: var(--cream);
    transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(201,169,97,0.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-card .btn-primary { width: 100%; justify-content: center; margin-top: 8px; }

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: #e6f5ee; color: #0d4f3c; border-left: 4px solid #1a7a5e; }
.alert-danger { background: #fdecea; color: #8b1f17; border-left: 4px solid #c0392b; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero .container, .about-grid, .form-grid, .course-detail-grid { grid-template-columns: 1fr; }
    .hero-text h2 { font-size: 42px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .course-sidebar { position: static; }
}
@media (max-width: 768px) {
    .topbar .info { display: none; }
    .nav-menu {
        position: fixed;
        top: 90px;
        left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 5px;
        box-shadow: var(--shadow);
        transform: translateX(-100%);
        transition: var(--transition);
        align-items: stretch;
    }
    .nav-menu.open { transform: translateX(0); }
    .menu-toggle { display: block; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { border-right: none !important; border-bottom: 1px solid #eee; padding-bottom: 20px; }
    .hero-text h2 { font-size: 34px; }
    .hero-text .arabic { font-size: 24px; }
    .section-head h2 { font-size: 30px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta .container { flex-direction: column; text-align: center; }
    .enroll-cta h2 { font-size: 30px; }
    .enroll-cta .big-btn { font-size: 16px; padding: 16px 30px; letter-spacing: 1px; }
    .promo-bar { font-size: 12px; padding: 8px 0; }
    .promo-bar .container { gap: 10px; }
    .float-enroll { bottom: 15px; right: 15px; }
    .float-enroll a { padding: 12px 16px; font-size: 13px; }
}

/* ===========================================
   BLOG PAGES — Beautiful Editorial Layout
   =========================================== */

.blog-hero {
    background:
        linear-gradient(135deg, rgba(13,79,60,0.94), rgba(10,58,44,0.96)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="100" cy="100" r="80" fill="none" stroke="rgba(201,169,97,0.12)" stroke-width="1"/><circle cx="100" cy="100" r="50" fill="none" stroke="rgba(201,169,97,0.12)" stroke-width="1"/><circle cx="100" cy="100" r="20" fill="none" stroke="rgba(201,169,97,0.12)" stroke-width="1"/></svg>');
    background-size: cover, 280px;
    color: #fff;
    padding: 90px 0 80px;
    text-align: center;
    position: relative;
}
.blog-hero::before {
    content: '✦'; position: absolute;
    font-size: 280px; top: -30px; left: -50px;
    opacity: 0.04; color: var(--gold);
}
.blog-hero .small {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 14px;
    display: inline-block;
}
.blog-hero h1 {
    color: #fff;
    font-size: 56px;
    margin-bottom: 18px;
    line-height: 1.15;
}
.blog-hero h1 span { color: var(--gold); }
.blog-hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    max-width: 620px;
    margin: 0 auto 30px;
}
.blog-search {
    max-width: 540px;
    margin: 0 auto;
    position: relative;
}
.blog-search input {
    width: 100%;
    padding: 16px 60px 16px 24px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    font-family: inherit;
}
.blog-search input:focus { outline: 3px solid var(--gold); }
.blog-search button {
    position: absolute;
    right: 6px; top: 6px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}
.blog-search button:hover { transform: scale(1.1); }

/* ===== BLOG LAYOUT ===== */
.blog-wrap {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    padding: 80px 0;
}

/* ===== FEATURED POST (large hero card) ===== */
.featured-post {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    transition: var(--transition);
}
.featured-post:hover { transform: translateY(-6px); }
.featured-post .visual {
    min-height: 380px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.featured-post .visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(201,169,97,0.3), transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255,255,255,0.1), transparent 50%);
}
.featured-post .visual i {
    font-size: 130px;
    color: var(--gold);
    z-index: 2;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}
.featured-post .visual img { width: 100%; height: 100%; object-fit: cover; }
.featured-post .visual .featured-tag {
    position: absolute;
    top: 25px; left: 25px;
    background: var(--gold);
    color: #fff;
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    z-index: 3;
    box-shadow: 0 6px 18px rgba(201,169,97,0.5);
}
.featured-post .body { padding: 50px 45px; display: flex; flex-direction: column; justify-content: center; }
.featured-post .meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
    color: var(--text-light);
    font-size: 13px;
}
.featured-post .meta-row .cat-pill {
    background: var(--cream-dark);
    color: var(--primary);
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1.5px;
}
.featured-post h2 {
    font-size: 34px;
    line-height: 1.25;
    margin-bottom: 16px;
}
.featured-post h2 a { transition: var(--transition); }
.featured-post h2 a:hover { color: var(--gold-dark); }
.featured-post p { color: var(--text-light); font-size: 16px; margin-bottom: 22px; }
.featured-post .read-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
    width: fit-content;
}
.featured-post .read-link:hover { color: var(--gold-dark); gap: 16px; }

/* ===== BLOG GRID ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 30px;
}
.blog-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.blog-card .visual {
    height: 200px;
    position: relative;
    overflow: hidden;
}
.blog-card .visual .ic-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.blog-card .visual .ic-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(201,169,97,0.25), transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255,255,255,0.08), transparent 50%);
}
.blog-card .visual i { font-size: 65px; color: var(--gold); z-index: 2; transition: var(--transition); }
.blog-card:hover .visual i { transform: scale(1.2) rotate(-8deg); }
.blog-card .visual img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .visual img { transform: scale(1.08); }
.blog-card .cat-pill {
    position: absolute;
    top: 16px; left: 16px;
    background: rgba(255,255,255,0.95);
    color: var(--primary);
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1.5px;
    backdrop-filter: blur(10px);
    z-index: 3;
}
.blog-card .body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.blog-card .meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 12px;
    color: var(--text-light);
    font-size: 12px;
}
.blog-card .meta-row span { display: flex; align-items: center; gap: 5px; }
.blog-card .meta-row i { color: var(--gold); }
.blog-card h3 {
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 12px;
    transition: var(--transition);
}
.blog-card:hover h3 { color: var(--gold-dark); }
.blog-card p { color: var(--text-light); font-size: 14px; margin-bottom: 18px; flex: 1; }
.blog-card .author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px dashed #e0d8c0;
    font-size: 13px;
}
.blog-card .author-row .author {
    display: flex; align-items: center; gap: 8px;
    color: var(--text-light);
}
.blog-card .author-row .avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
}
.blog-card .read-more {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}
.blog-card .read-more:hover { color: var(--gold-dark); gap: 10px; }

/* ===== SIDEBAR ===== */
.blog-sidebar { display: flex; flex-direction: column; gap: 25px; }
.widget {
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    box-shadow: var(--shadow);
}
.widget h3 {
    font-size: 18px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
}
.widget h3 i { color: var(--gold); }

.cat-list { list-style: none; }
.cat-list li {
    border-bottom: 1px dashed #e0d8c0;
}
.cat-list li:last-child { border: none; }
.cat-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    transition: var(--transition);
    font-size: 14px;
}
.cat-list a:hover { color: var(--gold-dark); padding-left: 8px; }
.cat-list .cat-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 13px;
}
.cat-list .count {
    background: var(--cream-dark);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.recent-list { display: flex; flex-direction: column; gap: 14px; }
.recent-item {
    display: flex; gap: 12px; align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #e0d8c0;
}
.recent-item:last-child { border: none; padding-bottom: 0; }
.recent-item .ico {
    width: 56px; height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.recent-item h4 {
    font-size: 14px;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 4px;
    transition: var(--transition);
}
.recent-item:hover h4 { color: var(--gold-dark); }
.recent-item small { color: var(--text-light); font-size: 12px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
    padding: 6px 14px;
    background: var(--cream-dark);
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: var(--transition);
}
.tag-cloud a:hover { background: var(--gold); color: #fff; }

/* ===== BLOG DETAIL ===== */
.post-header {
    background:
        linear-gradient(135deg, rgba(13,79,60,0.94), rgba(10,58,44,0.96));
    color: #fff;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.post-header::before {
    content: '✦'; position: absolute;
    font-size: 280px; top: -30px; right: -50px;
    opacity: 0.04; color: var(--gold);
}
.post-header .crumb {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 12px;
}
.post-header .crumb a { color: var(--gold); }
.post-header .cat-pill {
    background: var(--gold);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 18px;
}
.post-header h1 {
    color: #fff;
    font-size: 46px;
    line-height: 1.2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 22px;
}
.post-header .post-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}
.post-header .post-meta span { display: flex; align-items: center; gap: 8px; }
.post-header .post-meta i { color: var(--gold); }
.post-header .author-card {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.post-header .author-card .avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 16px;
}
.post-header .author-card strong { color: var(--gold-light); display: block; font-size: 14px; }
.post-header .author-card small { color: rgba(255,255,255,0.6); font-size: 12px; }

.post-visual {
    margin-top: -40px;
    position: relative;
    z-index: 3;
}
.post-visual .vbox {
    height: 380px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    overflow: hidden;
    position: relative;
}
.post-visual .vbox::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(201,169,97,0.3), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1), transparent 50%);
}
.post-visual .vbox i { font-size: 130px; color: var(--gold); z-index: 2; filter: drop-shadow(0 15px 35px rgba(0,0,0,0.3)); }
.post-visual .vbox img { width: 100%; height: 100%; object-fit: cover; }

.post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px 80px;
    font-size: 17px;
    line-height: 1.9;
    color: var(--text);
}
.post-content p { margin-bottom: 22px; }
.post-content h2, .post-content h3, .post-content h4 {
    margin: 35px 0 16px;
    color: var(--primary-dark);
}
.post-content h2 { font-size: 30px; }
.post-content h3 {
    font-size: 23px;
    padding-left: 18px;
    border-left: 4px solid var(--gold);
}
.post-content h4 { font-size: 19px; }
.post-content blockquote {
    background: var(--cream);
    border-left: 5px solid var(--gold);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 14px 14px 0;
    font-style: italic;
    color: var(--primary-dark);
    position: relative;
}
.post-content blockquote::before {
    content: '"';
    position: absolute;
    top: -10px; left: 15px;
    font-size: 80px;
    color: var(--gold);
    font-family: Georgia, serif;
    opacity: 0.4;
}
.post-content ul, .post-content ol { margin: 20px 0 20px 30px; }
.post-content li { margin-bottom: 10px; }
.post-content a { color: var(--gold-dark); border-bottom: 1px dashed; }
.post-content strong { color: var(--primary-dark); }
.post-content img { border-radius: 14px; margin: 25px 0; box-shadow: var(--shadow); }

.post-tags {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #e6e0cf;
    padding-top: 30px;
}
.post-tags strong { color: var(--primary-dark); margin-right: 8px; }
.post-tags a {
    padding: 6px 14px;
    background: var(--cream-dark);
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: var(--transition);
}
.post-tags a:hover { background: var(--gold); color: #fff; }

.post-share {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 50px;
    text-align: center;
}
.post-share strong { display: block; margin-bottom: 15px; color: var(--primary-dark); }
.post-share .icons { display: flex; justify-content: center; gap: 12px; }
.post-share .icons a {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--cream-dark);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.post-share .icons a:hover { background: var(--gold); color: #fff; transform: translateY(-3px); }

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
    grid-column: 1 / -1;
}
.empty-state i { font-size: 60px; color: var(--gold); margin-bottom: 20px; opacity: 0.5; }
.empty-state h3 { color: var(--primary); font-size: 22px; margin-bottom: 8px; }

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    padding: 10px 16px;
    background: #fff;
    border: 1.5px solid var(--border, #e6e9ee);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    color: var(--text);
}
.pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Blog responsive */
@media (max-width: 992px) {
    .blog-wrap { grid-template-columns: 1fr; }
    .featured-post { grid-template-columns: 1fr; }
    .featured-post .visual { min-height: 250px; }
    .featured-post .body { padding: 35px 30px; }
    .featured-post h2 { font-size: 26px; }
    .blog-hero h1 { font-size: 38px; }
    .post-header h1 { font-size: 32px; }
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}
.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}
