/* ========================================
   Imam Hussein FM Radio - Main CSS
   RTL Arabic Radio Website
   ======================================== */

/* ========================================
   1. CSS Variables & Root Styles
   ======================================== */
:root {
    /* Primary Colors */
    --primary-gold: #c7a259;
    --primary-blue: #264c6e;
    
    /* Secondary Colors */
    --gold-light: #d9b66d;
    --gold-dark: #b3914a;
    --blue-light: #3a6b91;
    --blue-dark: #1a3a52;
    
    /* UI Colors */
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    --light: #f8f9fa;
    --dark: #212529;
    
    /* Grays */
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Typography */
    --font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;

    /* Live Button Colors */
    --live-stop: #e74c3c;
    --live-stop-dark: #c0392b;
    --live-play: #27ae60;
    --live-play-dark: #229954;
    --live-glow-stop: rgba(231, 76, 60, 0.3);
    --live-glow-play: rgba(39, 174, 96, 0.3);
}

/* ========================================
   2. Base & Reset
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: var(--line-height-base);
    color: var(--dark);
    background-color: #fff;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    padding-top: 85px; /* Space for sticky header */
    padding-bottom: 85px; /* Space for live player */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-blue);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--gold-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   3. Header & Navigation - Premium Frosted Glass Design
   ======================================== */
.header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1),
                inset 0 1px 1px rgba(255, 255, 255, 0.6);
    z-index: 1000;
    position: relative;
    transition: all 0.3s ease;
}

/* Glass Morphism Animated Background */
/* .header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(199, 162, 89, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-bubble 20s ease-in-out infinite;
    pointer-events: none;
    filter: blur(40px);
} */

/* .header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(38, 76, 110, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-bubble 15s ease-in-out infinite reverse;
    pointer-events: none;
    filter: blur(35px);
} */

@keyframes float-bubble {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.navbar {
    padding: var(--spacing-sm) 0;
    position: relative;
    z-index: 2;
}

.navbar-brand {
    padding: 0;
    position: relative;
    z-index: 2;
}

.logo {
    height: 60px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 4px 12px rgba(199, 162, 89, 0.2));
}

.logo:hover {
    transform: scale(1.08) rotate(-2deg);
    filter: drop-shadow(0 6px 16px rgba(199, 162, 89, 0.35));
}

/* Navigation Links - Premium Frosted Glass Pills */
.nav-link {
    color: rgba(33, 33, 33, 0.9) !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 50px;
    margin: 0 0.2rem;
    overflow: hidden;
    background: transparent;
    z-index: 1;
    letter-spacing: 0.3px;
}

/* Premium Frosted Glass Background - Like Reference */
.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                inset 0 1px 1px rgba(255, 255, 255, 0.8),
                inset 0 -1px 1px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
    z-index: -1;
}

/* Shimmer Effect */
.nav-link::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(199, 162, 89, 0.15) 50%,
        transparent 70%
    );
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s ease;
    z-index: -1;
}

.nav-link:hover::after {
    transform: translateX(100%) rotate(45deg);
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link:hover,
.nav-link.active {
    color: rgba(33, 33, 33, 1) !important;
    transform: translateY(-2px);
}

/* Active Link - Premium Glass with Golden Accent */
.nav-link.active::before {
    background: rgba(255, 255, 255, 0.35);
    border: 1.5px solid rgba(199, 162, 89, 0.5);
    box-shadow: 0 8px 32px rgba(199, 162, 89, 0.15),
                inset 0 1px 1px rgba(255, 255, 255, 0.9),
                0 0 20px rgba(199, 162, 89, 0.1);
}

.nav-link.active {
    color: var(--primary-gold) !important;
}

/* Dropdown Menu - Premium Frosted Glass */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                inset 0 1px 1px rgba(255, 255, 255, 0.8);
    padding: 0.75rem;
    margin-top: 0.75rem;
    animation: dropdown-slide 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: top;
}

@keyframes dropdown-slide {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-item {
    color: rgba(33, 33, 33, 0.85);
    padding: 0.7rem 1.2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s ease;
    z-index: -1;
}

.dropdown-item:hover {
    color: var(--primary-gold);
    transform: translateX(-3px);
    background: transparent;
}

.dropdown-item:hover::before {
    opacity: 1;
    transform: scale(1);
}

.dropdown-item:active {
    transform: translateX(-5px) scale(0.98);
}

/* Social Media Navigation - Enhanced Glass Effect */
.social-nav {
    gap: 0.5rem;
    padding-left: var(--spacing-md);
    border-right: 1px solid rgba(199, 162, 89, 0.2);
    margin-left: var(--spacing-md);
    position: relative;
}

.social-nav::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(199, 162, 89, 0.3),
        transparent
    );
}

/* Search Button - Liquid Glass Style */
.btn-search {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.35) 0%, 
                rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: var(--light);
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin-left: var(--spacing-md);
    box-shadow: 0 4px 12px rgba(38, 76, 110, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-search::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
                rgba(199, 162, 89, 0.3) 0%, 
                rgba(217, 182, 109, 0.2) 100%);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
}

.btn-search:hover {
    color: var(--primary-gold);
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(199, 162, 89, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-color: rgba(199, 162, 89, 0.4);
}

.btn-search:hover::before {
    transform: scale(1);
}

.btn-search:active {
    transform: translateY(-1px) scale(0.95);
}

/* Social Link - Liquid Glass Spheres */
.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.35) 0%, 
                rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: var(--light);
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(38, 76, 110, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
}

