/* Custom Colors (Dark Mode Defaults) */
:root {
    --primary-green: #22c55e;
    /* Brand Green */
    --primary-green-dark: #16a34a;
    /* Darker Green for hover */
    --accent-orange: #f97316;
    /* Brand Orange */
    --accent-orange-dark: #ea580c;
    /* Darker Orange for hover */
    --light-white: #ffffff;
    /* Explicitly define white for all button text */

    /* Dark Mode Specific Variables */
    --bg-body: #0f172a;
    /* slate-900 */
    --bg-section-alt: #1e293b;
    /* slate-800 for even sections */
    --bg-card: #0f172a;
    /* slate-900 for cards in odd sections */
    --bg-card-alt: #1e293b;
    /* slate-800 for cards in even sections */
    --text-heading: #ffffff;
    /* white */
    --text-body: #e2e8f0;
    /* light slate text */
    --text-medium: #94a3b8;
    /* slate-400 */
    --text-input: #334155;
    /* slate-700, for input text in light background */
    --text-input-placeholder: #64748b;
    /* slate-500 */
    --border-color: rgba(255, 255, 255, 0.08);
    /* Light border for dark cards */
    --header-bg-scrolled: #0f172a;
    /* Opaque dark-blue-black when scrolled */
    --header-box-shadow-scrolled: rgba(0, 0, 0, 0.5);
    --card-box-shadow: rgba(0, 0, 0, 0.3);
    --card-box-shadow-hover: rgba(0, 0, 0, 0.4);
    --overlay-bg: rgba(15, 23, 42, 0.6);
    /* Slightly less opaque overlay */
    --dropdown-bg: #0f172a;
    /* Dark background for dropdown */
    --dropdown-hover-bg: #1e293b;
    /* Lighter dark-blue-black on dropdown hover */
    --cookie-banner-bg: rgba(0, 0, 0, 0.8);
    /* Semi-transparent black for cookie banner */
    --cookie-banner-text: #ffffff;
}

/* Light Mode Overrides */
body.light-mode {
    /* Primary Green for Light Mode (Darker) */
    --primary-green: #168a44;
    /* Darker green for light mode */
    --primary-green-dark: #0f6a31;
    /* Even darker green for hover in light mode */

    /* Backgrounds */
    --bg-body: #f8fafc;
    /* slate-50 */
    --bg-section-alt: #ffffff;
    /* white for even sections */
    --bg-card: #f8fafc;
    /* slate-50 for cards in odd sections */
    --bg-card-alt: #ffffff;
    /* white for cards in even sections */

    /* Text Colors */
    --text-heading: #1e293b;
    /* dark slate */
    --text-body: #475569;
    /* slate-600 */
    --text-medium: #64748b;
    /* slate-500 */
    --text-input: #475569;
    /* slate-600 */
    --text-input-placeholder: #94a3b8;
    /* slate-400 */
    --border-color: rgba(0, 0, 0, 0.1);
    /* Darker border for light cards */

    /* Header Specific Overrides for Light Mode */
    --header-bg-scrolled: #ffffff;
    /* Opaque white on scroll */
    --header-box-shadow-scrolled: rgba(0, 0, 0, 0.15);

    /* Card Specific Overrides for Light Mode */
    --card-box-shadow: rgba(0, 0, 0, 0.1);
    --card-box-shadow-hover: rgba(0, 0, 0, 0.2);

    /* Overlay for hero background (lighter for contrast in light mode) */
    --overlay-bg: rgba(255, 255, 255, 0.7);

    /* Dropdown background in light mode */
    --dropdown-bg: #ffffff;
    --dropdown-hover-bg: #f1f5f9;
    /* slate-100 */
    --cookie-banner-bg: rgba(255, 255, 255, 0.9);
    /* Semi-transparent white for cookie banner */
    --cookie-banner-text: #1e293b;
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--bg-body);
    color: var(--text-body);
    line-height: 1.6;
    min-height: 200vh;
    /* For scrolling effect demonstration */
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Smooth theme transition */
    color-scheme: dark;
    /* Default color scheme for browser elements */
}

