:root {
    --saffron: #cc0000;
    --deep-green: #1a4a2e;
    --gold: #cc0000;
    --cream: #ffffff;
    --dark-brown: #2c1810;
    --light-gold: #ffe8e8;
    --text-dark: #1c1008;
    --text-mid: #4a3728;
    --text-light: #8b7355;
    --border-warm: rgba(204, 0, 0, 0.2);
    --white: #ffffff;
    --red-light: #fff0f0;
    --red-mid: #ffd0d0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html {
  font-size: 14px;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

p, li, a {
  font-size: 1rem;
}

/* LOADER */
#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #8b0000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

#loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-symbol {
    font-family: 'Poppins', sans-serif;
    font-size: 5rem;
    color: #fff;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-text {
    font-family: 'Poppins', sans-serif;
    color: #ffd0d0;
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-top: 1rem;
    opacity: 0.9;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(139, 0, 0, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #cc0000;
    transition: all 0.3s ease;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 82px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    object-fit: cover;
}

.nav-logo-text {
    color: #fff;
    line-height: 1.2;
}

.nav-logo-text .main {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-logo-text .sub {
    font-size: 0.7rem;
    color: #ffd0d0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 0;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 8px 14px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 1px;
    background: #fff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffd0d0;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-cta {
    background: #fff !important;
    color: #8b0000 !important;
    padding: 8px 18px !important;
    border-radius: 3px;
    font-weight: 700 !important;
    font-family: 'Poppins', sans-serif;
}

.nav-cta:hover {
    background: #ffd0d0 !important;
}

.nav-cta::after {
    display: none !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 1.5px;
    background: #fff;
    transition: all 0.3s;
    display: block;
}

#mobileMenu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #8B0000;
    border-top: 1px solid #CC0000;
    padding: 1rem 2rem;
    display: none;
    z-index: 1001;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
}

#mobileMenu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#mobileMenu a {
    color: #fff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

#mobileMenu a.active {
    color: #ffd0d0;
    font-weight: bold;
}

#mobileMenu .nav-cta {
    color: #FFD0D0;
}

/* HERO SLIDER - FULL COVERAGE, NO RED OVERLAY */
/* HERO SLIDER */
/* HERO SLIDER */
#hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 72px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%;
}