.social-link:hover {
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(199, 162, 89, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-color: transparent;
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link:active {
    transform: translateY(-2px) scale(0.95);
}

/* Social link specific colors on hover */
.social-link:nth-child(1)::before {
    background: linear-gradient(135deg, #1877f2 0%, #0d5cbd 100%);
}

.social-link:nth-child(2)::before {
    background: linear-gradient(135deg, #1da1f2 0%, #0c8dd9 100%);
}

.social-link:nth-child(3)::before {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link:nth-child(4)::before {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.social-link:nth-child(5)::before {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
}

/* Social Media Mobile - Enhanced Glass Design */
.social-mobile {
    text-align: center;
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(199, 162, 89, 0.15);
    border-bottom: 1px solid rgba(199, 162, 89, 0.15);
    margin-top: var(--spacing-md);
    position: relative;
}

.social-mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(199, 162, 89, 0.4),
        transparent
    );
}

.social-mobile::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(199, 162, 89, 0.4),
        transparent
    );
}

.social-link-mobile {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.12) 0%, 
                rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.social-link-mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 14px;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
}

.social-link-mobile:hover,
.social-link-mobile:active {
    color: #fff;
    transform: scale(1.12) rotate(-3deg);
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.social-link-mobile:hover::before,
.social-link-mobile:active::before {
    transform: scale(1);
}

.social-link-mobile:nth-child(1)::before {
    background: linear-gradient(135deg, #1877f2 0%, #0d5cbd 100%);
}

.social-link-mobile:nth-child(2)::before {
    background: linear-gradient(135deg, #1da1f2 0%, #0c8dd9 100%);
}

.social-link-mobile:nth-child(3)::before {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link-mobile:nth-child(4)::before {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.social-link-mobile:nth-child(5)::before {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
}

/* Mobile Menu Toggle - Liquid Glass Button */
.navbar-toggler {
    border: 2px solid rgba(199, 162, 89, 0.3);
    padding: 0.6rem;
    border-radius: 12px;
    background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.25) 0%, 
                rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(38, 76, 110, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.navbar-toggler:hover {
    border-color: rgba(199, 162, 89, 0.5);
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 6px 16px rgba(199, 162, 89, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(199, 162, 89, 0.25),
                0 4px 12px rgba(38, 76, 110, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: var(--primary-gold);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2838, 76, 110, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.navbar-toggler:hover .navbar-toggler-icon {
    transform: scale(1.1);
}

/* Mobile Menu Container */


/* Responsive Mobile Menu Background */
@media (max-width: 991.98px) {
    .navbar-collapse {
        /* background: linear-gradient(135deg, 
                    rgba(255, 255, 255, 0.92) 0%, 
                    rgba(255, 255, 255, 0.85) 100%); */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 16px;
        padding: var(--spacing-md);
        margin-top: var(--spacing-md);
        box-shadow: 0 8px 32px rgba(38, 76, 110, 0.15),
                    inset 0 1px 0 rgba(255, 255, 255, 0.5);
        border: 1px solid rgba(199, 162, 89, 0.2);
    }
    
    .nav-link {
        margin: 0.35rem 0;
    }
}
/* ========================================
   LIVE RADIO PLAYER - Modern Fixed Design
   ======================================== */

.live-player-fixed {
    position: fixed;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: auto;
    max-width: 615px;
    pointer-events: auto;
    animation: slideUpPlayer 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s backwards;
    transition: bottom 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: visible;
}

.live-player-fixed.collapsed {
    bottom: -100px;
}

/* Toggle Button Styles */
.live-player-toggle {
    position: absolute !important;
    top: -24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: #FF0000 !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 8px 24px rgba(199, 162, 89, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.3), inset 0 -2px 4px rgba(0, 0, 0, 0.2) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1000 !important;
    outline: none;
    opacity: 1 !important;
    visibility: visible !important;

}

.live-player-toggle:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 12px 32px rgba(199, 162, 89, 0.4),
                0 6px 16px rgba(0, 0, 0, 0.25),
                inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.live-player-toggle:active {
    transform: translateX(-50%) scale(0.95);
}

/* Toggle button glow when playing */
.live-player-fixed:not(.collapsed) .live-player-container.playing ~ .live-player-toggle {
    background: linear-gradient(135deg, 
        rgba(231, 76, 60, 0.95) 0%, 
        rgba(192, 57, 43, 0.95) 100%);
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.4),
                0 4px 12px rgba(0, 0, 0, 0.2),
                inset 0 2px 4px rgba(255, 255, 255, 0.3),
                inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(231, 76, 60, 0.4),
                    0 4px 12px rgba(0, 0, 0, 0.2),
                    inset 0 2px 4px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 12px 32px rgba(231, 76, 60, 0.6),
                    0 6px 16px rgba(0, 0, 0, 0.25),
                    inset 0 2px 4px rgba(255, 255, 255, 0.4);
    }
}

.toggle-icon {
    color: white;
    font-size: 20px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2;
}

.live-player-fixed.collapsed .toggle-icon {
    transform: rotate(180deg);
}

/* Pulse animation for toggle button */
.toggle-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ff0000a1;
    animation: pulse-toggle 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse-toggle {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

.live-player-toggle:hover .toggle-pulse {
    animation: pulse-toggle-fast 1s ease-in-out infinite;
}

@keyframes pulse-toggle-fast {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

@keyframes slideUpPlayer {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

.live-player-container {
    background: linear-gradient(
148deg, rgb(117 117 117 / 22%) 0%, rgb(0 0 0 / 50%) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 15px;
    padding: 8px 14px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06),
                0 2px 8px rgba(0, 0, 0, 0.04),
                inset 0 1px 1px rgba(255, 255, 255, 0.5);
    border: 1.2px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 615px;
    max-width: 100%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.live-player-fixed.collapsed .live-player-container {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
}

.live-player-container::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -25%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(199, 162, 89, 0.1) 0%, transparent 65%);
    border-radius: 50%;
    animation: float-bubble 16s ease-in-out infinite;
    pointer-events: none;
    filter: blur(25px);
}

.live-player-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--primary-gold) 50%, 
        transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 2.5s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.live-player-container.playing::after {
    opacity: 0.8;
}

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

@keyframes float-bubble {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(18px, -18px) scale(1.08); }
    66% { transform: translate(-12px, 12px) scale(0.92); }
}

/* Program Thumbnail */
.live-player-thumb {
    width: 65px;
    height: 65px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1),
                inset 0 0.5px 0 rgba(255, 255, 255, 0.25);
    background: linear-gradient(135deg, #f8f8f8, #e8e8e8);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.live-player-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.live-player-container.playing .live-player-thumb {
    animation: pulse-thumb 1.8s ease-in-out infinite;
    border-color: rgba(199, 162, 89, 0.5);
}

@keyframes pulse-thumb {
    0%, 100% {
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1),
                    inset 0 0.5px 0 rgba(255, 255, 255, 0.25),
                    0 0 0 0 rgba(199, 162, 89, 0.6);
    }
    50% {
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1),
                    inset 0 0.5px 0 rgba(255, 255, 255, 0.25),
                    0 0 0 5px rgba(199, 162, 89, 0);
    }
}

.live-player-thumb::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--primary-gold) 50%,
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.live-player-container.playing .live-player-thumb::after {
    opacity: 1;
}

/* Program Info Section */
.live-player-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 145px;
    max-width: 200px;
}

.live-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    background: linear-gradient(135deg, 
                rgba(231, 76, 60, 0.1) 0%, 
                rgba(231, 76, 60, 0.04) 100%);
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: 800;
    color: #e74c3c;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    width: fit-content;
    transition: all 0.3s ease;
    border: 0.8px solid rgba(231, 76, 60, 0.15);
}

.live-status-badge i {
    font-size: 4.5px;
    animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.4);
    }
}

.live-player-container.playing .live-status-badge {
    background: linear-gradient(135deg, 
                rgba(39, 174, 96, 0.13) 0%, 
                rgba(39, 174, 96, 0.06) 100%);
    color: #27ae60;
    border-color: rgba(39, 174, 96, 0.25);
}

.live-program-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(38, 76, 110, 0.88);
    margin: 0;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.live-player-container.playing .live-program-title {
    color: var(--primary-gold);
}

.live-program-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.62rem;
    color: rgba(108, 117, 125, 0.75);
}

.live-program-meta span {
    display: flex;
    align-items: center;
    gap: 2.5px;
}

.live-program-meta i {
    font-size: 0.58rem;
    opacity: 0.55;
}

/* Audio Wave Visualizer - Ultra Modern Liquid Design */
.live-wave-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    gap: 1.5px;
    padding: 0 8px;
    position: relative;
    border-radius: 21px;
    background: linear-gradient(135deg, 
                rgba(199, 162, 89, 0.05) 0%, 
                rgba(199, 162, 89, 0.015) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 0.8px solid rgba(199, 162, 89, 0.1);
}

.live-wave-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(199, 162, 89, 0.12) 0%, transparent 65%);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.live-player-container.playing .live-wave-container::before {
    width: 95%;
    height: 95%;
}

.wave-bar {
    width: 1.8px;
    background: #fff;
    border-radius: 8px;
    transition: all 0.12s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.28;
    position: relative;
    filter: drop-shadow(0 0.5px 2px rgba(199, 162, 89, 0.12));
}

.wave-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0.8px;
    height: 32%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.65) 0%, 
        transparent 100%);
    border-radius: 8px;
}

.live-player-container.playing .wave-bar {
    animation: wave-liquid 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    opacity: 1;
    filter: drop-shadow(0 0 5px rgba(199, 162, 89, 0.35));
}

/* Unique varying heights for each bar - creates beautiful natural pattern */
.wave-bar:nth-child(1) { height: 66%; animation-delay: 0s; }
.wave-bar:nth-child(2) { height: 64%; animation-delay: 0.04s; }
.wave-bar:nth-child(3) { height: 62%; animation-delay: 0.08s; }
.wave-bar:nth-child(4) { height: 60%; animation-delay: 0.12s; }
.wave-bar:nth-child(5) { height: 62%; animation-delay: 0.16s; }
.wave-bar:nth-child(6) { height: 58%; animation-delay: 0.2s; }
.wave-bar:nth-child(7) { height: 52%; animation-delay: 0.24s; }
.wave-bar:nth-child(8) { height: 50%; animation-delay: 0.28s; }
.wave-bar:nth-child(9) { height: 55%; animation-delay: 0.32s; }
.wave-bar:nth-child(10) { height: 60%; animation-delay: 0.36s; }
.wave-bar:nth-child(11) { height: 62%; animation-delay: 0.4s; }
.wave-bar:nth-child(12) { height: 60%; animation-delay: 0.44s; }

@keyframes wave-liquid {
    0%, 100% {
        transform: scaleY(1) translateY(0);
        opacity: 0.88;
    }
    8% {
        transform: scaleY(1.12) translateY(-0.8px);
        opacity: 0.95;
    }
    20% {
        transform: scaleY(1.28) translateY(-1.5px);
        opacity: 1;
    }
    35% {
        transform: scaleY(1.12) translateY(-1.2px);
        opacity: 0.96;
    }
    50% {
        transform: scaleY(1) translateY(-0.6px);
        opacity: 0.9;
    }
    65% {
        transform: scaleY(0.82) translateY(0);
        opacity: 0.84;
    }
    80% {
        transform: scaleY(1) translateY(-0.3px);
        opacity: 0.88;
    }
}

