﻿:root {
    --primary: #0a2540;
    --primary-light: #1a3a5c;
    --primary-dark: #06192d;
    --brand-blue: #0771e3f5;
    --brand-sky: #29abe2;
    --brand-yellow: #e6d91de0;
    --accent: #0d7cdedc;
    --accent-hover: #4185ea;
    --accent-light: #0d7cdedc;
    --secondary: #3487e0f5;
    --secondary-hover: #1070d7;
    --dark: #0d1b2a;   
    --gray-900: #1b2838;
    --gray-800: #2d3a4a;
    --gray-700: #3e4f63;
    --gray-600: #556677;
    --gray-500: #6c7a89;
    --gray-400: #8e9bab;
    --gray-300: #b0bec5;
    --gray-200: #d5dde5;
    --gray-100: #eef2f6;
    --gray-50: #f8fafc;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
    --radius-sm: 4px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
    margin-bottom: 0.5em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.375rem; }
h5 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }

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

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

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

.container {
    max-width: 1200px;
}

.section-padding {
    padding: 80px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray-600);
    font-size: 1.0625rem;
}

.bg-light-custom {
    background-color: var(--gray-50);
}

.how-we-work-panel {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.how-we-work-process {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
}

.how-we-work-process::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-sky));
    opacity: 0.35;
    pointer-events: none;
}

.how-we-work-step {
    position: relative;
    padding: 36px 28px 32px;
    text-align: center;
}

.how-we-work-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    bottom: 24px;
    right: 0;
    width: 1px;
    background: var(--gray-200);
}

.how-we-work-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--brand-yellow);
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 18px rgba(0, 119, 204, 0.28);
    position: relative;
    z-index: 1;
}

.how-we-work-step h4 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.how-we-work-step p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.55;
}

.how-we-work-footer {
    padding: 20px 28px 28px;
    text-align: center;
    border-top: 1px solid var(--gray-100);
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.onsite-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    height: 100%;
    padding: 18px 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
}

.onsite-item > i {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 119, 204, 0.1);
    color: var(--brand-blue);
    font-size: 1.15rem;
}

.onsite-item h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.onsite-item p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.5;
}

.sector-expertise {
    display: flex;
    align-items: flex-start;
    gap: 64px;
}

.sector-expertise-intro {
    flex: 0 0 320px;
    max-width: 320px;
    position: sticky;
    top: 120px;
}

.sector-expertise-intro h2 {
    margin-bottom: 14px;
}

.sector-expertise-intro p {
    color: var(--gray-600);
    font-size: 1.05rem;
    margin-bottom: 28px;
}

.sector-expertise-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    min-width: 0;
    border-top: 1px solid var(--gray-200);
}

.sector-expertise-list li {
    border-bottom: 1px solid var(--gray-200);
}

.sector-expertise-link {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 8px;
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.sector-expertise-link:hover {
    color: inherit;
    padding-left: 16px;
    background: rgba(0, 119, 204, 0.04);
}

.sector-expertise-link > .bi:first-child {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    font-size: 1.25rem;
}

.sector-expertise-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sector-expertise-copy strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

.sector-expertise-copy span {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.45;
}

.sector-expertise-arrow {
    flex-shrink: 0;
    color: var(--gray-400);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.sector-expertise-link:hover .sector-expertise-arrow {
    color: var(--brand-blue);
    transform: translateX(4px);
}

.sector-expertise-cta-item {
    border-bottom: none;
    padding: 16px 8px 8px;
    text-align: right;
}

.sector-expertise-cta-btn {
    min-width: 180px;
}

@media (max-width: 767px) {
    .sector-expertise {
        flex-direction: column;
        gap: 32px;
    }
    .sector-expertise-intro {
        flex: none;
        max-width: none;
        position: static;
        padding-right: 0;
    }
    .sector-expertise-cta-item {
        padding: 8px 8px 0;
    }
}

.feature-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.feature-split-reverse {
    grid-template-columns: 0.95fr 1.05fr;
}

.feature-split-reverse .feature-split-media {
    order: -1;
}

.feature-split-label {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-blue);
}

.feature-split-content h2 {
    margin-bottom: 14px;
}

.feature-split-content > p {
    color: var(--gray-600);
    font-size: 1.05rem;
    margin-bottom: 24px;
    max-width: 34rem;
}

.feature-split-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 12px;
}

.feature-split-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--gray-800);
    font-size: 0.98rem;
    line-height: 1.45;
}

.feature-split-list i {
    flex-shrink: 0;
    margin-top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 119, 204, 0.12);
    color: var(--brand-blue);
    font-size: 0.85rem;
}

.feature-split-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
    background: var(--gray-200);
}

.feature-split-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(10, 37, 64, 0.28));
    pointer-events: none;
}

.feature-split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bg-primary-custom {
    background-color: var(--primary);
    color: var(--white);
}

.bg-primary-custom h2,
.bg-primary-custom h3,
.bg-primary-custom h4 {
    color: var(--white);
}

.bg-accent-custom {
    background-color: var(--accent);
    color: var(--white);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.brand-accent {
    color: var(--accent);
}

.site-header {
    --header-height: 64px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    height: var(--header-height);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    background: #ffffff;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 1px 0 rgba(10, 37, 64, 0.04);
    will-change: transform;
}

.site-header.is-hidden {
    transform: translateY(-100%);
    pointer-events: none;
}

/* Auto-hide is mobile-only; keep header always visible on desktop/laptop */
@media (min-width: 992px) {
    .site-header.is-hidden {
        transform: none;
        pointer-events: auto;
    }
}

.site-header.is-over-hero {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
}

.site-header.is-over-hero .nav-link {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.site-header.is-over-hero .nav-link:hover,
.site-header.is-over-hero .nav-link.active {
    color: #ffffff;
}

.site-header.is-over-hero .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.7);
}

.site-header.is-over-hero .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.site-header.is-over-hero .btn-outline-primary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
    background: transparent;
}

.site-header.is-over-hero .btn-outline-primary:hover {
    color: var(--primary);
    background: #fff;
    border-color: #fff;
}