body.light-mode {
    color-scheme: light;
    /* Light color scheme for browser elements */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-heading);
    margin-top: 0;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* --- Header & Hero Background Wrapper --- */
.top-section-wrapper {
    position: relative;
    background: url('https://images.unsplash.com/photo-1507842217343-583fd22fd34b?fit=crop&w=1920&q=80') no-repeat center center / cover;
    min-height: 80vh;
    /* Ensure it covers hero */
    display: flex;
    flex-direction: column;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-bg);
    /* Use variable for dynamic overlay */
    z-index: 1;
    transition: background-color 0.3s ease;
}

/* --- Header --- */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    background-color: transparent;
    /* Totally transparent at rest */
    box-shadow: none;
    /* No shadow at rest */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, transform 0.3s ease;
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);

    /* No blur at rest */
}

/* Header state when scrolled and shown (scrolling up) */
.header.scrolled-visible {
    background-color: var(--header-bg-scrolled);
    box-shadow: 0 6px 20px var(--header-box-shadow-scrolled);
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(8px);
    transform: translateY(0);
    /* Make sure it's visible */
}

/* Header state when scrolled and hidden (scrolling down) */
.header.scrolled-hidden {
    transform: translateY(-100%);
    /* Hide it upwards */
    background-color: var(--header-bg-scrolled);
    /* Maintain background for smooth transition when re-appearing */
    box-shadow: 0 6px 20px var(--header-box-shadow-scrolled);
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(8px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /* For dropdown z-index */
    z-index: 2;
    /* Ensure navbar content is above overlay */
}

.logo {
    width: 200px;
    max-height: 100px;
}

.nav-links {
    display: none;
    /* Hidden by default on small screens */
    gap: 1.5rem;
    align-items: center;
}

.nav-links a,
.login-btn {
    color: var(--text-heading);
    /* Use text-heading for nav links */
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-green);
}

/* Dropdown specific styles */
.dropdown {
    position: relative;
    display: inline-block;
    /* Allows width to fit content */
}

.dropdown-btn {
    cursor: pointer;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    /* To make the dropdown clickable area larger */
    position: relative;
    z-index: 101;
    /* Ensure dropdown button is above other nav items */
}

.dropdown-btn .arrow-icon {
    font-size: 0.7em;
    margin-left: 0.5em;
    transition: transform 0.2s ease;
    display: inline-block;
    /* Essential for transform */
}

/* Hover for desktop dropdown */
.dropdown:hover .dropdown-btn .arrow-icon {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--dropdown-bg);
    min-width: 200px;
    box-shadow: 0 8px 16px 0px rgba(0, 0, 0, 0.4);
    z-index: 100;
    /* Ensure dropdown is above content but below button */
    border-radius: 8px;
    padding: 0.5rem 0;
    top: calc(100% + 5px);
    /* Position slightly below the button */
    left: 50%;
    transform: translateX(-50%);
    /* Center the dropdown */
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.dropdown-content a {
    color: var(--text-body);
    /* Use text-body for dropdown items */
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-content a:hover {
    background-color: var(--dropdown-hover-bg);
    color: var(--primary-green);
}

/* Show dropdown on hover over the entire .dropdown container */
.dropdown:hover .dropdown-content {
    display: block;
}

.login-btn {
    background-color: var(--accent-orange);
    color: var(--light-white);
    /* Always white for brand button */
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.login-btn:hover {
    background-color: var(--accent-orange-dark);
    transform: translateY(-1px);
}

.menu-toggle {
    display: block;
    /* Show hamburger on small screens */
    background: none;
    border: none;
    color: var(--text-heading);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    /* Larger icon */
    cursor: pointer;
    color: var(--text-heading);
    /* Use text-heading for icon color */
    transition: color 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    /* Adjust line height for icon centering */
}

.theme-toggle:hover {
    color: var(--primary-green);
}

/* Mobile navigation overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-body);
    /* Use body background for overlay */
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out, background-color 0.3s ease;
}

.mobile-nav-overlay.open {
    transform: translateX(0);
}

.mobile-nav-overlay a {
    color: var(--text-heading);
    /* Use text-heading for mobile nav links */
    font-size: 1.8rem;
    margin: 1rem 0;
    text-decoration: none;
    display: block;
    /* Ensures vertical stacking */
    transition: color 0.3s ease;
}

.mobile-nav-overlay a:hover {
    color: var(--primary-green);
}

.close-menu-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-heading);
    font-size: 3rem;
    cursor: pointer;
}

