:root {
    /* Brand Colors derived from Agour Industries Logo */
    --brand-red: #D80000;
    --brand-orange: #F28C00;
    --brand-dark: #1a1a1a;
    
    /* Theme Colors */
    --theme-beige-light: #F9F8F4;
    --theme-beige-dark: #EBE8E1;
    --text-color: #4a4a4a;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--theme-beige-light);
    color: var(--text-color);
    overflow-x: hidden;
}

/* ================= NAVBAR STYLES ================= */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    padding: 10px 0; /* Adjusted padding for image logo */
    transition: all 0.3s ease;
}

/* Navbar Logo Image - STRICT SIZING */
.navbar-brand-img {
    height: 60px; /* Increased slightly for visibility */
    max-height: 60px; /* Forces the image to never exceed this height */
    width: auto; /* Maintains aspect ratio */
    display: block;
    object-fit: contain; /* Ensures logo fits inside dimensions without stretching */
    transition: transform 0.3s ease;
}

.navbar-brand:hover .navbar-brand-img {
    transform: scale(1.05);
}

/* Nav Links Styling */
.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--brand-orange) !important;
}

/* Underline Animation */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--brand-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}


/* --- Carousel Styling --- */
.carousel-item {
    height: 85vh; 
    min-height: 400px;
    background-color: #000;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    opacity: 0.7; /* Slightly brighter than before */
}

.carousel-caption {
    bottom: 30%;
    text-align: left;
    left: 10%;
    right: 10%;
}

.carousel-caption h5 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out;
}

.carousel-caption p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.btn-hero {
    background-color: var(--brand-orange);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px; /* Slightly sharper corners */
    font-weight: 600;
    animation: fadeInUp 1s ease-out 0.6s backwards;
    transition: all 0.3s;
}

.btn-hero:hover {
    background-color: var(--brand-red); /* Hover to red for pop */
    color: white;
    transform: translateY(-2px);
}

/* --- About Us Section --- */
.about-section {
    padding: 100px 0;
    background-color: var(--theme-beige-light);
    position: relative;
}

.about-content-wrapper {
    background: white;
    border-radius: 20px;
    overflow: hidden; /* Essential for keeping the zoomed image inside */
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

/* Slight lift of the whole card on hover */
.about-content-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.about-text {
    padding: 60px 50px;
    z-index: 2; /* Ensure text stays on top */
    position: relative;
    background: white;
}

.section-subtitle {
    color: var(--brand-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 25px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--brand-red);
    margin-top: 15px;
}

/* Image Wrapper to handle the zoom area */
.about-img-wrapper {
    height: 100%;
    min-height: 450px;
    overflow: hidden; /* This clips the image when it is zoomed */
    position: relative;
}

/* The actual image container that will scale */
.about-img-bg {
    height: 100%;
    width: 100%;
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    
    /* Start state: Zoomed IN slightly */
    transform: scale(1.1);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hover state: Zoom OUT to normal */
.about-content-wrapper:hover .about-img-bg {
    transform: scale(1.0);
}

/* --- Ebooks Section (Marquee) --- */
.ebooks-section {
    padding: 80px 0;
    background-color: white;
    overflow: hidden; /* Hide overflow for infinite scroll */
}

.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 30px; /* Space between cards */
    animation: scroll 20s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused; /* Pause on hover */
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); } /* -50% because we duplicate content, -15px for half gap */
}

.ebook-card {
    width: 300px; /* Fixed width for cards */
    flex-shrink: 0;
    background: var(--theme-beige-light);
    border-radius: 15px;
    border: 2px solid transparent; /* Prepare for border transition */
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ebook-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.ebook-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--brand-dark);
}

.ebook-card:hover {
    /* GLOW BORDER EFFECT */
    border-color: var(--brand-orange);
    box-shadow: 0 0 20px rgba(242, 140, 0, 0.3); /* Glow orange */
    transform: translateY(-5px);
    background: white;
}

