/* =========================================
   TOHED.COM HEADER STYLES
   Production-Ready Header Component
   ========================================= */

/* =========================================
   MEHR FONT DEFINITION
   ========================================= */
@font-face {
    font-family: 'Mehr';
    src: url('../webfonts/Mehr_Nastaliq_Web-v.-2.0.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* =========================================
   CSS VARIABLES
   ========================================= */
:root {
    /* Primary Palette - Deep Teal & Gold */
    --primary: #1a5f5a;
    --primary-dark: #134845;
    --primary-light: #2a7a74;
    --primary-hover: #0f3d3a;
    --accent-gold: #c9a227;
    --accent-gold-light: #e6c65a;
    --accent-gold-dark: #9e7d1a;

    /* Backgrounds */
    --bg-cream: #faf8f3;
    --bg-warm: #f5f2eb;
    --bg-paper: #fffef9;
    --bg-card: #ffffff;

    /* Text Colors */
    --text-primary: #2c2c2c;
    --text-secondary: #5a5a5a;
    --text-muted: #8a8a8a;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(26, 95, 90, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 95, 90, 0.1);
    --shadow-lg: 0 8px 40px rgba(26, 95, 90, 0.15);

    /* Typography */
    --font-urdu: 'Mehr', 'Jameel Noori Nastaleeq', serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* ============================================ */
/* TOP BAR - Social / Hijri Date Bar           */
/* ============================================ */

.tohed-top-bar {
    background: var(--primary-hover);
    padding: 10px 0;
    font-size: 14px;
    border-bottom: none;
}

.tohed-top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Social Icons */
.tohed-social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tohed-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: 14px;
}

.tohed-social-icons a:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Specific Social Colors on Hover */
.tohed-social-icons a.facebook:hover { background: #1877F2; color: white; }
.tohed-social-icons a.whatsapp:hover { background: #25D366; color: white; }
.tohed-social-icons a.telegram:hover { background: #0088cc; color: white; }
.tohed-social-icons a.youtube:hover { background: #FF0000; color: white; }
.tohed-social-icons a.twitter:hover { background: #1DA1F2; color: white; }
.tohed-social-icons a.discord:hover { background: #5865F2; color: white; }
.tohed-social-icons a.playstore:hover { background: #01875f; color: white; }
.tohed-social-icons a.appstore:hover { background: #000000; color: white; }

/* Hijri Date Display */
.tohed-hijri-date {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-gold-light);
    font-weight: 600;
    font-size: 15px;
    font-family: var(--font-urdu);
}

.tohed-hijri-date i {
    font-size: 16px;
}

/* Quick Links in Top Bar */
.tohed-top-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tohed-top-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 13px;
    font-family: var(--font-urdu);
    transition: color var(--transition-fast);
}

.tohed-top-links a:hover {
    color: var(--accent-gold-light);
}

.tohed-top-links .separator {
    width: 1px;
    height: 15px;
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================ */
/* MAIN HEADER                                  */
/* ============================================ */

.tohed-main-header {
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition-normal);
    border-bottom: 3px solid var(--accent-gold);
}

.tohed-main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.tohed-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    gap: 30px;
}

/* ============================================ */
/* LOGO                                         */
/* ============================================ */

.tohed-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.tohed-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.tohed-logo-image {
    height: 110px;
    width: 110px;
    transition: transform var(--transition-normal);
    filter: drop-shadow(0 4px 12px rgba(26, 95, 90, 0.35));
}

.tohed-logo:hover .tohed-logo-image {
    transform: scale(1.05) rotate(-2deg);
}

/* Tagline */
.tohed-site-tagline {
    font-family: var(--font-urdu);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.3;
    text-align: center;
    transition: all var(--transition-fast);
}

.tohed-logo:hover .tohed-site-tagline {
    color: var(--accent-gold-light);
}

/* Fallback icon logo if image fails */
.tohed-logo-icon {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(26, 95, 90, 0.35);
    position: relative;
    overflow: hidden;
}

/* Subtle shine effect on logo icon */
.tohed-logo-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.tohed-logo:hover .tohed-logo-icon::before {
    left: 100%;
}

/* ============================================ */
/* GOOGLE PROGRAMMABLE SEARCH (CSE)             */
/* ============================================ */

.tohed-search-box {
    position: relative;
    flex: 1;
    max-width: 500px;
    min-width: 280px;
}

/* Remove all Google CSE wrapper styling */
.tohed-search-box .gsc-control-cse,
.tohed-search-box .gsc-control-cse-en,
.tohed-search-box form.gsc-search-box,
.tohed-search-box .gsc-search-box,
.tohed-search-box table.gsc-search-box {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove table cell borders */
.tohed-search-box table.gsc-search-box td {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Input box wrapper */
.tohed-search-box .gsc-input-box {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50px !important;
    overflow: hidden !important;
    height: auto !important;
}

/* Make input cell take full width */
.tohed-search-box table.gsc-search-box td.gsc-input {
    width: 100% !important;
    padding: 0 !important;
}

/* The actual search input */
.tohed-search-box input.gsc-input {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50px !important;
    padding: 0 20px !important;
    height: 52px !important;
    line-height: 52px !important;
    font-family: var(--font-urdu) !important;
    font-size: 15px !important;
    color: var(--text-primary) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    direction: rtl !important;
    text-align: right !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
}

.tohed-search-box input.gsc-input:focus {
    outline: none !important;
    border-color: var(--accent-gold) !important;
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(201, 162, 39, 0.3) !important;
}

.tohed-search-box input.gsc-input::placeholder {
    font-family: var(--font-urdu) !important;
    font-size: 15px !important;
    color: var(--text-muted) !important;
}

/* Hide the clear X button */
.tohed-search-box .gsib_b {
    display: none !important;
}

/* Remove padding from inner wrapper */
.tohed-search-box .gsib_a {
    padding: 0 !important;
}

/* Hide the default search button */
.tohed-search-box td.gsc-search-button,
.tohed-search-box .gsc-search-button,
.tohed-search-box .gsc-search-button-v2,
.tohed-search-box button.gsc-search-button,
.tohed-search-box input.gsc-search-button {
    display: none !important;
}

/* Google autocomplete dropdown styling */
.gssb_c,
.gssb_c * {
    font-family: var(--font-urdu) !important;
}

.gssb_c {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(26, 95, 90, 0.1) !important;
    margin-top: 8px !important;
}

.gssb_c .gssb_e,
.gssb_c .gssb_m,
.gssb_c .gssb_i {
    line-height: 1.9 !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    direction: rtl !important;
    text-align: right !important;
}

.gssb_c .gssb_e:hover,
.gssb_c .gssb_i:hover {
    background: var(--bg-warm) !important;
}

.gssb_c table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* ============================================ */
/* HEADER ACTIONS                               */
/* ============================================ */

.tohed-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Icon Buttons */
.tohed-icon-btn {
    width: 46px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    position: relative;
    backdrop-filter: blur(4px);
}

.tohed-icon-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Notification Badge */
.tohed-icon-btn .badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 20px;
    height: 20px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
}

/* Primary Button */
.tohed-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--font-urdu);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.35);
}

.tohed-btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.5);
    color: white;
}

/* Outline Button */
.tohed-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-family: var(--font-urdu);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.tohed-btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Login Button */
.tohed-btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(201, 162, 39, 0.2);
    color: white;
    border: 2px solid rgba(201, 162, 39, 0.4);
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-normal);
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(201, 162, 39, 0.2);
}

.tohed-btn-login:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.5);
}