.site-topbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 0;
    background: rgba(6, 25, 45, 0.95);
}

.site-topbar-credit {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: var(--transition-fast);
}

.site-topbar-credit strong {
    color: var(--accent);
    font-weight: 600;
}

.site-topbar-credit:hover {
    color: var(--white);
}

.site-topbar-credit:hover strong {
    color: var(--accent-light, #48cae4);
}

.site-header.scrolled:not(.is-over-hero) {
    background: #ffffff;
    backdrop-filter: blur(10px);
    padding-bottom: 0;
    box-shadow: 0 2px 16px rgba(10, 37, 64, 0.08);
}

.site-header.scrolled .site-topbar {
    padding: 4px 0;
}

.site-header > .container,
.site-header .site-navbar {
    height: 100%;
}

.site-header .navbar {
    padding: 0;
    min-height: var(--header-height);
    height: var(--header-height);
    align-items: stretch;
}

.site-header .navbar-brand {
    padding: 0;
    margin: 0;
    height: var(--header-height);
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
}

.site-header .navbar-brand-logo {
    height: 100%;
    width: auto;
    max-height: var(--header-height);
    display: block;
    object-fit: contain;
    object-position: left center;
    border-radius: 0;
}

.site-header .navbar-brand .brand-text {
    font-size: 1.375rem;
}

.site-header .nav-link {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 8px 14px;
    transition: var(--transition-fast);
    position: relative;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--brand-blue);
}

.site-header .dropdown-menu {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    margin-top: 8px;
    min-width: 220px;
}

.site-header .dropdown-item {
    padding: 8px 20px;
    font-size: 0.9375rem;
    color: var(--gray-800);
    transition: var(--transition-fast);
}

.site-header .dropdown-item:hover {
    background-color: var(--gray-100);
    color: var(--brand-blue);
    padding-left: 24px;
}

.navbar-toggler {
    border: 2px solid var(--gray-300);
    padding: 6px 10px;
    align-self: center;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2810, 37, 64, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hamburger <-> close icon swap (driven by Bootstrap's .collapsed state) */
.navbar-toggler .toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--dark);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.navbar-toggler .toggle-icon-close {
    display: none;
}

.navbar-toggler:not(.collapsed) .toggle-icon-open {
    display: none;
}

.navbar-toggler:not(.collapsed) .toggle-icon-close {
    display: inline-flex;
    animation: toggleIn 0.2s ease;
}

@keyframes toggleIn {
    from { opacity: 0; transform: rotate(-90deg) scale(0.7); }
    to { opacity: 1; transform: rotate(0) scale(1); }
}

.header-actions {
    flex-shrink: 0;
}

.header-actions .btn {
    font-size: 0.875rem;
    padding: 6px 18px;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .site-header .navbar-collapse {
        display: flex !important;
        flex-grow: 1;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .site-header .site-nav-links {
        margin-left: auto;
        margin-right: auto;
    }

    .site-header .header-actions {
        margin-left: auto;
        margin-top: 0 !important;
    }
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Light overlay so hero image stays clear and readable */
    background: linear-gradient(
        180deg,
        rgba(10, 37, 64, 0.28) 0%,
        rgba(10, 37, 64, 0.18) 45%,
        rgba(10, 37, 64, 0.35) 100%
    );
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero-content .hero-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-content h1 span {
    color: var(--brand-yellow, #fcee21);
}

.hero-content p {
    font-size: 1.1875rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 36px;
    line-height: 1.7;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-yellow, #fcee21);
    line-height: 1;
    margin-bottom: 4px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.hero-stat .stat-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn:focus {
    box-shadow: none;
    outline: none;
}

.btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,180,216,0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: rgba(255,255,255,0.3);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--primary);
}

.btn-outline-primary {
    background-color: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

.btn-outline-primary:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.btn-dark {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-dark:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--white);
}

.btn-sky-blue {
    background-color: var(--brand-sky);
    border-color: var(--brand-sky);
    color: var(--white);
    font-weight: 600;
}

.btn-sky-blue:hover {
    background-color: #1a95d1;
    border-color: #1a95d1;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sky-blue:focus,
.btn-sky-blue:active {
    background-color: #1580b8;
    border-color: #1580b8;
    color: var(--white);
    box-shadow: 0 0 0 0.25rem rgba(41, 171, 226, 0.4);
}

.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    font-weight: 600;
}

.btn-accent:hover {
    background-color: #0d76c8;
    border-color: #0d76c8;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent:focus,
.btn-accent:active {
    background-color: #0b68b0;
    border-color: #0b68b0;
    color: var(--white);
    box-shadow: 0 0 0 0.25rem rgba(16, 136, 222, 0.4);
}

.btn-outline-accent {
    background-color: transparent;
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 600;
}

.btn-outline-accent:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-sky-blue {
    background-color: transparent;
    border-color: var(--brand-sky);
    color: var(--brand-sky);
    font-weight: 600;
}

.btn-outline-sky-blue:hover {
    background-color: var(--brand-sky);
    border-color: var(--brand-sky);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.0625rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    height: 100%;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.service-card .service-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.service-card .service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(0,180,216,0.1), rgba(0,119,182,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0;
    transition: var(--transition);
    flex-shrink: 0;
}

.service-card > .service-icon {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.service-card .service-icon i {
    display: block;
    line-height: 1;
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.05);
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card .service-card-head h4 {
    margin-bottom: 0;
    line-height: 1.35;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin-bottom: 20px;
}

.service-card .service-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-top: auto;
}

.service-card .service-card-body p {
    margin-bottom: 16px;
}

.service-card .card-link {
    font-weight: 600;
    color: var(--accent);
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    align-self: flex-end;
    margin-top: auto;
}

.service-card.text-center .card-link {
    justify-content: center;
    align-self: center;
}

.service-card.text-center .card-link {
    justify-content: center;
    align-self: center;
}

.service-card.text-center .card-link {
    justify-content: center;
    align-self: center;
}

.service-card.text-center .card-link {
    justify-content: center;
    align-self: center;
}

.service-card.text-center .card-link {
    justify-content: center;
    align-self: center;
}

.service-card.text-center .card-link {
    justify-content: center;
    align-self: center;
}

.service-card.text-center .card-link {
    justify-content: center;
    align-self: center;
}

.service-card .card-link i {
    font-size: 1.05rem;
    line-height: 1;
}

.service-card .card-link:hover {
    gap: 12px;
    color: var(--accent-hover);
}

.service-media-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.service-media-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.service-media-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.service-media-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-media-card:hover .service-media-image img {
    transform: scale(1.06);
}

.service-media-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 3.5rem;
}

.service-media-body {
    padding: 24px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-media-body > h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.35;
    color: var(--primary);
}

.service-media-body .service-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-media-body .service-card-body p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

.service-media-body .card-link {
    font-weight: 600;
    color: var(--accent);
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    align-self: flex-end;
    margin-top: auto;
}

.service-media-body .card-link:hover {
    gap: 12px;
    color: var(--accent-hover);
}

.industry-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 320px;
    cursor: pointer;
}

.industry-card .card-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.industry-card:hover .card-image {
    transform: scale(1.1);
}

.industry-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,37,64,0.9) 0%, rgba(10,37,64,0.3) 50%, transparent 100%);
    z-index: 1;
    transition: var(--transition);
}