/* Play/Pause Button - Compact Liquid Glass Design */
.live-play-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, 
        var(--primary-gold) 0%, 
        var(--gold-dark) 100%);
    color: white;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 12px rgba(199, 162, 89, 0.28),
                inset 0 0.5px 0 rgba(255, 255, 255, 0.32);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
}

.live-play-btn::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        var(--primary-gold) 0%, 
        var(--gold-light) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    animation: pulse-ring-compact 1.8s ease-out infinite;
}

.live-player-container.playing .live-play-btn::before {
    opacity: 0.32;
}

@keyframes pulse-ring-compact {
    0% {
        transform: scale(1);
        opacity: 0.32;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.16;
    }
    100% {
        transform: scale(1.22);
        opacity: 0;
    }
}

.live-play-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 16px rgba(199, 162, 89, 0.38),
                inset 0 0.5px 0 rgba(255, 255, 255, 0.42);
}

.live-play-btn:active {
    transform: scale(0.98);
}

.live-play-btn i {
    transition: all 0.3s ease;
    margin-left: 1px; /* Optical alignment for play icon */
}

.live-player-container.playing .live-play-btn i {
    margin-left: 0;
}

.live-player-container.playing .live-play-btn {
    background: linear-gradient(135deg, 
        #e74c3c 0%, 
        #c0392b 100%);
    box-shadow: 0 3px 12px rgba(231, 76, 60, 0.28),
                inset 0 0.5px 0 rgba(255, 255, 255, 0.32);
}

.live-player-container.playing .live-play-btn::before {
    background: linear-gradient(135deg, 
        #e74c3c 0%, 
        #ff5722 100%);
}

.live-player-container.loading .live-play-btn i {
    animation: spin 1s linear infinite;
}

/* Volume Control - Compact Liquid Glass */
.live-volume-control {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 21px;
    background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.16) 0%, 
                rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 0.8px solid rgba(255, 255, 255, 0.22);
}

.volume-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
                rgba(199, 162, 89, 0.1) 0%, 
                rgba(199, 162, 89, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 0.68rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 0.8px solid rgba(199, 162, 89, 0.15);
}

.volume-icon:hover {
    background: var(--primary-gold);
    color: white;
    transform: scale(1.1);
    border-color: var(--primary-gold);
}

.volume-slider-container {
    width: 40px;
    position: relative;
}

.volume-slider {
    width: 100%;
    height: 2.5px;
    border-radius: 1.5px;
    background: linear-gradient(135deg, 
                rgba(199, 162, 89, 0.16) 0%, 
                rgba(199, 162, 89, 0.06) 100%);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--primary-gold);
    cursor: pointer;
    box-shadow: 0 1.5px 5px rgba(199, 162, 89, 0.32),
                inset 0 0.5px 0 rgba(255, 255, 255, 0.28);
    border: 1.2px solid rgba(255, 255, 255, 0.35);
    transition: all 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.22);
    box-shadow: 0 2px 8px rgba(199, 162, 89, 0.5),
                inset 0 0.5px 0 rgba(255, 255, 255, 0.38);
}

.volume-slider::-moz-range-thumb {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--primary-gold);
    cursor: pointer;
    border: 1.2px solid rgba(255, 255, 255, 0.35);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .live-player-fixed {
        max-width: 615px;
        bottom: 12px;
    }
    
    .live-player-container {
        width: 615px;
        max-width: 100%;
        padding: 7px 13px;
        gap: 9px;
    }
}

@media (max-width: 768px) {
    .live-player-fixed {
        max-width: 100%;
        bottom: 9px;
        transform: translate(0) !important;
        left:0 !important
    }
    
    .live-player-fixed.collapsed {
        bottom: -174px;
    }
    
    .live-player-toggle {
        width: 44px;
        height: 44px;
        top: -40px;
    }
    
    .toggle-icon {
        font-size: 18px;
    }
    
    .live-player-container {
        width: 100%;
        max-width: 615px;
        padding: 7px 11px;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 32px;
    }
    
    .live-player-thumb {
        width: 38px;
        height: 38px;
    }
    
    .live-player-info {
        min-width: 130px;
        max-width: 160px;
    }
    
    .live-program-title {
        font-size: 0.76rem;
    }
    
    .live-program-meta {
        font-size: 0.58rem;
        gap: 6px;
    }
    
    .live-wave-container {
        order: 4;
        width: 100%;
        height: 32px;
        gap: 1.3px;
    }
    
    .wave-bar {
        width: 1.6px;
    }
    
    .live-play-btn {
        width: 38px;
        height: 38px;
        font-size: 0.88rem;
    }
    
    .volume-slider-container {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .live-player-container {
        width: 100%;
        max-width: 615px;
        padding: 6px 10px;
        gap: 7px;
        border-radius: 28px;
    }
    
    .live-player-thumb {
        width: 36px;
        height: 36px;
    }
    
    .live-player-info {
        min-width: 105px;
        max-width: 135px;
    }
    
    .live-program-title {
        font-size: 0.72rem;
    }
    
    .live-program-meta {
        font-size: 0.54rem;
        gap: 5px;
    }
    
    .live-program-meta span:last-child {
        display: none; /* Hide time on very small screens */
    }
    
    .live-play-btn {
        width: 36px;
        height: 36px;
        font-size: 0.82rem;
    }
    
    .volume-icon {
        width: 22px;
        height: 22px;
        font-size: 0.62rem;
    }
    
    .volume-slider-container {
        width: 40px;
    }
    
    .wave-bar {
        width: 1.5px;
    }
    
    .live-wave-container {
        height: 28px;
        padding: 0 5px;
    }
}
   
/* Mobile Menu Toggle */
.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(199, 162, 89, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========================================
   4. Hero Section / Live Player
   ======================================== */

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.live-player {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(10px);
}

.player-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    gap: var(--spacing-md);
}

.now-playing {
    flex: 1;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e74c3c;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.program-title {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.program-host {
    color: var(--gray-600);
    margin: 0;
}

.stream-quality {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.btn-play {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-dark) 100%);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(199, 162, 89, 0.3);
}

.btn-play:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(199, 162, 89, 0.4);
}

.btn-play.playing {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex: 1;
}

.volume-control i {
    color: var(--gray-600);
    font-size: 1.25rem;
}

.volume-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--gray-300);
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-gold);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-gold);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: none;
}

/* Audio Visualizer - Modern Compact Design */
.audio-visualizer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 24px;
    padding: 0 8px;
    opacity: 0.6;
    transition: opacity var(--transition-normal);
}

.audio-visualizer.active {
    opacity: 1;
}

.audio-visualizer span {
    display: block;
    width: 2px;
    height: 100%;
    background: var(--gray-300);
    border-radius: 1px;
    transform: scaleY(0.3);
    transition: all var(--transition-fast);
    will-change: transform;
}

.audio-visualizer.active span {
    background: linear-gradient(to top, var(--primary-gold), var(--gold-light));
    animation: visualizer-modern 1.4s ease-in-out infinite;
}

.audio-visualizer span:nth-child(1) { animation-delay: 0s; }
.audio-visualizer span:nth-child(2) { animation-delay: 0.1s; }
.audio-visualizer span:nth-child(3) { animation-delay: 0.2s; }
.audio-visualizer span:nth-child(4) { animation-delay: 0.15s; }
.audio-visualizer span:nth-child(5) { animation-delay: 0.3s; }
.audio-visualizer span:nth-child(6) { animation-delay: 0.25s; }
.audio-visualizer span:nth-child(7) { animation-delay: 0.4s; }
.audio-visualizer span:nth-child(8) { animation-delay: 0.35s; }
.audio-visualizer span:nth-child(9) { animation-delay: 0.45s; }
.audio-visualizer span:nth-child(10) { animation-delay: 0.5s; }