.tohed-btn-login i {
    font-size: 20px;
}

/* App Download Icons */
.tohed-app-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tohed-app-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all var(--transition-normal);
    backdrop-filter: blur(4px);
}

.tohed-app-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: transparent;
}

.tohed-app-icon.android:hover {
    background: #01875f;
    color: white;
}

.tohed-app-icon.ios:hover {
    background: #000000;
    color: white;
}

/* Mobile App Buttons (in mobile nav) */
.tohed-mobile-app-btns {
    display: flex;
    gap: 10px;
}

.tohed-app-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 12px;
    font-family: var(--font-urdu);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.tohed-app-btn i {
    font-size: 20px;
}

.tohed-app-btn.android {
    background: linear-gradient(135deg, #01875f 0%, #00664a 100%);
    color: white;
}

.tohed-app-btn.android:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(1, 135, 95, 0.4);
}

.tohed-app-btn.ios {
    background: linear-gradient(135deg, #333333 0%, #000000 100%);
    color: white;
}

.tohed-app-btn.ios:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* ============================================ */
/* MAIN NAVIGATION                              */
/* ============================================ */

.tohed-main-nav {
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tohed-nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tohed-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tohed-nav-item {
    position: relative;
}

.tohed-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 22px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: var(--font-urdu);
    font-size: 15px;
    font-weight: 500;
    transition: all var(--transition-normal);
    position: relative;
}

.tohed-nav-link:hover,
.tohed-nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Active Indicator */
.tohed-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 22px;
    left: 22px;
    height: 3px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
    border-radius: 3px 3px 0 0;
}

