/* ========== GLOBAL VARIABLES & RESET ========== */
:root {
    --primary-blue: #0b1d40;
    --dark-blue: #0a2b44;
    --light-blue: #2c7da0;
    --accent-red: #e1251b;
    --bg-light: #f4f6f9;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --accent-gradient: linear-gradient(135deg, #0a2b44, #2c7da0);
    --soft-bg: #f1f7fc;
    --gray-border: #e2edf2;
    --shadow-sm: 0 10px 25px -5px rgba(10,43,68,0.08);
    --transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
    padding-top: 90px;
}

/* ========== TOP BAR ========== */
#top-bar {
    background: var(--dark-blue);
    color: white;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.top-bar-hidden {
    transform: translateY(-100%);
}
.contact-info-top a {
    color: white;
    text-decoration: none;
    margin-right: 1.5rem;
}
.contact-info-top i {
    margin-right: 5px;
    color: #7bc2e0;
}
#google_translate_element {
    background: rgba(255,255,255,0.15);
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
}

/* ========== MAIN NAVIGATION ========== */
#main-nav {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(9px);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: top 0.4s ease;
}
.logo {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.logo::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: url('../images/logo.png') center/contain no-repeat;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}
.logo-text {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
}
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 25px;
    margin: 0;
}
.nav-links a, .nav-links .dropbtn {
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}
.nav-links a::after, .nav-links .dropbtn::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after,
.nav-links .dropbtn:hover::after {
    width: 100%;
}
.btn-quote {
    background: linear-gradient(135deg, #e1251b, #b91a12);
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(225,37,27,0.3);
}
.hamburger, .close-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--dark-blue);
}

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 12px;
    z-index: 100;
    padding: 0.5rem 0;
}
.dropdown-content a {
    color: var(--dark-blue);
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.dropdown-content a:hover {
    background-color: var(--soft-bg);
}
.dropdown:hover .dropdown-content {
    display: block;
}

/* ========== MOBILE RESPONSIVE (<=780px) ========== */
@media (max-width: 780px) {
    body { padding-top: 80px; }
    #top-bar { flex-direction: column; gap: 5px; text-align: center; padding: 8px 5%; display: none; }
    .hamburger { display: block; }
    .close-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 30px;
        font-size: 2rem;
        color: white;
    }
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 43, 68, 0.85);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 3000;
        gap: 35px;
    }
    .nav-links.active { left: 0; }
    .nav-links a { color: white; font-size: 1.5rem; }
    .nav-links .btn-quote { background: white; color: var(--dark-blue); }
    .dropdown .dropdown-content {
        position: static;
        background: transparent;
        box-shadow: none;
        padding: 0;
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .dropdown-content a { color: white; font-size: 1.2rem; padding: 5px 0; }
    .dropdown:hover .dropdown-content { display: none; }
    .dropdown.active .dropdown-content { display: flex; }
}

/* ========== SWIPER SLIDER ========== */
.swiper {
    width: 100%;
    height: 85vh;
    min-height: 480px;
}
.swiper-slide {
    position: relative;
    overflow: hidden;
}
.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,43,68,0.7), rgba(44,125,160,0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 10%;
}
.slide-content {
    max-width: 800px;
    padding: 2rem;
    color: white;
}
.slide-content h2, .slide-content p, .slide-content .btn-quote {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.8s ease;
}
.swiper-slide-active .slide-content h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}
.swiper-slide-active .slide-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}
.swiper-slide-active .slide-content .btn-quote {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}
.slide-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ========== ABOUT SECTION ========== */
.about-section {
    padding: 80px 0;
    background-color: #ffffff;
}
.image-stack-container {
    position: relative;
    height: 420px;
    width: 100%;
}
.stack-bg-frame {
    position: absolute;
    top: 20px;
    left: 60px;
    width: 80%;
    height: 320px;
    border: 8px solid #f0f2f5;
    z-index: 1;
    border-radius: 4px;
}
.img-top-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 72%;
    z-index: 2;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-radius: 4px;
    background: #fff;
    padding: 6px;
}
.img-bottom-right {
    position: absolute;
    bottom: 0;
    right: 15px;
    width: 72%;
    z-index: 3;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-radius: 4px;
    background: #fff;
    padding: 6px;
}
.stat-box {
    display: flex;
    align-items: center;
    margin-top: 25px;
    padding: 10px 0;
}
.stat-icon-bg {
    width: 60px;
    height: 60px;
    background-color: #fcf1f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stat-icon-bg i {
    font-size: 1.6rem;
    color: var(--accent-red);
}
.btn-learn-more {
    background-color: var(--accent-red);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 35px;
    border-radius: 50px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(225, 37, 27, 0.3);
    transition: all 0.3s ease;
    margin-top: 25px;
}
.btn-learn-more:hover {
    background-color: #c91d16;
    transform: translateY(-2px);
}