.slider-wrap {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.slide.active {
    opacity: 1;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(30, 20, 10, 0.5) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

/* Common slide style */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Active slide */
.slide.active {
    opacity: 1;
    z-index: 1;
    animation: zoomEffect 8s ease-in-out forwards;
}

/* Background images */
.slide-1 {
    background-image: url("/images/banner-6.jpg");
    background-size: cover;
    background-position: center;
}

.slide-2 {
    background-image: url("/images/banner-9.jpeg");
    background-size: cover;
    background-position: center;
}

.slide-3 {
    background-image: url("/images/banner-4.avif");
    background-size: cover;
    background-position: center;
}

/* Zoom Animation */
@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

/* Responsive slider dots */
@media (max-width: 768px) {
    .slider-dots {
        gap: 6px;
        bottom: 30px;
    }
}

@media (max-width: 480px) {
    .slider-dots {
        gap: 4px;
        bottom: 20px;
    }
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.slider-dot.active {
    background: #fff;
    transform: scale(1.3);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    width: 52px;
    height: 52px;
    cursor: pointer;
    z-index: 5;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.slider-arrow:hover {
    background: rgba(204, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Responsive slider arrows */
@media (max-width: 768px) {
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

.slider-arrow.prev {
    left: 0;
    border-radius: 0 4px 4px 0;
}

.slider-arrow.next {
    right: 0;
    border-radius: 4px 0 0 4px;
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.hero-inner {
    text-align: center;
    max-width: 900px;
    opacity: 0;
    transform: translateY(40px);
    animation: fade-up 1.2s ease 1.5s forwards;
}

@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    margin-bottom: 1.5rem;
}

.hero-logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.6);
    object-fit: cover;
}

.hero-badge {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffd0d0;
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 20px;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero-title .red {
    color: #ffd0d0;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.hero-divider .line {
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

.hero-divider .symbol {
    color: #ffd0d0;
    font-size: 1.4rem;
}

.hero-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    font-style: italic;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat .num {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: #ffd0d0;
    font-weight: 900;
    display: block;
}

.hero-stat .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #cc0000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 14px 36px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
}

.btn-primary:hover {
    background: #8b0000;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 14px 36px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: #ffd0d0;
    color: #ffd0d0;
}

/* SECTIONS */
section {
    padding: 2rem;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-eyebrow {
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #cc0000;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--dark-brown);
    line-height: 1.2;
}

.section-title-en {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--dark-brown);
    line-height: 1.2;
}

.section-line {
    width: 80px;
    height: 2px;
    background: #cc0000;
    margin: 1.5rem auto;
    position: relative;
}

.section-line::before,
.section-line::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #cc0000;
    border-radius: 50%;
}

.section-line::before {
    left: -10px;
}

.section-line::after {
    right: -10px;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-mid);
    line-height: 1.9;
    max-width: 640px;
    margin: 0 auto;
}

/* ABOUT */
#home {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 5rem;
    align-items: start;
}

.about-image-wrap {
    position: relative;
}

.about-img-frame {
    position: relative;
    background: linear-gradient(135deg, #ffe8e8, #ffcccc);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(139, 0, 0, 0.2);
    transition: box-shadow 0.5s ease;
}

.about-img-frame:hover {
    box-shadow: 0 40px 100px rgba(139, 0, 0, 0.32);
}

.about-img-frame img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.about-img-frame:hover img {
    transform: scale(1.04);
}

.about-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(139, 0, 0, 0.5) 0%,
        transparent 60%
    );
    pointer-events: none;
}

.about-img-caption {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    font-style: italic;
    font-size: 0.9rem;
    opacity: 0.95;
}

.about-deco-box {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 2px solid #cc0000;
    border-radius: 2px;
    opacity: 0.3;
    z-index: -1;
}

.about-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    color: var(--dark-brown);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.about-content .lead {
    font-size: 1.2rem;
    color: #cc0000;
    font-style: italic;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-mid);
    margin-bottom: 1.2rem;
}

/* FEATURES */
.about-features {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 1rem;
    border-left: 2px solid #cc0000;
    background: rgba(204, 0, 0, 0.04);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(204, 0, 0, 0.06) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
}

.feature-item:hover {
    background: rgba(204, 0, 0, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(204, 0, 0, 0.12);
    border-left-color: #8b0000;
}

.feature-item:hover::after {
    opacity: 1;
}

.feature-item:hover .feature-icon {
    transform: scale(1.2) rotate(-6deg);
}

.feature-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
    transition: transform 0.35s ease;
    display: inline-block;
}

.feature-item h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-brown);
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .about-features {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* BOOKS */
#books {
    background: #ffffff;
}
#books .section-title {
    color: #cc0000;
}
#books .section-desc {
    color: #333333;
}

.books-filter {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.filter-btn {
    background: transparent;
    border: 1px solid rgba(204, 0, 0, 0.4);
    color: #333333;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn.active,
.filter-btn:hover {
    background: #cc0000;
    color: #fff;
    border-color: #cc0000;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.2rem;
}

/* Responsive for smaller devices */
@media (max-width: 768px) {
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
}

.book-card {
    background: #ffffff;
    border: 1px solid rgba(204, 0, 0, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.book-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b0000, #cc0000, #ff4444);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.book-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #cc0000;
    box-shadow: 0 24px 50px rgba(204, 0, 0, 0.18);
}

.book-card:hover::before {
    transform: scaleX(1);
}

.book-cover {
    height: 260px;
    overflow: hidden;
    position: relative;
}
.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.book-card:hover .book-cover img {
    transform: scale(1.12);
}
.book-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
    transition: background 0.4s ease;
}
.book-card:hover .book-cover-overlay {
    background: linear-gradient(
        to top,
        rgba(139, 0, 0, 0.7) 0%,
        transparent 55%
    );
}
.book-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #cc0000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    transition:
        background 0.3s ease,
        transform 0.3s ease;
    z-index: 2;
}
.book-card:hover .book-badge {
    background: #8b0000;
    transform: scale(1.08);
}
.book-info {
    padding: 1.2rem;
}
.book-cat {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #cc0000;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.5rem;
    display: block;
}
.book-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #000000;
    line-height: 1.4;
    margin-bottom: 0.3rem;
    font-weight: 700;
}
.book-author {
    font-size: 0.85rem;
    color: #555555;
    font-style: italic;
}

.media-section {
    margin-top: 5rem;
}
.media-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #cc0000;
    border-bottom: 1px solid rgba(204, 0, 0, 0.3);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.media-item {
    background: #fafafa;
    border: 1px solid rgba(204, 0, 0, 0.15);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.media-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #cc0000;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.35s ease;
}

.media-item:hover {
    border-color: #cc0000;
    background: #fff;
    box-shadow: 0 10px 25px rgba(204, 0, 0, 0.08);
    transform: translateX(4px);
}

