/*
    Theme Name: Modern Minimal Theme
    Description: A clean, minimal, and sophisticated theme for the Tiny Kingdom Stories website.
    Version: 2.0
    Author: Cascade AI
*/

/*
==============================================
==  1. GLOBAL & RESET STYLES
==============================================
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--background-color);
}

.page-container {
    flex: 1 0 auto;
}

.main-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/*
==============================================
==  2. ROOT VARIABLES (THEME COLORS & FONTS)
==============================================
*/
/* TK:START css-variables */

:root {
    /* Modern Minimal Theme - Clean & Sophisticated */
    --primary-color: #2563EB;      /* Modern Blue - Professional & Trustworthy */
    --secondary-color: #10B981;    /* Emerald Green - Fresh & Positive */
    --accent-color: #8B5CF6;       /* Purple - Creative & Engaging */
    --neutral-color: #6B7280;      /* Cool Gray - Balanced */
    
    /* Background Colors */
    --background-color: #F9FAFB;   /* Light Gray - Clean & Minimal */
    --card-bg: #FFFFFF;            /* Pure White - Clean */
    --header-bg: #FFFFFF;          /* White Header */
    --footer-bg: linear-gradient(135deg, #2563EB 0%, #8B5CF6 100%); /* Blue to Purple Gradient */
    
    /* Text Colors */
    --text-color: #111827;         /* Dark Gray - High Contrast */
    --text-muted: #6B7280;         /* Medium Gray - Subtle */
    --text-light: #FFFFFF;         /* White for dark backgrounds */
    
    /* Modern Gradients */
    --gradient-primary: linear-gradient(135deg, #2563EB 0%, #8B5CF6 100%);
    --gradient-secondary: linear-gradient(135deg, #10B981 0%, #2563EB 100%);
    --gradient-subtle: linear-gradient(135deg, #F9FAFB 0%, #E5E7EB 100%);
    
    /* Minimal Shadows */
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.2s ease-in-out;
    
    /* Border Radius - Minimal */
    --border-radius-sm: 6px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
}

/*
==============================================
==  3. HEADER & NAVIGATION
==============================================
*/

.header {
    background: var(--header-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #E5E7EB;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease-in-out;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none; /* Hide on desktop */
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* Responsive Header */
@media (max-width: 768px) {
    .main-nav {
        display: none; /* Hide nav on mobile */
    }

    .mobile-menu-toggle {
        display: block; /* Show hamburger on mobile */
    }
}

/*
==============================================
==  4. FEATURED STORIES SECTION
==============================================
*/

.featured-stories {
    padding-top: 5rem; /* Adds space above the section */
    padding-bottom: 5rem; /* Adds space below the section */
}

/*
==============================================
==  BUTTONS
==============================================
*/

.btn {
    padding: 12px 28px;
    border-radius: 50px !important; /* Forcing oval shape for all buttons */
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/*
==============================================
==  5. HERO SECTION
==============================================
*/

/* Hero titles with clear visibility - Clean white text */
.hero .hero-title-small,
.story-hero .story-title-hero {
    color: #FFFFFF !important;
    text-shadow: none;
}

/* Hero subtitle juga putih bersih */
.hero .subheadline {
    color: #FFFFFF !important;
    text-shadow: none;
}

/* Breadcrumb override - force white color */
.hero .breadcrumb,
.hero .breadcrumb a,
.hero .breadcrumb a:link,
.hero .breadcrumb a:visited {
    color: #FFFFFF !important;
    text-decoration: none !important; /* Hilangkan underline */
}

.hero .breadcrumb a:hover {
    color: #10B981 !important; /* Hijau emerald saat hover */
    text-decoration: none !important; /* Tetap tanpa underline saat hover */
    transition: color 0.3s ease !important; /* Smooth transition */
}

.hero .btn-primary {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.hero .btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.hero .btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.hero .btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border-color: var(--secondary-color);
}



/*
==============================================
==  TYPOGRAPHY
==============================================
*/
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem;
}

/*
==============================================
==  BACK TO TOP BUTTON
==============================================
*/
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 25px rgba(52, 152, 219, 0.4);
}

/*
==============================================
==  VIDEO & AUDIO SHOWCASE
==============================================
*/

.video-showcase {
    padding: 4rem 2rem;
    background-color: #f0f4f8;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.audio-player-home {
    max-width: 800px;
    margin: 2.5rem auto 0;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.audio-player-home .audio-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.audio-player-home .audio-description {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1rem;
}

/*
==============================================
==  POPULAR CATEGORIES SECTION
==============================================
*/
.popular-categories {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 4rem 0;

    position: relative;
    overflow: hidden;
}

.popular-categories .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.popular-categories h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.popular-categories .category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    max-width: 1200px;
}

.popular-categories .category-list li {
    flex: 0 0 auto;
    margin: 0.3rem;
    text-align: center;
}

.popular-categories .category-list a {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: 50px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.95rem;
}

/* Desktop - 4 tombol per baris */
@media (min-width: 1024px) {
    .popular-categories .category-list {
        max-width: 1000px;
    }
    
    .popular-categories .category-list a {
        padding: 0.7rem 1.3rem;
        font-size: 0.9rem;
    }
}

/* Tablet - 3 tombol per baris */
@media (max-width: 1023px) and (min-width: 768px) {
    .popular-categories .category-list {
        max-width: 800px;
    }
    
    .popular-categories .category-list a {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Mobile - 2 tombol per baris */
@media (max-width: 767px) {
    .popular-categories .category-list {
        max-width: 500px;
        gap: 0.6rem;
    }
    
    .popular-categories .category-list a {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

.popular-categories .category-list a:hover {
    background: rgba(52, 152, 219, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Style untuk tombol View All Categories */
.popular-categories .view-all-categories {
    display: block;
    text-align: center;
    margin-top: 2rem;
}

.popular-categories .view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    background: var(--gradient);
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    border: none;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.popular-categories .view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.popular-categories .view-all-btn i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.popular-categories .view-all-btn:hover i {
    transform: translateX(3px);
}

/*
==============================================
==  CATEGORIES PREVIEW SECTION
==============================================
*/
.categories-preview {
    background: var(--background-color);
    padding: 5rem 0;
    position: relative;
}

.categories-preview .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.categories-preview .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.categories-preview .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.categories-preview .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid #E5E7EB;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    transform: scale(1.1);
    background: var(--gradient-secondary);
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.category-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.story-count {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .categories-preview .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/*
==============================================
==  RECENTLY ADDED SECTION
==============================================
*/
.recently-added {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 4rem 0;

    position: relative;
}

.recently-added .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.recently-added .section-title {
    text-align: center;
    color: var(--text-color);
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 1rem;
}

.recently-added .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/*
==============================================
==  FLOATING ADS
==============================================
*/
/* TK:START css-ads-styles */
.floating-ads {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 0, 26, 0.95);
    border: 1px solid rgba(52, 152, 219, 0.4);
    border-radius: 10px;
    padding: 12px 25px;
    z-index: 1000;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    max-width: 90%;
    text-align: center;
    transition: all 0.3s ease;
}

.floating-ads:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.floating-ads .ad-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.floating-ads .ad-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px; 
    min-width: 320px;
    background: rgba(123, 44, 191, 0.15);
    border-radius: 6px;
    color: #fff;
    padding: 15px;
    font-size: 1.1rem;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Floating Corner Ad */
.floating-corner-ad {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 0, 26, 0.95);
    border: 1px solid rgba(52, 152, 219, 0.4);
    border-radius: 10px;
    padding: 12px 25px;
    z-index: 1000;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    min-width: 300px;
    text-align: center;
    transition: all 0.3s ease;
    animation: floatUpDown 3s ease-in-out infinite;
    margin: 0 auto;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-corner-ad .ad-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    margin-bottom: 8px;
    display: block;
}

.floating-corner-ad .ad-content {
    min-height: 100px;
    min-width: 200px;
    background: rgba(123, 44, 191, 0.15);
    border-radius: 6px;
    color: #fff;
    padding: 15px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Close button for corner ad */
.close-ad {
    position: absolute;
    top: 5px;
    right: 8px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.close-ad:hover {
    color: #fff;
}

/* TK:END css-ads-styles */

/* Horizontal Ad 1 */
section[style*="background: #f8f9fa"] {
    background: rgba(248, 249, 250, 0.9) !important;
}

/* Horizontal Ad 2 */
section[style*="background: #f8f9fa"] {
    background: rgba(248, 249, 250, 0.9) !important;
}

/*
==============================================
==  SIDEBARS & SIDEBAR ADS
==============================================
*/
.sidebar-ad {
    background: rgba(10, 0, 26, 0.7);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.sidebar-ad .ad-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: block;
}

.sidebar-ad .ad-content {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 4px;
    color: #fff;
}

/* Left Sidebar */
.left-sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    z-index: 990;
}

/* Right Sidebar */
.right-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    z-index: 990;
}

/* Hide sidebars on mobile */
@media (max-width: 1024px) {
    .left-sidebar,
    .right-sidebar {
        display: none;
    }
}

/*
==============================================
==  RESPONSIVE STYLES
==============================================
*/
@media (max-width: 768px) {
    .popular-categories .category-list li {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .recently-added {
        padding: 3rem 0;
    }
    
    .recently-added .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .floating-ads {
        width: 95%;
        padding: 8px 15px;
    }
    
    .floating-ads .ad-content {
        min-height: 50px;
    }
}

@media (max-width: 480px) {
    .popular-categories .category-list li {
        flex: 0 0 100%;
    }
    
    .recently-added {
        padding: 2.5rem 0;
    }
    
    .recently-added .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
}

.popular-categories h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient);
    left: 50%;
    transform: translateX(-50%);
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}

.category-list li {
    margin: 0.5rem;
}

.category-list a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(76, 175, 80, 0.2);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(76, 175, 80, 0.3);
    font-size: 0.95rem;
}

.category-list a:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

@media (max-width: 768px) {
    .popular-categories {
        padding: 2rem 0;
    }
    
    .category-list {
        padding: 0 1rem;
    }
    
    .category-list a {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/*--------------------------------------------------------------
# Contact Form & FAQ
--------------------------------------------------------------*/

/* Contact Info Section */
.sidebar-widget {
    background-color: var(--dark-grey);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
}

.sidebar-widget > h3 {
    color: var(--light-grey);
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.4rem;
    color: var(--primary);
    margin-top: 0.2rem;
}

.contact-item > div h4 {
    margin: 0 0 0.2rem 0;
    color: var(--light-grey);
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-item > div p,
.contact-item > div a {
    margin: 0;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-item > div a:hover {
    color: var(--primary);
}

.sidebar-widget .contact-socials {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.sidebar-widget .contact-socials a {
    color: var(--text-muted);
    margin-right: 1rem;
    font-size: 1.3rem;
}

.sidebar-widget .contact-socials a:hover {
    color: var(--primary);
}

.sidebar-widget p {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.sidebar-widget p strong {
    color: var(--light-grey);
    font-weight: 500;
}

/* Contact Form */
.contact-form-container {
    background-color: var(--dark-grey);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-light);
    max-width: 800px;
    margin: 2rem auto;
    border: 1px solid var(--border-color);
}

.contact-form-container h2 {
    text-align: center;
    margin-bottom: 0.5rem; /* Reduced margin */
    color: var(--light-grey);
}

.contact-form-container > p {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--light-grey);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: var(--dark);
    border: 1px solid; /* Define border style first */
    border-color: #2E2E2E; /* A much darker, more subtle border color */
    border-radius: 12px; /* Reduced rounding for a less oval shape */
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23a0a0a0%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.8em;
    padding-right: 2.5rem;
    background-color: var(--dark);
}

.form-group select option {
    /* We cannot reliably style the option background, so we'll ensure the text is readable */
    background: white;
    color: #000; /* Black text for readability on the default white background */
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 230, 109, 0.15);
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

/* --- Story Page Slideshow --- */
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.slide {
    display: none;
    width: 100%;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    display: block;
    animation: fadeIn 0.5s;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.story-content .slideshow-container .slideshow-prev,
.story-content .slideshow-container .slideshow-next {
    /* Base Styles */
    appearance: none;
    -webkit-appearance: none;
    
    /* Positioning */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    /* Box Model */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;

    /* Appearance */
    background-color: rgba(20, 20, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    
    /* Interaction */
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease-in-out;
}

.story-content .slideshow-container .slideshow-prev {
    left: 15px;
}

.story-content .slideshow-container .slideshow-next {
    right: 15px;
}

.story-content .slideshow-container .slideshow-prev:hover,
.story-content .slideshow-container .slideshow-next:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.pagination-container .page-number.active {
    background-image: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.pagination-container .page-number:not(.active):hover {
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slideshow-dots {
    text-align: center;
    padding: 1rem 0;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: var(--border-color);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--primary);
}

/* --- Story Navigation --- */
.story-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 50px; /* Pill-shaped buttons */
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.nav-btn .fas {
    font-size: 0.9em;
}



/* --- Footer Newsletter Form --- */
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    align-items: stretch; /* Makes items same height */
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    border: 1px solid var(--border-color);
    background-color: var(--background-alt);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-size: 1rem;
    min-width: 0; /* Fix for flexbox input shrinking */
    height: auto; /* Ensure padding defines height */
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--text-muted);
}

.newsletter-form .btn {
    padding: 0.75rem 1.5rem;
    height: auto; /* Allow padding to define height */
    flex-shrink: 0; /* Prevent button from shrinking */
    font-size: 1rem;
    line-height: inherit; /* Match input line-height */
}

/* --- Responsive Design & Mobile View --- */
@media (max-width: 768px) {
    /* --- Header & Navigation --- */
    .header .container {
        justify-content: space-between;
    }

    .main-nav {
        display: none; /* Hide nav by default */
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        right: 0;
        background-color: var(--background-alt);
        flex-direction: column;
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        z-index: 1000;
    }

    .main-nav.active {
        display: flex; /* Show nav when active */
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .main-nav ul li {
        text-align: center;
        margin: 0;
    }

    .main-nav ul li a {
        padding: 1rem;
        display: block;
        width: 100%;
    }

    .mobile-menu-toggle {
        display: block; /* Show hamburger icon */
    }

    /* --- Ad Hiding --- */
    .left-sidebar-ad,
    .right-sidebar-ad {
        display: none !important; /* Force hide vertical ads */
    }

    /* --- Layout Adjustments --- */
    .story-container,
    .library-container {
        grid-template-columns: 1fr; /* Make main content full width */
    }

    .story-content {
        margin: 0 !important;
    }
}

/* --- Custom Audio Player --- */
.audio-player {
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.audio-player h3 {
    margin-top: 0;
}

.audio-player p {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.audio-controls .play-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.audio-controls .play-btn:hover {
    background-color: var(--primary-dark);
}

.progress-container {
    flex-grow: 1;
    background-color: var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    height: 10px;
}

.progress-bar {
    background-color: var(--primary);
    width: 0%;
    height: 100%;
    border-radius: 5px;
    transition: width 0.1s linear;
}

.time-display {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--text-muted);
    min-width: 80px; /* Prevent layout shift */
    text-align: center;
}

/* ============================================
   VIDEO SHOWCASE SECTION
   ============================================ */

/* Enhanced Video Showcase Section */
.video-showcase-enhanced {
    padding: 80px 0;
    background: var(--card-bg);
    position: relative;
}

.video-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.video-content {
    padding: 0 20px;
}

.video-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 16px;
    border-radius: var(--border-radius-lg);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.video-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.video-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
}

.video-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stat-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

.video-player {
    padding: 0 20px;
}

.video-showcase-enhanced .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: var(--card-shadow-hover);
}

.video-showcase-enhanced .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--border-radius-md);
}

/* Responsive Video Section */
@media (max-width: 968px) {
    .video-hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .video-title {
        font-size: 2rem;
    }
    
    .video-stats {
        justify-content: center;
    }
}

/* ============================================
   RECENTLY ADDED CAROUSEL SECTION
   ============================================ */

.recently-added-carousel {
    padding: 80px 0;
    background: var(--card-bg);
    position: relative;
}

.recently-added-carousel .section-header {
    position: relative;
    margin-bottom: 48px;
}

.carousel-controls {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 12px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--primary-color);
    background: transparent;
    border-radius: 50%;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.stories-carousel {
    overflow: hidden;
    position: relative;
    margin-bottom: 32px;
    /* Ensure no scrollbars appear */
    -webkit-overflow-scrolling: touch;
}

.carousel-track {
    display: flex;
    gap: 24px;
    /* Transition will be controlled by JavaScript for seamless effect */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0;
    /* Ensure smooth rendering */
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

.carousel-track story-card {
    flex: 0 0 300px;
    max-width: 300px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .carousel-controls {
        position: static;
        justify-content: center;
        margin-top: 16px;
    }
    
    .carousel-track {
        gap: 16px;
        padding: 0 8px;
    }
    
    .carousel-track story-card {
        flex: 0 0 280px;
        max-width: 280px;
    }
}

.video-showcase::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
}

.video-showcase .section-header {
    margin-bottom: 2.5rem;
}

.video-showcase .video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background-color: #000;
}

.video-showcase .video-wrapper {
    position: relative;
    padding-bottom: 50%; /* Adjusted for a wider aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-showcase .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Make video container responsive */
@media (max-width: 992px) {
    .video-container {
        max-width: 100%;
        margin: 1.5rem 0;
    }
}

/* Audio Player */
.audio-player {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: var(--card-shadow);
}

.audio-player h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.audio-player p {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.audio-controls .play-btn {
    background: var(--primary);
    border: none;
    color: var(--dark);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.audio-controls .play-btn:hover {
    transform: scale(1.1);
}

.audio-controls .progress-container {
    flex-grow: 1;
    background: var(--dark);
    border-radius: 5px;
    cursor: pointer;
    height: 8px;
}

.audio-controls .progress-bar {
    background: var(--gradient);
    width: 0;
    height: 100%;
    border-radius: 5px;
}

.audio-controls .time-display {
    color: var(--text-muted);
    font-size: 0.9rem;
    min-width: 80px; /* Prevents layout shift */
}


/* --- Ad Placeholders --- */
.ad-placeholder {
    background: var(--card-bg); /* Slightly brighter background */
    border: 1px solid var(--border-color); /* Changed to solid for more definition */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-row .form-group {
    flex: 1;
}

.submit-btn {
    width: 100%;
    padding: 0.9rem;
    background-color: var(--primary);
    color: var(--dark-grey);
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background-color: var(--grey);
    cursor: not-allowed;
    transform: none;
}

.submit-btn i {
    margin-right: 0.5rem;
}

.form-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    text-align: center;
    display: none; /* Hidden by default */
}

.form-status.success {
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

.form-status.error {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

/*--------------------------------------------------------------
# Contact Details Section
--------------------------------------------------------------*/
.contact-details-section {
    padding: 0 1rem 4rem 1rem;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-details-grid .sidebar-widget {
    margin-bottom: 0;
}

.contact-details-grid .sidebar-widget p {
    display: flex;
    justify-content: space-between;
}

/* Responsive stacking for smaller screens */
@media (max-width: 768px) {
    .contact-details-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Styles - Centered and Cleaned */
.faq-section {
    padding: 4rem 0;
    max-width: 800px;
    margin: 2rem auto;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--light-grey);
}

.faq-item {
    background-color: var(--dark-grey);
    margin-bottom: 1rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background-color: transparent;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light-grey);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary);
}

/* Remove the pseudo-element arrow to prevent duplication */
.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-answer.active {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px; /* Adjust as needed */
}

/* END: FAQ Styles */

/* 4. FOOTER
   ============================================ */
.footer {
    background: var(--gradient-primary); /* Beautiful blue to purple gradient */
    color: #ffffff;
    padding: 4rem 0 1rem;
    margin-top: auto; /* Push footer to bottom */
    position: relative;
    z-index: 10;
    border-top: none; /* Remove border for cleaner gradient look */
    overflow: hidden;
    flex-shrink: 0; /* Prevent footer from shrinking */
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Adjust the space between logo and text */
    margin-bottom: 1rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px;
    /* margin-bottom: 1rem; */ /* Removed to help with alignment */
}

.footer-logo-container .logo-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1; /* Ensures text height matches font-size */
}

.footer-about p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-links h3,
.footer-newsletter h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-links h3::after,
.footer-newsletter h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    align-items: center; /* Align items vertically */
    max-width: 400px; /* Prevent form from being too wide */
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.75rem 1.25rem !important; /* Balanced padding for proper height */
    border: 2px solid rgba(255, 255, 255, 0.4) !important; /* More visible white border */
    background: rgba(255, 255, 255, 0.95) !important; /* More opaque white background */
    border-radius: 25px !important; /* Perfect oval shape */
    color: #333333 !important; /* Dark text for white background */
    outline: none;
    transition: var(--transition);
    font-size: 0.9rem;
    height: 45px; /* Fixed height for consistency */
    box-sizing: border-box;
}

.newsletter-form input[type="email"]:focus {
    border-color: rgba(255, 255, 255, 0.6) !important; /* Brighter white border on focus */
    background: rgba(255, 255, 255, 1) !important; /* Fully opaque white on focus */
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3) !important; /* White glow */
}

/* Placeholder text styling */
.newsletter-form input[type="email"]::placeholder {
    color: #666666 !important; /* Gray placeholder text */
    opacity: 0.7;
}

.newsletter-form input[type="email"]::-webkit-input-placeholder {
    color: #666666 !important;
    opacity: 0.7;
}

.newsletter-form input[type="email"]::-moz-placeholder {
    color: #666666 !important;
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* White border for gradient */
    color: #ffffff !important; /* White text for gradient background */
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2); /* White transparent background */
    color: #ffffff !important; /* White icons for gradient background */
    text-decoration: none !important; /* Remove underline */
    transition: var(--transition);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.4); /* Brighter white on hover */
    color: #2563EB !important; /* Blue color on hover for contrast */
    text-decoration: none !important;
    transform: translateY(-3px);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form .btn {
        width: 100%;
    }
}

/* 3. HERO SECTION - DIATUR DI INLINE STYLE */
/* Gaya hero diatur di inline style untuk mengatasi konflik */

/* View All Stories Button */
.load-more {
    text-align: center;
    margin: 2rem 0;
}

.load-more .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    background: var(--gradient-primary); /* FIX: Changed from --gradient to --gradient-primary */
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    border: none;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.load-more .btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.load-more .btn-outline:active {
    transform: translateY(0);
}

.loading-stories {
    text-align: center;
    padding: 2rem 0;
    display: none; /* Sembunyikan loading indicator */
}

.loading-stories p {
    margin-top: 1rem;
    color: var(--text-muted);
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 4px solid rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hero .video-wrapper {
    position: relative;
    padding-bottom: 50%; /* Adjusted for a wider aspect ratio, e.g., 2:1 */
    height: 0;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.hero h1 {
    margin-top: 0 !important; /* Force remove top margin */
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    min-width: 150px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 5rem 0 2rem;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary); /* Same gradient as footer: blue to purple */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 1.5rem;
    width: 100%;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #FFFFFF !important;
    background: none;
    -webkit-text-fill-color: unset;
}

/* Smaller hero title variant */
.hero h1.hero-title-small {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero .subheadline {
    font-size: 1.35rem;
    color: #FFFFFF !important;
    margin: 0 auto 3rem;
    max-width: 700px;
    line-height: 1.6;
    opacity: 1;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    margin: 0.5rem 0;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--card-shadow);
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: var(--card-shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(52, 152, 219, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Story Cards */
/* Main Content */
#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding-top: 80px; /* Space for fixed header */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Stories Grid */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem; /* Reduced gap for tighter layout */
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Story Cards */
/* Story Cards */
.story-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(52, 152, 219, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.story-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(52, 152, 219, 0.2);
}

.story-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card:hover img {
    transform: scale(1.05);
}

.story-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.story-info h3 {
    font-size: 1.4rem;
    margin: 0 0 1rem;
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.3;
    position: relative;
}

.story-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.story-card:hover .story-info h3::after {
    width: 80px;
}

.story-info p {
    color: var(--text-muted);
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.story-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.story-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}



.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-subtitle {
    color: var(--text-muted);
}

.section-header .view-all {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.3s ease;
}

.section-header .view-all::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: transform 0.3s ease, background-color 0.3s ease;
    transform: scaleX(0.5);
}

.section-header .view-all:hover {
    color: var(--primary-color);
}

.section-header .view-all:hover::after {
    transform: scaleX(1);
    background-color: var(--primary-color);
}

/* OVERRIDE: Force hero subheadline to be white for contrast */
.hero .hero-content .subheadline {
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
    opacity: 1 !important;
}

.section-header .view-all i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.section-header .view-all:hover i {
    transform: translateX(5px);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Responsive Design */
/* Fix for story cards on mobile */
.story-card {
    margin-bottom: 2rem;
}

.story-card:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subheadline {
        font-size: 1.2rem;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    animation: float 15s ease-in-out infinite;
    z-index: 0;
}

/* =============================================
   MODERN HERO SECTION - PROFESSIONAL DESIGN
   ============================================= */
.hero {
    position: relative;
    width: 100%;
    height: 85vh; /* Adjusted height for better proportions */
    min-height: 600px;
    max-height: 800px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Full Width Background Image */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right; /* Focus on right side to show background */
    filter: brightness(0.9) contrast(1.1);
}

/* Horizontal Gradient Overlay - Thick Left to Transparent Right */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(16, 42, 92, 0.9) 0%,
        rgba(16, 42, 92, 0.8) 30%,
        rgba(16, 42, 92, 0.6) 60%,
        rgba(16, 42, 92, 0.4) 80%,
        rgba(16, 42, 92, 0.2) 100%
    );
    z-index: 2;
}

/* Content Container - Left Aligned */
.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the content horizontally */
}

.hero-content {
    width: 100%;
    max-width: 700px; /* Increased width for center alignment */
    text-align: center; /* Center align content */
    margin: 0 auto; /* Center the content container */
}

.floating-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
    animation-duration: 20s;
}

.floating-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    right: 10%;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.15) 0%, transparent 70%);
    animation-duration: 25s;
    animation-delay: 2s;
}

/* ============================================ 
   FOOTER
   ============================================ */
.footer {
    --footer-text-color: #ffffff; /* Pure white for better contrast */
    --footer-heading-color: #ffffff;
    
    background: var(--gradient-primary); /* Beautiful blue to purple gradient */
    color: var(--footer-text-color);
    padding: 4rem 0 2rem;
    border-top: none; /* Remove border, gradient looks better */
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Text Content Styling */

.hero-text {
    position: relative;
    z-index: 10;
    padding: 0;
    color: white;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: inline-block;
    position: relative;
    padding: 0 25px; /* Add padding for lines */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle::before,
.hero-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background: linear-gradient(90deg, #10B981, #2563EB);
    border-radius: 1px;
}

.hero-subtitle::before {
    left: 0;
}

.hero-subtitle::after {
    right: 0;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1.5rem 0;
    color: #fff;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: #ffffff !important;
    max-width: 600px;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-width: 160px;
}

.hero .btn i {
    margin-right: 10px;
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.hero .btn-primary {
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    border: 2px solid transparent;
}

.hero .btn-primary:hover {
    background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.5);
}

.hero .btn-primary:hover i {
    transform: translateX(2px);
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.hero .btn-secondary:hover i {
    transform: translateX(2px);
}

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero {
        height: 75vh;
        min-height: 550px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-container {
        padding: 0 1.5rem;
    }
    
    .hero-content {
        max-width: 550px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 70vh;
        min-height: 500px;
        text-align: center;
    }
    
    .hero-container {
        padding: 0 1rem;
        justify-content: center;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(16, 42, 92, 0.9) 0%,
            rgba(16, 42, 92, 0.7) 100%
        );
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .hero .btn {
        width: 100%;
        margin-bottom: 10px;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 65vh;
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .hero-subtitle::before {
        width: 8px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Remove duplicate styles - they are handled above */

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-5px);
}

/* Library & Contact Hero Section */
.library-hero,
.contact-hero,
.story-hero {
    height: 40vh; /* Reduced height for internal pages */
    min-height: 350px; /* Set a minimum height */
}

.library-hero .hero-overlay,
.contact-hero .hero-overlay,
.story-hero .hero-overlay {
    background: linear-gradient(to bottom, rgba(16, 42, 92, 0.9) 0%, rgba(16, 42, 92, 0.7) 100%);
}

/* Homepage Audio Player */
.audio-player-home {
    background: var(--gradient-subtle);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    margin-top: 2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.audio-player-home .audio-title {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.audio-player-home .audio-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563EB, #10B981);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ==============================================
   VIDEO SHOWCASE STYLES
   ============================================== */
.video-showcase {
    padding: 60px 0;
    background-color: #f9f9ff;
}

.video-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 900px;
    margin: 0 auto;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.video-thumbnail {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    cursor: pointer;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.video-thumbnail:hover img {
    opacity: 0.9;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.play-button i {
    color: #6e8efb;
    font-size: 2rem;
    margin-left: 5px;
}

.play-button:hover {
    background: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.duration {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.video-info {
    padding: 25px 30px;
}

.video-title {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    color: #333;
}

.video-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.video-meta {
    display: flex;
    gap: 20px;
    color: #888;
    font-size: 0.9rem;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==============================================
   STORY CARDS STYLES
   ============================================== */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.story-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.story-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.story-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.05);
}

.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(110, 142, 251, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0,0,0,0.1);
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #6e8efb, #a777e3);
    border-radius: 0 2px 2px 0;
    transition: width 0.5s ease;
}

.story-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.story-title {
    font-size: 1.25rem;
    margin: 0 0 10px 0;
    color: #333;
    line-height: 1.4;
}

.story-excerpt {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    flex: 1;
}

.story-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.favorites {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #888;
    font-size: 0.9rem;
}

.favorites i {
    color: #ff6b6b;
}

.read-more {
    color: #6e8efb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #a777e3;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 40px;
        max-width: 600px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .video-info {
        padding: 20px;
    }
    
    .video-title {
        font-size: 1.3rem;
    }
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 40px;
}

.logo-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--footer-heading-color);
}

.footer-logo p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: var(--footer-text-color);
    font-size: 1.2rem;
    margin-right: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.footer-links h3, .footer-newsletter h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--footer-heading-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links h3::after, .footer-newsletter h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: var(--gradient);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--footer-text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color); /* Sunny Yellow on hover */
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px 0 0 5px;
    background-color: var(--input-bg);
    color: var(--text-color);
    outline: none;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem !important;
    border: none;
    background: #ffffff !important; /* White background for contrast */
    color: #2563EB !important; /* Blue text for contrast */
    font-weight: 600;
    border-radius: 25px !important; /* Match input oval shape */
    cursor: pointer;
    transition: all 0.3s ease;
    height: 45px; /* Match input height */
    font-size: 0.9rem;
    box-sizing: border-box;
    white-space: nowrap; /* Prevent text wrapping */
}

.newsletter-form button:hover {
    background: rgba(255, 255, 255, 0.9) !important; /* Slightly transparent on hover */
    color: #8B5CF6 !important; /* Purple text on hover */
    transform: translateY(-1px); /* Subtle lift effect */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* White border for gradient */
    color: #ffffff !important; /* White text for gradient background */
    font-size: 0.9rem;
}
