/* ========================================
   CSS VARIABLES & FOUNDATION
   ======================================== */

:root {
    --primary: #0170b9;
    --primary-dark: #005a94;
    --primary-light: #EFF4FF;
    --primary-subtle: rgba(1, 112, 185, 0.06);
    --red: #0170b9;
    --red-dark: #005a94;
    --dark: #1B1E36;
    --dark-charcoal: #252840;
    --text-primary: #1B1E36;
    --text-secondary: #555B6E;
    --text-body: #2C2C2C;
    --white: #ffffff;
    --off-white: #F4F6FA;
    --gray-50: #F4F6FA;
    --gray-100: #EEF0F5;
    --gray-200: #E0E3EB;
    --gray-300: #D1D5DE;
    --gray-600: #6B7280;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', Arial, Helvetica, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.1);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
    background: var(--off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.3;
    letter-spacing: normal;
}

h1 {
    font-weight: 700;
}

.section {
    padding: 100px 0;
}

.section-title {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 14px;
}

.section-heading {
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 22px;
    line-height: 1.3;
    letter-spacing: normal;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 620px;
    line-height: 1.8;
}

/* ========================================
   TOP BAR
   ======================================== */

.top-bar {
    background: var(--dark);
    padding: 8px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1060;
}

.top-bar-hero {
    background: rgba(27, 30, 54, 0.6);
    backdrop-filter: blur(6px);
}

.top-bar-link {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 400;
}

.top-bar-link:hover {
    color: #fff !important;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-switcher-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    font-family: Helvetica, Arial, sans-serif;
    transition: var(--transition);
}

.lang-switcher-btn:hover {
    color: #fff;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: var(--dark);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    min-width: 200px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    padding: 8px 0;
    animation: fadeDown 0.2s ease;
}

.lang-dropdown.show {
    display: block;
}

.lang-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    text-decoration: none;
    transition: var(--transition);
    color: rgba(255,255,255,0.7) !important;
}

.lang-option:hover {
    background: rgba(255,255,255,0.08);
    color: #fff !important;
}

.lang-option.active {
    color: var(--primary) !important;
    font-weight: 600;
    border-left: 3px solid var(--primary);
}

.lang-native {
    font-size: 14px;
}

.lang-name {
    font-size: 12px;
    opacity: 0.5;
}

.top-bar-divider {
    color: rgba(255,255,255,0.25);
    margin: 0 14px;
    font-size: 12px;
}

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
    padding: 20px 0;
    transition: var(--transition);
    background: var(--white);
    z-index: 1050;
    border-bottom: 1px solid transparent;
    min-height: 85px;
    top: 35px !important;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--gray-200);
    padding: 14px 0;
    min-height: auto;
}

.navbar-brand img {
    transition: var(--transition);
}

/* Transparent navbar for homepage hero */
.navbar-hero {
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

.navbar-hero .nav-link {
    color: var(--white) !important;
}

.navbar-hero .nav-link:hover {
    color: var(--primary) !important;
}

.navbar-hero.scrolled {
    background: var(--white) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06) !important;
    border-bottom: 1px solid var(--gray-200) !important;
}

.navbar-hero.scrolled .nav-link {
    color: var(--text-primary) !important;
}

.navbar-hero.scrolled .nav-link:hover {
    color: var(--primary) !important;
}

.navbar-hero .navbar-toggler-icon {
    filter: invert(1);
}

.navbar-hero.scrolled .navbar-toggler-icon {
    filter: none;
}

.navbar-hero .dropdown-toggle::after {
    color: rgba(255,255,255,0.6);
}

.navbar-hero.scrolled .dropdown-toggle::after {
    color: inherit;
}

.navbar-hero .btn-contact {
    background: rgba(255,255,255,0.15) !important;
    color: var(--white) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    backdrop-filter: blur(10px);
}

.navbar-hero .btn-contact:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
}

.navbar-hero.scrolled .btn-contact {
    background: var(--primary) !important;
    color: var(--white) !important;
    border-color: var(--primary) !important;
}

.nav-link {
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: normal;
    text-transform: uppercase;
    color: var(--text-primary);
    padding: 8px 14px !important;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: 2px;
}

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

.nav-link:hover {
    color: var(--primary) !important;
}

.navbar-spacer {
    height: 125px;
}