.tohed-nav-link:hover::after,
.tohed-nav-link.active::after {
    transform: scaleX(1);
}

/* Dropdown Arrow */
.tohed-nav-link .dropdown-arrow {
    font-size: 10px;
    transition: transform var(--transition-normal);
}

.tohed-nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* ============================================ */
/* DROPDOWN MENU                                */
/* ============================================ */

.tohed-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 240px;
    background: var(--bg-paper);
    border-radius: 0 0 16px 16px;
    box-shadow: var(--shadow-lg);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 100;
}

.tohed-nav-item:hover .tohed-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tohed-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-family: var(--font-urdu);
    transition: all var(--transition-fast);
}

.tohed-dropdown-item:hover {
    background: var(--bg-warm);
    color: var(--primary);
    padding-right: 20px;
}

.tohed-dropdown-item i {
    width: 20px;
    color: var(--primary);
    font-size: 14px;
}

/* Dropdown Divider */
.tohed-dropdown-divider {
    height: 1px;
    background: var(--bg-warm);
    margin: 8px 0;
}

/* Dropdown Header */
.tohed-dropdown-header {
    padding: 8px 16px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-urdu);
}

/* ============================================ */
/* MOBILE MENU TOGGLE                           */
/* ============================================ */

.tohed-mobile-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    backdrop-filter: blur(4px);
    transition: all var(--transition-normal);
}

.tohed-mobile-toggle:hover {
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.2);
}

.tohed-mobile-toggle span {
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.tohed-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.tohed-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.tohed-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================ */
/* MOBILE NAVIGATION                            */
/* ============================================ */

.tohed-mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.tohed-mobile-nav-overlay.active {
    opacity: 1;
}

.tohed-mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: var(--bg-paper);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    transition: right var(--transition-normal);
    overflow-y: auto;
}

.tohed-mobile-nav.open {
    right: 0;
}

.tohed-mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--bg-warm);
}

.tohed-mobile-nav-close {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-warm);
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.tohed-mobile-nav-close:hover {
    background: var(--primary);
    color: white;
}

.tohed-mobile-nav-body {
    padding: 20px;
}

.tohed-mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-family: var(--font-urdu);
    border-bottom: 1px solid var(--bg-warm);
    transition: color var(--transition-fast);
}

.tohed-mobile-nav-link:hover {
    color: var(--primary);
}

.tohed-mobile-search {
    padding: 20px;
    border-bottom: 1px solid var(--bg-warm);
}