.industry-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(10,37,64,0.95) 0%, rgba(0,180,216,0.4) 50%, rgba(0,180,216,0.1) 100%);
}

.industry-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    z-index: 2;
    color: var(--white);
}

.industry-card .card-content h4 {
    color: var(--white);
    margin-bottom: 8px;
}

.industry-card .card-content p {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.industry-card:hover .card-content p {
    opacity: 1;
    transform: translateY(0);
}

.project-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

.project-card .project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.project-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.project-card .project-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-card .project-body {
    padding: 24px;
}

.project-card .project-body h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.project-card .project-body p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.project-card .project-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.project-card .project-meta i {
    color: var(--accent);
    margin-right: 4px;
}

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

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

.blog-card .blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.blog-card .blog-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--brand-yellow);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    text-align: center;
    line-height: 1.2;
}

.blog-card .blog-date .day {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
}

.blog-card .blog-date .month {
    display: block;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-date-line {
    display: flex;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.blog-card .blog-body {
    padding: 24px;
}

.blog-card .blog-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 8px;
}

.blog-card .blog-body h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.blog-card .blog-body p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.blog-card .blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px;
    border: 1px solid var(--gray-200);
    position: relative;
}

.testimonial-card .quote-icon {
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 28px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.125rem;
}

.testimonial-card .author-info h5 {
    margin-bottom: 0;
    font-size: 1rem;
}

.testimonial-card .author-info span {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.faq-item .faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition-fast);
    user-select: none;
}

.faq-item .faq-question:hover {
    color: var(--accent);
}

.faq-item .faq-question i {
    transition: transform 0.3s ease;
    font-size: 1.125rem;
    color: var(--accent);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item .faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 500px;
}

.faq-item .faq-answer p {
    color: var(--gray-600);
    margin-bottom: 0;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    text-align: center;
}

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

.team-card .team-image {
    height: 260px;
    overflow: hidden;
}

.team-card .team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-card .team-info {
    padding: 24px;
}

.team-card .team-info h4 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.team-card .team-info .team-role {
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.team-card .team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-card .team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: var(--transition-fast);
}

.team-card .team-social a:hover {
    background: var(--accent);
    color: var(--white);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,37,64,0.88) 0%, rgba(0,119,204,0.78) 100%);
    z-index: 0;
}

.cta-section .cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 1.0625rem;
    margin-bottom: 32px;
}

.site-footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 60px 0 0;
}

.footer-brand .footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand .footer-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--white);
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

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

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--brand-yellow);
    padding-left: 4px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9375rem;
}

.footer-contact li i {
    color: var(--accent);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--gray-400);
}

.footer-contact a:hover {
    color: var(--brand-yellow);
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--gray-400);
    font-size: 0.875rem;
    margin-left: 20px;
}

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