.ebook-card:hover .ebook-image {
    transform: scale(1.02);
}

/* --- Animation Utilities --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Tweaks --- */
@media (max-width: 768px) {
    .carousel-caption h5 { font-size: 2rem; }
    .carousel-item { height: 60vh; }
    .about-text { padding: 40px 25px; }
    .nav-link { margin: 5px 0; }
    
    /* Marquee moves faster on mobile if desired, or keep same */
    .ebook-card { width: 250px; }
    .ebook-image { height: 320px; }
}

/* --- Explore More Section --- */
.explore-section {
    padding: 100px 0;
    /* Uses your theme variable, or replace with #F9F8F4 */
    background-color: var(--theme-beige-light); 
}

/* Note: The .section-title::after rule from your main CSS will apply here automatically.
   I have removed the code that hid it, so the red line under "Explore More" is back. */
.explore-section .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

/* The Circle Container - Now applies to the <a> tag */
.explore-circle {
    background-color: white;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    cursor: pointer;
    color: var(--brand-dark);
    border: 2px solid transparent;
    text-decoration: none; /* Removes link text underline */
}

/* The Icon Styling */
.explore-circle i {
    font-size: 4rem;
    margin-bottom: 15px;
    color: var(--brand-dark);
    transition: color 0.4s ease, border-color 0.4s ease;
}

/* --- Hover Effects --- */

.explore-circle:hover {
    transform: scale(1.1);
    color: white;
}

.explore-circle:hover i {
    color: white;
}

/* Specific Color Changes */
.circle-red:hover {
    background-color: #EF4444; 
    box-shadow: 0 15px 40px rgba(239, 68, 68, 0.4);
    border-color: #EF4444;
}

.circle-blue:hover {
    background-color: #3B82F6; 
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
    border-color: #3B82F6;
}

.circle-purple:hover {
    background-color: #8B5CF6; 
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
    border-color: #8B5CF6;
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 100px 0;
    /* Slightly darker beige to distinguish from the previous section */
    background-color: #F2F0E9; 
}

.testimonial-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 5px solid transparent; /* Ready for hover effect */
    height: 100%; /* Makes all cards same height */
}

/* Hover Effect: Lifts up and shows Brand Orange border */
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-bottom-color: var(--brand-orange);
}

.quote-icon {
    font-size: 2rem;
    color: var(--theme-beige-dark); /* Subtle color for icon */
    margin-bottom: 20px;
}

/* Make the quote icon turn Red on hover */
.testimonial-card:hover .quote-icon {
    color: var(--brand-red);
}

.review-text {
    font-style: italic;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-orange);
}

.reviewer-info h5 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: var(--brand-dark);
}

.reviewer-info span {
    font-size: 0.85rem;
    color: #888;
}

/* --- Why Choose Agour Section (Dark Industrial Theme) --- */
.why-choose-section-dark {
    padding: 100px 0;
    background-color: var(--brand-dark); /* Using your #1a1a1a variable */
    color: white;
    overflow: hidden; /* Keeps the big numbers inside the section */
}

/* The Grid Item */
.dark-feature-item {
    padding: 60px 30px;
    position: relative;
    /* Subtle separator lines */
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
    height: 100%;
    z-index: 1;
}

/* Remove right border on the last item */
.col-lg-3:last-child .dark-feature-item {
    border-right: none;
}

/* Hover Effect: Lighten background slightly */
.dark-feature-item:hover {
    background-color: rgba(255,255,255,0.03);
    transform: translateY(-5px);
}

/* The Giant Background Number */
.number-bg {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 8rem;
    font-weight: 900;
    color: white;
    opacity: 0.03; /* Very faint by default */
    line-height: 1;
    transition: all 0.5s ease;
    pointer-events: none; /* Let clicks pass through */
    z-index: 0;
}

/* Hover: Number lights up and moves */
.dark-feature-item:hover .number-bg {
    opacity: 0.15;
    color: var(--brand-orange);
    transform: translateY(10px) scale(1.1);
}

