/* /assets/css/style.css - NEW VIBRANT & DYNAMIC THEME (v3.1 - GLOBE ICON UPDATE) */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700&family=Inter:wght@400;500;600&display=swap');

/* --- NEW VIBRANT & DYNAMIC COLOR & FONT SCHEME --- */
:root {
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
    --color-bg: #0D0F1A;
    --color-surface: #1A1C2D;
    --color-primary-start: #8E44AD;  /* Electric Violet */
    --color-primary-end: #C13584;      /* Magenta */
    --color-secondary-start: #00F5A0; /* Cyber Teal */
    --color-secondary-end: #00D9F5;   /* Bright Cyan */
    --color-text-primary: #F1F1F1;
    --color-text-secondary: #A0A0B8;
    --color-border: rgba(160, 160, 184, 0.2);
    --shadow-glow: 0 0 30px rgba(142, 68, 173, 0.4);
    --border-radius-lg: 16px;
    --border-radius-md: 10px;
}

/* --- Base & Global Styles --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}
html { 
    scroll-behavior: smooth; 
}
body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden; /* Prevent horizontal scroll */
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
a {
    color: var(--color-secondary-end);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--color-secondary-start);
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}
.sr-only {
    position: absolute;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

/* --- Site Header --- */
.site-header { 
    padding: 20px 0; 
    border-bottom: 1px solid var(--color-border); 
    position: relative; 
    z-index: 1000; 
    background-color: rgba(13, 15, 26, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
}
.header-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.site-branding .site-logo-text { 
    font-family: var(--font-heading); 
    font-size: 1.75rem; 
    font-weight: 700; 
    color: var(--color-text-primary); 
    transition: font-size 0.3s ease;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px; 
}

/* --- Desktop Navigation --- */
.main-navigation .nav-menu { 
    list-style: none; 
    display: flex; 
    align-items: center; 
    gap: 30px; 
    margin: 0; 
}
.main-navigation a { 
    text-decoration: none; 
    color: var(--color-text-secondary); 
    font-weight: 600; 
    font-size: 1rem;
    transition: color 0.2s ease; 
}
.main-navigation a:hover { 
    color: var(--color-text-primary); 
}
.nav-toggle, .search-item-mobile { 
    display: none; 
}

/*
===========================================================
|      NEW: UNIVERSAL GLOBE ICON LANGUAGE SWITCHER         |
===========================================================
*/
.language-switcher {
    position: relative;
    width: 40px;
    height: 38px;
    cursor: pointer;
    order: -1; /* This moves the globe to the left of the search bar */
}

.language-switcher::before {
    content: '🌐'; /* The globe emoji */
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; /* Allows clicks to pass through to the element below */
    z-index: 1;
}

#google_translate_element {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden; /* This hides the original dropdown text */
}

#google_translate_element .goog-te-combo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* Makes the dropdown invisible */
    cursor: pointer;
}

/* --- NEW: FAQ ICON BUTTON STYLES --- */
.faq-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 38px;
    color: var(--color-text-secondary);
    transition: color 0.2s ease, transform 0.2s ease;
}
.faq-icon-btn svg {
    width: 26px;
    height: 26px;
}
.faq-icon-btn:hover {
    color: var(--color-text-primary);
    transform: scale(1.1);
}


/* --- Footer Styles --- */
.site-footer{padding:80px 0 40px 0;background-color:var(--color-bg);border-top:1px solid var(--color-border);font-size:.95rem}.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:40px;margin-bottom:60px}.footer-widget h4{font-family:var(--font-heading);color:var(--color-text-primary);margin-bottom:20px;font-size:1.2rem}.footer-widget p,.footer-widget a{color:var(--color-text-secondary)}.footer-widget ul{list-style:none}.footer-widget li{margin-bottom:12px}.social-links{display:flex;gap:20px}.social-links svg{width:24px;height:24px;fill:var(--color-text-secondary);transition:fill .2s ease,transform .2s ease}.social-links a:hover svg{fill:var(--color-primary-start);transform:scale(1.1)}.footer-bottom{border-top:1px solid var(--color-border);padding-top:30px;text-align:center;color:var(--color-text-secondary);font-size:.9rem}.footer-disclaimer{margin-top:10px;opacity:.7}