.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom__copy,
.footer-bottom__credit {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.footer-bottom__credit strong {
    color: var(--white);
    font-weight: 700;
}

.footer-bottom__credit a {
    margin-left: 0;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-bottom__credit a:hover {
    color: var(--white);
}

.footer-bottom__links {
    display: flex;
    align-items: center;
}

@media (max-width: 767.98px) {
    .footer-bottom__inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom__links {
        order: -1;
    }
    .footer-bottom__copy {
        order: 3;
    }
}

.chat-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1100;
    font-family: var(--font-primary);
}

.chat-fab {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(145deg, #0292e0 0%, #0077cc 55%, #005fa3 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 10px 28px rgba(0, 119, 204, 0.38);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-fab:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 32px rgba(0, 119, 204, 0.45);
}

.chat-fab-close {
    display: none;
}

.chat-widget.is-open .chat-fab-open {
    display: none;
}

.chat-widget.is-open .chat-fab-close {
    display: inline-block;
}

.chat-panel {
    position: absolute;
    right: 0;
    bottom: 74px;
    width: min(380px, calc(100vw - 28px));
    height: min(520px, calc(100vh - 110px));
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(10, 37, 64, 0.22);
    border: 1px solid rgba(10, 37, 64, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: chatPanelIn 0.22s ease;
}

@keyframes chatPanelIn {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-panel[hidden] {
    display: none !important;
}

.chat-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #0a2540 0%, #123a5c 100%);
    color: #fff;
}

.chat-panel-header strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.chat-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    opacity: 0.9;
    margin-top: 3px;
}

.chat-status::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.chat-panel-close {
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.95rem;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.chat-panel-close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 16px 14px;
    background:
        radial-gradient(circle at top right, rgba(41, 171, 226, 0.08), transparent 40%),
        #f4f7fb;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(10, 37, 64, 0.22);
    border-radius: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-bubble {
    max-width: 90%;
    padding: 11px 13px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.55;
    word-break: break-word;
    box-shadow: 0 1px 2px rgba(10, 37, 64, 0.05);
}

.chat-bubble-bot {
    align-self: flex-start;
    background: #ffffff;
    border: 1px solid rgba(10, 37, 64, 0.08);
    color: #1b2838;
    border-bottom-left-radius: 6px;
}

.chat-bubble-user {
    align-self: flex-end;
    background: linear-gradient(145deg, #0292e0, #0077cc);
    color: #fff;
    border-bottom-right-radius: 6px;
    white-space: pre-wrap;
}

.chat-bubble-bot .chat-line {
    margin: 0 0 0.55em;
}

.chat-bubble-bot .chat-line:last-child {
    margin-bottom: 0;
}

.chat-bubble-bot .chat-break {
    height: 0.4em;
}

.chat-bubble-bot .chat-list {
    margin: 0.35em 0 0.65em;
    padding-left: 1.25em;
}

.chat-bubble-bot .chat-list-bullets {
    list-style: disc;
}

.chat-bubble-bot .chat-list-numbered {
    list-style: decimal;
    padding-left: 1.4em;
}

.chat-bubble-bot .chat-list li {
    margin-bottom: 0.35em;
    padding-left: 0.15em;
}

.chat-bubble-bot .chat-heading {
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 0.35em;
}

.chat-bubble-bot code {
    font-size: 0.85em;
    background: #eef2f6;
    padding: 1px 5px;
    border-radius: 4px;
}

.chat-bubble-bot strong {
    color: #0a2540;
    font-weight: 700;
}

.chat-bubble.is-streaming .chat-line:last-child::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 1em;
    margin-left: 2px;
    background: rgba(0, 119, 204, 0.55);
    vertical-align: text-bottom;
    animation: chatCaret 0.9s steps(1) infinite;
}

@keyframes chatCaret {
    50% { opacity: 0; }
}

.chat-bubble.is-typing {
    opacity: 1;
    font-style: normal;
    min-width: 56px;
}

.chat-typing-dots {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    height: 16px;
}

.chat-typing-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8e9bab;
    animation: chatDot 1.1s infinite ease-in-out;
}

.chat-typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes chatDot {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
    40% { transform: translateY(-3px); opacity: 1; }
}

.chat-form {
    padding: 12px 14px 14px;
    border-top: 1px solid rgba(10, 37, 64, 0.08);
    background: #fff;
}

.chat-composer {
    position: relative;
    display: flex;
    align-items: flex-end;
    width: 100%;
    background: #f8fafc;
    border: 1px solid #d5dde5;
    border-radius: 18px;
    padding: 6px 6px 6px 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.chat-composer:focus-within {
    border-color: #29abe2;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(41, 171, 226, 0.15);
}

.chat-input {
    flex: 1;
    width: 100%;
    min-height: 40px;
    max-height: 120px;
    border: none;
    outline: none;
    resize: none;
    background: transparent;
    padding: 8px 44px 8px 2px;
    font-size: 16px;
    line-height: 1.4;
    color: #1b2838;
}

.chat-input::placeholder {
    color: #8e9bab;
}

.chat-send {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #c5ced8;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.55;
    transition: background 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}

.chat-send.is-ready {
    background: linear-gradient(145deg, #0292e0, #0077cc);
    cursor: pointer;
    opacity: 1;
}

.chat-send.is-ready:hover {
    transform: scale(1.05);
}

.chat-send:disabled {
    pointer-events: none;
}

@media (max-width: 767.98px) {
    .chat-widget {
        right: 14px;
        bottom: 14px;
    }

    /* Hide floating chat icon over the hero on mobile */
    body.is-over-hero .chat-widget:not(.is-open) {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(12px);
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    }

    body:not(.is-over-hero) .chat-widget {
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    }

    .chat-widget.is-open {
        z-index: 1200;
    }

    .chat-widget.is-open .chat-fab {
        display: none;
    }

    .chat-widget.is-open .chat-panel {
        position: fixed;
        inset: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        border-radius: 0;
        border: none;
        box-shadow: none;
        animation: none;
    }

    .chat-panel-header {
        padding-top: calc(12px + env(safe-area-inset-top, 0px));
    }

    .chat-form {
        padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    }

    body.chat-assistant-open {
        overflow: hidden;
        touch-action: none;
    }

    body.chat-assistant-open .site-header {
        visibility: hidden;
    }
}

@media (max-width: 575px) {
    .chat-widget {
        right: 12px;
        bottom: 12px;
    }
}

.form-control {
    border-radius: var(--radius);
    border: 1px solid var(--gray-300);
    padding: 12px 16px;
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,180,216,0.15);
}

.form-label {
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 6px;
    font-size: 0.9375rem;
}

.contact-form .form-control,
.contact-form textarea {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.page-banner {
    position: relative;
    padding: 160px 0 80px;
    background-color: var(--primary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,37,64,0.88) 0%, rgba(26,58,92,0.82) 100%);
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    color: var(--white);
    font-size: 2.75rem;
    margin-bottom: 16px;
}

.page-banner .breadcrumb {
    justify-content: center;
}

.page-banner .breadcrumb-item a {
    color: var(--accent-light);
}

.page-banner .breadcrumb-item.active {
    color: var(--gray-400);
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: var(--gray-500);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

.text-accent { color: var(--accent) !important; }
.text-primary-custom { color: var(--primary) !important; }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-100 { background-color: var(--gray-100); }

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand-yellow);
    line-height: 1;
}

/* Standalone statistic numbers (about, service detail) */
.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--brand-yellow);
    line-height: 1.1;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.6s ease forwards;
}

