:root {
    --primary: #2225d0;
    --primary-dark: #180065;
    --primary-light: #6117ea;
    --accent: #fb3c3f;
    --accent-light: #f8624e;
    --cream: #ececfd;
    --cream-dark: #c8cdf5;
    --text-dark: #1A1A2E;
    --text-muted: #6B6B80;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: #fff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
}

a{
    text-decoration: none !important;
}

.text-danger {
    color: #dc2626 !important;
}
.text-success {
    color: #16a34a !important;
}

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(123, 63, 0, 0.15);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(123, 63, 0, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
}

.logo-tagline {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s;
}

.nav-links a:hover {
    background: var(--cream);
    color: var(--primary);
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
    color: #fff !important;
    padding: 10px 22px !important;
    box-shadow: 0 4px 12px rgba(123, 63, 0, 0.3);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(123, 63, 0, 0.4) !important;
    background: var(--primary-dark) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 24px 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #f0e6d3;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 1px solid #f5f0ea;
    transition: color 0.2s;
}

.mobile-menu a:hover {
    color: var(--primary);
}

.mobile-menu .mob-cta {
    display: block;
    margin-top: 16px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff !important;
    border-radius: 10px;
    padding: 13px !important;
    border-bottom: none !important;
}

/* ── HERO SLIDER ── */
#hero {
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    height: 680px;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide:first-child {
    opacity: 1;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(76, 90, 118, 0.88) 0%, rgba(1, 13, 192, 0.5) 60%, rgba(0, 0, 0, 0.1) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
    max-width: 680px;
}

.slide-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.slide-title {
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.slide-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.slide-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    box-shadow: 0 6px 20px rgba(212, 23, 23, 0.4);
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(212, 160, 23, 0.5);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    padding: 13px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.7);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Slider controls */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.dot.active {
    background: var(--accent);
    width: 28px;
    border-radius: 5px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
}

.slider-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.05);
}

.prev-arrow {
    left: 24px;
}

.next-arrow {
    right: 24px;
}

/* ── SECTION STYLES ── */
section {
    padding: 80px 24px;
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding-top:40px;padding-bottom:10px;padding-left:24px;padding-right:24px;text-align:center
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-label::before,
.section-label::after {
    content: '';
    display: block;
    width: 30px;
    height: 1.5px;
    background: var(--accent);
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── STATS BAR ── */
.stats-bar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 28px 24px;
}

.stats-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    text-align: center;
    padding: 10px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 800;
    color: var(--accent);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ── CATEGORIES ── */
#categories {
    background: var(--cream);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    grid-auto-rows: 1fr;
}

.categories-grid a , .books-grid a {
    text-decoration: none;
}

.cat-card {
    background: #fff;
    border-radius: 18px;
    padding: 36px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(.4, 0, .2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
}

.cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.35s;
}

.cat-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 16px 40px rgba(123, 63, 0, 0.18);
}

.cat-card:hover::before {
    opacity: 0.06;
}

.cat-icon-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    transition: all 0.35s;
}

.cat-card:hover .cat-icon-wrap {
    transform: scale(1.1) rotate(-5deg);
}

.cat-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.cat-count {
    font-size: 13px;
    color: var(--text-muted);
}

.cat-arrow {
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.2s;
}

.cat-card:hover .cat-arrow {
    gap: 8px;
}

/* ── FEATURED BOOKS ── */
#featured {
    background: #fff;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.book-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.35s cubic-bezier(.4, 0, .2, 1);
    position: relative;
}

.book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(123, 63, 0, 0.18);
}

.book-img-wrap {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: var(--cream-dark);
}

.book-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.book-card:hover .book-img-wrap img {
    transform: scale(1.08);
}

.book-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.book-badge.new {
    background: #16a34a;
}

.book-badge.sale {
    background: #dc2626;
}

.book-wishlist {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #ccc;
    cursor: pointer;
    transition: all 0.25s;
    backdrop-filter: blur(4px);
}

.book-wishlist:hover,
.book-wishlist.active {
    color: #e11d48;
    transform: scale(1.1);
}

.book-info {
    padding: 20px;
}

