/* style.css - Professional Ayurvedic Redesign for GyanHealth Care */

:root {
    /* Header Colors (Preserved from Original) */
    --header-deep-green: #0a5c36;
    --header-medium-green: #1a7c4d;
    --header-light-green: #2d9f6a;
    --header-accent-green: #4bc08b;
    --header-dark-bg: #0c3b26;
    
    /* New Ayurvedic Theme Colors */
    --golden-yellow: #FFB300;   /* Ayurvedic gold */
    --earth-brown: #8D6E63;     /* Earthy brown */
    --herbal-teal: #00796B;     /* Herbal teal */
    --cream-bg: #FFF8E1;        /* Cream background */
    --paper-white: #F5F5F5;     /* Paper white */
    --text-dark: #3E2723;       /* Dark brown text */
    --text-medium: #5D4037;     /* Medium brown */
    --text-light: #795548;      /* Light brown */
    --accent-color: #D84315;    /* Spicy orange accent */
    --shadow: 0 4px 12px rgba(27, 94, 32, 0.08);
    --shadow-heavy: 0 8px 25px rgba(27, 94, 32, 0.12);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    background-color: var(--cream-bg);
    color: var(--text-dark);
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(255, 243, 224, 0.3) 0%, transparent 55%),
        radial-gradient(circle at 85% 30%, rgba(255, 248, 225, 0.3) 0%, transparent 55%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER STYLES - PRESERVED COLORS
   ============================================ */

/* Main Header - Left-aligned & Reduced Height */
/* ============================================
   HEADER STYLES - UPDATED FONT STYLE
   ============================================ */

/* Main Header - Left-aligned & Reduced Height */
.main-header {
    background: linear-gradient(135deg, var(--header-dark-bg), var(--header-deep-green));
    color: var(--text-light);
    padding: 12px 0;
    box-shadow: 0 3px 10px rgba(10, 92, 54, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--header-accent-green);
    height: 70px;
    display: flex;
    align-items: center;
    font-family: 'Merriweather', serif; /* Updated font */
}

.header-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
}