@media (max-width: 1199px) {
    .hero-content h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 991px) {
    .site-header {
        --header-height: 56px;
        background: #ffffff;
        padding-bottom: 0;
        height: auto;
        min-height: var(--header-height);
    }

    .site-header.is-over-hero:not(.menu-open) {
        background: transparent;
    }

    .site-header.is-over-hero.menu-open,
    .site-header.menu-open {
        background: #ffffff;
        box-shadow: 0 8px 24px rgba(10, 37, 64, 0.1);
    }

    .site-header.is-over-hero .navbar-collapse {
        background: #ffffff;
    }

    .site-header.is-over-hero .navbar-collapse .nav-link {
        color: var(--primary);
        text-shadow: none;
    }

    .site-header.scrolled {
        background: #ffffff;
    }

    .site-header > .container {
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
        height: auto;
        min-height: var(--header-height);
    }

    .site-header .site-navbar {
        height: auto;
        min-height: var(--header-height);
        width: 100%;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .site-header .navbar {
        height: auto;
        min-height: var(--header-height);
        flex-wrap: wrap;
        width: 100%;
    }

    .site-header .navbar-brand {
        height: var(--header-height);
        max-width: calc(100% - 56px);
    }

    .site-header .navbar-brand-logo {
        max-width: 100%;
        width: auto;
    }

    .navbar-toggler {
        margin-left: auto;
        padding: 4px 8px;
        border-width: 1px;
    }

    .navbar-collapse {
        background: #ffffff;
        padding: 8px 4px 16px;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        margin-top: 0;
        border-top: 1px solid var(--gray-200);
        box-shadow: 0 12px 24px rgba(10, 37, 64, 0.08);
        width: 100%;
        flex-basis: 100%;
    }

    .site-header .navbar-collapse.show,
    .site-header .navbar-collapse.collapsing {
        max-height: calc(100vh - var(--header-height, 64px) - 8px);
        max-height: calc(100dvh - var(--header-height, 64px) - 8px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .site-nav-links {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
        padding: 4px 0;
    }

    .site-header .nav-link {
        padding: 10px 8px;
        font-size: 0.9375rem;
    }

    .site-header .dropdown-menu {
        box-shadow: none;
        border: 1px solid var(--gray-200);
        margin: 0 0 8px;
        width: 100%;
    }

    .header-actions {
        width: 100%;
        flex-wrap: wrap;
        gap: 8px !important;
        margin-top: 8px !important;
        padding-top: 8px;
        border-top: 1px solid var(--gray-100);
    }

    .header-actions .btn {
        flex: 1 1 auto;
        min-width: calc(50% - 4px);
        justify-content: center;
        padding: 8px 12px;
    }

    .hero-section {
        min-height: auto;
        padding: 100px 0 64px;
    }

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

    .hero-stats {
        gap: 32px;
        flex-wrap: wrap;
    }

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

    .section-padding {
        padding: 60px 0;
    }

    .how-we-work-process {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-we-work-process::before {
        display: none;
    }

    .how-we-work-step:nth-child(2)::after {
        display: none;
    }

    .feature-split,
    .feature-split-reverse {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .feature-split-reverse .feature-split-media {
        order: 0;
    }

    .feature-split-media {
        aspect-ratio: 16 / 10;
        max-height: 280px;
    }

    .sector-expertise {
        flex-direction: column;
        gap: 36px;
    }

    .sector-expertise-intro {
        flex: none;
        max-width: none;
        position: static;
    }

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

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

@media (max-width: 767px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

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

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-stat .stat-number {
        font-size: 1.75rem;
    }

    .hero-stat .stat-label {
        font-size: 0.75rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .how-we-work-process {
        grid-template-columns: 1fr;
    }

    .how-we-work-step {
        padding: 24px 20px;
        text-align: left;
        display: grid;
        grid-template-columns: 40px 1fr;
        grid-template-areas:
            "index title"
            "index body";
        column-gap: 14px;
        row-gap: 4px;
    }

    .how-we-work-step:not(:last-child)::after {
        top: auto;
        bottom: 0;
        left: 20px;
        right: 20px;
        width: auto;
        height: 1px;
    }

    .how-we-work-index {
        grid-area: index;
        width: 40px;
        height: 40px;
        margin-bottom: 0;
        font-size: 0.75rem;
    }

    .how-we-work-step h4 {
        grid-area: title;
        margin-bottom: 0;
        align-self: end;
        font-size: 1rem;
    }

    .how-we-work-step p {
        grid-area: body;
        font-size: 0.875rem;
    }

    .how-we-work-footer {
        padding: 16px 20px 22px;
    }

    .feature-split-section.section-padding {
        padding: 48px 0;
    }

    .feature-split-content h2 {
        font-size: 1.55rem;
    }

    .feature-split-content > p {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }

    .feature-split-list {
        margin-bottom: 22px;
        gap: 10px;
    }

    .feature-split-list li {
        font-size: 0.9rem;
    }

    .feature-split-media {
        aspect-ratio: 16 / 9;
        max-height: 180px;
        border-radius: var(--radius-md);
    }

    .sector-expertise-link {
        gap: 14px;
        padding: 18px 4px;
    }

    .sector-expertise-link:hover {
        padding-left: 8px;
    }

    .sector-expertise-link > .bi:first-child {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }

    .sector-expertise-copy strong {
        font-size: 0.98rem;
    }

    .sector-expertise-copy span {
        font-size: 0.82rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .page-banner {
        padding: 120px 0 60px;
    }

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

    .site-footer {
        padding: 40px 0 0;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom a {
        margin-left: 0;
        margin-right: 16px;
    }

    .back-to-top {
        display: none;
    }

    .service-card .service-card-head {
        gap: 14px;
        margin-bottom: 14px;
    }

    .service-card .service-card-head .service-icon {
        width: 48px;
        height: 48px;
        font-size: 1.35rem;
    }

    .service-card .service-card-head h4 {
        font-size: 1.1rem;
        line-height: 1.35;
    }

    .service-card .service-card-body,
    .service-media-body .service-card-body {
        flex-direction: row;
        align-items: flex-end;
        gap: 10px;
    }

    .service-card .service-card-body p,
    .service-media-body .service-card-body p {
        flex: 1;
        margin-bottom: 0;
        min-width: 0;
    }

    .service-card .card-link-text,
    .service-media-body .card-link-text {
        display: none;
    }

    .service-card .card-link,
    .service-media-body .card-link {
        width: 36px;
        height: 36px;
        min-width: 36px;
        justify-content: center;
        align-self: flex-end;
        border-radius: 50%;
        background: rgba(41, 171, 226, 0.12);
        gap: 0;
        margin-top: 0;
        flex-shrink: 0;
    }

    .service-card .card-link:hover,
    .service-media-body .card-link:hover {
        background: var(--accent);
        color: var(--white);
        gap: 0;
    }
}

@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .section-padding {
        padding: 48px 0;
    }

    .service-card {
        padding: 28px 20px;
    }

    .blog-card .blog-body {
        padding: 20px;
    }

    .project-card .project-body {
        padding: 20px;
    }
}

/* Service detail */
.service-detail-section {
    background: var(--gray-50);
}

.service-detail-panel {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg, 16px);
    padding: 36px 32px;
    height: 100%;
}

.service-detail-copy p {
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.service-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-benefit-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    color: var(--gray-700);
}

.service-benefit-list li i {
    color: var(--accent);
    margin-top: 3px;
}

.service-process-panel {
    background: linear-gradient(180deg, #fff 0%, #f7fafc 100%);
}

.service-process-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 18px;
}

.service-process-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.process-step-num {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--brand-yellow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
}

.service-process-list p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.98rem;
    font-weight: 500;
}

.request-form-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg, 16px);
    padding: 28px 24px;
}

.request-form-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.request-service-form .form-select {
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    padding: 12px 16px;
    background-color: var(--gray-50);
}

@media (max-width: 575px) {
    .service-detail-panel,
    .request-form-card {
        padding: 24px 18px;
    }
}

/* Global responsive fit: phones, tablets, desktops */
img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
    height: auto;
}

main {
    overflow-x: clip;
}

.table-responsive,
.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 991.98px) {
    .container,
    .container-fluid {
        padding-left: 16px;
        padding-right: 16px;
    }

    .row {
        --bs-gutter-x: 1rem;
    }

    .page-banner {
        padding: 100px 0 48px;
    }

    .page-banner h1 {
        font-size: 1.85rem;
        word-break: break-word;
    }

    .section-header h2 {
        font-size: 1.65rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    form .form-control,
    form .form-select,
    form textarea.form-control {
        font-size: 16px; /* prevents iOS zoom on focus */
        max-width: 100%;
    }

    .btn-lg {
        padding: 10px 18px;
        font-size: 1rem;
    }

    .contact-info-grid,
    .stats-grid,
    .feature-grid {
        gap: 16px;
    }
}

@media (max-width: 767.98px) {
    .container,
    .container-fluid {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-stats {
        justify-content: space-between;
        gap: 16px;
    }

    .hero-stat {
        flex: 1 1 30%;
        min-width: 72px;
    }

    .cta-buttons,
    .hero-buttons {
        width: 100%;
    }

    .cta-buttons .btn,
    .hero-buttons .btn {
        width: 100%;
    }

    .site-footer .row > [class*="col-"] {
        margin-bottom: 8px;
    }

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

    .request-service-form .row > [class*="col-"],
    .contact-form .row > [class*="col-"] {
        width: 100%;
        max-width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .site-header {
        --header-height: 60px;
    }

    .hero-section {
        padding: 120px 0 72px;
    }

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

    .header-actions .btn {
        min-width: 140px;
        flex: 0 1 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .site-header.is-hidden {
        transform: none;
    }
}

/* =========================
   Projects Carousel
   ========================= */
.projects-carousel {
    overflow: hidden;
    position: relative;
}

.projects-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    min-width: 0;
}

.project-card-link:hover {
    transform: translateY(-4px);
}

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

.project-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card-link:hover .project-image img {
    transform: scale(1.05);
}

.project-body {
    padding: 20px;
}

.project-body h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.project-body p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-indicators {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition-fast);
}

.indicator:hover {
    background: var(--accent);
}

.indicator.active {
    background: var(--accent);
    width: 24px;
    border-radius: 5px;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .projects-track {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: one card, swipe / drag left ↔ right */
@media (max-width: 767.98px) {
    .projects-carousel {
        margin: 0 -12px;
        padding: 0 12px;
    }

    .projects-track {
        display: flex;
        gap: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        cursor: grab;
        scrollbar-width: none;
        padding: 4px 0 8px;
        user-select: none;
    }

    .projects-track::-webkit-scrollbar {
        display: none;
    }

    .projects-track.is-dragging {
        cursor: grabbing;
        scroll-behavior: auto;
        scroll-snap-type: none;
    }

    .project-card-link {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .project-card-link:hover {
        transform: none;
    }

    .project-image {
        height: 200px;
        pointer-events: none;
    }

    .carousel-indicators {
        display: flex;
        margin-top: 16px;
    }

    /* Ensure maintenance/inspection buttons stay horizontal on mobile */
    .flex-nowrap.gap-3 {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    .flex-nowrap.gap-3 > .btn {
        flex-shrink: 0;
        white-space: nowrap;
    }

    @media (max-width: 360px) {
        .flex-nowrap.gap-3 > .btn {
            padding: 0.5rem 0.875rem;
            font-size: 0.8rem;
        }
    }
}

/* Brand CTA buttons (used by public page CTA bands) */
.btn-brand-yellow {
    background-color: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: #0a2540;
    font-weight: 700;
}

.btn-brand-yellow:hover {
    background-color: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: #0a2540;
    filter: brightness(0.94);
    transform: translateY(-2px);
}

.btn-outline-brand {
    background-color: transparent;
    border-color: var(--brand-yellow);
    color: var(--brand-yellow);
    font-weight: 700;
}

.btn-outline-brand:hover {
    background-color: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: #0a2540;
}

/* Article body (blog detail long-form) */
.article-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--gray-800);
}

.article-content p {
    margin-bottom: 1.25rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: var(--dark);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.article-content blockquote {
    border-left: 4px solid var(--brand-yellow);
    background-color: var(--gray-50);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}

/* Editorial drop cap on the article lede paragraph */
.article-content > p:first-of-type::first-letter {
    font-family: var(--font-heading);
    font-size: 3.2em;
    font-weight: 800;
    line-height: 0.9;
    float: left;
    margin: 0.08em 0.12em 0 0;
    color: var(--primary);
}

/* Hero meta badges (article header) */
.meta-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    border-radius: 999px;
    padding: 0.32rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
}

a.meta-badge {
    text-decoration: none;
    transition: background-color 0.18s ease;
}

a.meta-badge:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.26);
}

/* Anchor offset below the fixed site header */
#comments {
    scroll-margin-top: 84px;
}

/* Comments stay hidden until the Comments button reveals them */
#comments.comments-collapsed {
    display: none;
}

/* Sticky article sidebar (desktop only) */
@media (min-width: 992px) {
    .sidebar-sticky {
        position: sticky;
        top: 84px;
    }
}

/* Services mega-dropdown (header nav card) */
.services-dropdown {
    min-width: 980px;
    max-width: calc(100vw - 2rem);
    padding: 0.75rem;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(10, 37, 64, 0.18);
}

.services-dropdown.show {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.15rem;
}

.services-dropdown__label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

@media (min-width: 992px) {
    .site-nav-links li.dropdown {
        position: static;
    }
    .site-nav-links .services-dropdown {
        left: 50%;
        right: auto;
        top: 100%;
        margin-top: 0.6rem;
        transform: translateX(-50%);
    }
}

.services-dropdown__full {
    grid-column: 1 / -1;
}

.services-dropdown__item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    color: var(--dark);
    white-space: normal;
    line-height: 1.35;
}

.services-dropdown__item:hover,
.services-dropdown__item:focus {
    background-color: var(--gray-100);
    color: var(--dark);
}

.services-dropdown__icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-100);
    color: var(--brand-blue);
    border-radius: 12px;
    font-size: 1.15rem;
}