.book-cat {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.book-title {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
    margin-bottom: 6px;
}

.book-author {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.book-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 14px;
}

.stars {
    color: var(--accent);
    font-size: 13px;
}

.rating-count {
    font-size: 12px;
    color: var(--text-muted);
}

.book-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.book-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.price-old {
    font-size: 13px;
    color: #bbb;
    text-decoration: line-through;
}

.btn-buy {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border: none;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.btn-buy:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(123, 63, 0, 0.35);
}

/* ── PROMO BANNER ── */
.promo-section {
    padding: 0 24px 60px;
}

.promo-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.promo-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.promo-card {
    border-radius: 20px;
    padding: 48px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    min-height: 200px;
}

.promo-main {
    background: linear-gradient(135deg, #7B3F00 0%, #A0522D 50%, #D4A017 100%);
}

.promo-secondary {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d5e 100%);
}

.promo-text {
    position: relative;
    z-index: 2;
}

.promo-eyebrow {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 600;
}

.promo-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.promo-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.promo-btn {
    display: inline-block;
    background: #fff;
    color: var(--primary);
    padding: 11px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.promo-deco {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 120px;
    opacity: 0.07;
    z-index: 1;
    color: #fff;
    line-height: 1;
}

/* ── NEWSLETTER ── */
#newsletter {
    background: linear-gradient(135deg, #ecf0fd 0%, #c9c8f5 100%);
    position: relative;
    overflow: hidden;
}

#newsletter::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.12), transparent 70%);
}

#newsletter::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 63, 0, 0.08), transparent 70%);
}

.newsletter-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.newsletter-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(123, 63, 0, 0.3);
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 520px;
    margin: 36px auto 0;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid #b8c1e5;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    background: #fff;
    outline: none;
    transition: border-color 0.3s;
    color: var(--text-dark);
}

.newsletter-input:focus {
    border-color: var(--primary);
}

.newsletter-input::placeholder {
    color: #bbb;
}

.newsletter-submit {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border: none;
    padding: 15px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 6px 18px rgba(18, 0, 123, 0.3);
    transition: all 0.3s;
}

.newsletter-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(29, 0, 123, 0.4);
}