@keyframes visualizer-modern {
    0%, 100% {
        transform: scaleY(0.3);
    }
    25% {
        transform: scaleY(0.8);
    }
    50% {
        transform: scaleY(1);
    }
    75% {
        transform: scaleY(0.6);
    }
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image img {
    max-width: 400px;
    margin: 0 auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

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

.floating-card {
    position: absolute;
    bottom: 20%;
    left: 10%;
    background: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    backdrop-filter: blur(10px);
    animation: float 2s ease-in-out infinite;
    animation-delay: 0.5s;
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary-gold);
}

.floating-card strong {
    display: block;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.floating-card span {
    display: block;
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* ========================================
   5. Schedule Timeline Section
   ======================================== */
.schedule-section {
    background: #f5f5f5;
    position: relative;
}

.schedule-timeline-wrapper {
    position: relative;
    max-width: 1200px;
    /* margin: 0 auto;
    padding: 1.5rem 1rem; */
}

.timeline-nav {
    display: none;
}

.schedule-timeline {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    padding: 0;
    max-width: 100%;
    justify-content: center;
}
/* Timeline Item - Horizontal Compact Layout */
.timeline-item {
    background: white;
    border-radius: 8px;
    padding: 0.45rem 1.75rem;
    cursor: pointer;
    transition: background 0.2s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    user-select: none;
    border: 1px solid #e0e0e0;
}

.timeline-item:hover {
    background: #fafafa;
}

/* Current Program Styling */
.timeline-item-current {
    background: #2c3e50;
    color: white;
    justify-content: center;
    border: 1px solid #2c3e50;
}

.timeline-item-current .timeline-label{
    background: #e74c3c;
}

.timeline-item-current .timeline-content {
    display: none;
}

.timeline-item-current:hover {
    background: #34495e;
}

/* Next Program Styling */
.timeline-item-next {
    background: white;
    color: #333;
    border: 1px solid #e0e0e0;
    justify-content: center;
}

.timeline-item-next:hover {
    background: #fafafa;
}

/* Timeline Header - Left Side (Label + Time) */
.timeline-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 110px;
    flex-shrink: 0;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
}

.timeline-item-next .timeline-header {
    border-left-color: #f0f0f0;
}

/* Label Styling */
.timeline-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    white-space: nowrap;
}

.timeline-item-current .timeline-label {
    background: #e74c3c;
    color: white;
}

.timeline-item-next .timeline-label {
    background: #ecf0f1;
    color: #555;
}

.timeline-label i {
    font-size: 0.65rem;
}

/* Time Styling */
.timeline-time {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}

.timeline-item-current .timeline-time {
    color: white;
}

.timeline-item-next .timeline-time {
    color: #555;
}

/* Timeline Content - Right Side */
.timeline-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* gap: 0.4rem; */
    min-width: 0;
}

/* Program Title Styling */
.timeline-program-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.timeline-item-current .timeline-program-title {
    color: white;
}

.timeline-item-next .timeline-program-title {
    color: #333;
}

/* Program Description Styling */
.timeline-program-description {
    font-size: 0.875rem;
    line-height: 1.5;
    opacity: 0.9;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.timeline-item-current .timeline-program-description {
    color: rgba(255, 255, 255, 0.95);
}

.timeline-item-next .timeline-program-description {
    color: #666;
}

/* Program Host Styling */
.timeline-program-host {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    opacity: 0.85;
}

.timeline-program-host i {
    font-size: 0.7rem;
}

.timeline-item-current .timeline-program-host {
    color: rgba(255, 255, 255, 0.9);
}

.timeline-item-next .timeline-program-host {
    color: #777;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .timeline-header {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        min-width: auto;
        padding-left: 0;
        padding-bottom: 1rem;
        border-left: none;
        border-bottom: 2px solid rgba(255, 255, 255, 0.25);
    }
    
    .timeline-item-next .timeline-header {
        border-bottom-color: #e0e0e0;
    }
    
    .timeline-time {
        font-size: 1.5rem;
    }
    
    .timeline-program-title {
        font-size: 1.05rem;
        -webkit-line-clamp: 2;
    }
    
    .timeline-program-description {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }
}

.timeline-program {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline-item {
        width: 80px;
        padding: var(--spacing-xs);
    }
    
    .timeline-time {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .timeline-item {
        width: 70px;
        padding: 0.5rem 1rem;
    }
    
    .timeline-time {
        font-size: 1rem;
    }
}

/* ========================================
   CURRENT PROGRAM DETAILS - ULTRA MODERN HERO WITH CINEMATIC ANIMATIONS
   ======================================== */
.current-program-details {
    box-shadow: var(--shadow-xl);
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 630px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    /* background: linear-gradient(135deg, 
        rgba(38, 76, 110, 0.95) 0%, 
        rgba(26, 58, 82, 0.98) 100%); */
        background: #e6e6e6;
}

.current-program-details .timeline-item-current {
    width: 160px;
    z-index: 10;
    position:absolute;
    bottom:10px;
    right:25px;
}
.timeline-item-current .timeline-header{
    border-left: none !important;
}
/* ===== BACKGROUND IMAGE - CINEMATIC TRANSITION SYSTEM ===== */
.program-bg-image {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.2) rotate(0deg);
    filter: blur(0px) brightness(1);
    z-index: 0;
    will-change: transform, opacity, filter;
    transition: none;
}

/* Active state */
.program-bg-image.active {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Exiting state */
.program-bg-image.exiting {
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}




/* ===== GRADIENT OVERLAY ===== */
.current-program-details::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #d6d6d6;
    pointer-events: none;
    z-index: 1;
}

/* ===== CONTENT LAYER ===== */
.current-program-details > * {
    position: relative;
    z-index: 2;
}

.program-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    display: none; /* Hide if not needed */
}

/* ===== TITLE ===== */
.current-program-details h3 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0;
    transition: all 0.2s ease;
    text-align: center;
}

.current-program-details h3:hover {
    color: #f0f0f0;
}

/* ===== DESCRIPTION ===== */
.current-program-details p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ===== BADGES ===== */
.current-program-details .program-time-badge {
    display: inline-block;
    background: #c9a961;
    color: white;
    padding: 0.6rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    margin-top: var(--spacing-md);
    margin-right: 1.2rem;
    border: 1px solid #b8985a;
    transition: background 0.2s ease;
}

.current-program-details .program-time-badge:hover {
    background: #b8985a;
}

.current-program-details .program-host-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background 0.2s ease;
}

.current-program-details .program-host-badge:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .current-program-details {
        padding: 0;
        min-height: 450px;
    }
    .schedule-timeline-wrapper{position: absolute;left: 0;width:100%}
    .current-program-details h3 {
        font-size: 2.2rem;
    }
    
    .current-program-details p {
        font-size: 1.15rem;
        line-height: 1.7;
    }
    
    .current-program-details .program-time-badge,
    .current-program-details .program-host-badge {
        padding: 0.7rem 1.8rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    /* .current-program-details {
        padding: var(--spacing-md);
        min-height: 400px;
    } */
    
    .current-program-details h3 {
        font-size: 1.75rem;
    }
    
    .current-program-details p {
        font-size: 1rem;
    }
    
    .current-program-details .program-time-badge,
    .current-program-details .program-host-badge {
        display: block;
        margin: 0.6rem auto;
        text-align: center;
        max-width: 280px;
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ========================================
   6. Section Headers
   ======================================== */
.section-header {
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold) 0%, transparent 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin: 0;
}

/* ========================================
   7. Program Cards & Sliders
   ======================================== */
.programs-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.programs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(199, 162, 89, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.programs-swiper {
    padding: var(--spacing-lg) 0;
}

.program-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(199, 162, 89, 0.1);
    position: relative;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--gold-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: right;
}

.program-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.program-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(199, 162, 89, 0.25);
    border-color: var(--primary-gold);
}

.program-image {
    position: relative;
    overflow: hidden;
    height: 180px;
    background: linear-gradient(135deg, #264c6e 0%, #3a6b91 100%);
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95);
}

.program-card:hover .program-image img {
    transform: scale(1.15);
    filter: brightness(1.1);
}

.program-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(199, 162, 89, 0.95);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.program-overlay i {
    font-size: 1.8rem;
    color: #fff;
    animation: pulse 2s infinite;
}

.program-card:hover .program-overlay {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.program-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
}

.program-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
    min-height: 2.8rem;
}

.program-card:hover .program-name {
    color: var(--primary-gold);
}

.program-desc {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    flex: 1;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.program-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(199, 162, 89, 0.15);
    transition: all 0.3s ease;
}

.program-card:hover .program-meta {
    color: var(--primary-gold);
    border-top-color: var(--primary-gold);
}

.program-host {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.program-host i {
    font-size: 0.75rem;
}

.text-link {
    color: var(--primary-gold);
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(199, 162, 89, 0.1), rgba(199, 162, 89, 0.05));
    border: 2px solid var(--primary-gold);
}