.logo-icon {
    background: linear-gradient(135deg, var(--header-accent-green), var(--header-light-green));
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.logo-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.logo-title {
    font-family: 'Playfair Display', serif; /* Elegant serif font */
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.5px; /* Slightly more letter spacing for elegance */
    background: linear-gradient(to right, #ffffff, #e8f5f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle text shadow */
}

.logo-subtitle {
    font-family: 'Merriweather', serif; /* Matching serif font */
    font-size: 12px;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.3;
    white-space: nowrap;
    font-style: italic; /* Added italic style for Ayurvedic feel */
}

/* Main Container */
.main-container {
    display: flex;
    min-height: calc(100vh - 70px);
    background: linear-gradient(135deg, #fffcf5, #fff9f0);
}

/* ============================================
   SIDEBAR - AYURVEDIC REDESIGN
   ============================================ */

.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #ffffff 0%, #f9f5f0 100%);
    box-shadow: 2px 0 15px rgba(139, 69, 19, 0.1);
    height: calc(100vh - 70px);
    position: sticky;
    top: 70px;
    overflow-y: auto;
    border-right: 1px solid rgba(139, 69, 19, 0.1);
}

.sidebar-header {
    padding: 25px 20px;
    background: linear-gradient(135deg, var(--header-deep-green), var(--header-medium-green));
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.menu-list {
    list-style: none;
    padding: 20px 15px;
}

.menu-item {
    margin: 8px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    background: linear-gradient(90deg, rgba(255, 179, 0, 0.05), transparent);
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.menu-item:hover {
    background: linear-gradient(90deg, rgba(255, 179, 0, 0.1), rgba(27, 94, 32, 0.05));
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.menu-item.active {
    background: linear-gradient(90deg, var(--header-deep-green), var(--header-medium-green));
    border-left: 4px solid var(--golden-yellow);
    box-shadow: var(--shadow);
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
}

.menu-item.active .menu-link {
    color: white;
    font-weight: 600;
}

.menu-link i {
    width: 24px;
    text-align: center;
    font-size: 18px;
    color: var(--herbal-teal);
}

.menu-item.active .menu-link i {
    color: white;
}

.menu-item:hover .menu-link {
    color: var(--header-deep-green);
}

.sidebar-footer {
    padding: 20px;
    margin-top: auto;
    border-top: 1px solid rgba(139, 69, 19, 0.1);
    background: linear-gradient(180deg, #fffaf0, #fff5e6);
}

.health-tips {
    background: linear-gradient(135deg, var(--earth-brown), var(--herbal-teal));
    color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
}

.health-tips h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 16px;
    font-family: 'Playfair Display', serif;
}

/* ============================================
   MAIN CONTENT - AYURVEDIC REDESIGN
   ============================================ */

.main-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    background: transparent;
}

.dept-header {
    background: linear-gradient(135deg, #ffffff, #f9f5f0);
    padding: 35px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(139, 69, 19, 0.1);
    position: relative;
    overflow: hidden;
}

.dept-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--golden-yellow), var(--herbal-teal));
}

.dept-title h1 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    font-size: 36px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
}

.dept-title h1 i {
    color: var(--header-deep-green);
    font-size: 32px;
}

.dept-description {
    color: var(--text-light);
    font-size: 17px;
    max-width: 700px;
    line-height: 1.7;
    font-family: 'Merriweather', serif;
}

.dept-stats {
    display: flex;
    gap: 25px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #fff, #f9f5f0);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    color: var(--header-deep-green);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border: 1px solid rgba(139, 69, 19, 0.1);
    box-shadow: var(--shadow);
}

.stat-item i {
    color: var(--golden-yellow);
    font-size: 20px;
}

/* ============================================
   VIDEO PLAYER SECTION - AYURVEDIC REDESIGN
   ============================================ */

.video-player-section {
    background: linear-gradient(135deg, #ffffff, #f9f5f0);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid rgba(139, 69, 19, 0.1);
}

/* Video Navigation Header - Preserved Header Colors */
.video-navigation-header {
    background: linear-gradient(135deg, var(--header-deep-green), var(--header-medium-green));
    color: white;
    padding: 25px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.video-counter {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.current-video {
    font-size: 28px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--golden-yellow);
}

.total-videos {
    opacity: 0.9;
    font-family: 'Merriweather', serif;
}

.video-navigation-controls {
    display: flex;
    gap: 15px;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.prev-btn {
    background: rgba(255, 179, 0, 0.2);
}

.next-btn {
    background: linear-gradient(135deg, var(--golden-yellow), #ff9800);
}

.next-btn:hover {
    background: linear-gradient(135deg, #ff9800, var(--golden-yellow));
}

/* Main Video Container */
.main-video-container {
    padding: 35px;
}

/* Main Video Player */
.main-video-player {
    margin-bottom: 35px;
}

.video-player {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 25px;
    border: 3px solid var(--paper-white);
}

.video-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Quick Navigation - Ayurvedic Design */
.quick-navigation {
    padding: 35px;
    background: linear-gradient(135deg, #fffaf0, #fff5e6);
    border-radius: var(--border-radius);
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.navigation-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.nav-progress {
    display: flex;
    align-items: center;
    gap: 25px;
}

.progress-circle {
    position: relative;
    width: 100px;
    height: 100px;
}

.progress-circle svg {
    transform: rotate(-90deg);
}

.progress-circle circle:first-child {
    stroke: rgba(139, 69, 19, 0.1);
}

.progress-circle circle:last-child {
    stroke: url(#progress-gradient);
    stroke-linecap: round;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--header-deep-green);
}

.progress-label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    font-family: 'Merriweather', serif;
}

.nav-stats {
    display: flex;
    gap: 25px;
}

.stat-box {
    text-align: center;
    padding: 20px 30px;
    background: linear-gradient(135deg, #ffffff, #f9f5f0);
    border-radius: var(--border-radius);
    border: 1px solid rgba(139, 69, 19, 0.1);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--header-deep-green);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-family: 'Merriweather', serif;
    font-weight: 500;
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    gap: 20px;
}

.nav-large-btn {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px 35px;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    border: 2px solid rgba(139, 69, 19, 0.1);
    background: linear-gradient(135deg, #ffffff, #f9f5f0);
    box-shadow: var(--shadow);
}

.nav-large-btn:hover {
    background: linear-gradient(135deg, #f9f5f0, #ffffff);
    border-color: var(--golden-yellow);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.prev-large-btn {
    justify-content: flex-start;
}

.next-large-btn {
    justify-content: flex-end;
}

.nav-large-btn i {
    font-size: 28px;
    color: var(--golden-yellow);
}

.nav-btn-content {
    display: flex;
    flex-direction: column;
}

.nav-direction {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-family: 'Merriweather', serif;
}

.nav-video-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    color: var(--text-dark);
}

/* ============================================
   FOOTER - AYURVEDIC REDESIGN
   ============================================ */

.main-footer {
    background: linear-gradient(135deg, var(--header-dark-bg), var(--header-deep-green));
    color: white;
    padding: 50px 0 30px;
    margin-top: 60px;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--golden-yellow), var(--header-accent-green));
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 25px;
    color: var(--golden-yellow);
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-section h3 i {
    color: var(--header-accent-green);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--golden-yellow);
    padding-left: 10px;
}

.footer-links a i {
    color: var(--header-accent-green);
    font-size: 12px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
}

.contact-item i {
    color: var(--golden-yellow);
    font-size: 18px;
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--golden-yellow);
    transform: translateY(-3px);
    color: var(--text-dark);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-family: 'Merriweather', serif;
    line-height: 1.6;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .sidebar {
        width: 250px;
    }
    
    .video-actions-section {
        flex-direction: column;
    }
    
    .navigation-buttons {
        flex-direction: column;
    }
    
    .dept-title h1 {
        font-size: 32px;
    }
}

@media (max-width: 992px) {
    .main-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: static;
        margin-bottom: 20px;
        top: 70px;
    }
    
    .menu-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 10px;
    }
    
    .menu-item {
        margin: 0;
    }
    
    .dept-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        padding: 30px;
    }
    
    .dept-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .navigation-info {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .main-header {
        height: 60px;
        padding: 8px 0;
    }
    
    .logo-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
    
    .logo-title {
        font-size: 22px;
    }
    
    .logo-subtitle {
        font-size: 11px;
    }
    
    .sidebar {
        top: 60px;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .video-navigation-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        padding: 20px;
    }
    
    .video-navigation-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-btn {
        flex: 1;
        justify-content: center;
        padding: 10px 15px;
    }
    
    .main-video-container {
        padding: 20px;
    }
    
    .navigation-buttons {
        flex-direction: column;
    }
    
    .nav-large-btn {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .main-header {
        height: 55px;
    }
    
    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    
    .logo-title {
        font-size: 18px;
    }
    
    .logo-subtitle {
        font-size: 10px;
        white-space: normal;
    }
    
    .sidebar {
        top: 55px;
    }
    
    .dept-title h1 {
        font-size: 26px;
    }
    
    .dept-description {
        font-size: 15px;
    }
    
    .stat-item {
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-section {
        min-width: 100%;
    }
}

/* ============================================
   ANIMATIONS & SPECIAL EFFECTS
   ============================================ */

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 179, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 179, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 179, 0, 0);
    }
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.logo-icon {
    animation: pulseGlow 2s infinite;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* SVG Gradient for Progress Circle */
svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Add to HTML head for progress gradient */
.progress-gradient {
    stop-color: var(--golden-yellow);
}

.progress-gradient-stop {
    stop-color: var(--herbal-teal);
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--golden-yellow), var(--earth-brown));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--earth-brown), var(--golden-yellow));
}

/* ============================================
   LOADING STATES
   ============================================ */

.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .logo-icon {
        animation: none;
    }
}