.btn-contact {
    background: var(--primary) !important;
    color: var(--white) !important;
    border-radius: var(--radius-md) !important;
    padding: 10px 24px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    font-family: var(--font-heading) !important;
    letter-spacing: normal;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.btn-contact:hover {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(1, 112, 185, 0.25);
}

/* ===== Hover-triggered Dropdowns (Desktop) ===== */
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    .navbar .dropdown > .dropdown-menu {
        display: none;
    }
    .navbar .dropdown > .dropdown-toggle:active {
        pointer-events: none;
    }
}

/* Mega Menu */
.mega-dropdown {
    position: static !important;
}

.mega-menu {
    width: 100vw;
    left: 0 !important;
    right: 0;
    border: none;
    border-top: 3px solid var(--primary);
    border-radius: 0;
    padding: 40px 0 35px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    animation: fadeDown 0.2s ease;
    background: var(--white);
}

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

.mega-col {
    border-right: 1px solid var(--gray-200);
    padding-left: 28px !important;
    padding-right: 28px !important;
}

.mega-col:last-child {
    border-right: none;
}

.mega-menu-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    text-transform: none;
    font-size: 15px;
    letter-spacing: 0;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.mega-link-group {
    margin-bottom: 18px;
}

.mega-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary) !important;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.mega-link:hover {
    color: var(--primary-dark) !important;
    text-decoration: underline;
}

.mega-link-desc {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 4px 0 0;
}

/* Standard Dropdown */
.dropdown-menu {
    border: none;
    border-top: 3px solid var(--primary);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    padding: 12px 0;
    animation: fadeDown 0.2s ease;
    min-width: 240px;
}

.dropdown-item {
    font-size: 14px;
    padding: 10px 22px;
    color: var(--text-secondary);
    transition: var(--transition);
    font-weight: 500;
}

.dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary);
    padding-left: 26px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    max-height: 850px;
    overflow: hidden;
    background: var(--dark);
}

.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

/* overlay handled by .hero-slide-overlay child div */

.hero-content {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 5;
}

.hero-text {
    display: none;
    max-width: 680px;
    color: var(--white);
}

.hero-text.active {
    display: block;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--white);
    letter-spacing: normal;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 38px;
    max-width: 520px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
    font-weight: 400;
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--primary);
    transform: scale(1.4);
    box-shadow: 0 0 10px rgba(1, 112, 185, 0.4);
}

.hero-arrows {
    position: absolute;
    right: 40px;
    bottom: 40px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 20px;
    backdrop-filter: blur(5px);
}

.hero-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05);
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 35, 48, 0.93) 0%, rgba(30, 35, 48, 0.78) 50%, rgba(30, 35, 48, 0.55) 80%, rgba(0, 90, 148, 0.5) 100%);
    z-index: 1;
}

.hero-btn {
    display: inline-block;
    padding: 14px 28px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 18px;
    letter-spacing: normal;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
    border: none;
}

.hero-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.lead-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 10px;
}

/* ========================================
   PAGE HERO (Inner Pages)
   ======================================== */

.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-charcoal) 60%, var(--primary-dark) 100%);
    padding: 130px 0 80px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    align-items: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(1, 112, 185, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--white);
    letter-spacing: normal;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.1rem;
    margin-bottom: 20px;
    max-width: 520px;
    font-weight: 400;
}

.page-hero .breadcrumb {
    background: none;
    padding: 0;
}

.page-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 14px;
}

.page-hero .breadcrumb-item a:hover {
    color: var(--primary);
}

.page-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.25);
}

/* ========================================
   FOOTER
   ======================================== */

.footer-dark {
    background: var(--dark-charcoal);
    color: rgba(255, 255, 255, 0.7);
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
    max-width: 320px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    font-weight: 400;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
}

.footer-social:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-red {
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: none;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 18px;
    letter-spacing: normal;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn-red:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 112, 185, 0.25);
}

.btn-outline-red {
    background: transparent;
    color: var(--primary);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: 1.6px solid var(--primary);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 18px;
    letter-spacing: normal;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn-outline-red:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 112, 185, 0.25);
}

/* ========================================
   CONTACT FORM
   ======================================== */

.custom-input {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 13px 18px;
    font-size: 15px;
    font-family: var(--font-body);
    transition: var(--transition);
    background: var(--white);
}

