:root {
    --bg-primary: #f8f8f8;
    --bg-secondary: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --accent-color: #8b0000;
    --accent-hover: #6d0000;
    --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    --navbar-bg: #ffffff;
    --header-bg: linear-gradient(135deg, #8b0000, #330000);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

[data-theme="dark"] {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --text-primary: #f0f0f0;
    --text-secondary: #bbbbbb;
    --accent-color: #ff3333;
    --accent-hover: #cc0000;
    --card-shadow: 0 8px 20px rgba(255, 0, 0, 0.1);
    --navbar-bg: #1a1a1a;
    --header-bg: linear-gradient(135deg, #330000, #000000);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: var(--transition);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    position: relative;
    line-height: 1.6;
}

/* Three.js Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.05;
}

/* Navigation */
.navbar {
    background-color: var(--navbar-bg);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: var(--primary-dark);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    font-family: 'Arial Black', sans-serif;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-items {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-items a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-items a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-items a:hover::after {
    width: 100%;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition);
}

.theme-toggle:hover {
    background-color: rgba(139, 0, 0, 0.1);
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    background: var(--header-bg);
    color: white;
    padding: 10rem 2rem 8rem;
    text-align: center;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://drive.google.com/uc?export=view&id=YOUR_DRIVE_IMAGE_ID');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: white;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--accent-hover);
    transition: width 0.3s ease;
    z-index: -1;
}

.hero-btn:hover::before {
    width: 100%;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.4);
}

/* Main Content */
.container {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.8rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 5px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    border-radius: 5px;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --card-bg: #1e1e1e;
    --header-bg: #000;
    --header-text: #fff;
    --footer-bg: #000;
    --footer-text: #fff;
    --primary-color: #ff4d4d;
    --secondary-color: #9e9e9e;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
}

/* Story Cards */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.story-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.story-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.story-card:hover .story-image img {
    transform: scale(1.05);
}

.story-category {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.story-content {
    padding: 15px;
}

.story-title {
    margin: 0 0 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.story-excerpt {
    margin: 0 0 15px;
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.story-author {
    display: flex;
    align-items: center;
}

.story-author-img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
}

/* Dark Mode Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.theme-toggle:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Dark Mode Toggle */
.mobile-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    color: var(--text-color);
    margin-top: 20px;
    cursor: pointer;
}

[data-theme="dark"] .mobile-theme-toggle {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Story Page */
.story-page {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 2000;
    overflow-y: auto;
    padding-top: 80px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.story-page.active {
    opacity: 1;
}

.story-header {
    background: var(--header-bg);
    color: white;
    padding: 6rem 2rem 4rem;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    margin-bottom: 3rem;
}

.story-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

.story-header-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.story-header-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    position: absolute; /* Adjust for visibility */
    top: 15px;
    left: 15px;
    z-index: 1002; /* Ensure it's above other elements */
    background-color: rgba(0, 0, 0, 0.5); /* Optional: Add background for better visibility */
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* ... (other .back-btn styles) ... */

/* Ensure back button is visible and tappable on smaller screens */
@media (max-width: 768px) {
    .back-btn {
        position: fixed; /* Position fixed for mobile */
        top: 15px;
        left: 15px;
        margin-bottom: 0; /* Remove bottom margin for fixed position */
        background-color: rgba(0, 0, 0, 0.7); /* Add background for better visibility */
        border-radius: 50%; /* Make it circular */
        width: 40px;
        height: 40px;
        justify-content: center;
        padding: 0; /* Adjust padding for circular shape */
        z-index: 10; /* Ensure it's above other content */
    }

     .back-btn svg {
        margin-right: 0; /* Remove margin for centered icon */
    }
}

.back-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.back-btn svg {
    margin-right: 8px;
    transition: var(--transition);
}

.back-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

.back-btn:hover svg {
    transform: translateX(-3px);
}

.story-header h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.story-meta-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.story-meta-header .story-author {
    margin-right: 0;
}

.story-meta-header .story-author-img {
    width: 50px;
    height: 50px;
}

.story-meta-header .story-meta-header .story-author-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.story-meta-header .story-date {
    font-size: 0.95rem;
    opacity: 0.9;
}

.story-meta-header .story-category {
    position: static;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.story-body {
    max-width: 800px;
    margin: 0 auto 5rem;
    padding: 0 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.story-body p {
    margin-bottom: 1.8rem;
}

.story-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    box-shadow: var(--card-shadow);
}

:root {
    --footer-heading-color: #ffffff; /* Example color for dark theme */
    --footer-link-color: #cccccc;
    --footer-link-hover-color: #ffffff;
}

[data-theme="light"] {
    --footer-heading-color: #333333; /* Example color for light theme */
    --footer-link-color: #666666;
    --footer-link-hover-color: #333333;
}

footer {
    background-color: #1a1a1a; /* Darker background */
    color: #f0f0f0;         /* Lighter text */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 40px 0;
    margin-top: 60px; /* Add space above the footer */
}

.new-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.new-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #333;
    flex-wrap: wrap; /* Handle smaller screens */
}

.new-footer-logo {
    display: flex;
    align-items: center;
}

.new-footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.new-footer-logo h2 {
    font-size: 1.5em;
    margin: 0;
}

.new-footer-newsletter {
    text-align: right; /* Align to the right */
}

.new-footer-newsletter h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.new-footer-newsletter p {
    font-size: 0.9em;
    color: #ccc;
    margin-bottom: 10px;
}

.new-subscribe-form {
    display: flex;
    justify-content: flex-end; /* Align form elements to the end */
}

.new-subscribe-form input[type="email"] {
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    width: 250px;
    background-color: #333;
    color: #fff;
}

.new-subscribe-form button {
    background-color: #e74c3c; /* Accent color */
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.new-subscribe-form button:hover {
    background-color: #c0392b;
}

.new-footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #333;
}

.new-footer-column {
    margin-bottom: 20px;
}

.new-footer-column h3 {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.new-footer-links {
    list-style: none;
    padding: 0;
}

.new-footer-links li {
    margin-bottom: 10px;
}

.new-footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.new-footer-links a:hover {
    color: #fff;
}

.new-social-links {
    display: flex;
}

.new-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    margin-right: 10px;
    text-decoration: none;
    font-size: 1.2em;
    transition: background-color 0.2s ease;
}

.new-social-link:hover {
    background-color: #555;
}

.new-footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.new-copyright {
    font-size: 0.8em;
    color: #888;
}

.new-footer-column h3 {
    color: var(--footer-heading-color); /* Assuming you have a CSS variable for heading color */
    margin-bottom: 15px;
    font-size: 1.2em;
}

.new-footer-column p {
    margin-bottom: 10px;
}

.new-footer-column a.member-email {
    color: var(--footer-link-color); /* Assuming you have a CSS variable for link color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.new-footer-column a.member-email:hover {
    color: var(--footer-link-hover-color); /* Assuming you have a CSS variable for link hover color */
    text-decoration: underline;
}

/* Optional: Add some spacing between the contact links if needed */
.new-footer-column p:not(:last-child) {
    margin-bottom: 5px;
}

/* Responsive adjustments  */
@media (max-width: 768px) {
    .new-footer-top {
        text-align: center;
        flex-direction: column;
    }

    .new-footer-newsletter {
        text-align: center;
        margin-top: 20px;
    }

    .new-subscribe-form {
        justify-content: center;
    }
}


/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(139, 0, 0, 0.3);
    cursor: pointer;
    z-index: 100;
    transition: var(--transition);
    border: none;
}

.fab:hover {
    transform: translateY(-5px) scale(1.1);
    background-color: var(--accent-hover);
}

 /* Mobile Menu Styles */
 .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary); /* Adjusted for theme */
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-secondary); /* Adjusted for theme */
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--text-secondary); /* Adjusted for theme */
    margin-bottom: 20px;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-primary); /* Adjusted for theme */
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-items li {
    margin-bottom: 15px;
}

.mobile-nav-items a {
    color: var(--text-primary); /* Adjusted for theme */
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.mobile-nav-items a:hover {
    background-color: rgba(0, 0, 0, 0.1); /* Adjusted for theme */
}

.mobile-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.05); /* Adjusted for theme */
    border-radius: 5px;
    color: var(--text-primary); /* Adjusted for theme */
    margin-top: 30px;
    cursor: pointer;
}