.media-item:hover::before {
    transform: scaleY(1);
}

.media-icon {
    font-size: 2rem;
    flex-shrink: 0;
    transition: transform 0.35s ease;
    display: inline-block;
}

.media-item:hover .media-icon {
    transform: scale(1.15) rotate(-5deg);
}

.media-item h4 {
    font-family: 'Poppins', sans-serif;
    color: #000000;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    font-weight: bold;
}
.media-item p {
    font-size: 0.85rem;
    color: #444444;
    line-height: 1.6;
}

/* NEWS */
#news {
    background: var(--red-light);
}

.events-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.event-featured {
    background: var(--white);
    border: 1px solid var(--border-warm);
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(139, 0, 0, 0.1);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
    position: relative;
}

.event-featured::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b0000, #cc0000);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.event-featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(139, 0, 0, 0.18);
}

.event-featured:hover::after {
    transform: scaleX(1);
}

.event-img {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.event-featured:hover .event-img img {
    transform: scale(1.07);
}

.event-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #cc0000;
    color: #fff;
    padding: 8px 16px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.event-featured:hover .event-date-badge {
    background: #8b0000;
    transform: scale(1.05);
}

.event-date-badge .day {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    display: block;
}

.event-date-badge .month {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.event-body {
    padding: 2rem;
}

.event-type {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #cc0000;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.7rem;
    display: block;
}

.event-body h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    color: var(--dark-brown);
    line-height: 1.3;
    margin-bottom: 0.8rem;
}

.event-body p {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.event-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.82rem;
    color: var(--text-light);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-item {
    background: var(--white);
    border: 1px solid var(--border-warm);
    padding: 1.2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.event-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #cc0000;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s ease;
}

.event-item:hover {
    border-color: #cc0000;
    box-shadow: 0 8px 28px rgba(139, 0, 0, 0.14);
    transform: translateX(6px);
}

.event-item:hover::before {
    transform: scaleY(1);
}

.event-item-date {
    background: #8b0000;
    color: #fff;
    min-width: 52px;
    text-align: center;
    padding: 8px 6px;
    font-family: 'Poppins', sans-serif;
    flex-shrink: 0;
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.event-item:hover .event-item-date {
    background: #cc0000;
    transform: scale(1.08);
}

.event-item-date .d {
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1;
    display: block;
}

.event-item-date .m {
    font-size: 0.6rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.event-item-content h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--dark-brown);
    margin-bottom: 0.3rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.event-item:hover .event-item-content h4 {
    color: #cc0000;
}

.event-item-content p {
    font-size: 0.82rem;
    color: var(--text-light);
}

/* BLOG */
#blog {
    background: var(--cream);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.blog-card {
    border: 1px solid var(--border-warm);
    background: var(--white);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(139, 0, 0, 0.14);
    border-color: rgba(204, 0, 0, 0.3);
}

.blog-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b0000, #cc0000);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.blog-card:hover::before {
    transform: scaleX(1);
}

.blog-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(139, 0, 0, 0.18);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-card:hover .blog-img::after {
    opacity: 1;
}

.blog-body {
    padding: 1.5rem;
}

.blog-cat {
    font-size: 0.68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #cc0000;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.6rem;
    display: block;
}

.blog-body h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: var(--dark-brown);
    line-height: 1.4;
    margin-bottom: 0.7rem;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-body h3 {
    color: #cc0000;
}

.blog-body p {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-light);
    border-top: 1px solid var(--border-warm);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.blog-read-more {
    color: #cc0000;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.blog-read-more:hover {
    gap: 10px;
}

/* SERVICES */
#services {
    background: #ffffff;
}

#services .section-eyebrow {
    color: #cc0000;
}

#services .section-title {
    color: #cc0000;
}

#services .section-desc {
    color: #333333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: #f9f9f9;
    border: 1px solid rgba(204, 0, 0, 0.15);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.service-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b0000, #cc0000);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center bottom,
        rgba(204, 0, 0, 0.07) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    background: #fff;
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(204, 0, 0, 0.14);
    border-color: rgba(204, 0, 0, 0.35);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: rgba(204, 0, 0, 0.08);
    border: 1px solid rgba(204, 0, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    background: rgba(204, 0, 0, 0.15);
    transform: scale(1.12) rotate(-8deg);
    border-color: rgba(204, 0, 0, 0.4);
    box-shadow: 0 8px 24px rgba(204, 0, 0, 0.15);
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color: #cc0000;
    margin-bottom: 1rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #8b0000;
}