.custom-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(1, 112, 185, 0.1);
    outline: none;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-charcoal) 50%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(1, 112, 185, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(1, 112, 185, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--white);
    letter-spacing: normal;
    position: relative;
    z-index: 2;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

.cta-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 18px;
    letter-spacing: normal;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
    border: none;
    position: relative;
    z-index: 2;
}

.cta-btn:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}

/* ========================================
   VISION SECTION
   ======================================== */

.vision-section {
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-charcoal) 60%, var(--primary-dark) 100%);
    color: var(--white);
}

.vision-section p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
}

/* ========================================
   SERVICE CARDS
   ======================================== */

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 38px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--primary-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-icon i {
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.service-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: normal;
    transition: var(--transition);
}

.card-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

/* ========================================
   PREMIUM STATS SECTION
   ======================================== */

.stats-premium {
    position: relative;
    padding: 80px 0;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920') center/cover no-repeat;
}

.stats-premium-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 35, 48, 0.92) 0%, rgba(0, 90, 148, 0.75) 100%);
}

.stat-premium-card {
    text-align: center;
    padding: 32px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    backdrop-filter: blur(12px);
}

.stat-premium-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-premium-card i {
    font-size: 28px;
    color: var(--primary);
    display: block;
    margin-bottom: 15px;
}

.stat-premium-card .stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: normal;
}

.stat-premium-card .stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 5px;
    font-weight: 500;
}

/* ========================================
   CAPABILITY CARDS (with images)
   ======================================== */

.capability-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.capability-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.capability-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.capability-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.capability-card:hover .capability-img img {
    transform: scale(1.08);
}

.capability-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 90, 148, 0.5) 0%, rgba(0, 0, 0, 0.25) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.capability-body {
    padding: 28px;
}

.capability-body h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.capability-body p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.capability-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cap-tag {
    display: inline-block;
    padding: 5px 14px;
    background: var(--primary-subtle);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid rgba(1, 112, 185, 0.15);
}

/* ========================================
   INTERACTIVE INDUSTRY TABS
   ======================================== */

.industries-interactive {
    background: var(--gray-50);
}

.industry-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.industry-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.industry-tab i {
    font-size: 18px;
}

.industry-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.industry-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(1, 112, 185, 0.25);
}

.industry-panel {
    display: none;
}

.industry-panel.active {
    display: block;
}

.industry-panel-img {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.industry-panel-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.industry-panel-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 35, 48, 0.3) 0%, transparent 50%);
}

/* ========================================
   PROCESS / HOW WE DELIVER
   ======================================== */

.process-section {
    position: relative;
    background: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?w=1920') center/cover no-repeat;
    overflow: hidden;
}

.process-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 35, 48, 0.93) 0%, rgba(0, 90, 148, 0.8) 100%);
}

.process-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.process-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.25);
}

.process-step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(1, 112, 185, 0.2);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.process-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(1, 112, 185, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.process-icon i {
    font-size: 24px;
    color: var(--white);
}

.process-card h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 12px;
}

.process-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ========================================
   MISSION & VISION (About Page)
   ======================================== */

.mission-vision-section {
    position: relative;
    padding: 90px 0;
    overflow: hidden;
}

.mission-vision-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-charcoal) 60%, var(--primary-dark) 100%);
}

.mv-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 35px;
    backdrop-filter: blur(12px);
    height: 100%;
    transition: var(--transition);
}

.mv-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.25);
}

.mv-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(1, 112, 185, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.mv-card-icon i {
    font-size: 24px;
    color: var(--white);
}

.mv-card h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.mv-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 0;
}

/* ========================================
   WHY FEATURE (Values Section)
   ======================================== */

.why-feature {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--gray-200);
}

.why-feature:last-child {
    border-bottom: none;
}

.why-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.why-feature:hover .why-feature-icon {
    background: var(--primary);
}

.why-feature:hover .why-feature-icon i {
    color: var(--white);
}

.why-feature-icon i {
    font-size: 20px;
    color: var(--primary);
    transition: var(--transition);
}

.why-feature h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-size: 15px;
}

.why-feature p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ========================================
   NEWS / POSITION CARDS (Careers Page)
   ======================================== */

.news-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 25px 30px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.news-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.news-card h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
}

.news-meta {
    font-size: 13px;
    color: var(--text-secondary);
}