[data-theme="dark"] .mobile-theme-toggle {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Adjust story card sizes */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.story-card {
    transition: all 0.3s ease;
}

/* Smaller cards for additional stories */
.additional-stories .story-card {
    height: auto;
}

.additional-stories .story-image {
    height: 150px;
}

.additional-stories .story-content {
    padding: 15px;
}

.additional-stories .story-title {
    font-size: 16px;
    margin-bottom: 8px;
}

.additional-stories .story-excerpt {
    font-size: 14px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Section for additional stories */
.additional-stories-section {
    margin-top: 40px;
}

.additional-stories-section .section-title h2 {
    font-size: 22px;
}


/* Responsive Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-items {
        display: none;
    }
}


:root {
    --bg-color: #f9f9f9;
    --text-color: #333;
    --accent-color: #8b0000; /* Maroon */
    --nav-bg-color: rgba(255, 255, 255, 0.9);
    --card-bg-color: #fff;
    --card-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --footer-bg-color: #333;
    --footer-text-color: #f9f9f9;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #f0f0f0;
    --accent-color: #ff4500; /* Orange Red */
    --nav-bg-color: rgba(0, 0, 0, 0.9);
    --card-bg-color: #222;
    --card-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
    --footer-bg-color: #222;
    --footer-text-color: #ddd;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar {
    background-color: var(--nav-bg-color);
    /* ... other styles ... */
}

.additional-stories-section {
    margin-top: 40px;
    padding: 20px;
    background-color: var(--card-bg-color);
    box-shadow: var(--card-shadow);
}

.additional-stories {
    display: flex;
    flex-direction: column;
}

.additional-story-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.additional-story-item:last-child {
    border-bottom: none;
}

.additional-story-item:hover {
    background-color: #f0f0f0;
}

.additional-story-title {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.additional-story-excerpt {
    font-size: 0.9em;
    color: #666;
}

.story-card {
    background-color: var(--card-bg-color);
    box-shadow: var(--card-shadow);
    /* ... other styles ... */
}

footer {
    background-color: var(--footer-bg-color);
    color: var(--footer-text-color);
    /* ... other styles ... */
}


/* Loading Animation */
.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader.active {
    display: flex;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 1.5rem;
}

.loader-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* WhatsApp Notification */
.whatsapp-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 15px;
    max-width: 300px;
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.whatsapp-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.whatsapp-notification-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.whatsapp-notification-icon {
    background-color: #25D366;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 10px;
}

.whatsapp-notification-title {
    font-weight: bold;
    font-size: 16px;
}

.whatsapp-notification-message {
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-secondary);
}

.whatsapp-notification-buttons {
    display: flex;
    gap: 10px;
}

.whatsapp-notification-button {
    flex: 1;
    padding: 8px 12px;
    border-radius: 6px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.whatsapp-notification-button.join {
    background-color: #25D366;
    color: white;
}

.whatsapp-notification-button.join:hover {
    background-color: #128C7E;
}

.whatsapp-notification-button.dismiss {
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--text-secondary);
}

.whatsapp-notification-button.dismiss:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.load-more-container {
    text-align: center;
    margin: 3rem 0;
}

.load-more-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.load-more-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
}