.service-card p {
    font-size: 0.92rem;
    color: #444444;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.service-features-list {
    list-style: none;
    margin-top: 1.2rem;
    text-align: left;
    position: relative;
    z-index: 1;
}

.service-features-list li {
    font-size: 0.82rem;
    color: #555555;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.service-card:hover .service-features-list li {
    color: #333333;
}

.service-features-list li:nth-child(1) {
    transition-delay: 0.02s;
}
.service-features-list li:nth-child(2) {
    transition-delay: 0.05s;
}
.service-features-list li:nth-child(3) {
    transition-delay: 0.08s;
}

.service-features-list li::before {
    content: "—";
    color: #cc0000;
}

.membership-section {
    margin-top: 5rem;
    background: #8b0000;
    border: none;
    padding: 3rem;
    text-align: center;
}

.membership-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: #ffd0d0;
    margin-bottom: 1rem;
}

.membership-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.membership-plans {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.plan {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 2rem;
    min-width: 200px;
    text-align: center;
    transition: all 0.35s ease;
    cursor: pointer;
}

.plan.popular {
    border-color: #ffd0d0;
    background: rgba(255, 208, 208, 0.1);
}

.plan:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
}

.plan-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #ffd0d0;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
}

.plan-price span {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.plan p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.5rem;
}

/* LIBRARY INFO BLOCKS */
.info-block {
    background: var(--white, #fff);
    border: 1px solid rgba(204, 0, 0, 0.12);
    border-left: 3px solid #cc0000;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.info-block::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(204, 0, 0, 0.04) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.info-block:hover {
    transform: translateX(6px);
    box-shadow: 0 12px 40px rgba(204, 0, 0, 0.12);
    border-left-color: #8b0000;
    border-color: rgba(204, 0, 0, 0.25);
}

.info-block:hover::after {
    opacity: 1;
}

.info-block h3 {
    transition: color 0.3s ease;
}

.info-block:hover h3 {
    color: #cc0000;
}

/* TESTIMONIAL */
.testimonial-section {
    background: #8b0000;
    padding: 5rem 2rem;
    text-align: center;
}

.testimonial-inner {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-quote {
    font-family: 'Poppins', sans-serif;
    font-size: 6rem;
    color: rgba(255, 208, 208, 0.3);
    line-height: 0.5;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: #fff;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #ffd0d0;
    letter-spacing: 2px;
}
/* CONTACT */
#contact {
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
}

.contact-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--dark-brown);
    margin-bottom: 1.5rem;
}

.contact-info > p {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.9;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid var(--border-warm);
    background: rgba(204, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.contact-detail:hover {
    border-color: #cc0000;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: #8b0000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    border-radius: 2px;
}

.contact-detail-text h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    color: #cc0000;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-detail-text p {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--text-mid);
}

.social-link:hover {
    background: #cc0000;
    border-color: #cc0000;
    color: #fff;
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--border-warm);
    padding: 2.5rem;
}

.contact-form h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: var(--dark-brown);
    margin-bottom: 0.5rem;
}

.contact-form > p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--border-warm);
    background: #fff5f5;
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.3s ease;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #cc0000;
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    background: #8b0000;
    color: #fff;
    border: none;
    padding: 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background: #cc0000;
}

/* TESTIMONIAL - background #2C1810 */
.testimonial-section {
    background: #2c1810;
    padding: 80px 2rem;
    text-align: center;
}

.testimonial-inner {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-quote {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.15);
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    margin-bottom: -1rem;
}

.testimonial-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
    transition: opacity 0.6s;
}

.testimonial-author {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: #ffd0d0;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: opacity 0.6s;
}

/* FOOTER */
footer {
    background: #1a0000;
    color: rgba(255, 255, 255, 0.65);
    padding: 60px 2rem 30px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1rem;
}

.footer-brand .logo-area img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-brand .logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: #fff;
    display: block;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-brand .divider {
    width: 40px;
    height: 1px;
    background: #cc0000;
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #ff9999;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a::before {
    content: "›";
    color: #ff9999;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-bottom a {
    color: #ff9999;
    text-decoration: none;
}

/* ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

#scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #cc0000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#scroll-top.show {
    opacity: 1;
    visibility: visible;
}

#scroll-top:hover {
    background: #8b0000;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .about-grid,
    .events-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .blog-grid,
    .services-grid,
    .about-features {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Make only Quick Links and Services side by side */
    .footer-grid > :nth-child(2),
    .footer-grid > :nth-child(3) {
        grid-column: auto;
    }

    .footer-grid > :nth-child(1),
    .footer-grid > :nth-child(4) {
        grid-column: 1 / -1;
    }

    /* Footer spacing reduction */
    footer {
        padding: 30px 1.5rem 15px;
    }

    .footer-grid {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand .logo-area {
        gap: 10px;
        margin-bottom: 0.8rem;
    }

    .footer-brand .logo-area img {
        width: 45px;
        height: 45px;
    }

    .footer-brand .logo-text {
        font-size: 1.1rem;
    }

    .footer-brand p {
        font-size: 0.8rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .footer-brand .divider {
        margin-bottom: 1rem;
    }

    .footer-col h4 {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .footer-col ul {
        gap: 0.5rem;
    }

    .footer-col ul li a {
        font-size: 0.8rem;
        gap: 6px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
        padding-top: 1rem;
        font-size: 0.75rem;
    }

    section {
        padding: 60px 1.5rem;
    }

    .hero-stats {
        gap: 2rem;
    }
}

/* Extra compact footer for very small screens */
@media (max-width: 480px) {
    footer {
        padding: 20px 1rem 10px;
    }

    .footer-grid {
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .footer-brand .logo-area {
        gap: 8px;
        margin-bottom: 0.6rem;
    }

    .footer-brand .logo-area img {
        width: 40px;
        height: 40px;
    }

    .footer-brand .logo-text {
        font-size: 1rem;
    }

    .footer-brand p {
        font-size: 0.75rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }

    .footer-brand .divider {
        margin-bottom: 0.8rem;
        width: 30px;
    }

    .footer-col h4 {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .footer-col ul {
        gap: 0.4rem;
    }

    .footer-col ul li a {
        font-size: 0.75rem;
        gap: 4px;
    }

    .footer-bottom {
        gap: 0.6rem;
        padding-top: 0.8rem;
        font-size: 0.7rem;
    }
}

#loader {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* 🔥 Logo */
.loader-logo {
    width: 150px;
    /* 🔥 size increase here */
    height: auto;
    margin-bottom: 15px;
}

/* 🔥 Text */
.loader-symbol {
    font-size: 22px;
    font-weight: bold;
    color: #333;
}

/* =========================================
   PAGE HEADER (About Us / Inner Pages)
   ========================================= */
.page-header {
    padding: 140px 2rem 60px;
    background: url("/images/banner-12.jpg");
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
}
.page-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        transparent 100%
    );
    z-index: 1;
}
.page-header-inner {
    position: relative;
    z-index: 2;
}
.page-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #ffffff;
    margin-bottom: 1rem;
}
.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 24px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.breadcrumb a {
    color: #ffd0d0;
    text-decoration: none;
    transition: color 0.3s ease;
}
.breadcrumb a:hover {
    color: #ffffff;
}
.breadcrumb .current {
    color: #ffffff;
    font-weight: bold;
}

/* =========================================
   HISTORY / ABOUT SECTION
   ========================================= */
.history-section {
    background: var(--cream);
    padding-top: 80px;
}
.history-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}
.history-content .lead-text {
    font-size: 1.35rem;
    color: #cc0000;
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: bold;
}
.history-content p {
    font-size: 1.15rem;
    color: var(--text-mid);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    text-align: justify;
}
.history-content strong {
    color: var(--dark-brown);
}
.history-quote {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(204, 0, 0, 0.05);
    border-left: 4px solid #cc0000;
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: var(--dark-brown);
    font-style: italic;
    line-height: 1.6;
}