/* Content wrapper to stay above the number */
.content-rel {
    position: relative;
    z-index: 2;
}

/* Responsive Border Fixes */
@media (max-width: 991px) {
    .dark-feature-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .col-lg-3:last-child .dark-feature-item {
        border-bottom: none;
    }
}/* --- Why Choose Agour Section (Light Mode) --- */
.why-choose-section-light {
    padding: 100px 0;
    background-color: white; 
    color: var(--text-color);
    overflow: hidden;
}

.light-feature-item {
    padding: 60px 30px;
    position: relative;
    border-right: 1px solid #eee; /* Light subtle border */
    transition: all 0.4s ease;
    height: 100%;
    z-index: 1;
    background-color: white;
}

/* Remove border for the last item on desktop */
.col-lg-3:last-child .light-feature-item {
    border-right: none;
}

/* Hover Effect: Light Beige background */
.light-feature-item:hover {
    background-color: var(--theme-beige-light); 
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Giant Background Number - Light Gray */
.number-bg-light {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 8rem;
    font-weight: 900;
    color: #f3f3f3; /* Very faint gray */
    line-height: 1;
    transition: all 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

/* Hover: Number turns faint Orange */
.light-feature-item:hover .number-bg-light {
    color: var(--brand-orange);
    opacity: 0.15;
    transform: translateY(10px) scale(1.1);
}

.brand-icon {
    color: var(--brand-orange);
    transition: color 0.3s ease;
}

.light-feature-item:hover .brand-icon {
    color: var(--brand-red);
}

.feature-title {
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 15px;
}

/* Wrapper borders */
.why-choose-section-light .row.g-0 {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .light-feature-item {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .col-lg-3:last-child .light-feature-item {
        border-bottom: none;
    }
}

/* ================= FOOTER STYLES ================= */
.footer-section {
    background-color: var(--theme-beige-light); /* Cream background */
    padding: 60px 0 30px;
    color: var(--brand-dark);
    position: relative;
    border-top: 1px solid #e6e6e6;
}

/* Footer Logo Image */
.footer-brand-img {
    height: 80px; /* Larger than navbar logo */
    width: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.footer-brand-img:hover {
    transform: scale(1.05);
}

/* Footer Nav Links */
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-nav li a {
    color: var(--brand-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-nav li a:hover {
    color: var(--brand-orange);
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: white;
}

.social-btn i {
    font-size: 1.2rem;
}

.social-btn:hover {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(216, 0, 0, 0.3);
    color: white;
}

/* Copyright Area */
.footer-divider {
    border-color: rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.footer-copyright {
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.developer-name {
    color: var(--brand-orange);
    font-weight: 700;
    text-transform: uppercase;
}

/* --- Global Variables (Matching your Theme) --- */
:root {
    --brand-red: #D80000;
    --brand-orange: #F28C00;
    --brand-dark: #1a1a1a;
    --theme-beige-light: #F9F8F4;
}

.section-padding {
    padding: 100px 0;
}

.section-subtitle {
    color: var(--brand-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 2.5rem;
}

/* --- Page Hero --- */
.page-hero {
    /* Dark background image with overlay */
    background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 40vh; /* Shorter than home carousel */
    min-height: 300px;
}

/* --- Story Section --- */
.story-section {
    background-color: white;
}

.story-img-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    
    /* CRITICAL: Allows the badge to stick out of the box */
    overflow: visible; 
    
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    
    /* Add space at bottom so the hanging badge doesn't hit the next element */
    margin-bottom: 50px; 
}

.story-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* Styling for the second image to ensure it looks consistent */
.story-img-secondary {
    position: relative;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    /* Optional: Limit height if you don't want it too tall */
    max-height: 400px; 
}

.story-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the box nicely */
    display: block;
}

/* Badge Positioning */
.experience-badge {
    position: absolute;
    
    /* Puts it on the Right side */
    right: 30px;  
    
    /* Pushes it down (Half on image, half off) */
    bottom: -30px; 
    
    /* Reset left to auto just in case */
    left: auto;   
    
    background: #D80000; /* Brand Red */
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 10;
}

.experience-badge .display-6 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.experience-badge .small {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Responsive Fix for Desktop */
@media (min-width: 992px) {
    .story-img-wrapper {
        height: auto;
        min-height: 400px; /* Optional: Adjust based on your preference */
    }
}
    
    

    .experience-badge .display-6 {
        font-size: 2.5rem;
    }
}

/* --- Timeline Section --- */
.timeline-section {
    background-color: var(--theme-beige-light);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Vertical Line */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #ddd;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

/* Left and Right containers */
.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

/* The Dot */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--brand-orange); /* Agour Orange */
    border: 4px solid white;
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(242, 140, 0, 0.2);
}

.timeline-item.right::after {
    left: -10px;
}

/* Content Box */
.timeline-item .content {
    padding: 30px;
    background-color: white;
    position: relative;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.timeline-item:hover .content {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.timeline-item .year {
    font-weight: 800;
    font-size: 1.5rem;
    display: block;
    margin-bottom: 5px;
}

.text-brand-red { color: var(--brand-red); }
.text-brand-orange { color: var(--brand-orange); }

/* Responsive Timeline */
@media screen and (max-width: 768px) {
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item.right { left: 0; }
    .timeline-item.left::after, .timeline-item.right::after { left: 21px; }
}

/* --- Achievements Section --- */
.achievements-section {
    background-color: var(--brand-dark);
}

.achievement-card {
    padding: 20px;
    transition: transform 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-10px);
}

:root {
    --brand-red: #D80000;
    --brand-orange: #F28C00;
    --brand-dark: #1a1a1a;
    --theme-beige-light: #F9F8F4;
    --flipbook-blue: #4285F4; /* The exact blue from your reference */
}

body {
    background-color: var(--theme-beige-light);
    font-family: 'Poppins', sans-serif;
    color: var(--brand-dark);
}

/* --- Page Header --- */
.ebooks-header {
    padding: 60px 0 40px;
}

/* Place the red underline below the header block (title + description)
   Hide the default underline on .section-title for this header and instead
   add the decorative bar on the header container so it appears below the text. */
.ebooks-header .section-title::after {
    /* show the decorative underline immediately under the title */
    display: block;
    width: 60px;
    height: 4px;
    background: var(--brand-red);
    margin: 12px auto 0; /* small gap between title and line */
    content: '';
}

/* --- Ebooks Grid Layout --- */
.ebooks-grid-section {
    padding-bottom: 100px;
}

/* Search Bar Styles */
.btn-brand-orange {
    background-color: var(--brand-orange);
    color: white;
    border: none;
}
.btn-brand-orange:hover {
    background-color: var(--brand-red);
    color: white;
}

/* --- Book Card (Tall & Clean) --- */
.book-card {
    background-color: white;
    border-radius: 20px;
    padding: 15px; /* Spacing inside the card */
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Book Image Container */
.book-img-container {
    width: 100%;
    /* HEIGHT set to 320px for that tall, book-cover look */
    height: 320px; 
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #f8f8f8;
}

.book-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Zoom effect on hover */
.book-card:hover .book-img-container img {
    transform: scale(1.05);
}

/* Book Info */
.book-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1; /* Pushes button to bottom if title is short */
}

.book-title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    /* Limit title lines to keep cards even */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Blue Pill Button (Flipbook & Video) --- */
.btn-flipbook {
    background-color: var(--flipbook-blue);
    color: white;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: 50px; /* Perfect pill shape */
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    display: block;
}

.btn-flipbook:hover {
    background-color: #3367d6; /* Slightly darker blue on hover */
    color: white;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .book-img-container {
        height: 260px; 
    }
    .book-title {
        font-size: 0.85rem;
    }
}