.text-link:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-light));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 162, 89, 0.3);
}

.text-link i {
    transition: transform 0.3s ease;
}

.text-link:hover i {
    transform: translateX(-5px);
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    background: var(--gray-400);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--primary-gold);
}

/* ========================================
   8. Social Live Stream Section
   ======================================== */
.social-live-section {
    background: var(--gray-100);
}

.social-stream-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.nav-tabs {
    border-bottom: 2px solid var(--gray-200);
}

.nav-tabs .nav-link {
    color: var(--gray-600);
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    font-weight: 700;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
   
}
.social-stream-card .nav-tabs .nav-link{
 color: #939186 !important;
    background: #eaeaea;
}
.nav-tabs .nav-link:hover {
    color: var(--primary-gold);
    border-color: transparent;
}

.nav-tabs .nav-link.active {
    color: var(--primary-gold);
    background: transparent;
    border-bottom: 3px solid var(--primary-gold);
}

.ratio iframe {
    border-radius: var(--radius-lg);
}

/* ========================================
   9. News Cards
   ======================================== */
.latest-additions-section,
.best-news-section {
    /* Styles inherited from base */
}

.featured-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
    transition: var(--transition-normal);
}

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

.featured-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-lg);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    color: #fff;
}

.featured-content h3 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.featured-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-sm);
}

.card-meta {
    display: flex;
    gap: var(--spacing-md);
    font-size: 0.875rem;
    opacity: 0.9;
}

.news-card-small {
    display: flex;
    gap: var(--spacing-sm);
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 113px;
}

.news-card-small:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-md);
}

.news-card-small img {
    width: 180px;
    /* height: 100px; */
    object-fit: cover;
    flex-shrink: 0;
}

.news-content {
    /* padding: var(--spacing-sm); */
    flex: 1;
}

.news-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
    line-height: 1.4;
}

.news-date {
    font-size: 0.75rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* Best News Section */
.best-news-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.best-news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.best-news-swiper {
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-xl) var(--spacing-md);
    direction: rtl;
}

.best-news-swiper .swiper-wrapper {
    direction: rtl;
}

.best-news-swiper .swiper-pagination {
    bottom: 0;
}

.best-news-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--gray-400);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.best-news-swiper .swiper-pagination-bullet-active {
    background: var(--primary-gold);
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

/* News Card Styling */
.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 420px;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--gray-200);
    will-change: transform;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.news-card:hover::before {
    opacity: 1;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(199, 162, 89, 0.25);
    border-color: var(--primary-gold);
}

.news-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
}

.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .news-image::after {
    opacity: 1;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.category-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-dark));
    color: #fff;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(199, 162, 89, 0.4);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.news-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.news-body::before {
    content: '';
    position: absolute;
    top: 0;
    right: 1.25rem;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), transparent);
    border-radius: 2px;
}

.news-body h3 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
    color: var(--primary-blue);
    line-height: 1.5;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
    min-height: 3.15rem;
}

.news-card:hover .news-body h3 {
    color: var(--primary-gold);
}

.news-body p {
    color: var(--gray-600);
    font-size: 0.88rem;
    flex: 1;
    margin-bottom: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8rem;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.news-time {
    font-size: 0.75rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.news-time i {
    color: var(--primary-gold);
    font-size: 0.7rem;
}

.read-more {
    color: var(--primary-gold);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.25s ease;
}

.read-more:hover {
    gap: 0.6rem;
    color: var(--gold-dark);
}

.read-more:hover::after {
    width: 100%;
}

.read-more i {
    font-size: 0.75rem;
}

/* ========================================
   10. Literature Section (اقلام ولائية)
   ======================================== */
.literature-section {
    background: #fff;
}

.literature-card {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(199, 162, 89, 0.1);
    position: relative;
}

.literature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(199, 162, 89, 0.02) 0%, rgba(38, 76, 110, 0.02) 100%);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 1;
}

.literature-card:hover::before {
    opacity: 1;
}

.literature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(199, 162, 89, 0.2);
}

.literature-image {
    height: 160px;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    position: relative;
}

.literature-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.1));
    z-index: 1;
    transition: var(--transition-normal);
}

.literature-card:hover .literature-image::before {
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.2));
}

.literature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.literature-card:hover .literature-image img {
    transform: scale(1.1);
}

.literature-content {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.literature-content h3 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8rem;
    transition: color var(--transition-normal);
}

.literature-card:hover .literature-content h3 {
    color: var(--primary-gold);
}

.literature-content p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: var(--spacing-sm);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.2rem;
}

.literature-meta {
    display: flex;
    gap: var(--spacing-md);
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
    border-top: 1px solid var(--gray-200);
    justify-content: space-between;
}

.literature-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color var(--transition-fast);
}

.literature-meta span i {
    color: var(--primary-gold);
    font-size: 0.75rem;
}

.literature-card:hover .literature-meta span {
    color: var(--gray-600);
}

/* ========================================
   11. Team Section
   ======================================== */
.team-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}


.team-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-normal);
    position: relative;
    height: 100%;
    border: 1px solid rgba(199, 162, 89, 0.1);
}

.team-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(38, 76, 110, 0.15);
    border-color: rgba(199, 162, 89, 0.3);
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: linear-gradient(45deg, var(--gray-200), var(--gray-100));
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    filter: brightness(1.05) contrast(1.1);
}

.team-card:hover .team-image img {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.15);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(38, 76, 110, 0.85) 0%, rgba(199, 162, 89, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-normal);
    backdrop-filter: blur(2px);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 12px;
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

.team-card:hover .team-social {
    transform: translateY(0);
}

.team-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    font-size: 0.875rem;
    backdrop-filter: blur(10px);
}

.team-social a:hover {
    background: var(--primary-gold);
    color: #fff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(199, 162, 89, 0.4);
}

.team-info {
    padding: 1.25rem 1rem;
    text-align: center;
    background: linear-gradient(to bottom, #fff 0%, #fafafa 100%);
    position: relative;
}

.team-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-blue));
    border-radius: 2px;
}

.team-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.75rem 0 0.5rem;
    color: var(--primary-blue);
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.team-card:hover .team-info h3 {
    color: var(--primary-gold);
}

.team-info p {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

/* ========================================
   Team Section - Advanced Animations
   ======================================== */

/* Card reveal animation */
.team-card {
    animation: fadeInUp 0.6s ease-out both;
}

.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.2s; }
.team-card:nth-child(3) { animation-delay: 0.3s; }
.team-card:nth-child(4) { animation-delay: 0.4s; }
.team-card:nth-child(5) { animation-delay: 0.5s; }
.team-card:nth-child(6) { animation-delay: 0.6s; }
.team-card:nth-child(7) { animation-delay: 0.7s; }
.team-card:nth-child(8) { animation-delay: 0.8s; }

/* Modern loading state */
.team-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
    z-index: 1;
}

.team-card:hover .team-image::before {
    transform: translateX(100%);
}

/* Pulse effect on social icons */
.team-social a {
    position: relative;
    overflow: hidden;
}

.team-social a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.team-social a:active::before {
    width: 40px;
    height: 40px;
}

/* Smooth gradient text effect */
.team-info h3 {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* ========================================
   12. App Section
   ======================================== */
.app-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--blue-light) 100%);
    color: #fff;
    overflow: hidden;
    position: relative;
}

.app-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM36 6V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.app-mockup img {
    max-width: 400px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    transform: scale(1.5);
}

.app-content {
    position: relative;
    z-index: 2;
}

.app-content .section-title,
.app-content .section-subtitle {
    color: #fff;
}

.app-features {
    margin: var(--spacing-lg) 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.feature-item i {
    color: var(--primary-gold);
    font-size: 1.25rem;
}

.app-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.btn-app-store {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: #fff;
    color: var(--primary-blue);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.btn-app-store:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-gold);
}

.btn-app-store i {
    font-size: 2rem;
}

.btn-app-store small {
    display: block;
    font-size: 0.75rem;
}

.btn-app-store strong {
    display: block;
    font-size: 1.1rem;
}

#videoModal .modal-content {
    background: transparent;
    border: none;
}

#videoModal .modal-header {
    border: none;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

#videoModal .btn-close {
    background: white;
    opacity: 1;
    border-radius: 50%;
}