.newsletter-perks {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.perk {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.perk i {
    color: var(--primary);
    font-size: 14px;
}

.success-msg {
    display: none;
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #15803d;
    padding: 14px 24px;
    border-radius: 12px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    align-items: center;
    gap: 8px;
}

/* ── FOOTER ── */
footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 60px 24px 0;
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 2fr 2fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-name {
    color: #fff;
    font-size: 18px;
}

.footer-brand .logo-tagline {
    color: rgba(255, 255, 255, 0.5);
}

.footer-desc {
    font-size: 14px;
    line-height: 1.75;
    margin: 16px 0 24px;
    color: rgba(255, 255, 255, 0.6);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

.footer-col h5 {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-col ul li a i {
    font-size: 10px;
    opacity: 0;
    transition: opacity 0.2s;
}

.footer-col ul li a:hover i {
    opacity: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13.5px;
}

.contact-item i {
    color: var(--accent);
    margin-top: 2px;
    width: 16px;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: var(--accent);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ── TOAST NOTIFICATION ── */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #fff;
    border-radius: 14px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateX(130%);
    transition: transform 0.4s cubic-bezier(.4, 0, .2, 1);
    border-left: 4px solid var(--primary);
    max-width: 300px;
}

.toast.show {
    transform: translateX(0);
}

.toast-icon {
    font-size: 22px;
}

.toast-text p:first-child {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.toast-text p:last-child {
    font-size: 12px;
    color: var(--text-muted);
}

/* ── WHATSAPP ICON ── */
.whatsapp-icon {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 999;
}

.whatsapp-icon a {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #25d366;
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
}

.whatsapp-icon a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon .fa-whatsapp {
    font-size: 20px;
}

/* ── SCROLL TOP ── */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-3px);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .books-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item {
        border-right: none;
        padding: 12px;
    }

    .stats-inner .stat-item:nth-child(1),
    .stats-inner .stat-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .promo-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #hero {
        height: 560px;
    }

    .slide-content {
        padding: 0 30px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .books-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .slider-arrow {
        display: none;
    }

    .promo-card {
        padding: 36px 28px;
    }

    section {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .books-grid {
        grid-template-columns: 1fr;
    }

    .stat-num {
        font-size: 26px;
    }

    .slide-btns {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-perks {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* Inner pages */
.inner-hero {
    margin-top: 70px;
    padding-bottom: 30px;
    background: linear-gradient(135deg, #ecf0fd 0%, #c9c8f5 100%);
}

.inner-section {
    padding-top: 40px;
}

.search-wrap {
    margin-top: 0;
    margin-bottom: 50px;
    position: relative;
}

.search-wrap i {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-muted);
}

.search-input {
    width: 100%;
    border: 2px solid #b8c1e5;
    border-radius: 12px;
    padding: 12px 14px 12px 42px;
    font-size: 15px;
}

.search-feedback {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 20px;
}

.branch-grid,
.about-grid,
.contact-layout {
    display: grid;
    gap: 20px;
}

.branch-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 20px;
}

.about-card {
    background: #fff;
    border: 1px solid #e6e9f8;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.branch-card {
    text-align: left;
    cursor: pointer;
    font-weight: 600;
}

.branch-card.active {
    border-color: var(--primary);
}

.branch-map {
    width: 100%;
    min-height: 360px;
    border: none;
    border-radius: 14px;
}

.about-grid {
    grid-template-columns: repeat(3, 1fr);
}

.about-card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.contact-layout {
    grid-template-columns: 1.5fr 1fr;
}

.contact-form {
    display: grid;
    gap: 12px;
}

@media (max-width: 900px) {
    .branch-grid,
    .about-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/* ── FILTER BAR ── */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 auto 20px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 50px;
    border: 2px solid #b8c1e5;
    background: #fff;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(34, 37, 208, 0.3);
}

/* ── BOOKS PAGE ── */
.book-card-wrap{
    text-decoration: none;
    display: flex;
}

.book-card-wrap .book-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.book-card-wrap .book-info {
    flex: 1;
}

@media (max-width: 1024px) {
    #display-area > div[style*="grid-template-columns:repeat(3"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 900px) {
    .section-inner > div[style*="grid-template-columns:1fr 280px"] {
        grid-template-columns: 1fr !important;
    }
    aside[style*="position:sticky"] {
        position: static !important;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 600px) {
    #display-area > div[style*="grid-template-columns:repeat(3"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    aside[style*="position:sticky"] {
        grid-template-columns: 1fr !important;
    }
}

/* ── CONTACT SECTION ── */
#contact {
    width: 100%;
}

.contact-sec {
    display: grid;
    grid-template-columns: 1fr 420px;
    min-height: 520px;
}

.contact-sec iframe {
    width: 100%;
    height: 100%;
    min-height: 520px;
    display: block;
}

.contact-card {
    background: #fff;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.08);
}

.contact-card .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.7;
}

.contact-card .contact-item i {
    color: var(--accent);
    font-size: 16px;
    margin-top: 3px;
    width: 18px;
    flex-shrink: 0;
}

.contact-card .contact-item a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-card .contact-item a:hover {
    color: var(--accent);
}

@media (max-width: 900px) {
    .contact-sec {
        grid-template-columns: 1fr;
    }

    .contact-sec iframe {
        min-height: 360px;
        height: 360px;
    }

    .contact-card {
        padding: 36px 28px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    }
}
.nav-links a.active,
.mobile-menu a.active {
  color: var(--primary); /* or whatever your active color is */
  font-weight: 600;
  background: #edecff;
  border-radius: 5px;
  padding-left: 10px;
}

/* ── HERO ── */
  .branches-hero {
    margin-top: 70px;
    background: linear-gradient(135deg, #ecf0fd 0%, #c9c8f5 100%);
    padding: 64px 24px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .branches-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,37,208,0.08), transparent 70%);
  }
  .branches-hero::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251,60,63,0.07), transparent 70%);
  }
  .branches-hero > div { position: relative; z-index: 2; }
  .branches-hero .section-label { justify-content: center; }

  /* ── LAYOUT ── */
  .branches-layout {
    max-width: 1280px;
    margin: 48px auto 80px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 28px;
    align-items: start;
  }

  /* ── BRANCH LIST ── */
  .branch-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .branch-card {
    background: #fff;
    border: 2px solid #e6e9f8;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
    padding: 20px;
  }

  .branch-card:hover {
    border-color: var(--cream-dark);
    box-shadow: 0 6px 20px rgba(34,37,208,0.1);
    transform: translateX(3px);
  }
  .branch-card.active {
    border-color: var(--primary);
    box-shadow: 0 8px 28px rgba(34,37,208,0.15);
    transform: translateX(3px);
  }
  .branch-card.active::before { opacity: 1; }

  .branch-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
  }
  .branch-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--cream);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.25s;
  }
  .branch-card.active .branch-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
  }
  .branch-card-head h4 {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin: 0;
  }
  .branch-card-head span {
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
  }
  .branch-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .branch-meta-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: var(--text-muted);
  }
  .branch-meta-row i {
    color: var(--accent);
    width: 13px;
    font-size: 11px;
    flex-shrink: 0;
  }

  /* ── MAP PANEL ── */
  .map-panel {
    position: sticky;
    top: 90px;
  }
  .map-info-bar {
    background: #fff;
    border: 1px solid #e6e9f8;
    border-radius: 16px 16px 0 0;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-bottom: none;
  }
  .map-info-bar h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
  }
  .map-info-bar p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 2px 0 0;
  }
  .map-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--cream);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    white-space: nowrap;
  }
  .map-frame-wrap {
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  }
  .map-frame-wrap iframe {
    display: block;
    width: 100%;
    height: 520px;
    border: none;
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    .branches-layout {
      grid-template-columns: 1fr;
    }
    .map-panel { position: static; }
    .map-frame-wrap iframe { height: 380px; }
    .branch-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (max-width: 560px) {
    .branch-list { grid-template-columns: 1fr; }
    .map-frame-wrap iframe { height: 300px; }
  }

  .about-hero {
    margin-top: 70px;
    background: linear-gradient(135deg, #ecf0fd 0%, #c9c8f5 100%);
    padding: 64px 24px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .about-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,37,208,0.08), transparent 70%);
  }
  .about-hero::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251,60,63,0.07), transparent 70%);
  }
  .about-hero .section-label { justify-content: center; }
  .about-hero .section-title { margin-bottom: 12px; }
  .about-hero .section-subtitle { margin: 0 auto; }

  /* ── TAB NAV ── */
  .about-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 24px;
    margin-top: -22px;
    position: relative;
    z-index: 10;
  }
  .about-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    border: 2px solid #b8c1e5;
    background: #fff;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  }
  .about-tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
  }
  .about-tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 18px rgba(34,37,208,0.3);
  }

  /* ── TAB PANELS ── */
  .about-content {
    max-width: 960px;
    margin: 48px auto 80px;
    padding: 0 24px;
  }
  .about-panel,.book-panel { display: none; }
  .about-panel.active, .book-panel.active { display: block; }

  /* ── PROFILE PANEL ── */
  .profile-intro {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    border: 1px solid #e6e9f8;
    margin-bottom: 28px;
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 15px;
  }
  .profile-intro p { margin-bottom: 14px; }
  .profile-intro p:last-child { margin-bottom: 0; }
  .profile-intro ol {
    padding-left: 20px;
    margin: 12px 0;
  }
  .profile-intro ol li { margin-bottom: 10px; }

  .share-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 20px;
    padding: 36px 40px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
  }
  .share-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 6px;
  }
  .share-card p { font-size: 14px; opacity: 0.8; margin: 0; }
  .share-badge {
    background: var(--accent);
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    padding: 16px 28px;
    border-radius: 14px;
    white-space: nowrap;
  }

  /* ── MISSION/VISION PANEL ── */
  .mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .mv-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    border: 1px solid #e6e9f8;
    position: relative;
    overflow: hidden;
  }
  .mv-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
  }
  .mv-card.vision::before { background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
  .mv-card.mission::before { background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
  .mv-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
  }
  .mv-card.vision .mv-icon { background: var(--cream); color: var(--primary); }
  .mv-card.mission .mv-icon { background: #fff0f0; color: var(--accent); }
  .mv-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 14px;
  }
  .mv-card p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
  }

  /* ── SERVICES PANEL ── */
  .services-intro {
    text-align: center;
    margin-bottom: 36px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .service-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e6e9f8;
    transition: all 0.3s;
  }
  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(34,37,208,0.12);
    border-color: var(--cream-dark);
  }
  .service-card-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--cream);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--primary);
  }
  .service-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
  }
  .service-card ul {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .service-card ul li {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .service-card ul li::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
  }

  /* ── CONTACTS PANEL ── */
  .hq-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 20px;
    padding: 36px 40px;
    color: #fff;
    margin-bottom: 32px;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
  }
  .hq-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 16px;
  }
  .hq-detail {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
  }
  .hq-detail i { color: var(--accent); margin-top: 2px; width: 16px; }

  .branches-heading {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
  }
  .branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .branch-item {
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid #e6e9f8;
    transition: all 0.3s;
  }
  .branch-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(34,37,208,0.1);
  }
  .branch-item h5 {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
  }
  .branch-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
  }
  .branch-detail i { color: var(--primary); width: 14px; font-size: 11px; }

  /* ── SOCIAL STRIP ── */
  .social-strip {
    background: var(--cream);
    padding: 40px 24px;
    text-align: center;
  }
  .social-strip h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
  }
  .social-strip p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
  }
  .social-strip-links {
    display: flex;
    justify-content: center;
    gap: 14px;
  }
  .social-strip-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
  }
  .social-strip-link.fb  { background: #1877f2; color: #fff; }
  .social-strip-link.ig  { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
  .social-strip-link.tw  { background: #000; color: #fff; }
  .social-strip-link:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }

  @media (max-width: 768px) {
    .mv-grid, .services-grid, .branches-grid { grid-template-columns: 1fr; }
    .hq-card { flex-direction: column; gap: 20px; }
    .profile-intro, .share-card { padding: 28px 24px; }
    .about-content { margin-bottom: 48px; }
  }
  @media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .branches-grid { grid-template-columns: 1fr; }
    .social-strip-links { flex-direction: column; align-items: center; }
  }
  
  .cat-label{
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
    text-align: left;
}
  