.news-meta i {
    color: var(--primary);
}

/* ========================================
   INSIGHT CARDS
   ======================================== */

.insight-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    height: 100%;
    transition: var(--transition);
}

.insight-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.insight-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.insight-card .card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.insight-card .card-img-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: 0.5s;
}

.insight-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.insight-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.insight-card .card-body,
.insight-card-body {
    padding: 25px;
}

.insight-card .card-body h5,
.insight-card-body h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.insight-card .card-body p,
.insight-card-body p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   WHY T3 SECTION (Homepage)
   ======================================== */

.why-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 30px;
    height: 100%;
    transition: var(--transition);
}

.why-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.why-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: var(--primary-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--primary);
}

.why-card:hover .why-icon i {
    color: var(--white);
}

.why-icon i {
    font-size: 22px;
    color: var(--primary);
    transition: var(--transition);
}

/* ========================================
   PREMIUM ENHANCEMENTS
   ======================================== */

html {
    scroll-behavior: smooth;
}

/* White content sections stand out from off-white body */
.section {
    background: var(--white);
}

/* Smooth image reveals */
.img-fluid {
    border-radius: var(--radius-lg);
}

/* Selection color */
::selection {
    background: rgba(1, 112, 185, 0.15);
    color: var(--text-primary);
}

/* Hero text entrance animation */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-text.active {
    animation: fadeUp 0.8s ease forwards;
}

/* Enhanced scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Focus styles for accessibility */
.btn-red:focus-visible,
.btn-outline-red:focus-visible,
.cta-btn:focus-visible,
.hero-btn:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

/* Service detail page offering cards hover */
.section [style*="background: var(--white)"][style*="border-radius: 12px"]:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* Mobile menu dark overlay */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        box-shadow: var(--shadow-lg);
        margin-top: 10px;
    }

    .navbar-hero .navbar-collapse {
        background: var(--dark);
    }

    .navbar-hero .navbar-collapse .nav-link {
        color: rgba(255,255,255,0.8) !important;
    }
}

/* Dropdown arrow subtle */
.dropdown-toggle::after {
    font-size: 10px;
    vertical-align: 2px;
    opacity: 0.5;
}

/* Capabilities section subtle bg pattern */
.capabilities-section {
    background: var(--off-white);
}

/* Back to top hidden utility class */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(1, 112, 185, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(1, 112, 185, 0.4);
}

/* Glassmorphism effect for certain elements */
.page-hero .breadcrumb {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

    .navbar {
        top: 0 !important;
    }

    .navbar-spacer {
        height: 70px;
    }

    .mega-menu {
        padding: 15px;
        border-top: none;
        box-shadow: none;
    }

    .mega-col {
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .mega-col:last-child {
        border-bottom: none;
    }

    .mega-menu .row > div {
        margin-bottom: 0;
    }

    .mega-link-desc {
        display: none;
    }

    .dropdown-menu {
        border-top: none;
        box-shadow: none;
    }

    .hero-section {
        height: 70vh;
        min-height: 480px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-dots {
        display: none;
    }

    .hero-arrows {
        right: 20px;
        bottom: 20px;
    }

    .section-heading {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .page-hero {
        padding: 100px 0 50px;
        min-height: auto;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .industry-tabs {
        gap: 6px;
    }

    .industry-tab {
        padding: 8px 16px;
        font-size: 12px;
    }

    .industry-tab span {
        display: none;
    }

    .industry-tab i {
        font-size: 20px;
    }

    .industry-panel-img img {
        height: 250px;
    }

    .capability-img {
        height: 160px;
    }

    .nav-link::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 65px 0;
    }

    .hero-section {
        height: 60vh;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-arrows {
        display: none;
    }

    .section-heading {
        font-size: 1.6rem;
    }

    .page-hero {
        padding: 80px 0 40px;
    }

    .page-hero h1 {
        font-size: 1.7rem;
    }

    .cta-section {
        padding: 55px 0;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .stat-premium-card .stat-number {
        font-size: 1.8rem;
    }

    .process-step-number {
        font-size: 2rem;
    }

    .mv-card {
        padding: 28px 22px;
    }

    .news-card {
        padding: 18px 20px;
    }

    .why-feature-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .industry-card {
        min-width: 200px;
    }
}