.load-more-btn i {
    transition: transform 0.3s ease;
}

.load-more-btn.active i {
    transform: rotate(180deg);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Media Queries */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 8rem 2rem 6rem;
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .nav-items {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .story-header h1 {
        font-size: 2.8rem;
    }

    .stories-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .whatsapp-notification {
        left: 10px;
        right: 10px;
        max-width: none;
        bottom: 10px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 7rem 1.5rem 5rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .story-header h1 {
        font-size: 2.2rem;
    }

    .story-body {
        font-size: 1rem;
        padding: 0 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Ensure back button is visible and tappable on smaller screens */
    .back-btn {
        position: fixed; /* Position fixed for mobile */
        top: 15px;
        left: 15px;
        margin-bottom: 0; /* Remove bottom margin for fixed position */
        background-color: rgba(0, 0, 0, 0.7); /* Add background for better visibility */
        border-radius: 50%; /* Make it circular */
        width: 40px;
        height: 40px;
        justify-content: center;
        padding: 0; /* Adjust padding for circular shape */
        z-index: 10; /* Ensure it's above other content */
    }

     .back-btn svg {
        margin-right: 0; /* Remove margin for centered icon */
    }
}

@media (max-width: 576px) {
    .navbar-container {
        padding: 0 1.5rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 6rem 1rem 4rem;
        clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%);
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .stories-grid {
        grid-template-columns: 1fr;
    }

    .story-header {
        padding: 5rem 1rem 3rem;
    }

    .story-header h1 {
        font-size: 1.8rem;
    }

    .story-meta-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .fab {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}