.services-dropdown__icon--solid {
    background-color: var(--brand-blue);
    color: #ffffff;
}

.services-dropdown__label {
    flex: 1;
    min-width: 0;
}

@media (max-width: 991.98px) {
    .services-dropdown {
        box-shadow: none;
        border: 1px solid var(--gray-200);
        border-radius: 12px;
        min-width: 0;
        padding: 0.5rem;
    }
    .services-dropdown.show {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-dropdown__item {
        min-height: 52px;
        padding: 0.6rem;
    }
    .services-dropdown__icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        font-size: 1.05rem;
    }
    .services-dropdown__label {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 0.92rem;
    }
    .site-nav-links .dropdown-toggle::after {
        transition: transform 0.2s ease;
    }
    .site-nav-links .show > .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

@media (max-width: 576px) {
    .services-dropdown.show {
        grid-template-columns: 1fr;
    }
}

/* Active nav link (current page highlight) */
.site-nav-links .nav-link {
    position: relative;
    font-weight: 600;
}

.site-nav-links .nav-link.active {
    color: var(--brand-blue);
}

.site-nav-links .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.1rem;
    height: 3px;
    border-radius: 3px;
    background-color: var(--brand-yellow);
}

@media (max-width: 991.98px) {
    .site-nav-links .nav-link.active::after {
        left: 0;
        right: auto;
        width: 28px;
        bottom: 0.35rem;
    }
}