#videoModal .modal-body {
    background: black;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ========================================
   Video Library Section
   ======================================== */
.video-library-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.video-library-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-gold) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
}

/* Video Filters */
.video-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.btn-filter {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary-gold);
    background: transparent;
    color: var(--primary-blue);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-filter:hover {
    background: var(--primary-gold);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-filter.active {
    background: var(--primary-gold);
    color: white;
    box-shadow: var(--shadow-md);
}

/* Video Card */
.video-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--gray-800);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-gold);
    border: 3px solid white;
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 2;
}
.btn:hover{border-color: var(--gold-dark);}
.play-btn:hover {
    transform: scale(1.15);
    background: var(--gold-light);
    box-shadow: 0 0 20px rgba(199, 162, 89, 0.6);
}

.video-duration {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
}

.video-info {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: auto;
}

.video-meta i {
    margin-left: 0.4rem;
    color: var(--primary-gold);
}

/* Fade Animation */
.video-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.video-item:nth-child(1) { animation-delay: 0.1s; }
.video-item:nth-child(2) { animation-delay: 0.2s; }
.video-item:nth-child(3) { animation-delay: 0.3s; }
.video-item:nth-child(4) { animation-delay: 0.4s; }
.video-item:nth-child(5) { animation-delay: 0.5s; }
.video-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-filters {
        gap: 0.5rem;
    }
    
    .btn-filter {
        padding: 0.4rem 1rem;
        font-size: 0.875rem;
    }
    
    .play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
    
    .video-title {
        font-size: 0.95rem;
    }
    
    .video-meta {
        font-size: 0.8rem;
        gap: 0.75rem;
    }
}

@media (max-width: 576px) {
    .video-info {
        padding: 1rem;
    }
    
    .play-btn {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
}

/* ========================================
   13. Footer
   ======================================== */
.footer {
    background: var(--primary-blue);
    position: relative;
    z-index: 1;
}

.footer-main {
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-widget {
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    max-width: 150px;
    filter: contrast(0.5);
}

.footer-widget h4 {
    color: var(--primary-gold);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.footer-widget p {
    line-height: 1.8;
    opacity: 0.9;
}

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

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition-fast);
    display: inline-block;
}

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

.frequencies-table {
    width: 100%;
    font-size: 0.95rem;
}

.frequencies-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.frequencies-table td {
    padding: 0.5rem 0;
}

.frequencies-table td:first-child {
    color: rgba(255, 255, 255, 0.9);
}

.frequencies-table td:last-child {
    text-align: left;
    color: var(--primary-gold);
    font-weight: 700;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    align-items: flex-start;
}

.contact-info i {
    color: var(--primary-gold);
    margin-top: 0.25rem;
    font-size: 1.1rem;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.9);
}

.contact-info a:hover {
    color: var(--primary-gold);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary-gold);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md) 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* ========================================
   14. Scroll to Top Button
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gold);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 998;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--gold-dark);
    transform: translateY(-5px);
}

/* ========================================
   15. Utility Classes
   ======================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-dark) 100%);
    border: none;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(199, 162, 89, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(199, 162, 89,  0.4);
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--primary-gold) 100%);
}

.btn-outline-primary {
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    background: transparent;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition-normal);
}

.btn-outline-primary:hover {
    background: var(--primary-gold);
    color: #fff;
    transform: translateY(-2px);
}

/* ========================================
   16. Responsive Design
   ======================================== */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .featured-card img {
        height: 350px;
    }
}