/* SIDEBAR CARDS */
.fact-card {
    background: #ffffff;
    border: 1px solid var(--border-warm);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.05);
    margin-bottom: 2rem;
    border-top: 4px solid #cc0000;
}
.fact-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--dark-brown);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-warm);
    padding-bottom: 0.8rem;
}
.fact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.fact-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.fact-list .icon {
    font-size: 1.5rem;
    background: #fff0f0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}
.fact-list strong {
    display: block;
    font-size: 0.9rem;
    color: #cc0000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}
.fact-list span {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.info-card {
    background: #1a0000;
    color: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 2px;
}
.info-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color: #ffd0d0;
    margin-bottom: 1rem;
}
.info-card p {
    font-size: 1rem;
    line-height: 1.7;
}

/* RESPONSIVE DESIGN FOR ABOUT PAGE */
@media (max-width: 992px) {
    .history-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
@media (max-width: 768px) {
    .page-header {
        padding: 100px 1.5rem 40px;
    }
}

/* =========================================
   DIRECTORS / MEMBERS PAGE
   ========================================= */
.directors-section {
    background: var(--cream);
    padding-top: 60px;
    padding-bottom: 100px;
}

.directors-section .section-title.text-center {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    font-family: 'Poppins', sans-serif;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Design exactly like the screenshot */
.member-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 12px 12px 20px 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(139, 0, 0, 0.1);
    border-color: rgba(204, 0, 0, 0.2);
}

.member-img {
    width: 100%;
    height: 220px;
    border-radius: 12px; /* Rounded top and bottom for image inside card */
    overflow: hidden;
    margin-bottom: 15px;
    background: #f4f4f4;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* Ensures the face stays visible */
    transition: transform 0.5s ease;
}

.member-card:hover .member-img img {
    transform: scale(1.05);
}

.member-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    color: #000000;
    margin-bottom: 6px;
    font-weight: 700;
    line-height: 1.3;
}

.member-info p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #666666; /* Gray text for designation */
    margin: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .members-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .member-img {
        height: 180px;
    }
    .member-info h3 {
        font-size: 1.05rem;
    }
}

/* =========================================
   LIBRARY CATALOG (BOOKS) PAGE
   ========================================= */
.library-catalog-section {
    background: #ffffff;
    padding: 80px 2rem 100px;
}

.catalog-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    width: 100%;
    /* overflow: hidden; */
}

/* SIDEBAR STYLES */
.catalog-sidebar {
    width: 280px;
    background: #fff9f2; /* Light cream background */
    border-right: 6px solid #8b0000; /* Dark red right border */
    border-radius: 12px 0 0 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    padding-bottom: 2rem;
}

.catalog-sidebar h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: #1c1008;
    padding: 1.5rem 1.5rem 1rem;
    margin-bottom: 0;
}

.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.category-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.category-list a {
    display: block;
    padding: 12px 1.5rem;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    color: #333;
    font-size: 1.05rem;
    transition: all 0.2s ease;
}

.category-list a:hover {
    background: rgba(139, 0, 0, 0.05);
    color: #8b0000;
    padding-left: 1.8rem; /* Slight indent on hover */
}
@media (max-width: 768px) {
    .library-catalog-section {
        padding: 40px 0.75rem;
    }

    .catalog-container {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .table-responsive {
        border-radius: 4px;
        margin: 0;
    }

    .catalog-table th,
    .catalog-table td {
        font-size: 0.85rem;
        padding: 10px 8px;
        min-width: 100px;
    }

    .marathi-text {
        font-size: 0.95rem;
    }
}
/* MAIN CONTENT & FILTER FORM */
.catalog-main {
    flex-grow: 1;
    min-width: 0;      /* हे आधीच आहे - ठीक आहे */
    overflow: hidden;  /* हे ADD करा */
    width: 100%;
}
.filter-box {
    background: #ffffff;
    margin-bottom: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 1rem;
    align-items: end;
}

.filter-box .form-group {
    margin-bottom: 0;
}

.filter-box label {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 1.05rem;
    color: #000;
    margin-bottom: 4px;
    display: block;
    text-transform: none;
    letter-spacing: normal;
}

.filter-box input,
.filter-box select {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-size: 0.95rem;
    background: #fff;
    height: 38px;
}

.form-actions {
    display: flex;
    gap: 10px;
}

.btn-submit {
    background: #dc3545; /* Red color */
    color: white;
    border: none;
    padding: 8px 20px;
    font-size: 0.95rem;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-submit:hover {
    background: #c82333;
}

.btn-reset {
    background: #198754; /* Green color */
    color: white;
    border: none;
    padding: 8px 20px;
    font-size: 0.95rem;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-reset:hover {
    background: #157347;
}

/* TABLE STYLES */
.total-records {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    font-weight: 500;
}

.table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    -webkit-overflow-scrolling: touch;
    display: block;
}

.catalog-table {
    width: 100%;
    min-width: 650px; /* हे add करा - mobile la scroll होईल */
    border-collapse: collapse;
    font-family: 'Poppins', sans-serif;
    background: #fff;
    table-layout: auto;
}

.catalog-table th,
.catalog-table td {
    white-space: nowrap;
    padding: 12px 10px;
}

.catalog-table th {
    background: #f8f9fa;
    color: #1c1008;
    font-style: normal;
    font-weight: 600;
    text-align: center;
    padding: 15px 12px;
    border-bottom: 2px solid #8b0000;
    border-right: 1px solid #dee2e6;
    font-size: 0.95rem;
    line-height: 1.4;
    min-width: 120px;
}
.js-pagination {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}
.catalog-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    font-size: 0.95rem;
    vertical-align: middle;
    color: #333;
    min-width: 120px;
    text-align: center;  /* हे add करा */
    white-space: nowrap;
}

.catalog-table tr:nth-child(even) {
    background-color: #fafbfc;
}

.catalog-table tr:hover {
    background-color: #f0f0f0;
}

.marathi-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    color: #1c1008;
}