/* --- General Content Styles & Buttons --- */
.hero,.hero-home{padding:100px 0;text-align:center}.hero__title,.hero-home h1{font-size:clamp(2.8rem,6vw,4.5rem);font-family:var(--font-heading);font-weight:700;line-height:1.2;margin-bottom:20px}.hero__subtitle,.hero-home p{font-size:1.25rem;max-width:650px;margin:0 auto 40px auto;color:var(--color-text-secondary)}.hero__cta-group{display:flex;justify-content:center;gap:15px;flex-wrap:wrap}.cta-button{display:inline-block;padding:16px 32px;border-radius:var(--border-radius-md);background:linear-gradient(90deg,var(--color-primary-start),var(--color-primary-end));color:#fff;font-weight:700;font-size:1.1rem;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease;box-shadow:var(--shadow-glow)}.cta-button:hover{transform:translateY(-5px) scale(1.03);box-shadow:0 10px 30px rgba(142,68,173,.6)}.fade-in{opacity:0;transform:translateY(25px);transition:opacity .8s ease-out,transform .8s ease-out}.fade-in.is-visible{opacity:1;transform:translateY(0)}

/*
===========================================================
|      MOBILE RESPONSIVE STYLES (FINAL VERSION)           |
===========================================================
*/
@media (max-width: 850px) {
    /* --- Layout & Visibility Fixes --- */
    .desktop-search, 
    .main-navigation .nav-menu .nav-item {
        display: none; 
    }
    
    .nav-toggle { display: block; }
    
    .language-switcher {
        margin-right: 0px; /* Reset margin */
    }
    
    .header-actions {
        gap: 5px; /* Reduce gap on mobile */
    }

    .site-branding .site-logo-text { font-size: 1.5rem; }

    /* --- Hamburger Menu Container & Content --- */
    .main-navigation .nav-menu {
        position: absolute; top: 100%; left: 0; width: 100%;
        background-color: var(--color-bg);
        flex-direction: column;
        align-items: stretch; text-align: center; padding: 0;
        max-height: 0; opacity: 0; overflow-y: auto;
        transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
        border-bottom: 1px solid var(--color-border);
    }
    .main-navigation .nav-menu.is-open { max-height: calc(100vh - 70px); opacity: 1; }
    
    .main-navigation .nav-menu .nav-item { display: block; width: 100%; }
    .main-navigation .nav-menu .nav-item a { display: block; padding: 18px 20px; font-size: 1.1rem; text-align: center; }
    
    .search-item-mobile {
        display: block;
        width: 100%;
        border-bottom: 1px solid var(--color-border);
        padding: 20px;
    }
    
    #search-input-mobile {
        width: 100%; padding: 12px 15px; border-radius: 8px;
        border: 1px solid var(--color-border); font-size: 1rem;
        background-color: var(--color-surface); color: var(--color-text-primary);
    }
    .search-results-mobile-container {
        display: none; margin-top: 10px; text-align: left;
        max-height: calc(100vh - 250px); overflow-y: auto;
    }

    /* --- Hamburger Icon Styling --- */
    .nav-toggle {
        display: block; z-index: 1001; background: transparent; border: none;
        cursor: pointer; padding: 10px; position: relative; width: 40px; height: 30px;
    }
    .nav-toggle .icon-bar {
        display: block; width: 24px; height: 2px;
        background-color: var(--color-text-primary);
        border-radius: 1px; transition: all 0.3s ease-in-out;
    }
    .nav-toggle .icon-bar + .icon-bar { margin-top: 5px; }
    .nav-toggle.is-active .icon-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.is-active .icon-bar:nth-child(2) { opacity: 0; }
    .nav-toggle.is-active .icon-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* --- General Mobile Styles --- */
    .hero__cta-group { flex-direction: column; align-items: center; }
    .cta-button { width: 100%; max-width: 350px; }
}

/*
===========================================================
|      GLOBAL GOOGLE TRANSLATE RULES                      |
===========================================================
*/
/* Hides unwanted Google elements on ALL screen sizes */
.goog-logo-link, 
.goog-te-gadget > span,
.goog-te-banner-frame,
#goog-gt-tt {
    display: none !important;
}
.goog-te-gadget {
    color: transparent !important;
    font-size: 0; 
}
.goog-te-gadget select {
    font-size: 1rem;
    color: var(--color-text-secondary); /* Ensure text is visible */
}
/* Prevents the translation bar from pushing your site down */
body {
    top: 0 !important;
}