/* Mobile dropdown for categories */
.mobile-nav-overlay .dropdown-content {
    position: static;
    display: none;
    /* Hidden by default on mobile, toggled by JS */
    box-shadow: none;
    background-color: transparent;
    width: auto;
    min-width: unset;
    margin-top: 0;
    transform: none;
    border: none;
    padding: 0;
    /* Smooth opening/closing animation */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

.mobile-nav-overlay .dropdown-content.open-mobile-dropdown {
    display: block;
    /* Shown when JS toggles this class */
    max-height: 500px;
    /* Large enough to show all items */
    opacity: 1;
}

.mobile-nav-overlay .dropdown-content a {
    font-size: 1.5rem;
    padding: 0.5rem 0;
    text-align: center;
    color: var(--text-body);
    /* Use text-body for mobile dropdown items */
}


/* --- Hero Section --- */
.hero {
    padding: 6rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    /* Allow hero to fill remaining space */
    position: relative;
    /* Above overlay */
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-green);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-medium);
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.hero-buttons .button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    margin: 0 0.8rem;
}

.hero-buttons .button-primary {
    background-color: var(--primary-green);
    color: var(--light-white);
    /* Always white for primary button text */
}

.hero-buttons .button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(34, 197, 94, 0.4);
}

.hero-buttons .button-secondary {
    background-color: var(--accent-orange);
    color: var(--light-white);
    /* Always white for secondary button text */
}

.hero-buttons .button-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(249, 115, 22, 0.4);
}

/* --- Category Sections --- */
.category-section {
    padding: 4rem 0;
    background-color: var(--bg-body);
    /* Default for odd sections */
    transition: background-color 0.3s ease;
}

.category-section:nth-child(even) {
    background-color: var(--bg-section-alt);
    /* Alternative background for even sections */
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    /* Dynamic border color */
    transition: border-color 0.3s ease;
}

.category-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
}

.view-all-btn {
    background-color: var(--accent-orange);
    /* Always orange background for good contrast with white text */
    color: var(--light-white);
    /* White text as requested */
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--accent-orange);
    /* Orange border */
}

/* No specific light-mode override for color/background needed as it's always orange now */

.view-all-btn:hover {
    background-color: var(--accent-orange-dark);
    color: var(--light-white);
}

/* Book Grid for Horizontal Scrolling */
.book-grid {
    display: flex;
    /* Use flexbox for horizontal layout */
    overflow-x: auto;
    /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    scroll-snap-type: x mandatory;
    /* Snap to cards when scrolling */
    gap: 1.5rem;
    /* Reduced spacing between cards */
    padding-bottom: 1rem;
    /* Space for scrollbar */
    margin-bottom: -1rem;
    /* Counteract padding-bottom for overall layout */
}

.book-grid::-webkit-scrollbar {
    height: 8px;
}

.book-grid::-webkit-scrollbar-track {
    background: var(--bg-section-alt);
    /* Track color */
    border-radius: 10px;
}

.book-grid::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    /* Thumb color */
    border-radius: 10px;
}

.book-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green-dark);
    /* Thumb hover color */
}


.book-card {
    flex-shrink: 0;
    width: 250px;
    background-color: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 6px 20px var(--card-box-shadow);
    padding: 1rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    scroll-snap-align: start;
}

.category-section:nth-child(even) .book-card {
    background-color: var(--bg-card-alt);
    /* Alternative background for cards */
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--card-box-shadow-hover);
}