.btn-claim {
    background: #8b3a3a; /* Darker red-brown */
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    line-height: 1.2;
    transition: background 0.3s;
}

.btn-claim:hover {
    background: #6b2a2a;
}

/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
    .catalog-container {
        flex-direction: column;
    }
    .catalog-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 6px solid #8b0000;
        border-radius: 12px 12px 0 0;
    }
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .library-catalog-section {
        padding: 40px 1rem;
    }
}

/* =========================================
   EVENTS & ACTIVITIES PAGE
   ========================================= */
.events-gallery-section {
    background: var(--cream);
    padding-top: 60px;
    padding-bottom: 100px;
}

.events-gallery-section .events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card styled exactly like the screenshot */
.event-gallery-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.event-gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(139, 0, 0, 0.1);
    border-color: rgba(204, 0, 0, 0.2);
}

.event-gallery-img {
    width: 100%;
    height: 240px; /* Fixed height for uniformity */
    border-radius: 10px; /* Internal border radius */
    overflow: hidden;
    margin-bottom: 1.2rem;
    background: #f4f4f4;
}

.event-gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.event-gallery-card:hover .event-gallery-img img {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

.event-gallery-info {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem 0.5rem;
}

.event-gallery-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #000000;
    line-height: 1.4;
    font-weight: 700;
    margin: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .events-gallery-section .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .events-gallery-section .events-grid {
        grid-template-columns: 1fr;
    }
    .event-gallery-img {
        height: 220px;
    }
}

/* MODAL STYLES */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-page-section {
    background: var(--cream);
    padding: 60px 2rem 100px;
}

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    align-items: center;
}

/* LEFT INFO BOX */
.contact-info-box {
    background: #2c1810; /* Dark Brown from your screenshot */
    padding: 2.5rem 2rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-icon {
    background-color: #1c1008; /* Even darker brown for icon background */
    min-width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    color: #ffffff;
    width: 28px;
    height: 28px;
}

.contact-text h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color: #ffd0d0;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
}

/* RIGHT MAP CONTAINER */
.map-container {
    width: 100%;
    height: 450px; /* Or adjust as needed */
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/*ताज्या घडामोडी*/
.section-inner {
    max-width: 1200px;
    margin: auto;
    padding: 20px 20px;
}

/* GRID FIX */
.events-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

/* LEFT CARD */
.event-featured {
    background: #fff;
    border: 1px solid #eee;
}

.event-img {
    position: relative;
}

.event-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* DATE BADGE */
.event-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: red;
    color: #fff;
    padding: 10px;
    text-align: center;
}

.event-date-badge .day {
    font-size: 22px;
    font-weight: bold;
    display: block;
}

.event-date-badge .month {
    font-size: 12px;
}

/* BODY */
.event-body {
    padding: 20px;
}

.event-type {
    color: red;
    font-weight: 600;
}

/* RIGHT LIST */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ITEM */
.event-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid #eee;
    background: #fafafa;
}

/* DATE BOX */
.event-item-date {
    background: red;
    color: #fff;
    padding: 10px;
    text-align: center;
    min-width: 60px;
}

.event-item-date span {
    font-size: 18px;
    font-weight: bold;
    display: block;
}

/* RESPONSIVE FIX */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}

/* home page आमच्याबद्दल*/
.section-eyebrow {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #b30000;
    margin-bottom: 8px;
    display: inline-block;
    border-left: 3px solid #b30000;
    padding-left: 8px;
}

/*footer*/
.footer-col ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-col ul li strong {
    color: #ffcccb;
    font-weight: 600;
}

.footer-col a {
    color: #fff;
    text-decoration: none;
}

.footer-col a:hover {
    color: #ff4d4d;
}

/*home about section*/
/* TITLE HOVER EFFECT */
.fancy-title {
    display: inline-block;
    position: relative;
    transition: 0.3s;
    cursor: pointer;
}

.fancy-title::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 3px;
    background: #cc0000;
    left: 0;
    bottom: -8px;
    transition: 0.4s;
}

.fancy-title:hover::after {
    width: 100%;
}

/* CONTENT STYLE */
.library-content {
    margin-top: 40px;
}

.info-block {
    margin-bottom: 30px;
    padding: 20px;
    border-left: 4px solid #cc0000;
    background: #fafafa;
    border-radius: 10px;
    transition: 0.3s;
}