/* ---------------------------------------------------------------------------
   Team section (public About page)
   .text-brand-blue is used across the public pages but had no rule; it is
   defined here so those usages finally render in the brand blue.
   --------------------------------------------------------------------------- */

.text-brand-blue {
    color: var(--brand-blue) !important;
}

.team-photo {
    width: 180px;
    height: 180px;
    max-width: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.14);
    margin-left: auto;
    margin-right: auto;
    background-color: var(--gray-100, #f1f5f9);
}

.service-card .team-photo {
    margin-top: 6px;
    margin-bottom: 18px;
}

.service-card:hover .team-photo {
    border-color: var(--brand-yellow, #fcee21);
}

/* Long bios are clamped; the toggle button expands them. */
.team-bio {
    color: var(--gray-600, #475569);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

.team-bio.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
}

.team-bio-toggle {
    background: none;
    border: 0;
    color: var(--brand-blue);
    cursor: pointer;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 50%;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.team-bio-toggle:hover,
.team-bio-toggle:focus-visible {
    background-color: rgba(7, 113, 227, 0.08);
}

.team-bio-toggle i {
    display: block;
    font-size: 1.05rem;
}

.team-bio-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Only show the toggle when the bio is actually clipped. */
.team-bio-toggle[hidden] {
    display: none;
}

/* Contact + social icon row. */
.team-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.team-icon-link {
    align-items: center;
    background-color: var(--gray-100, #f1f5f9);
    border-radius: 50%;
    color: var(--gray-700, #334155);
    display: inline-flex;
    height: 36px;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    width: 36px;
}

.team-icon-link:hover,
.team-icon-link:focus-visible {
    background-color: var(--brand-blue);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------------------------------------------------------------------------
   Company Information panel (Contact page)
   --------------------------------------------------------------------------- */

.company-info__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.company-info__row {
    display: flex;
    gap: 16px;
    padding-bottom: 22px;
    position: relative;
}

.company-info__row + .company-info__row {
    padding-top: 22px;
}

/* Connector line between rows. */
.company-info__row:not(:last-child)::before {
    background-color: var(--gray-200, #e2e8f0);
    bottom: 0;
    content: "";
    left: 23px;
    position: absolute;
    top: 0;
    width: 2px;
}

.company-info__icon {
    align-items: center;
    background-color: rgba(7, 113, 227, 0.09);
    border-radius: 50%;
    color: var(--brand-blue);
    display: inline-flex;
    flex: 0 0 48px;
    font-size: 1.15rem;
    height: 48px;
    justify-content: center;
    position: relative;
    width: 48px;
    z-index: 1;
}

.company-info__icon--whatsapp {
    background-color: rgba(37, 211, 102, 0.14);
    color: #128c4a;
}

.company-info__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding-top: 2px;
}

.company-info__label {
    color: var(--gray-500, #64748b);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.company-info__value {
    color: var(--gray-900, #0f172a);
    font-size: 0.95rem;
    line-height: 1.45;
    word-break: break-word;
}

.company-info__value a {
    color: inherit;
    text-decoration: none;
}

.company-info__value a:hover {
    color: var(--brand-blue);
    text-decoration: underline;
}

.company-info__hint {
    color: var(--gray-500, #64748b);
    font-size: 0.78rem;
    margin-left: 6px;
    white-space: nowrap;
}

.company-info__badge {
    background-color: rgba(220, 53, 69, 0.12);
    color: #b02a37;
    font-size: 0.68rem;
    margin-left: 6px;
    vertical-align: middle;
}

.company-info__map {
    align-items: center;
    color: var(--brand-blue);
    display: inline-flex;
    font-size: 0.82rem;
    gap: 5px;
    margin-top: 4px;
    text-decoration: none;
}

.company-info__map:hover {
    text-decoration: underline;
}

.company-info__cta {
    border-top: 1px solid var(--gray-200, #e2e8f0);
    display: grid;
    gap: 10px;
    margin-top: 4px;
    padding-top: 22px;
}

@media (max-width: 991.98px) {
    .company-info__row {
        padding-bottom: 18px;
    }

    .company-info__row + .company-info__row {
        padding-top: 18px;
    }
}

@media (max-width: 575.98px) {
    .company-info__icon {
        flex-basis: 40px;
        font-size: 1rem;
        height: 40px;
        width: 40px;
    }

    .company-info__row:not(:last-child)::before {
        left: 19px;
    }
}

/* ---------------------------------------------------------------------------
   Floating WhatsApp button
   --------------------------------------------------------------------------- */

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    z-index: 1040;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
    color: #fff;
}

.whatsapp-float i {
    font-size: 1.75rem;
}

/* Mobile: slightly smaller, but always visible. */
@media (max-width: 575.98px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        right: 16px;
        bottom: 18px;
    }

    .whatsapp-float i {
        font-size: 1.5rem;
    }
}

/* Narrow phones (320-390px): shrink rather than hide, so the shortcut is
   never lost on small screens. */
@media (max-width: 390.98px) {
    .whatsapp-float {
        width: 46px;
        height: 46px;
        right: 12px;
        bottom: 14px;
    }

    .whatsapp-float i {
        font-size: 1.3rem;
    }
}

/* Clear the iOS home indicator so the button stays tappable. */
@supports (padding: max(0px)) {
    .whatsapp-float {
        bottom: max(14px, env(safe-area-inset-bottom));
    }
}

/* ---------------------------------------------------------------------------
   "Open email with…" chooser (Mail app / Gmail / Outlook / Yahoo)
   --------------------------------------------------------------------------- */

.email-open-with {
    display: block;
}

.email-open-with__toggle {
    align-items: center;
    background: none;
    border: 0;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    gap: 6px;
    padding: 0;
    text-align: left;
}

.email-open-with__toggle:hover {
    color: var(--brand-blue);
    text-decoration: underline;
}

.email-open-with__caret {
    font-size: 0.7em;
    opacity: 0.6;
    transition: transform 0.2s ease;
}

.email-open-with__toggle[aria-expanded="true"] .email-open-with__caret {
    transform: rotate(180deg);
}

.email-open-with__menu {
    border: 1px solid var(--gray-200, #e2e8f0);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(10, 37, 64, 0.14);
    min-width: 190px;
    padding: 6px;
}

.email-open-with__heading {
    color: var(--gray-500, #64748b);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 6px 10px 4px;
    text-transform: uppercase;
}

.email-open-with__menu .dropdown-item {
    align-items: center;
    border-radius: 7px;
    display: flex;
    font-size: 0.9rem;
    gap: 9px;
    padding: 8px 10px;
}

.email-open-with__menu .dropdown-item:hover {
    background-color: rgba(7, 113, 227, 0.08);
    color: var(--brand-blue);
}

/* ---------------------------------------------------------------------------
   Quick contact cards below the contact form
   --------------------------------------------------------------------------- */

.quick-contacts-below-form {
    padding-top: 16px;
    border-top: 1px solid var(--gray-200, #e2e8f0);
}

.quick-contact-card {
    background: #fff;
    border: 1px solid var(--gray-200, #e2e8f0);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.quick-contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.08);
}

.quick-contact-card.quick-contact--emergency {
    border-color: rgba(220, 53, 69, 0.25);
    background: linear-gradient(135deg, #fff 0%, #fef2f2 100%);
}

.quick-contact__icon {
    align-items: center;
    background-color: rgba(7, 113, 227, 0.09);
    border-radius: 50%;
    color: var(--brand-blue);
    display: inline-flex;
    flex: 0 0 48px;
    font-size: 1.25rem;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.quick-contact-card.quick-contact--emergency .quick-contact__icon {
    background-color: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}

.quick-contact__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.quick-contact__icon--whatsapp {
    background-color: rgba(37, 211, 102, 0.14);
    color: #128c4a;
}

.quick-contact__label {
    color: var(--gray-500, #64748b);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.quick-contact__hint {
    color: var(--gray-500, #64748b);
    font-size: 0.78rem;
    margin-left: 6px;
    white-space: nowrap;
}

.quick-contact__value {
    color: var(--gray-900, #0f172a);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    word-break: break-word;
}

.quick-contact__value a {
    color: inherit;
    text-decoration: none;
}

.quick-contact__value a:hover {
    color: var(--brand-blue);
    text-decoration: underline;
}

.quick-contact__value.text-danger {
    color: #dc3545 !important;
}

/* Responsive */
@media (max-width: 575.98px) {
    .quick-contacts-below-form .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 991.98px) {
    .team-photo {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 575.98px) {
    .team-photo {
        width: 110px;
        height: 110px;
    }

    .team-bio {
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
}