.book-thumbnail {
    width: 100%;
    /* Increased width */
    height: 200px;
    /* Reduced height */
    object-fit: cover;
    /* Cover the area, crop if necessary */
    border-radius: 8px;
    /* Slightly rounded corners for images */
    margin-bottom: 0.5rem;
    /* Reduced margin */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Light border for image */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

body.light-mode .book-thumbnail {
    border: 1px solid rgba(0, 0, 0, 0.1);
}


.book-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.3rem;
    /* Further reduced margin */
}

.book-card .author {
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 0.6rem;
    /* Further reduced margin */
}

.book-card .category-tag {
    display: none;
    /* Hidden as requested */
}

.book-action-btn {
    display: block;
    /* Make it a block-level button */
    width: 80%;
    /* Almost full width within card */
    margin-top: auto;
    /* Push button to the bottom */
    background-color: var(--primary-green);
    color: var(--light-white);
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.book-action-btn:hover {
    background-color: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}


/* --- Subscribe Section --- */
.subscribe-section {
    background-color: var(--primary-green);
    padding: 4rem 0;
    text-align: center;
    transition: background-color 0.3s ease;
}

.subscribe-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--light-white);
    /* Always white in this section */
    margin-bottom: 1rem;
}

.subscribe-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    /* Slightly transparent white */
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
    justify-content: center;

    flex-wrap: wrap;
}

.subscribe-form input {
    text-align: center;
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-input);
    /* Dynamic text color for input */
    background-color: var(--light-white);
    /* Always white background for input */
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.subscribe-form input::placeholder {
    color: var(--text-input-placeholder);
    /* Dynamic placeholder color */
}


#subscribe-button {
    background-color: var(--dark-blue-black);
    color: var(--light-white);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
}

#subscribe-button:hover {
    background-color: var(--bg-card);
    transform: translateY(-2px);
}






/* =======================================================================================
============================================================
============ FOOTER ========================================================
============================================================== */
.footer-section {
    background: linear-gradient(to right, #1a202c, #122c46);
    /* Dark blue-grey to dark red-brown gradient */
    color: #d1d5db;
    /* text-gray-300 */
    padding-top: 3rem;
    /* py-12 */
    padding-bottom: 3rem;
    border-radius: 100px 0 0 0;
}

.footer-container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: left;
}


.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: top;
}

@media (min-width: 768px) {

    /* md breakpoint */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        /* md:grid-cols-2 */
    }
}

@media (min-width: 1024px) {

    /* lg breakpoint */
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        /* lg:grid-cols-4 */
    }
}

/* Column styles */
.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 270px;
    text-align: left;
    max-width: 400px;
}


@media (min-width: 768px) {

    /* md breakpoint */
    .footer-column {
        align-items: flex-start;
        /* md:items-start */
        text-align: left;
        /* md:text-left */
    }
}

.footer-logo {
    width: 200px;
}


.footer-description {
    font-size: 1rem;
    /* text-sm */
    margin-bottom: 1rem;
    /* mb-4 */
    max-width: 350px;
    /* max-w-xs */
}

/* hover:scale-105 */

/* Section Titles */
.section-title {
    font-size: 1.5rem;
    /* text-lg */
    font-weight: 600;
    /* font-semibold */
    color: #ffffff;
    /* text-white */
    margin-bottom: 1rem;
    /* mb-4 */
    border-bottom: 2px solid #3b82f6;
    /* border-b-2 border-blue-500 */
    padding-bottom: 0.25rem;
    /* pb-1 */
}


/* Links Section */
.links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.5;
    /* space-y-2 (approx) */
}

.links-list li {
    margin-bottom: 0.5rem;
    /* Adjust as needed for spacing */
}

.links-list a {
    font-size: 1rem;
    /* text-sm */
    color: #d1d5db;
    /* default text color */
    transition: color 0.2s ease-in-out;
    /* transition duration-200 */
}

.links-list a:hover {
    color: #60a5fa;
    /* hover:text-blue-400 */
}


.android-wrapper {
    display: flex;
    flex-direction: column;

}

.android-wrapper a {
    margin: 5px 0;
    font-size: 20px;
    color: #fff;
    transition: .3s ease-in-out;
}

.android-wrapper a:hover {
    color: #1d4ed8;
}

.android {
    width: 200px;
    height: fit-content;
}

