@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --primary-accent: #1e3a8a;
    --accent: #f97316;
    --accent-hover: #ea580c;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

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

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* Header & Topbar */
.topbar {
    background-color: var(--primary);
    color: #e2e8f0;
    font-size: 13px;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.topbar-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.topbar-links a:hover {
    color: var(--accent);
}

.lang-select {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
    outline: none;
}

.lang-select option {
    background-color: var(--primary);
    color: #fff;
}

/* ===== HEADER / NAVBAR ===== */
.navbar {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    border-bottom: 2px solid #cbd5e1;
    transition: var(--transition);
    width: 100%;
    max-width: 100%;
}

/* Top identity bar: logo | company name | client login */
.header-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 10px 3%;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    min-height: 74px;
    gap: 16px;
}

/* Bottom nav bar */
.header-nav {
    background: #1e3a8a;
    border-top: 1px solid #1d4ed8;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
    padding: 3px 2%;
}

.navbar.sticky .header-top {
    padding: 5px 2%;
    min-height: 60px;
}

/* Logo block */
.logo-container {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-img {
    height: 72px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.logo-title {
    font-weight: 800;
    font-size: 21px;
    color: #1e3a8a;
    line-height: 1.1;
    letter-spacing: 0.2px;
}

.logo-sub {
    font-size: 10.5px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.6px;
    margin-top: 2px;
}

/* Center company name with reflection */
.header-company-name {
    justify-self: center;
    text-align: center;
    padding: 0 10px;
}

.header-company-name h1 {
    font-size: clamp(20px, 3vw, 34px);
    font-weight: 800;
    color: #1a3278;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1;
    font-family: 'Georgia', 'Times New Roman', serif;
    text-shadow: 0 1px 2px rgba(26, 50, 120, 0.10);
    white-space: nowrap;
}

.header-company-name .name-reflection {
    display: none;
}

/* CLIENT LOGIN / Staff Login block */
.header-login-block {
    justify-self: end;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    cursor: pointer;
}

.staff-login-icon {
    width: 38px;
    height: 38px;
    background: #e8edf8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.staff-login-icon i {
    font-size: 18px;
    color: #2563eb;
}

.staff-login-icon:hover {
    background: #d0dcf5;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
}

.staff-login-label {
    font-size: 11px;
    font-weight: 700;
    color: #1a3278;
    text-decoration: none;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: color 0.2s;
    text-align: center;
    display: block;
}

.staff-login-label:hover {
    color: #f97316;
}

@media (max-width: 850px) {
    .welcome-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
}

/* Nav menu inside header-nav */
.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    width: 100%;
    padding: 6px 0;
}

.nav-row-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.nav-row-bottom {
    padding-top: 4px;
}

.nav-link {
    font-weight: 600;
    font-size: 11.5px;
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
    padding: 5px 10px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    letter-spacing: 0.8px;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link+.nav-link::before {
    content: '|';
    color: #ffffff;
    font-weight: 300;
    font-size: 13px;
    margin-right: 10px;
    margin-left: -2px;
    opacity: 0.85;
    pointer-events: none;
}

.nav-link:hover,
.nav-link.active {
    color: #fbbf24;
}

.nav-link-orange {
    color: #ffffff !important;
}

.nav-link-blue {
    color: #ffffff !important;
}

.nav-link-green {
    color: #ffffff !important;
}

.nav-link-red {
    color: #ffffff !important;
}

.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: 6px;
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
}

.nav-dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--accent);
}

.btn-cta {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    font-family: inherit;
    background-color: var(--accent);
    color: #fff;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-cta-stacked {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--accent, #f97316);
    color: #fff !important;
    font-weight: 800;
    font-size: 11px;
    line-height: 1.2;
    padding: 10px 14px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 58px;
    text-align: center;
    transition: var(--transition);
}

.btn-cta-stacked:hover {
    background-color: var(--accent-hover, #ea580c);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    color: #fff !important;
}

.btn-cta:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    transform: translateY(-2px);
    color: #fff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: inherit;
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    gap: 8px;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    animation: kenBurns 10s ease-in-out infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    margin-bottom: 50px;
    color: #ffffff;
}