/* Focus styles for accessibility */
:focus {
    outline: 3px solid var(--golden-yellow);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 3px solid var(--golden-yellow);
    outline-offset: 2px;
}
/* =================================================
   ANDROID / MOBILE VIEW ONLY (NO CONTENT CHANGE)
   Add at VERY END of style.css
================================================= */

@media (max-width: 768px) {

    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 12px;
    }

    /* Stack sidebar + content */
    .main-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        top: 0 !important;
    }

    /* Sidebar menu full width */
    .menu-list {
        display: flex !important;
        flex-direction: column !important;
        padding: 10px;
    }

    .menu-item {
        margin: 6px 0;
        transform: none !important;
    }

    .menu-link {
        padding: 14px 16px;
        font-size: 15px;
    }

    /* Main content spacing */
    .main-content {
        padding: 16px;
    }

    /* Department header fix */
    .dept-header {
        padding: 20px;
    }

    .dept-title h1 {
        font-size: 24px;
    }

    .dept-description {
        font-size: 14px;
    }

    /* Stats stack */
    .dept-stats {
        flex-direction: column;
        gap: 12px;
    }

    /* Video container */
    .main-video-container {
        padding: 16px;
    }

    /* Navigation buttons stack */
    .navigation-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .nav-large-btn {
        padding: 16px;
    }

    /* Footer spacing */
    .footer-content {
        flex-direction: column;
        gap: 25px;
    }

    .footer-section {
        min-width: 100%;
    }
}
/* ============================================
   ANDROID / MOBILE SIDEBAR RESPONSIVE
   NO CONTENT CHANGED
============================================ */