/* Mobile (320px - 767px) */
@media (max-width: 767px) {
    :root {
        --font-size-base: 14px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .hero-section {
        padding: var(--spacing-lg) 0;
    }
    
    .live-player {
        padding: var(--spacing-md);
    }
    
    .player-info {
        flex-direction: column;
    }
    
    .program-title {
        font-size: 1.25rem;
    }
    
    .btn-play {
        width: 60px;
        height: 60px;
    }
    
    .volume-control {
        flex-direction: column;
        width: 100%;
    }
    
    .volume-slider {
        width: 100%;
    }
    
    .timeline-nav {
        display: none;
    }
    
    .timeline-item {
        width: 100%;
    }
    .timeline-item-current .timeline-header{
        flex-direction: row !important;
        margin: 0;
        padding: 0;
    }
    .current-program-details .timeline-item-current{
        width: 130px !important;
        bottom: 137px;
        height: 50px;
    }
    .featured-card img {
        height: 250px;
    }
    
    .news-card-small img {
        width: 100px;
        height: 80px;
    }
    
    .app-buttons {
        flex-direction: column;
    }
    
    .btn-app-store {
        width: 100%;
        justify-content: center;
    }
    
    .team-image {
        height: 180px;
    }
    
    .team-info {
        padding: 1rem 0.75rem;
    }
    
    .team-info h3 {
        font-size: 0.9rem;
    }
    
    .team-info p {
        font-size: 0.75rem;
    }
    
    .team-social a {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
    
    .footer-main {
        padding: var(--spacing-lg) 0;
    }
    
    .scroll-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Small Mobile (320px) */
@media (max-width: 374px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .timeline-item {
        width: 100px;
    }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }
}

/* ========================================
   17. Print Styles
   ======================================== */
@media print {
    .header,
    .btn-live,
    .live-player,
    .scroll-top,
    .social-links {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .section-title {
        page-break-after: avoid;
    }
}

/* ========================================
   18. Accessibility
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus Styles */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* Skip to Main Content Link */
.skip-to-main {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-gold);
    color: #fff;
    padding: var(--spacing-sm) var(--spacing-md);
    text-decoration: none;
    z-index: 9999;
}

.skip-to-main:focus {
    top: 0;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ========================================
   Search Overlay
   ======================================== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(38, 76, 110, 0.98);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    padding: var(--spacing-lg);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-content {
    width: 100%;
    max-width: 900px;
    margin-top: var(--spacing-xxl);
    position: relative;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-close {
    position: absolute;
    top: -20px;
    left: -20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.search-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.search-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.search-title {
    color: var(--primary-gold);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.search-input-wrapper {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.search-icon {
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-gold);
    font-size: 1.25rem;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: var(--spacing-md) 3.5rem var(--spacing-md) var(--spacing-md);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark);
    font-size: 1.125rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: #fff;
    box-shadow: 0 4px 20px rgba(199, 162, 89, 0.3);
}

.search-input::placeholder {
    color: var(--gray-500);
}

.search-clear {
    position: absolute;
    left: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--gray-500);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.3s ease;
}

.search-clear:hover {
    color: var(--danger);
}

.search-results {
    max-height: 60vh;
    overflow-y: auto;
    padding: var(--spacing-md) 0;
}

.search-help {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-size: 1rem;
    margin: var(--spacing-xl) 0;
}

.search-stats {
    color: var(--primary-gold);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(199, 162, 89, 0.1);
    border-radius: var(--radius-sm);
    border-right: 3px solid var(--primary-gold);
}

.search-no-results {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    padding: var(--spacing-xl);
    font-size: 1.125rem;
}

.search-no-results i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: var(--spacing-md);
    display: block;
}

.search-result-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.search-result-item:hover {
    background: #fff;
    border-color: var(--primary-gold);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.search-result-type {
    display: inline-block;
    background: var(--primary-gold);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
}

.search-result-title {
    color: var(--primary-blue);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
}

.search-result-snippet {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-xs);
}

.search-result-snippet mark {
    background: rgba(199, 162, 89, 0.3);
    color: var(--primary-blue);
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-weight: 600;
}

.search-result-path {
    color: var(--gray-500);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-result-path i {
    color: var(--primary-gold);
}

/* Scrollbar for Search Results */
.search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* Responsive Search Overlay */
@media (max-width: 768px) {
    .search-overlay {
        padding: var(--spacing-md);
    }
    
    .search-overlay-content {
        margin-top: var(--spacing-lg);
    }
    
    .search-close {
        top: -10px;
        left: -10px;
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .search-container {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .search-title {
        font-size: 1.5rem;
    }
    
    .search-input {
        font-size: 1rem;
        padding: 0.875rem 3rem 0.875rem 0.875rem;
    }
    
    .search-results {
        max-height: 50vh;
    }
}

/* ========================================
   Mobile Responsive Styles - Programs Section
   ======================================== */
@media (max-width: 991px) {
    .program-card {
        max-width: 100%;
    }
    
    .program-image {
        height: 160px;
    }
    
    .program-name {
        font-size: 1rem;
        min-height: 2.4rem;
    }
    
    .program-desc {
        font-size: 0.85rem;
    }
    
    /* Hide desktop split button on mobile */
    .live-btn-split {
        display: none;
    }
}

@media (min-width: 992px) {
    /* Desktop only - enhance split button */
    .live-btn-split {
        max-width: 180px;
    }
    
    .live-btn-info {
        flex: 1;
        min-width: 0;
    }
    
    .live-label {
        display: block;
    }
}

@media (max-width: 1200px) and (min-width: 992px) {
    /* Tablet landscape - more compact */
    .live-btn-split {
        max-width: 160px;
    }
    
    .live-label {
        font-size: 0.7rem;
    }
    
    .live-text {
        font-size: 0.6rem;
    }
}

@media (max-width: 576px) {
    .programs-section {
        padding: var(--spacing-lg) 0;
    }
    
    .program-card {
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    }
    
    .program-image {
        height: 140px;
    }
    
    .program-overlay {
        width: 60px;
        height: 60px;
    }
    
    .program-overlay i {
        font-size: 1.5rem;
    }
    
    .program-content {
        padding: 1rem;
    }
    
    .program-name {
        font-size: 0.95rem;
        min-height: 2.2rem;
    }
    
    .program-desc {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }
    
    .program-meta {
        font-size: 0.75rem;
        padding-top: 0.5rem;
    }
    
    .text-link {
        font-size: 0.95rem;
        padding: 0.5rem 1.25rem;
    }
}

/* ========================================
   Tablet Responsive Styles - Team Section
   ======================================== */
@media (max-width: 991px) and (min-width: 769px) {
    .team-card {
        margin-bottom: 1rem;
    }
    
    .team-image {
        height: 190px;
    }
    
    .team-info h3 {
        font-size: 0.95rem;
    }
    
    .team-info p {
        font-size: 0.8rem;
    }
}

/* ========================================
   Desktop Enhancement - Team Section Grid
   ======================================== */
@media (min-width: 1200px) {
    .team-section .container {
        max-width: 1140px;
    }
    
    .team-card {
        transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    }
    
    .team-card:hover {
        transform: translateY(-12px) scale(1.03);
        z-index: 10;
    }
}

/* ========================================
   Frequency Section - Modern Radio UI/UX
   ======================================== */

.frequency-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.frequency-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(199, 162, 89, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(38, 76, 110, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Section Header */
.frequency-header {
    position: relative;
    z-index: 2;
}

.frequency-icon-wrapper {
    position: relative;
    display: inline-block;
}

.frequency-main-icon {
    font-size: 2rem;
    color: var(--primary-gold);
    filter: drop-shadow(0 4px 8px rgba(199, 162, 89, 0.3));
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.signal-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -53%);
    width: 200px;
    height: 200px;
    pointer-events: none;
}

.wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    opacity: 0;
    animation: waveAnimation 3s ease-out infinite;
}

.wave-1 {
    animation-delay: 0s;
}

.wave-2 {
    animation-delay: 1s;
}

.wave-3 {
    animation-delay: 2s;
}

@keyframes waveAnimation {
    0% {
        width: 40px;
        height: 40px;
        opacity: 0.8;
    }
    100% {
        width: 160px;
        height: 160px;
        opacity: 0;
    }
}

.frequency-title {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.frequency-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Frequency List Container */
.frequency-list-container {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    max-height: 650px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom Scrollbar */
.frequency-list-container::-webkit-scrollbar {
    width: 8px;
}

.frequency-list-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.frequency-list-container::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 10px;
}

.frequency-list-container::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Frequency Card */
.frequency-card {
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

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

.frequency-card-inner {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.frequency-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(199, 162, 89, 0.1), transparent);
    transition: left 0.5s ease;
}

.frequency-card:hover .frequency-card-inner::before {
    left: 100%;
}

.frequency-card:hover .frequency-card-inner {
    transform: translateX(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-gold);
}

/* Karbala Featured Card */
.frequency-card#t_karbala .frequency-card-inner {
    background: linear-gradient(135deg, #fff5e6 0%, #ffffff 100%);
    border: 2px solid var(--primary-gold);
    box-shadow: 0 8px 25px rgba(199, 162, 89, 0.2);
}

.frequency-card#t_karbala:hover .frequency-card-inner {
    box-shadow: 0 15px 40px rgba(199, 162, 89, 0.3);
}

/* City Info */
.city-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.city-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--primary-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(38, 76, 110, 0.3);
    transition: all 0.3s ease;
}

.city-icon.featured {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--primary-gold) 100%);
    box-shadow: 0 4px 15px rgba(199, 162, 89, 0.4);
    animation: featuredPulse 2s ease-in-out infinite;
}

@keyframes featuredPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(199, 162, 89, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(199, 162, 89, 0.6);
    }
}

.frequency-card:hover .city-icon {
    transform: scale(1.1);
}

.city-details {
    display: flex;
    flex-direction: column;
}

.city-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1.2;
}

.city-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Frequency Display */
.frequency-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--blue-dark) 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(38, 76, 110, 0.3);
    transition: all 0.3s ease;
}

.frequency-display.featured {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-dark) 100%);
    box-shadow: 0 4px 15px rgba(199, 162, 89, 0.4);
}

.frequency-card:hover .frequency-display {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(38, 76, 110, 0.4);
}

.frequency-card:hover .frequency-display.featured {
    box-shadow: 0 6px 20px rgba(199, 162, 89, 0.5);
}

.fm-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

.frequency-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    font-family: 'Courier New', monospace;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.frequency-unit {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .frequency-section {
        padding: 60px 0;
    }

    .frequency-title {
        font-size: 2.2rem;
    }

    .frequency-subtitle {
        font-size: 1rem;
    }

    .frequency-list-container {
        max-height: none;
        margin-bottom: 2rem;
    }

    .frequency-card:hover .frequency-card-inner {
        transform: translateX(0) translateY(-4px);
    }
}

