/* ==========================================================================
   1. Core Layout & Base Styling
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* EDITABLE: Design Tokens & Theme Variables */
:root {
    --primary-color: #0b63ce;
    --dark-navy: #001f3f;
    --text-dark: #333333;
    --bg-light: #f4f7f6;
    --facts-bg: #f9f9f6;
    --facts-accent: #0f5132;
    --facts-text: #666666;
    --facts-border: #e2e8f0;
    --white: #ffffff;
}

.adsbygoogle {
	margin-top:50px;
}

/* Accessibility Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Prevent main body scroll when mobile drawer is open */
body.menu-open {
    overflow: hidden !important;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   1b. Top Bar Styling (Sticky Top & Right-Aligned Translator)
   ========================================================================== */
.top-bar {
    background-color: var(--dark-navy);
    color: #e0e0e0;
    font-size: 13px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1001;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.top-bar-contact {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-contact a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-contact a:hover {
    color: var(--primary-color);
}

.top-bar-right {
    display: flex;
    align-items: center;
    margin-left: auto; /* Keeps the translator locked to the far right */
}

/* Free GTranslate Converter Styling */
.gtranslate_wrapper select {
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #444;
    background: #002b57;
    color: #ffffff;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    max-width: 140px;
}

.gtranslate_wrapper select:hover {
    border-color: var(--primary-color);
    background: #003366;
}

/* ==========================================================================
   2. Header & Desktop Navigation (Sticky directly below Top Bar)
   ========================================================================== */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 40px; /* Offset to stack perfectly below top bar */
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo img {
    height: 66px;
    width: auto;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-navy);
    cursor: pointer;
    padding: 5px;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-links > li {
    position: relative;
    padding: 25px 10px;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--primary-color);
}

.drop-icon {
    transition: transform 0.3s ease;
    margin-left: 4px;
}

/* ==========================================================================
   3. Standard Submenu / Dropdown Styling
   ========================================================================== */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: none;
    list-style: none;
    padding: 10px 0;
    border-top: 3px solid var(--primary-color);
    z-index: 1000;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #555;
    font-weight: normal;
    transition: background 0.2s, color 0.2s;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

@media screen and (min-width: 993px) {
    .has-dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* ==========================================================================
   4. Desktop Mega Menu
   ========================================================================== */
.has-megamenu {
    position: static !important;
}

.megamenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: none;
    padding: 30px;
    border-top: 3px solid var(--primary-color);
}

@media screen and (min-width: 993px) {
    .has-megamenu:hover .megamenu {
        display: block;
    }
}

.megamenu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.megamenu-col h4 {
    color: var(--primary-color);
    font-size: 15px;
    margin-bottom: 12px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}

.megamenu-col ul {
    list-style: none;
}

.megamenu-col ul li {
    margin-bottom: 8px;
}

.megamenu-col ul li a {
    font-size: 13px;
    color: #555;
    font-weight: normal;
}

.megamenu-col ul li a:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   5. Hero Banner Multi-Slider Section
   ========================================================================== */
.banner-slider {
    position: relative;
    height: 450px;
    background-color: #000;
    overflow: hidden;
    color: var(--white);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.banner-content h1, 
.banner-content h2 {
    font-size: 42px;
    color: orange;
    padding-bottom: 10px;
    border-bottom: 2px dashed white;
    font-weight: normal;
    line-height: 1.2;
}

.banner-content .tagline {
    font-size: 20px;
    margin-top: 15px;
    color: green;
    font-weight: bold;
    text-align: right;
    letter-spacing: 2px;
}

.banner-side-text {
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: 22px;
    font-weight: 300;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: var(--primary-color);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* ==========================================================================
   6. Main Content Sections
   ========================================================================== */
.content-section {
    padding: 60px 0;
}

.light-bg {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: #111;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 8px auto 0;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.img-container img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.text-container p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #444;
    text-align: left;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #084aa3;
}

/* ==========================================================================
   6b. Facts & Key Metrics Component
   ========================================================================== */
.facts-section {
    padding: 50px 0;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: var(--facts-bg);
    border: 2px solid var(--facts-border);
    border-radius: 50px;
    overflow: hidden;
}

.fact-item {
    padding: 40px 25px;
    text-align: left;
    position: relative;
}

.fact-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: var(--facts-border);
}

.fact-number {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 52px;
    font-weight: 500;
    color: var(--facts-accent);
    line-height: 1.1;
    margin-bottom: 12px;
}

.fact-label {
    font-size: 14px;
    color: var(--facts-text);
    font-weight: 500;
    line-height: 1.4;
}

/* ==========================================================================
   7. Footer Styling
   ========================================================================== */
footer {
    background-color: var(--dark-navy);
    color: var(--white);
    padding-top: 50px;
    position: relative;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3, .footer-col h4 {
    margin-top:25px;
	margin-bottom:25px;
    font-size: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-col p {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-col p i {
    margin-right: 10px;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    color: var(--white);
    margin-right: 15px;
    font-size: 16px;
}

.footer-bottom {
    background-color: #00162e;
    padding: 20px 0;
    font-size: 13px;
    color: #aaa;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
}

.legal-links a {
    color: #aaa;
    text-decoration: none;
}

#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 100;
}

/* ==========================================================================
   8. Responsive Media Queries
   ========================================================================== */

/* Tablet View (Max Width: 992px) */
@media screen and (max-width: 992px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 115px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 115px);
        background: var(--white);
        transition: left 0.3s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding-bottom: 60px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }

    .nav-links > li {
        padding: 0;
        width: 100%;
    }

    .nav-links > li > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 25px;
        border-bottom: 1px solid #eee;
        font-size: 16px;
    }

    .dropdown-menu {
        position: relative;
        top: 0;
        box-shadow: none;
        border-top: none;
        background: #f9f9f9;
        padding: 5px 0 5px 15px;
        display: none;
        min-width: 100%;
    }

    .has-dropdown.active .dropdown-menu {
        display: block;
    }

    .has-dropdown.active .drop-icon {
        transform: rotate(180deg);
    }

    .megamenu {
        position: relative;
        top: 0;
        box-shadow: none;
        border-top: none;
        background: #f9f9f9;
        padding: 10px 25px;
        display: none;
    }

    .has-megamenu.active .megamenu {
        display: block;
    }

    .has-megamenu.active .drop-icon {
        transform: rotate(180deg);
    }

    .megamenu-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .megamenu-col h4 {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        margin-bottom: 0;
        user-select: none;
    }

    .megamenu-col h4::after {
        content: '\f107';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 14px;
        transition: transform 0.3s ease;
    }

    .megamenu-col ul {
        display: none;
        padding: 5px 0 10px 15px;
    }

    .megamenu-col.active ul {
        display: block;
    }

    .megamenu-col.active h4::after {
        transform: rotate(180deg);
    }

    .banner-slider {
        height: 320px;
    }

    .slide {
        padding: 0 40px;
    }

    .banner-content h1, 
    .banner-content h2 {
        font-size: 28px;
    }

    .banner-side-text {
        font-size: 18px;
    }

    .grid-2-col {
        gap: 20px;
    }

    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fact-item:nth-child(2)::after {
        display: none;
    }

    .fact-item:nth-child(1),
    .fact-item:nth-child(2) {
        border-bottom: 1px solid var(--facts-border);
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Smartphone View (Max Width: 768px) */
@media screen and (max-width: 768px) {
    .navbar {
        top: 35px;
    }

    .top-bar-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .top-bar-contact {
        font-size: 11px;
        gap: 10px;
    }

    .top-bar-contact a:not(:first-child) {
        display: none; /* Keeps top bar clean on small devices */
    }

    .top-bar-right {
        margin-left: auto;
    }

    .gtranslate_wrapper select {
        font-size: 11px;
        padding: 2px 5px;
        max-width: 110px;
    }

    .nav-menu {
        top: 115px;
        height: calc(100vh - 115px);
    }

    .logo img {
        height: 50px;
    }

    .banner-slider {
        height: 260px;
    }

    .slide {
        padding: 20px 15px 40px;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .banner-content {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .banner-side-text, 
    .slider-arrow {
        display: none;
    }

    .banner-content h1, 
    .banner-content h2 {
        font-size: 18px;
        line-height: 1.35;
        padding-bottom: 8px;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.6);
        word-wrap: break-word;
    }

    .banner-content .tagline {
        font-size: 13px;
        text-align: center;
        margin-top: 8px;
        letter-spacing: 1px;
    }

    .slider-dots {
        bottom: 12px;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
    }

    .grid-2-col .img-container {
        order: -1;
    }

    .facts-grid {
        grid-template-columns: 1fr;
    }

    .fact-item::after {
        display: none !important;
    }

    .fact-item:not(:last-child) {
        border-bottom: 1px solid var(--facts-border);
    }

    .fact-item {
        padding: 25px 20px;
        text-align: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}