/* Mobile Google CSE styling */
.tohed-mobile-search .gsc-control-cse,
.tohed-mobile-search .gsc-control-cse-en,
.tohed-mobile-search form.gsc-search-box,
.tohed-mobile-search .gsc-search-box,
.tohed-mobile-search table.gsc-search-box {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.tohed-mobile-search table.gsc-search-box td {
    padding: 0 !important;
}

.tohed-mobile-search .gsc-input-box {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
}

.tohed-mobile-search input.gsc-input {
    width: 100% !important;
    padding: 14px 18px !important;
    border: 2px solid var(--bg-warm) !important;
    border-radius: 12px !important;
    font-family: var(--font-urdu) !important;
    font-size: 15px !important;
    background: var(--bg-warm) !important;
    color: var(--text-primary) !important;
    height: auto !important;
    line-height: 1.5 !important;
    direction: rtl !important;
    text-align: right !important;
}

.tohed-mobile-search input.gsc-input:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    background: var(--bg-paper) !important;
}

.tohed-mobile-search .gsib_b,
.tohed-mobile-search .gsc-search-button,
.tohed-mobile-search .gsc-search-button-v2 {
    display: none !important;
}

/* Mobile Sub-menu (Accordion Style) */
.tohed-mobile-submenu {
    display: none;
    padding-right: 20px;
    margin-bottom: 10px;
}

.tohed-mobile-submenu.open {
    display: block;
}

.tohed-mobile-submenu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-family: var(--font-urdu);
    border-bottom: 1px dashed var(--bg-warm);
    transition: color var(--transition-fast);
}

.tohed-mobile-submenu-link:hover {
    color: var(--primary);
}

.tohed-mobile-submenu-link i {
    color: var(--primary);
    font-size: 14px;
    width: 20px;
}

/* Mobile Nav Logo */
.tohed-mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.tohed-mobile-logo img {
    height: 45px;
    width: auto;
}

/* ============================================ */
/* RESPONSIVE STYLES                            */
/* ============================================ */

@media (max-width: 1200px) {
    .tohed-nav-link {
        padding: 16px 16px;
        font-size: 14px;
    }

    .tohed-header-content {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .tohed-top-bar {
        display: none;
    }

    .tohed-search-box {
        display: none;
    }

    .tohed-main-nav {
        display: none;
    }

    .tohed-mobile-toggle {
        display: flex;
    }

    .tohed-mobile-nav {
        display: block;
    }

    .tohed-mobile-nav-overlay {
        display: block;
        pointer-events: none;
    }

    .tohed-mobile-nav-overlay.active {
        pointer-events: auto;
    }

    .tohed-header-content {
        padding: 15px 0;
    }

    .tohed-logo-image {
        height: 90px;
        width: 90px;
    }

    .tohed-site-tagline {
        font-size: 12px;
    }

    .tohed-logo-wrapper {
        gap: 6px;
    }

    .tohed-logo-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .tohed-header-actions .tohed-btn-primary,
    .tohed-header-actions .tohed-btn-outline {
        display: none;
    }

    .tohed-logo-image {
        height: 70px;
        width: 70px;
    }

    .tohed-site-tagline {
        font-size: 11px;
    }

    .tohed-logo-wrapper {
        gap: 5px;
    }

    .tohed-logo-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        border-radius: 10px;
    }

    .tohed-icon-btn {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .tohed-mobile-toggle {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }
}

/* ============================================ */
/* PRINT STYLES                                 */
/* ============================================ */

@media print {
    .tohed-top-bar,
    .tohed-main-header,
    .tohed-mobile-nav,
    .tohed-mobile-nav-overlay {
        display: none !important;
    }
}

/* ============================================ */
/* ANIMATION UTILITIES                          */
/* ============================================ */

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

.tohed-dropdown-menu.animate-in {
    animation: fadeInDown 0.2s ease forwards;
}

/* Skip to Content (Accessibility) */
.tohed-skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    font-family: var(--font-urdu);
    font-weight: 600;
    z-index: 9999;
    transition: top var(--transition-fast);
}

.tohed-skip-link:focus {
    top: 0;
}