@media (max-width: 768px) {
    .frequency-main-icon {
        font-size: 3rem;
    }

    .frequency-title {
        font-size: 1.8rem;
    }

    .frequency-subtitle {
        font-size: 0.95rem;
    }

    .frequency-card-inner {
        padding: 1.2rem;
    }

    .city-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .city-name {
        font-size: 1.1rem;
    }

    .frequency-number {
        font-size: 1.5rem;
    }

    .frequency-display {
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 576px) {
    .frequency-section {
        padding: 40px 0;
    }

    .frequency-list-container {
        padding: 1rem;
        border-radius: 16px;
    }

    .frequency-card {
        margin-bottom: 0.8rem;
    }

    .frequency-card-inner {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .city-info {
        width: 100%;
    }

    .frequency-display {
        width: 100%;
        justify-content: center;
    }

    .frequency-title {
        font-size: 1.5rem;
    }

    .frequency-main-icon {
        font-size: 2.5rem;
    }

    .signal-waves {
        width: 150px;
        height: 150px;
    }

    @keyframes waveAnimation {
        0% {
            width: 30px;
            height: 30px;
            opacity: 0.8;
        }
        100% {
            width: 150px;
            height: 150px;
            opacity: 0;
        }
    }
}

/* Interactive Animations */
@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.frequency-card {
    animation: slideInFromBottom 0.6s ease-out backwards;
}

.frequency-card:nth-child(1) { animation-delay: 0.1s; }
.frequency-card:nth-child(2) { animation-delay: 0.2s; }
.frequency-card:nth-child(3) { animation-delay: 0.3s; }
.frequency-card:nth-child(4) { animation-delay: 0.4s; }
.frequency-card:nth-child(5) { animation-delay: 0.5s; }
.frequency-card:nth-child(6) { animation-delay: 0.6s; }
.frequency-card:nth-child(7) { animation-delay: 0.7s; }
.frequency-card:nth-child(8) { animation-delay: 0.8s; }
.frequency-card:nth-child(9) { animation-delay: 0.9s; }
.frequency-card:nth-child(10) { animation-delay: 1s; }

/* Print Styles */
@media print {
    .frequency-section {
        background: white;
        padding: 20px 0;
    }

    .signal-waves,
    .frequency-card-inner::before {
        display: none;
    }

    .frequency-card:hover .frequency-card-inner {
        transform: none;
    }
}

/* Add these styles at the end of your CSS file */

/* Map path default state */
.features-map path {
    transition: all 0.3s ease;
}

/* Map path hover state */
.features-map path.active-location {
    fill: var(--gold-dark) !important;
    stroke: var(--gold-dark) !important;
    stroke-width: 2 !important;
}

/* Frequency card active state */
.frequency-card.active-card {
    transform: translateX(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.09);
    border-color: var(--gold-dark) !important;
}

.frequency-card.active-card .frequency-display {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    transform: scale(1.05);
}

/* ========================================
   Post/News Detail Page Styles
   ======================================== */

/* Post Hero Section */
.post-hero {
    background: var(--primary-blue);
    padding: var(--spacing-xxl) 0 var(--spacing-xl);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.post-hero-content {
    position: relative;
    z-index: 1;
}

/* Breadcrumb Custom */
.breadcrumb-custom {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: var(--spacing-sm) var(--spacing-md);
    margin-bottom: var(--spacing-md);
    display: inline-flex;
}

.breadcrumb-custom .breadcrumb {
    margin: 0;
    background: transparent;
}

.breadcrumb-custom .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.breadcrumb-custom .breadcrumb-item a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-custom .breadcrumb-item a:hover {
    color: #fff;
}

.breadcrumb-custom .breadcrumb-item.active {
    color: #fff;
}

.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* Post Title in Hero */
.post-hero .post-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

/* Post Content Wrapper */
.post-content-wrapper {
    margin-top: calc(-1 * var(--spacing-xl));
    position: relative;
    z-index: 2;
    padding-bottom: var(--spacing-xxl);
}

/* Featured Image */
.post-featured-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
    position: relative;
    aspect-ratio: 16 / 9;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.post-featured-image:hover img {
    opacity: 0.95;
}

/* Post Meta */
.post-meta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    align-items: center;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    font-size: 0.95rem;
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.post-meta-item i {
    color: var(--primary-gold);
}

/* Post Content Article */
.post-content {
    background: #fff;
    border-radius: 8px;
    padding: var(--spacing-xl);
    border: 1px solid #e9ecef;
    margin-bottom: var(--spacing-xl);
}

.post-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: var(--spacing-md);
    color: var(--gray-700);
}

.post-content h2 {
    color: var(--primary-blue);
    font-size: 1.75rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--primary-gold);
    display: inline-block;
}

.post-content h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.post-content blockquote {
    background: #f8f9fa;
    border-right: 4px solid var(--primary-gold);
    padding: var(--spacing-md) var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    border-radius: 6px;
    font-style: italic;
    color: var(--gray-700);
}

.post-content ul,
.post-content ol {
    margin-bottom: var(--spacing-md);
    padding-right: var(--spacing-lg);
}

.post-content li {
    margin-bottom: var(--spacing-xs);
    line-height: 1.8;
    color: var(--gray-700);
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--gray-200);
    align-items: center;
}

.tag {
    background: #f5f5f5;
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.tag:hover {
    background: var(--primary-gold);
    color: #fff;
}

/* Author Box */
.author-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    border: 1px solid #e9ecef;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-gold);
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h5 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.author-info p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Post Share Section */
.post-share {
    background: var(--primary-blue);
    border-radius: 8px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.post-share h4 {
    color: #fff;
    margin-bottom: var(--spacing-md);
    font-size: 1.3rem;
}

.share-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    transition: opacity 0.2s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    opacity: 0.9;
    color: #fff;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.telegram {
    background: #0088cc;
}

.share-btn.copy {
    background: var(--primary-gold);
}

/* Sidebar Widgets */
.sidebar-widget {
    background: #fff;
    border-radius: 8px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border: 1px solid #e9ecef;
    transition: border-color 0.2s ease;
}

.sidebar-widget:hover {
    border-color: #dee2e6;
}

.sidebar-widget h4 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--primary-gold);
    font-size: 1.3rem;
    font-weight: 700;
}

/* Search Widget */
.search-widget {
    position: relative;
}

.search-widget form {
    position: relative;
}

.search-widget input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    transition: border-color 0.2s ease;
}

.search-widget input:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.search-widget button {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-gold);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.search-widget button:hover {
    opacity: 0.9;
}

/* Related Post */
.related-post {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--gray-200);
}

.related-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-post-image {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.related-post:hover .related-post-image img {
    opacity: 0.9;
}

.related-post-content {
    flex: 1;
}

.related-post-content h5 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-post-content h5 a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-post-content h5 a:hover {
    color: var(--primary-gold);
}

.related-post-date {
    font-size: 0.85rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.related-post-date i {
    color: var(--primary-gold);
}

.category-badge-post {
    display: inline-block;
    background: var(--primary-gold);
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Category Links in Sidebar */
.category-link-sidebar {
    color: var(--gray-700);
    padding: 0.5rem;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.2s ease;
    text-decoration: none;
}

.category-link-sidebar:hover {
    background: var(--primary-gold);
    color: #fff;
}

/* Newsletter Widget */
.newsletter-widget {
    background: var(--primary-blue);
}

.newsletter-submit-btn {
    background: var(--primary-gold);
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    padding: 0.75rem;
    border: none;
    transition: opacity 0.2s ease;
}

.newsletter-submit-btn:hover {
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 992px) {
    .post-hero .post-title {
        font-size: 2rem;
    }
    
    .post-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .post-hero {
        padding: var(--spacing-lg) 0;
    }
    
    .post-hero .post-title {
        font-size: 1.75rem;
    }
    
    .post-content {
        padding: var(--spacing-md);
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .post-hero .post-title {
        font-size: 1.5rem;
    }
    
    .breadcrumb-custom {
        font-size: 0.875rem;
    }
}

/* ============================================
   Post Attachments Styles
   ============================================ */
.post-attachments {
    margin-top: 0.75rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border-top: none;
}

.post-attachments h5,
.post-attachments h6 {
    color: var(--primary-blue);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding-bottom: 0;
    border-bottom: none;
}

.post-attachments h5 i,
.post-attachments h6 i {
    font-size: 0.85rem;
    color: var(--primary-gold);
}

/* Audio Attachments Styles */
.audio-attachments {
    margin-bottom: 0.75rem;
}

.audio-player-card {
    background: #f8f9fa;
    border: none;
    border-right: 3px solid var(--primary-gold);
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.audio-player-card:hover {
    transform: translateX(-2px);
    box-shadow: 0 2px 8px rgba(199, 162, 89, 0.15);
    background: #ffffff;
}

.audio-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.audio-icon {
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    display: inline;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.audio-details {
    display: inline;
}

.audio-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

.audio-size {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-right: 0.5rem;
}

.custom-audio-player {
    height: 35px;
    border-radius: 6px;
}

/* Image Gallery Styles */
.image-attachments {
    margin-bottom: 0.75rem;
}

.image-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.image-gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.image-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-gallery-item:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(199, 162, 89, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-gallery-item:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    color: white;
    font-size: 2rem;
}

/* PDF Attachments Styles */
.pdf-attachments {
    margin-bottom: 0.75rem;
}

.pdf-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.pdf-item:hover {
    transform: translateX(-2px);
    box-shadow: 0 2px 8px rgba(199, 162, 89, 0.15);
    border-color: var(--primary-gold);
}

.pdf-icon {
    width: 40px;
    height: 40px;
    background: #dc3545;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.pdf-info h6 {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

.pdf-item .btn-outline-primary {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    transition: all 0.3s ease;
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
}

.pdf-item .btn-outline-primary:hover {
    background: var(--primary-gold);
    color: white;
    border-color: var(--primary-gold);
}

/* Fancybox Customization */
.fancybox__container {
    --fancybox-bg: rgba(20, 20, 20, 0.95);
}

.fancybox__backdrop {
    backdrop-filter: blur(10px);
}

.fancybox__caption {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: white;
    font-size: 1rem;
    padding: 1.5rem;
}

@media (max-width: 768px) {
    .post-attachments {
        padding: 0;
        margin-top: 0.5rem;
    }
    
    .post-attachments h5,
    .post-attachments h6 {
        font-size: 0.9rem;
        margin-top: 0.4rem;
        margin-bottom: 0.4rem;
    }
    
    .audio-player-card {
        padding: 0.65rem;
        margin-bottom: 0.4rem;
    }
    
    .audio-icon {
        font-size: 0.85rem;
    }
    
    .audio-title {
        font-size: 0.85rem;
    }
    
    .image-gallery-item img {
        height: 150px;
    }
    
    .pdf-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
}