/* Social Media Icons */
.social-icons-container {
    display: flex;
    gap: 1rem;
    /* space-x-4 */
}

.social-icon {
    width: 2.5rem;
    /* w-10 */
    height: 2.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    /* bg-gray-700 */
    color: #1a202c;
    /* text-white */
    border-radius: 9999px;
    /* rounded-full */
    transition: all 0.3s ease-in-out;
    /* transition duration-300 ease-in-out */
}

.social-icon:hover {
    transform: scale(1.1);
    /* hover:scale-110 */
}

.social-icon.facebook:hover {
    background-color: #2563eb;
    /* hover:bg-blue-600 */
}

.social-icon.whatsapp:hover {
    background-color: #16a34a;
    /* hover:bg-green-600 */
}

.social-icon.twitter:hover {
    background-color: #60a5fa;
    /* hover:bg-blue-400 */
}

.social-icon.pinterest:hover {
    background-color: #dc2626;
    /* hover:bg-red-600 */
}

.footer-text {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer-text p {
    font-size: 15px;
    color: #838e9e;
    text-align: center;
    margin: 5px 0;
}

.quick-links {
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.quick-links a {
    font-size: 20px;
    font-weight: 600;
    color: #7e7e80;
    width: 200px;
    transition: .3s ease-in-out;
    border-left: 1px solid #7e7e80;
    border-right: 1px solid #7e7e80;
    text-align: center;
}

.quick-links a:hover {
    color: #1d4ed8;
}


/* Copyright Section */
.copyright-section {
    border-top: 1px solid #4b5563;
    /* border-t border-gray-700 */
    margin-top: 1rem;
    /* mt-12 */
    padding-top: 2rem;
    /* pt-8 */
    text-align: center;
    color: #7e7e80;
    /* text-gray-500 */
    font-size: 1rem;
    /* text-sm */
}










/* --- Cookie Consent Banner --- */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--cookie-banner-bg);
    color: var(--cookie-banner-text);
    padding: 1rem;
    text-align: center;
    z-index: 2000;
    /* Above everything */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    /* Start hidden below viewport */
    transition: transform 0.5s ease-out, background-color 0.3s ease, color 0.3s ease;
}

.cookie-consent-banner.show {
    transform: translateY(0);
    /* Slide into view */
}

.cookie-consent-banner p {
    margin: 0;
    max-width: 800px;
}

.cookie-consent-banner button {
    background-color: var(--primary-green);
    color: var(--light-white);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cookie-consent-banner button:hover {
    background-color: var(--primary-green-dark);
    transform: translateY(-1px);
}


/* --- Responsive Design --- */
@media (max-width: 767px) {
    .view-all-btn {
        padding: 0.4rem 0.8rem;
        /* Smaller padding */
        font-size: 0.8rem;
        /* Smaller font size */
        /* Ensure it doesn't wrap awkwardly */
        white-space: nowrap;
    }

    .cookie-consent-banner {
        flex-direction: column;
    }

    .cookie-consent-banner p {
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) {
    .navbar {
        justify-content: space-between;
    }

    .nav-links {
        display: flex;
        /* Show nav links on larger screens */
    }

    .menu-toggle {
        display: none;
        /* Hide hamburger on larger screens */
    }

    /* Place theme toggle next to login button */
    .navbar .theme-toggle {
        order: 3;
        /* After nav links and logo */
        margin-left: 1rem;
        /* Space from login button */
    }

    .navbar .login-btn {
        order: 4;
    }


    .hero-content h1 {
        font-size: 5rem;
    }

    .hero-content p {
        font-size: 1.4rem;
    }

    .hero-buttons {
        display: flex;
        justify-content: center;
    }

    .category-header h2 {
        font-size: 3rem;
    }

    .subscribe-form {
        flex-direction: row;
        gap: 0.5rem;
    }

    .subscribe-form input[type="email"] {
        flex-grow: 1;
    }

    .subscribe-form button {
        width: auto;
    }

    .cookie-consent-banner {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 6rem;
    }

    .hero {
        padding: 8rem 0;
    }
}