.info-block:hover {
    background: #fff;
    transform: translateX(8px);
}

/* TEXT */
.info-block h3 {
    margin-bottom: 10px;
    color: #cc0000;
}

.info-block p {
    line-height: 1.7;
    color: #444;
}

/* ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/*title animation*/
.fancy-title {
    color: #cc0000;
    display: inline-block;
    position: relative;
    transition: 0.3s;
}

/* underline effect */
.fancy-title::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 3px;
    background: #cc0000;
    left: 0;
    bottom: -8px;
    transition: 0.4s;
}

.fancy-title:hover::after {
    width: 100%;
}

/* optional hover glow */
.fancy-title:hover {
    color: #a80000;
}

.fancy-title {
    font-size: 42px;
}

/*about section*/
/* TITLE */
.timeline-title {
    font-size: clamp(32px, 5vw, 50px);
    font-weight: 800;
    text-align: center;
    background: linear-gradient(45deg, #cc0000, #ff4d4d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* TIMELINE LINE */
.timeline {
    position: relative;
    margin-top: 50px;
    padding-left: 20px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 0;
    width: 3px;
    height: 100%;
    background: #cc0000;
}

/* ITEM */
.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 40px;
}

/* DOT */
.timeline-dot {
    position: absolute;
    left: 5px;
    top: 5px;
    width: 18px;
    height: 18px;
    background: #cc0000;
    border-radius: 50%;
    transition: 0.3s;
}

/* GLOW DOT */
.timeline-dot.glow {
    box-shadow:
        0 0 15px #ff3333,
        0 0 30px #ff3333;
}

/* CONTENT CARD (GLASS EFFECT) */
.timeline-content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: 0.4s;
}

/* HOVER EFFECT */
.timeline-content:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* HIGHLIGHT */
.timeline-item.highlight .timeline-content {
    background: linear-gradient(45deg, #cc0000, #ff3333);
    color: #fff;
}

/* TEXT */
.timeline-content h3 {
    margin-bottom: 10px;
}

.timeline-content p {
    line-height: 1.7;
}

/* ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/*home book animation card*/
.books-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* Responsive: 2 columns on mobile/tablet */
@media (max-width: 1024px) {
    .books-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

.book-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    transform: translateY(40px);
    opacity: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Scroll animation visible */
.book-card.active {
    transform: translateY(0);
    opacity: 1;
}

/* Image */
.book-cover {
    position: relative;
    overflow: hidden;
}

.book-cover img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Overlay effect */
.book-cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: 0.4s;
}

/* Hover effects 🔥 */
.book-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.book-card:hover img {
    transform: scale(1.1);
}

.book-card:hover .book-cover-overlay {
    opacity: 1;
}

/* Badge */
.book-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: red;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
}

/* Text */
.book-info {
    padding: 15px;
}

.book-title {
    font-weight: bold;
    margin-top: 5px;
}



/* ===== NAVBAR PERFECT SIZE ===== */
#navbar {
  height: 85px;
  padding: 0;
  display: flex;
  align-items: center;
}

/* ===== INNER SPACING ===== */
.nav-inner {
  width: 95%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== LOGO ===== */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 65px;   /* perfect clear logo */
  width: auto;
}

/* ===== HEADING TEXT ===== */
.nav-logo-text .main {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

/* ===== MENU LINKS ===== */
.nav-links li a {
  font-size: 16px;
  padding: 8px 12px;
  color: #fff;
  text-decoration: none;
}

/* ===== CONTACT BUTTON ===== */
.nav-cta {
  padding: 8px 14px;
  font-size: 15px;
  border-radius: 5px;
  background: #fff;
  color: #8B0000 !important;
}

/* ===== OPTIONAL SHADOW (premium look) ===== */
#navbar {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ===== PAGINATION STYLES ===== */
.mt-8 {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: #1c1008;
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination .page-link:hover {
    background: #8b0000;
    color: white;
    border-color: #8b0000;
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: #8b0000;
    color: white;
    border-color: #8b0000;
}

.pagination .page-item.disabled .page-link {
    color: #999;
    cursor: not-allowed;
    background: #f0f0f0;
    border-color: #ddd;
    opacity: 0.6;
}


.icon {
    width: 70px;
    height: 70px;
    background-color: #fce8e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* fact-list icon override */
.fact-list li .icon {
    width: 45px;
    height: 45px;
    background: #fff0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;        /* वरचा margin: 0 auto 20px cancel */
    font-size: 1.3rem;
}

.fact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
