/* ==================================================
   TRANSLATION DOCK & EXACT VARIABLES
   ================================================== */
:root {
    --gt-dock-height: 40px;
    --primary: #0f766e;
    --primary-dark: #115e59;
    --accent: #f59e0b;
    --bg: #f8fafc;
    --card: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e5e7eb;
    --nida-green: #1da827; 
    overscroll-behavior-y: none !important;
    min-height: 100vh;
}

* { 
    box-sizing: border-box; 
}


.gt-dock {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--gt-dock-height);
    background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
    z-index: 2147483000;
}

.gt-widget {
    position: fixed; top: 6px; right: 16px; z-index: 2147483001;
    display: flex; align-items: center; gap: 8px;
    font: 14px/1 system-ui, sans-serif; color: #222;
}

/* ==================================================
   GOOGLE TRANSLATE OVERRIDES (The 360 Safari Hack)
   ================================================== */
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame {
    display: none !important;
}

.goog-tooltip, .goog-tooltip:hover, .goog-text-highlight {
    display: none !important; background: transparent !important; box-shadow: none !important;
}

.goog-te-gadget {
    font-size: 0px !important;       
    color: transparent !important;   
    display: flex !important;
    align-items: center;
}

.goog-logo-link {
    display: none !important;
}

.goog-te-gadget .goog-te-combo {
    font-size: 11px !important;      
    color: #222 !important;          
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid var(--border);
    margin: 0 0 0 5px !important;    
    cursor: pointer;
    background: #fff;
    outline: none;
    font-family: inherit;
}

/* ==================================================
   MAIN HEADER & NAVIGATION
   ================================================== */
.wrap { 
    max-width: 1180px; 
    margin: 0 auto; 
    padding: 0 20px; 
}




.btn-outline {
    border: 1px solid #cbd5e1;
    padding: 8px 18px;
    border-radius: 8px;
    color: var(--primary) !important;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: var(--bg);
    border-color: #94a3b8;
}



/* Increased to 992px to catch iPads and prevent ANY breaking out */
@media (max-width: 992px) {
    /* 1. Force the hamburger button to show */
    .mobile-menu-toggle {
        display: block !important; 
    }

    /* 2. FORCE the inline links to hide unconditionally */
    .main-nav {
        display: none !important; 
        flex-direction: column;
        position: absolute;
        top: 68px; 
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        padding: 10px 20px;
        gap: 5px;
        border-top: 1px solid var(--border);
    }

    /* 3. Force them to show vertically ONLY when the button is clicked */
    .main-nav.active {
        display: flex !important;
    }

  


    /* 5. Protect the Google Translate Widget layout */
    .gt-widget {
        right: 10px; 
    }
    .lang-label {
        display: none !important; /* Hide 'Language' to save screen space */
    }
}