/* ========== RESPONSIBILITY ORBIT (rq‑cards) ========== */
.rq-responsibility-section {
    padding: 80px 0;
    background: radial-gradient(circle at center, #ffffff 0%, #f4f7fa 100%);
    position: relative;
    overflow: hidden;
}
.rq-orbit-title {
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}
.rq-orbit-subtitle {
    font-size: 1.1rem;
    color: #4a5568;
    font-weight: 500;
    margin-bottom: 3rem;
}
.rq-orbit-container {
    position: relative;
    height: 480px;
    margin-bottom: 40px;
}
.rq-orbit-ellipse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px dashed #cbd5e1;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}
.rq-arc-outer { width: 90%; height: 320px; }
.rq-arc-inner { width: 70%; height: 180px; opacity: 0.5; }
.rq-letter-card {
    position: absolute;
    background: #ffffff;
    border-radius: 8px;
    padding: 10px 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 210px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.rq-letter-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
    border-color: var(--accent-red);
}
.rq-card-main-a { top: 44%; left: 2%; z-index: 5; border: 1.5px solid var(--primary-blue); }
.rq-card-e1 { top: 15%; left: 16%; }
.rq-card-n  { top: 5%; left: 38%; }
.rq-card-t  { top: 5%; left: 60%; }
.rq-card-e2 { top: 15%; left: 81%; }
.rq-card-r1 { top: 44%; right: 2%; }
.rq-card-p  { bottom: 15%; left: 16%; }
.rq-card-r2 { bottom: 5%; left: 38%; }
.rq-card-i  { bottom: 5%; left: 60%; }
.rq-card-s1 { bottom: 15%; left: 81%; }
.rq-card-e3 { top: 35%; left: 40%; width: 190px; }
.rq-card-s2 { top: 35%; left: 58%; width: 190px; }
.rq-letter-icon-box {
    width: 36px; height: 36px;
    background-color: #fcf1f0;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.rq-letter-icon-box i { color: var(--accent-red); font-size: 1rem; }
.rq-letter-title { font-size: 0.9rem; font-weight: 800; color: var(--primary-blue); margin: 0; }
.rq-letter-title span { color: var(--accent-red); font-weight: 900; }
.rq-letter-desc { font-size: 0.75rem; color: var(--text-muted); margin: 0; white-space: nowrap; }
.rq-wave-layer {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 100px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 1440 120"><path fill="%23e2e8f0" fill-opacity="0.2" d="M0,64L120,69.3C240,75,480,85,720,80C960,75,1200,53,1320,42.7L1440,32L1440,120L1320,120C1200,120,960,120,720,120C480,120,240,120,120,120L0,120Z"></path></svg>');
    background-size: cover; pointer-events: none; z-index: 0;
}
@media (max-width: 1200px) {
    .rq-orbit-container {
        height: auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
        gap: 15px;
        padding: 0 5%;
    }
    .rq-orbit-ellipse { display: none; }
    .rq-letter-card {
        position: relative !important;
        top: auto !important; left: auto !important; right: auto !important;
        width: 100%;
    }
    .rq-card-main-a { order: -1; grid-column: 1 / -1; max-width: 300px; margin: 0 auto 10px auto; }
}

/* ========== COUNTERS SECTION ========== */
.stats-section {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 60px 10%;
    background: #f8fafc;
    margin: 40px 0;
    border-radius: 24px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}
.stat-item:hover { transform: translateY(-5px); }
.stat-number {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.stat-label {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-blue);
    opacity: 0.85;
}
@media (max-width: 780px) {
    .stats-section { flex-direction: column; gap: 40px; padding: 50px 5%; }
}

/* ========== CARDS GRID (divisions, innovation) ========== */
section { padding: 5rem 5%; }
.container { max-width: 1300px; margin: 0 auto; }
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.service-card {
    background: white;
    border-radius: 28px;
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-border);
}
.service-card:hover { transform: translateY(-12px); }
.card-icon {
    font-size: 2.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: center;
}
.badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
}
.badge {
    background: #e1f0f7;
    color: #0a2b44;
    padding: 0.2rem 0.7rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
}
.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}
.client-logo {
    background: white;
    padding: 0.8rem 1.8rem;
    border-radius: 60px;
    box-shadow: var(--shadow-sm);
    font-weight: 700;
    color: var(--dark-blue);
    border: 1px solid var(--gray-border);
}
.contact-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 2rem;
}
.contact-info {
    flex: 1;
    background: linear-gradient(145deg, #0e3a5c, #0a2b44);
    color: white;
    border-radius: 2rem;
    padding: 2rem;
}
.contact-form {
    flex: 1.2;
    background: white;
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-sm);
}
input, textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--gray-border);
    border-radius: 1.2rem;
    margin-bottom: 1rem;
    font-family: 'Raleway', sans-serif;
}
footer {
    background: #0a1c2c;
    color: #cbdee9;
    padding: 3rem 5% 2rem;
}
.footer-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.footer-col h4 {
    color: white;
    margin-bottom: 1rem;
}
.footer-col a, .footer-col p {
    color: #cbdee9;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}
.map-frame iframe {
    width: 100%;
    height: 180px;
    border-radius: 1rem;
    border: 0;
}
.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #1f3b50;
}
.heading-with-bg {
    position: relative;
    display: inline-block;
    margin-bottom: 0;
}
.auto-bg-initial {
    position: absolute;
    top: 50%;
    left: -1.5rem;
    transform: translateY(-50%);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(44, 125, 160, 0.07);
    pointer-events: none;
    user-select: none;
    text-transform: uppercase;
    z-index: 0;
    white-space: nowrap;
}
@media (max-width: 780px) {
    .auto-bg-initial { font-size: 4rem; left: -0.8rem; }
}
@media (max-width: 992px) {
    .image-stack-container { height: 360px; margin-bottom: 40px; }
    .contact-flex { flex-direction: column; }
}