@media (max-width: 768px) {

    /* Stack layout vertically */
    .main-container {
        flex-direction: column;
    }

    /* Sidebar full width */
    .sidebar {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        top: 0 !important;
        border-right: none;
        box-shadow: none;
    }

    /* Sidebar header */
    .sidebar-header {
        padding: 16px;
        text-align: center;
    }

    .sidebar-header h3 {
        font-size: 16px;
        justify-content: center;
    }

    /* Menu list vertical */
    .menu-list {
        display: flex !important;
        flex-direction: column !important;
        padding: 10px;
        gap: 8px;
    }

    /* Menu items full width */
    .menu-item {
        margin: 0 !important;
        transform: none !important;
    }

    .menu-item:hover {
        transform: none !important;
    }

    /* Menu links touch friendly */
    .menu-link {
        padding: 14px 16px;
        font-size: 15px;
        gap: 12px;
    }

    /* Icon size */
    .menu-link i {
        font-size: 18px;
        min-width: 22px;
    }

    /* Active item */
    .menu-item.active {
        border-left-width: 4px;
    }

    /* Main content spacing */
    .main-content {
        padding: 16px;
    }

    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
}

/* ============================================
   REMOVE 3-BAR ICON (☰) ON ANDROID
============================================ */
/* ============================================
   SHOW HAMBURGER ICON ON ANDROID
   NO CONTENT CHANGE
============================================ */

@media (max-width: 768px) {

    /* Make sure icon is visible */
    .sidebar-header h3 i.fas.fa-bars {
        display: inline-block !important;
        font-size: 18px;
        margin-right: 8px;
    }

    /* Keep header aligned nicely */
    .sidebar-header h3 {
        justify-content: flex-start;
        gap: 10px;
    }
}
/* ============================================
   MOBILE HAMBURGER MENU WORKING
============================================ */

@media (max-width: 768px) {

    /* Sidebar hidden by default */
    .sidebar {
        position: fixed !important;
        left: -100%;
        top: 60px;
        width: 280px !important;
        height: calc(100vh - 60px) !important;
        background: #fff;
        z-index: 9999;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 2px 0 15px rgba(0,0,0,0.2);
    }

    /* Sidebar visible when active */
    .sidebar.active {
        left: 0;
    }

    /* Overlay background */
    .sidebar-overlay {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(0,0,0,0.5);
        z-index: 9998;
        display: none;
    }

    .sidebar-overlay.active {
        display: block;
    }

    /* Hamburger clickable */
    .sidebar-header h3 i.fas.fa-bars {
        cursor: pointer;
    }
}
/* ============================================
   FORCE SHOW HAMBURGER ICON ON MOBILE
============================================ */

@media (max-width: 768px) {

    .sidebar-header h3 i.fas.fa-bars {
        display: inline-block !important;
        color: #ffffff !important;
        font-size: 20px;
        margin-right: 10px;
        cursor: pointer;
    }

    .sidebar-header h3 {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
}
/* ============================================
   MOBILE HAMBURGER IN HEADER
============================================ */

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: white;
    margin-right: 15px;
    cursor: pointer;
}

/* Show only on mobile */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
}

/* ============================================
   MOBILE HAMBURGER BUTTON (HEADER)
============================================ */

.mobile-menu-btn {
    display: none; /* hidden on desktop */
}

/* SHOW ONLY ON ANDROID / MOBILE */

@media (max-width: 768px) {

    .mobile-menu-btn {
        display: block;
        font-size: 24px;
        color: #ffffff;
        margin-right: 15px;
        cursor: pointer;
    }

    .header-content {
        justify-content: flex-start;
        gap: 10px;
    }
}
/* ============================================
   MOBILE SIDEBAR SLIDE MENU
============================================ */

@media (max-width: 768px) {

    .sidebar {
        position: fixed !important;
        top: 60px;
        left: -100%;
        width: 280px !important;
        height: calc(100vh - 60px) !important;
        background: #ffffff;
        z-index: 9999;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .sidebar.active {
        left: 0;
    }

    .sidebar-overlay {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(0,0,0,0.5);
        z-index: 9998;
        display: none;
    }

    .sidebar-overlay.active {
        display: block;
    }
}