.hero-subtitle {
    color: #f97316 !important;
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-title {
    color: #ffffff !important;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-title span {
    color: #f97316 !important;
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-description {
    font-size: 18px;
    color: #f8fafc !important;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.hero-ctas {
    display: flex;
    gap: 15px;
}

/* Floating Stats in Hero */
.stats-ribbon {
    position: absolute;
    bottom: -60px;
    left: 5%;
    right: 5%;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    color: var(--primary);
    z-index: 10;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon {
    background-color: rgba(30, 58, 138, 0.08);
    color: var(--primary-accent);
    width: 54px;
    height: 54px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-info h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-accent);
    line-height: 1;
}

.stat-info p {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
}

/* Floating Sticky Contact Buttons */
.sticky-actions {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sticky-action-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-accent);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.sticky-action-btn:hover {
    background-color: var(--accent);
    color: #fff;
    transform: scale(1.1);
}

.sticky-action-btn .tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--primary);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.sticky-action-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sticky-whatsapp {
    background-color: #25d366;
    color: #fff;
}

.sticky-whatsapp:hover {
    background-color: #20ba5a;
    color: #fff;
}

/* Trusted By Slider */
.trusted-section {
    padding: 100px 5% 40px;
    background-color: var(--bg-white);
    text-align: center;
}

.section-label {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.trusted-slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.trusted-track {
    display: flex;
    gap: 80px;
    width: max-content;
    animation: scrollLogos 25s linear infinite;
    align-items: center;
}

.trusted-logo {
    height: 40px;
    object-fit: contain;
    opacity: 0.65;
    transition: var(--transition);
    filter: grayscale(1);
}

.trusted-logo:hover {
    opacity: 1;
    filter: grayscale(0);
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Section Common Styles */
.section {
    padding: 80px 5%;
}

.section-header {
    margin-bottom: 50px;
    max-width: 700px;
}

.section-subtitle {
    color: var(--accent);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.25;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: 24px 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

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

.service-icon {
    font-size: 32px;
    color: var(--primary-accent);
    margin-bottom: 24px;
    background-color: rgba(30, 58, 138, 0.05);
    width: 64px;
    height: 64px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--accent);
    color: #fff;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.service-link {
    font-weight: 700;
    font-size: 14px;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card:hover .service-link {
    color: var(--primary-accent);
}

/* Why Choose Us */
.why-us {
    background: linear-gradient(to right, var(--primary) 60%, rgba(15, 23, 42, 0.95)), url('https://images.unsplash.com/photo-1524661135-423995f22d0b?q=80&w=2074&auto=format&fit=crop') no-repeat center center/cover;
    color: #fff;
}

.why-us-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.why-us-content .section-title {
    color: #fff;
    margin-bottom: 20px;
}

.why-us-p {
    color: #cbd5e1;
    margin-bottom: 40px;
    font-size: 16px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.why-us-card {
    display: flex;
    gap: 15px;
}

.why-us-card-icon {
    color: var(--accent);
    font-size: 24px;
    margin-top: 4px;
}

.why-us-card-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.why-us-card-info p {
    font-size: 14px;
    color: #cbd5e1;
}

.why-us-map {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-us-map img {
    opacity: 0.25;
}

.map-point {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.4);
    animation: pulsePoint 2s infinite;
}

@keyframes pulsePoint {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(249, 115, 22, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
    }
}

/* Map points positions */
.pt-1 {
    top: 30%;
    left: 25%;
}

.pt-2 {
    top: 45%;
    left: 55%;
}

.pt-3 {
    top: 55%;
    left: 35%;
}

.pt-4 {
    top: 62%;
    left: 75%;
}

.pt-5 {
    top: 38%;
    left: 68%;
}

/* Industries We Serve */
.industries-section {
    background-color: var(--bg-white);
}

.industries-tabs-container {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 40px;
    overflow-x: auto;
}

.industry-tab {
    padding: 15px 25px;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.industry-tab.active {
    color: var(--accent);
    border-color: var(--accent);
}

.industry-content-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.ind-left-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ind-img-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.ind-detail h4 {
    font-size: 13px;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.ind-detail h3 {
    font-size: 28px;
    color: var(--primary);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
}

.ind-detail p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.ind-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.ind-bullet-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary);
    font-size: 15px;
}

.ind-bullet-item i {
    color: #10b981;
}

/* Statistics Mini-Grid inside Industries */
.ind-stats-box {
    background-color: var(--primary);
    color: #fff;
    border-radius: 12px;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    box-shadow: var(--shadow-xl);
}

.ind-stat-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.ind-stat-card:nth-child(3),
.ind-stat-card:nth-child(4) {
    border-bottom: none;
    padding-bottom: 0;
}

.ind-stat-card h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 4px;
}

.ind-stat-card p {
    font-size: 13px;
    color: #cbd5e1;
    margin: 0;
}

/* Certifications */
.certifications-section {
    background-color: var(--bg-light);
    text-align: center;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.cert-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    min-height: 120px;
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.cert-card h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-accent);
    margin-bottom: 5px;
}

.cert-card p {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.2;
}

/* Media & Testimonials */
.media-testimonials {
    background-color: var(--bg-white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.media-column h3,
.test-column h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 30px;
    border-left: 4px solid var(--accent);
    padding-left: 12px;
}

.media-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.media-item {
    display: flex;
    gap: 20px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.media-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.media-item-img {
    width: 100px;
    height: 70px;
    border-radius: 6px;
    object-fit: cover;
}

.media-item-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.media-item-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 5px;
}

.media-item-meta {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Testimonial Slider */
.test-slider-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 40px;
    position: relative;
    border: 1px solid var(--border-color);
}

.test-stars {
    color: #fbbf24;
    font-size: 18px;
    margin-bottom: 20px;
}

.test-text {
    font-size: 15px;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.test-text::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 80px;
    color: rgba(30, 58, 138, 0.05);
    font-family: serif;
    z-index: -1;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.test-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.test-author-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--primary);
}

.test-author-role {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.test-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.test-dots {
    display: flex;
    gap: 8px;
}

.test-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.test-dot.active {
    background-color: var(--accent);
    width: 24px;
    border-radius: 4px;
}

.test-arrows {
    display: flex;
    gap: 10px;
}

.test-arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-main);
}

.test-arrow-btn:hover {
    background-color: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.footer {
    background-color: var(--primary);
    color: #cbd5e1;
    padding: 80px 5% 30px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.footer .logo-img {
    height: 44px;
    object-fit: contain;
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-about p {
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.footer-social-btn:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-item i {
    color: var(--accent);
    font-size: 16px;
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* Responsive adjustments for medium screens to prevent nav crowding */
@media (max-width: 1200px) and (min-width: 1025px) {
    .header-top {
        padding: 8px 1.5%;
    }

    .logo-img {
        height: 44px;
    }

    .logo-title {
        font-size: 15px;
    }

    .header-company-name h1 {
        font-size: 24px;
    }

    .nav-link {
        font-size: 11px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .topbar {
        display: none;
    }

    .header-company-name h1 {
        font-size: 18px;
    }

    .header-company-name .name-reflection {
        display: none;
    }

    .btn-client-login {
        font-size: 10px;
        padding: 4px 10px;
    }

    .header-login-sub {
        font-size: 10px;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        gap: 12px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: var(--transition);
        overflow-y: auto;
        max-height: 80vh;
        z-index: 9998;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-row {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
    }

    .nav-row-top,
    .nav-row-bottom {
        border: none;
        padding: 0;
    }

    .mobile-toggle {
        display: block;
        font-size: 22px;
        cursor: pointer;
        color: #1e3a8a;
        padding: 0 0 0 10px;
    }

    .header-top {
        padding: 8px 3%;
        min-height: 60px;
    }

    .header-nav {
        position: relative;
    }

    /* Mobile/Tablet Inline Dropdown Styles */
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        transform: none;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background-color: rgba(248, 250, 252, 0.8);
        border-radius: 6px;
        padding: 0;
    }

    .nav-dropdown.active .nav-dropdown-menu {
        max-height: 400px;
        padding: 10px 0 10px 15px;
        margin-top: 10px;
    }

    .nav-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .nav-dropdown .nav-link {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        width: auto;
    }

    .stats-ribbon {
        grid-template-columns: repeat(2, 1fr);
        bottom: -120px;
        gap: 25px;
        padding: 20px;
    }

    .stat-item {
        justify-content: center;
        border-right: none;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 15px;
    }

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

    .trusted-section {
        padding-top: 160px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-us-container {
        grid-template-columns: 1fr;
    }

    .why-us-map img {
        width: 100%;
        max-width: 500px;
        height: auto;
    }

    .industry-content-container {
        grid-template-columns: 1fr;
    }

    .ind-stats-box {
        margin-top: 30px;
    }

    .certs-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .media-testimonials {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 120px 5% 60px;
        text-align: center;
        align-items: center;
    }

    .hero-content {
        margin: 0 auto 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-ctas {
        justify-content: center;
    }

    .stats-ribbon {
        grid-template-columns: 1fr;
        position: static;
        margin-top: 40px;
        box-shadow: none;
        padding: 24px 20px;
        background: rgba(15, 23, 42, 0.75);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding-bottom: 15px;
        justify-content: flex-start;
    }

    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .stat-item .stat-icon {
        background-color: rgba(255, 255, 255, 0.12);
        color: #ffffff;
    }

    .stat-item .stat-info h3 {
        color: #ffffff;
    }

    .stat-item .stat-info p {
        color: rgba(255, 255, 255, 0.85);
    }

    .trusted-section {
        padding-top: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .certs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* Services & Strengths Responsive Grid */
    .services-strengths-grid {
        grid-template-columns: 1fr !important;
    }

    .services-col {
        border-right: none !important;
        border-bottom: 2px solid #cbd5e1;
        padding: 20px 18px !important;
    }

    .strengths-col {
        padding: 20px 18px !important;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 10px 4%;
    }

    .footer .logo-img {
        height: 38px;
    }

    .logo-img {
        height: 36px;
    }

    .logo-title {
        font-size: 16px;
    }

    .logo-sub {
        font-size: 8px;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .hero-ctas .btn-cta,
    .hero-ctas .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ind-stats-box {
        grid-template-columns: repeat(3, 1fr) !important;
        padding: 16px 10px !important;
        gap: 12px 8px !important;
        border-radius: 10px;
        text-align: center;
    }

    .ind-stat-card {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .ind-stat-card h3 {
        font-size: 20px !important;
        font-weight: 800;
        margin-bottom: 2px;
    }

    .ind-stat-card p {
        font-size: 11px !important;
        line-height: 1.2;
        opacity: 0.9;
    }

    .media-item {
        flex-direction: column;
        gap: 12px;
    }

    .media-item-img {
        width: 100%;
        height: 150px;
    }

    /* Mobile Sticky Floating Actions */
    .sticky-actions {
        bottom: 15px;
        right: 12px;
        gap: 8px;
    }

    .sticky-action-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .sticky-action-btn .tooltip {
        display: none !important;
    }

    /* Page Hero Titles */
    .inner-hero h1 {
        font-size: 28px !important;
    }

    .inner-hero p {
        font-size: 14px !important;
    }

    /* Table & Container Horizontal Scroll Protection */
    .table-container,
    table,
    .commitments-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Tablet & Mobile Layout Enhancements (max-width: 992px) */
@media (max-width: 992px) {

    /* Header Top Bar Mobile Layout - Clean 1-Row Layout */
    .header-top {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 6px 10px !important;
        min-height: 54px !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .logo-container {
        justify-self: auto !important;
        flex-shrink: 0 !important;
        gap: 0 !important;
    }

    .logo-img {
        height: 34px !important;
        max-width: 130px !important;
        object-fit: contain !important;
    }

    .logo-text {
        display: none !important;
    }

    .header-company-name {
        width: auto !important;
        order: unset !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        text-align: center !important;
        padding: 0 4px !important;
        border-top: none !important;
        margin-top: 0 !important;
        overflow: hidden !important;
    }

    .header-company-name h1 {
        font-size: 13px !important;
        font-weight: 800 !important;
        white-space: normal !important;
        word-break: break-word !important;
        line-height: 1.15 !important;
    }

    .header-login-block {
        order: unset !important;
        flex-direction: row !important;
        gap: 6px !important;
        align-items: center !important;
        flex-shrink: 0 !important;
    }

    .staff-login-icon {
        width: 32px !important;
        height: 32px !important;
    }

    .staff-login-icon i {
        font-size: 15px !important;
    }

    .staff-login-label {
        display: none !important;
    }

    /* Mobile Header Navigation Menu Dropdown */
    .header-nav {
        background: #1e3a8a !important;
        padding: 0 !important;
        position: relative !important;
        width: 100% !important;
    }

    .nav-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #152c6b !important;
        border-bottom: 4px solid #f97316 !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4) !important;
        padding: 16px 12px !important;
        gap: 0 !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-4px);
        transition: all 0.25s ease;
        z-index: 999999 !important;
        max-height: 82vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        box-sizing: border-box !important;
    }

    .nav-menu.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    .nav-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .nav-row-top {
        padding-top: 4px !important;
    }

    .nav-row-top,
    .nav-row-bottom {
        border: none !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .nav-link {
        width: 100% !important;
        padding: 10px 14px !important;
        font-size: 12px !important;
        color: #ffffff !important;
        justify-content: flex-start !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        letter-spacing: 1.2px !important;
        box-sizing: border-box !important;
    }

    .nav-link+.nav-link::before {
        display: none !important;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 255, 255, 0.12) !important;
        color: #fbbf24 !important;
        border-radius: 4px !important;
    }

    .mobile-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 36px !important;
        background: #1e3a8a !important;
        color: #ffffff !important;
        border-radius: 6px !important;
        font-size: 18px !important;
        cursor: pointer !important;
    }

    /* Common Layout Container Overrides for Mobile */
    .md-layout,
    .motto-layout,
    .about-layout,
    .services-layout,
    .sectors-layout,
    .clients-layout,
    .faq-layout,
    .contact-layout,
    .download-layout {
        width: 100% !important;
        max-width: 100% !important;
        margin: 25px auto !important;
        padding: 0 16px !important;
        grid-template-columns: 1fr !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 768px) {

    /* Page Hero Banner Responsiveness */
    .inner-hero {
        padding: 45px 16px !important;
    }

    .inner-hero h1 {
        font-size: 24px !important;
        margin-bottom: 8px !important;
        line-height: 1.25 !important;
        word-wrap: break-word !important;
    }

    .inner-hero p {
        font-size: 13.5px !important;
        line-height: 1.5 !important;
    }

    /* Responsive Content Blocks */
    .md-content,
    .motto-content {
        padding: 24px 18px !important;
        box-sizing: border-box !important;
    }

    /* Responsive Containers & Grids across all pages */
    .section {
        padding: 30px 16px !important;
    }

    .section-title {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    .section-subtitle {
        font-size: 12px !important;
    }

    /* ICD Links & Quick Interaction Grid */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    div[style*="padding: 28px 32px"] {
        padding: 20px 16px !important;
    }

    /* Certifications Grid */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }

    /* Footer Responsiveness */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .footer-col {
        padding-bottom: 15px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .footer-col:last-child {
        border-bottom: none !important;
    }
}

@media (max-width: 480px) {
    .header-company-name h1 {
        font-size: 11.5px !important;
        line-height: 1.15 !important;
    }

    .logo-img {
        height: 30px !important;
        max-width: 105px !important;
    }

    .md-content,
    .motto-content {
        padding: 18px 14px !important;
    }

    .feature-list-container {
        padding: 16px 12px !important;
    }

    /* Quick interaction 2x2 grid */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
}


/* Hide duplicate logo text since logo11.png includes full logo text */
.logo-text {
    display: none !important;
}

/* =========================================================
   SERVICES & ICD SECTIONS RESPONSIVE GRID
   Desktop (> 1024px): Horizontal 2-column side-by-side
   Mobile & Tablet (<= 1024px): Vertical 1-column stacking
   ========================================================= */

/* Desktop: 2-column horizontal layout */
.services-strengths-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
}

.icd-interaction-grid {
    display: grid !important;
    grid-template-columns: 3fr 2fr !important;
}

.services-col,
.icd-interaction-grid>div:first-child {
    border-right: 1px solid #cbd5e1 !important;
    border-bottom: none !important;
    padding: 28px 32px !important;
}

.strengths-col,
.icd-interaction-grid>div:last-child {
    padding: 28px 32px !important;
}

/* Mobile & Tablet: 1-column vertical stacking */
@media (max-width: 1024px) {

    .services-strengths-grid,
    .icd-interaction-grid {
        grid-template-columns: 1fr !important;
    }

    .services-col,
    .icd-interaction-grid>div:first-child {
        border-right: none !important;
        border-bottom: 2px solid #cbd5e1 !important;
        padding: 20px 16px !important;
    }

    .strengths-col,
    .icd-interaction-grid>div:last-child {
        padding: 20px 16px !important;
    }

    .icd-links-grid {
        grid-template-columns: 1fr !important;
    }
}