﻿/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    /* Color Palette: White + Blue/Teal Tones */
    --primary-color: #0d9488; /* Teal */
    --primary-dark: #0f766e;
    --primary-light: #ccfbf1;
    --secondary-color: #1e3a8a; /* Deep Blue */
    
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --text-light: #f3f4f6;
    
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --border-radius: 12px;
    --border-radius-lg: 24px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    z-index: 3000;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--warm-accent));
    box-shadow: 0 0 18px rgba(31, 117, 203, 0.5);
    transition: width 0.12s linear;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

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

a:hover {
    color: var(--primary-dark);
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

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

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transform-origin: center;
}

.section-header {
    margin-bottom: 3rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.rounded-image {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    object-fit: cover;
    width: 100%;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal);
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

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

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

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.logo-highlight {
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-link:not(.btn-contact)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-normal);
}

.nav-link:not(.btn-contact):hover::after {
    width: 100%;
}

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

.btn-contact {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
}

.btn-contact:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--box-shadow);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.2) 100%);
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 1;
    animation: fadeUp 1s ease-out forwards;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-title::after {
    left: 0;
    transform: none;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-light);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all var(--transition-normal);
}

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

.service-title {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.has-detail-popup {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.has-detail-popup:focus-visible {
    outline: 3px solid rgba(31, 117, 203, 0.28);
    outline-offset: 4px;
}

.card-detail-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
    padding: 0;
    padding-top: 1.15rem;
    border: 0;
    background: transparent;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
}

.card-detail-trigger i {
    font-size: 0.8rem;
    transition: transform var(--transition-fast);
}

.has-detail-popup:hover .card-detail-trigger i,
.card-detail-trigger:focus-visible i {
    transform: translateX(4px);
}

.card-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(5, 22, 48, 0.68);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.card-detail-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.card-detail-dialog {
    position: relative;
    width: min(620px, 100%);
    max-height: min(82vh, 720px);
    overflow-y: auto;
    padding: 2.4rem;
    border-radius: var(--border-radius-lg);
    background: #fff;
    box-shadow: 0 30px 80px rgba(5, 22, 48, 0.25);
    transform: translateY(18px) scale(0.98);
    transition: transform 0.25s ease;
}

.card-detail-modal.is-open .card-detail-dialog {
    transform: translateY(0) scale(1);
}

.card-detail-close {
    position: absolute;
    top: 1.15rem;
    right: 1.15rem;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(31, 117, 203, 0.14);
    border-radius: 50%;
    background: #f8fbff;
    color: var(--secondary-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.card-detail-close:hover,
.card-detail-close:focus-visible {
    background: var(--primary-color);
    color: #fff;
    transform: rotate(90deg);
}

.card-detail-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.95rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(31, 117, 203, 0.08);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.card-detail-dialog h3 {
    max-width: calc(100% - 3rem);
    margin-bottom: 0.85rem;
    color: var(--secondary-color);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.12;
}

.card-detail-intro {
    margin-bottom: 1.3rem;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

.card-detail-points {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1.4rem;
}

.card-detail-points li {
    position: relative;
    padding-left: 2rem;
    color: var(--text-main);
    line-height: 1.65;
}

.card-detail-points li::before {
    content: '\f00c';
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    font-family: 'Font Awesome 6 Free';
    font-size: 0.72rem;
    font-weight: 900;
}

.card-detail-note {
    padding: 1rem 1.15rem;
    border-left: 4px solid var(--accent-color);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background: rgba(24, 183, 161, 0.09);
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.6;
}

body.modal-open {
    overflow: hidden;
}

/* ==========================================================================
   Equipment & Mobile Audiometry Section
   ========================================================================== */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.equipment-card {
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background: var(--secondary-color);
    isolation: isolate;
}

.equipment-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease;
}

.equipment-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(7, 28, 60, 0.05) 0%, rgba(7, 28, 60, 0.88) 100%);
}

.equipment-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.5rem;
    color: #fff;
    transform: translateY(0);
    transition: transform var(--transition-normal);
}

.equipment-content h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.55rem;
}

.equipment-content p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}

.equipment-card:hover img {
    transform: scale(1.08);
    filter: saturate(1.08);
}

.equipment-card:hover .equipment-content {
    transform: translateY(-0.45rem);
}

/* ==========================================================================
   Mobile Audiometry Section
   ========================================================================== */
.ma-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ma-text .section-title::after {
    left: 0;
    transform: none;
}

.ma-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.feature-list {
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--text-main);
}

.feature-list i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 2px;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-card h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-main);
}

/* ==========================================================================
   Coverage Area Section
   ========================================================================== */
.coverage-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.coverage-card {
    background-color: white;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    cursor: pointer;
}

.coverage-card:hover,
.coverage-card:focus-visible {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-color: var(--primary-light);
    transform: scale(1.05);
    outline: none;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-action {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.gallery-page-hero {
    position: relative;
    padding: 6.2rem 0 5rem;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(7, 28, 60, 0.94) 0%, rgba(12, 67, 128, 0.88) 54%, rgba(13, 130, 126, 0.82) 100%),
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.1), transparent 18rem),
        radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.08), transparent 16rem),
        var(--coverage-hero-image, none);
    background-size: cover, auto, auto, cover;
    background-position: center, center, center, center;
    overflow: visible;
    border-bottom: 1px solid rgba(31, 117, 203, 0.12);
}

.gallery-page-hero .hero-title {
    color: #ffffff;
    font-size: clamp(2.8rem, 4.6vw, 5.2rem);
    line-height: 1.06;
    white-space: nowrap;
    margin-bottom: 1rem;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.gallery-page-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.18rem;
}

.gallery-page-hero .section-kicker {
    color: #ffffff;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.report-page-hero {
    position: relative;
    padding: 6.2rem 0 0;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(7, 28, 60, 0.94) 0%, rgba(12, 67, 128, 0.88) 54%, rgba(13, 130, 126, 0.82) 100%),
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.1), transparent 18rem),
        radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.08), transparent 16rem),
        var(--coverage-hero-image, none);
    background-size: cover, auto, auto, cover;
    background-position: center, center, center, center;
    overflow: visible;
    border-bottom: 1px solid rgba(31, 117, 203, 0.12);
}

.report-page-hero .container {
    max-width: 1240px;
    position: relative;
    z-index: 1;
}

.report-page-hero .hero-title {
    color: #ffffff;
    margin: 1rem 0;
    font-size: clamp(2.8rem, 4.6vw, 5.2rem);
    line-height: 1.06;
    white-space: nowrap;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.report-page-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.18rem;
}

.report-page-hero .section-kicker {
    color: #ffffff;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.report-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.report-hero-panel {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 920px;
    margin: 2.6rem auto -3.2rem;
}

.report-hero-panel div {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "icon title"
        "icon copy";
    align-items: center;
    column-gap: 0.9rem;
    padding: 1.05rem 1.1rem;
    text-align: left;
    border: 1px solid rgba(31, 117, 203, 0.16);
    border-radius: var(--border-radius);
    background: #ffffff;
    box-shadow: 0 24px 52px rgba(7, 28, 60, 0.18);
    backdrop-filter: blur(10px);
}

.report-hero-panel span {
    grid-area: icon;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.report-hero-panel strong {
    grid-area: title;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.2;
}

.report-hero-panel small {
    grid-area: copy;
    color: var(--text-muted);
    font-weight: 600;
}

.report-content-section {
    position: relative;
    z-index: 0;
    padding-top: 7rem;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.report-article {
    max-width: 1080px;
    margin: 0 auto;
}

.report-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 2rem;
    align-items: stretch;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(31, 117, 203, 0.12);
    border-radius: var(--border-radius);
    background: #ffffff;
    box-shadow: var(--box-shadow);
}

.report-section-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    color: var(--primary-color);
    background: rgba(31, 117, 203, 0.1);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.report-includes {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background: linear-gradient(180deg, #f6fbff 0%, #eef7ff 100%);
    border: 1px solid rgba(31, 117, 203, 0.12);
}

.report-includes h2 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.report-includes ul {
    display: grid;
    gap: 0.85rem;
}

.report-includes li {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    line-height: 1.45;
}

.report-includes i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-color);
    background: #ffffff;
}

.report-intro p:last-child,
.report-info-card p:last-child {
    margin-bottom: 0;
}

.report-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.report-info-card {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border: 1px solid rgba(31, 117, 203, 0.12);
    border-radius: var(--border-radius);
    background: #ffffff;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.report-info-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), #f6b44b);
}

.report-info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(31, 117, 203, 0.25);
    box-shadow: var(--box-shadow-hover);
}

.report-info-card.wide {
    grid-column: 1 / -1;
}

.report-info-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 14px 28px rgba(31, 117, 203, 0.2);
}

.report-info-card h2 {
    margin-bottom: 0.9rem;
    color: var(--secondary-color);
    font-size: 1.35rem;
    line-height: 1.25;
}

.report-info-card p,
.report-intro p {
    color: var(--text-muted);
    line-height: 1.8;
}

.report-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.report-list li {
    position: relative;
    padding-left: 1.75rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.report-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 0 0 5px rgba(31, 117, 203, 0.08);
}

.report-list strong {
    color: var(--secondary-color);
}

.report-action {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

.all-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.all-gallery-grid .gallery-item {
    aspect-ratio: 4 / 3;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--box-shadow);
    group: hover;
    cursor: zoom-in;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::before {
    display: none;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2rem);
    background: rgba(3, 15, 34, 0.88);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
    overflow: hidden;
}

.gallery-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gallery-lightbox img {
    max-width: min(1100px, 94vw);
    max-height: min(82vh, 760px);
    max-height: min(82dvh, 760px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
    transform: scale(0.96);
    transition: transform var(--transition-normal);
}

.gallery-lightbox.is-open img {
    transform: scale(1);
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    position: fixed;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--secondary-color);
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
    transition: transform var(--transition-fast), background var(--transition-fast);
}

.gallery-lightbox-close {
    top: 1.25rem;
    right: 1.25rem;
}

.gallery-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
}

.gallery-lightbox-nav:hover,
.gallery-lightbox-close:hover {
    background: var(--primary-color);
    color: #fff;
}

.gallery-lightbox-nav:hover {
    transform: translateY(-50%) scale(1.04);
}

.gallery-lightbox-close:hover {
    transform: scale(1.04);
}

.gallery-lightbox-prev {
    left: clamp(0.75rem, 3vw, 2rem);
}

.gallery-lightbox-next {
    right: clamp(0.75rem, 3vw, 2rem);
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .gallery-lightbox {
        padding: 1rem;
    }

    .gallery-lightbox img {
        max-width: 92vw;
        max-height: 74vh;
        max-height: 74dvh;
    }

    .gallery-lightbox-close,
    .gallery-lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .gallery-lightbox-close {
        top: 0.75rem;
        right: 0.75rem;
    }

    .gallery-lightbox-nav {
        top: auto;
        bottom: 1rem;
        transform: none;
    }

    .gallery-lightbox-nav:hover {
        transform: scale(1.04);
    }

    .gallery-lightbox-prev {
        left: calc(50% - 54px);
    }

    .gallery-lightbox-next {
        right: calc(50% - 54px);
    }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.contact-info {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 2rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-card i {
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-top: 5px;
}

.info-card h3 {
    color: white;
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
}

.info-card p {
    color: rgba(255,255,255,0.8);
}

.contact-cta {
    margin-top: 3rem;
}

.contact-form-wrapper {
    padding: 3rem 3rem 3rem 1rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group:has(#message) {
    grid-column: span 2;
}

.contact-form label {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
    background-color: var(--bg-light);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 3px var(--primary-light);
}

.btn-submit {
    grid-column: span 2;
    margin-top: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    color: #94a3b8;
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 1.5rem 0;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* ==========================================================================
   Floating WhatsApp CTA
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1500;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 58px;
    padding: 0.85rem 1.15rem;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    box-shadow: 0 18px 38px rgba(37, 211, 102, 0.35);
    animation: whatsappPulse 2.4s ease-in-out infinite;
}

.floating-whatsapp:hover {
    color: #fff;
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 22px 44px rgba(18, 140, 126, 0.34);
}

.floating-whatsapp i {
    font-size: 1.65rem;
}

.floating-whatsapp::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: inherit;
    border: 1px solid rgba(37, 211, 102, 0.45);
    opacity: 0;
    animation: whatsappRing 2.4s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes whatsappRing {
    0% {
        opacity: 0.65;
        transform: scale(0.92);
    }
    70%, 100% {
        opacity: 0;
        transform: scale(1.18);
    }
}

/* ==========================================================================
   Language Switcher
   ========================================================================== */
.lang-switcher {
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 0.35rem;
}
.lang-switcher a {
    color: var(--text-muted);
}
.lang-switcher a.active {
    color: var(--primary-color);
}
.lang-switcher a:hover {
    color: var(--primary-dark);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .about-container,
    .ma-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

    .report-info-grid {
        grid-template-columns: 1fr;
    }

    .report-info-card.wide {
        grid-column: auto;
    }

    .report-hero-panel,
    .report-intro {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }

    .mobile-menu-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        transition: left 0.3s ease;
        padding: 2rem;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        overflow-y: auto;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        margin-top: 0.65rem;
        box-shadow: none;
        border-radius: var(--border-radius);
        background: var(--bg-light);
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown-menu a {
        font-size: 0.9rem;
        padding: 0.72rem 1rem;
    }
    
    .nav-link {
        font-size: 1.2rem;
        display: block;
        width: 100%;
    }
    
    .btn-contact {
        text-align: center;
        margin-top: 1rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.85) 60%, rgba(255,255,255,0.6) 100%);
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group:has(#message) {
        grid-column: 1;
    }
    
    .btn-submit {
        grid-column: 1;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .contact-info {
        padding: 2rem 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   Compliance & Industries Additions
   ========================================================================== */
.compliance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.compliance-content .section-title::after {
    left: 0;
    transform: none;
}
.compliance-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.compliance-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.compliance-badge {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--box-shadow);
}
.compliance-badge h4 {
    margin-bottom: 0.5rem;
}
.compliance-badge p {
    margin: 0;
    font-size: 0.95rem;
}
@media (max-width: 992px) {
    .compliance-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.industry-card {
    background: white;
    border: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all var(--transition-normal);
}
.industry-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--box-shadow-hover);
    transform: translateY(-5px);
}
.industry-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transition: color var(--transition-normal);
}
.industry-card:hover .industry-icon {
    color: var(--primary-color);
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background-color: var(--primary-light);
}
.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 2rem;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: 0 0 0 4px var(--bg-light);
    z-index: 2;
}
.timeline-content {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--secondary-color);
}
.timeline-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    color: var(--secondary-color);
}
.timeline-content p {
    color: var(--text-muted);
    margin: 0;
}
@media (max-width: 480px) {
    .timeline::before {
        left: 15px;
    }
    .timeline-item {
        padding-left: 45px;
    }
    .timeline-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   Quotation Form Section
   ========================================================================== */
.quotation-container {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-hover);
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
    border-top: 6px solid var(--primary-color);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group.full-width {
    grid-column: 1 / -1;
}

.form-message {
    display: none;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    line-height: 1.45;
}

.form-message.show {
    display: flex;
}

.form-message::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-top: 0.1rem;
}

.form-message.success {
    color: #065f46;
    background: #d1fae5;
    border: 1px solid #a7f3d0;
}

.form-message.success::before {
    content: "\f058";
}

.form-message.error {
    color: #991b1b;
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.form-message.error::before {
    content: "\f06a";
}

.form-group label {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background-color: var(--bg-light);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 3px var(--primary-light);
}
.form-radio-group {
    display: flex;
    gap: 1.5rem;
    padding: 0.5rem 0;
}
.form-radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
    color: var(--text-main);
}

.contact-summary {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.contact-summary-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr 1.25fr;
    gap: 1.1rem;
}

.contact-summary-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
    padding: 1.25rem 1.2rem;
    border-radius: var(--border-radius);
    background: linear-gradient(180deg, #ffffff, var(--bg-light));
    border: 1px solid rgba(31, 117, 203, 0.12);
    box-shadow: 0 10px 24px rgba(7, 28, 60, 0.06);
    color: var(--secondary-color);
    text-align: left;
}

.contact-summary-item:hover {
    color: var(--secondary-color);
    border-color: rgba(31, 117, 203, 0.22);
    box-shadow: 0 18px 36px rgba(7, 28, 60, 0.1);
    transform: translateY(-3px);
}

.contact-summary-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 10px 20px rgba(31, 117, 203, 0.2);
}

.contact-summary-item small,
.contact-summary-item strong {
    display: block;
}

.contact-summary-item small {
    margin-bottom: 0.16rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-summary-item strong {
    color: var(--secondary-color);
    font-size: clamp(0.86rem, 0.92vw, 0.95rem);
    line-height: 1.35;
    overflow-wrap: normal;
    word-break: keep-all;
}

.contact-summary-item[href*="mail.google.com"] strong {
    letter-spacing: -0.01em;
}

.contact-summary-cta {
    margin: 1.5rem auto 0;
    width: fit-content;
}
@media (max-width: 768px) {
    .quotation-container {
        padding: 2rem 1.5rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: 1;
    }

    .contact-summary-grid {
        grid-template-columns: 1fr;
    }

    .contact-summary-cta {
        width: 100%;
    }
}

/* ==========================================================================
   Header Search Button
   ========================================================================== */
.search-trigger-btn, .mobile-search-toggle {
    background: none;
    border: none;
    font-size: 1.15rem;
    color: var(--secondary-color);
    cursor: pointer;
    transition: color var(--transition-fast), transform var(--transition-fast);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-trigger-btn:hover, .mobile-search-toggle:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.mobile-search-toggle {
    margin-right: 1rem;
    font-size: 1.35rem;
}

@media (min-width: 993px) {
    .mobile-search-toggle {
        display: none;
    }
}

/* ==========================================================================
   Search Overlay & Modal
   ========================================================================== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6); /* Slate blue overlay */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 6rem 1.5rem 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    background: rgba(255, 255, 255, 0.98);
    width: 100%;
    max-width: 650px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 12rem);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.search-overlay.active .search-container {
    transform: translateY(0);
}

.search-header-bar {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    gap: 1rem;
}

.search-input-icon {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.search-input {
    flex: 1;
    border: none;
    background: none;
    font-size: 1.15rem;
    font-family: var(--font-body);
    color: var(--text-main);
    outline: none;
}

.search-input::placeholder {
    color: #94a3b8;
}

.search-close-btn {
    background: var(--bg-light);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.search-close-btn:hover {
    background-color: #ef4444;
    color: white;
    transform: scale(1.05);
}

/* Results Area */
.search-results {
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius);
    background-color: transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    text-align: left;
    width: 100%;
}

.search-result-item:hover,
.search-result-item.selected {
    background-color: var(--primary-light);
    border-color: rgba(13, 148, 136, 0.2);
    outline: none;
}

.search-result-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--bg-light);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.search-result-item:hover .search-result-icon,
.search-result-item.selected .search-result-icon {
    background-color: var(--primary-color);
    color: white;
}

.search-result-info {
    flex: 1;
}

.search-result-title {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
    font-family: var(--font-heading);
}

.search-result-category {
    font-size: 0.75rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.search-result-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

/* Empty State */
.search-empty-state {
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.search-empty-state i {
    font-size: 2.5rem;
    color: #cbd5e1;
}

.search-empty-state p {
    font-size: 0.95rem;
}

/* Scroll highlighting active glow */
.search-highlight {
    animation: searchPulse 2.5s ease-out forwards;
}

@keyframes searchPulse {
    0% {
        box-shadow: 0 0 0 0px rgba(13, 148, 136, 0.8), var(--box-shadow);
        transform: scale(1);
    }
    15% {
        box-shadow: 0 0 0 15px rgba(13, 148, 136, 0.4), var(--box-shadow-hover);
        transform: scale(1.02);
        border-color: var(--primary-color);
    }
    100% {
        box-shadow: 0 0 0 0px rgba(13, 148, 136, 0), var(--box-shadow);
        transform: scale(1);
    }
}

/* ==========================================================================
   Medilix-inspired Interface Refresh
   ========================================================================== */
:root {
    --primary-color: #1f75cb;
    --primary-dark: #0f4f9f;
    --primary-light: #e8f3ff;
    --secondary-color: #071c3c;
    --accent-color: #18b7a1;
    --accent-soft: #dcfaf5;
    --warm-accent: #f5a524;
    --bg-light: #f5f9ff;
    --border-color: #dfeaf6;
    --border-radius: 8px;
    --border-radius-lg: 20px;
    --box-shadow: 0 10px 30px rgba(7, 28, 60, 0.08);
    --box-shadow-hover: 0 22px 45px rgba(7, 28, 60, 0.14);
}

body {
    background:
        radial-gradient(circle at top left, rgba(31, 117, 203, 0.08), transparent 32rem),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.container {
    max-width: 1180px;
}

.topbar {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
    color: #fff;
    font-size: 0.92rem;
}

.topbar-container {
    min-height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.topbar-info,
.topbar-social {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.topbar a,
.topbar span {
    color: #fff;
}

.topbar i {
    color: rgba(255, 255, 255, 0.9);
    margin-right: 0.45rem;
}

.topbar a {
    display: inline-flex;
    align-items: center;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.topbar a:hover {
    color: #fff;
    opacity: 0.82;
    transform: translateY(-1px);
}

.topbar-brand {
    gap: 0.12rem;
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.topbar-brand .brand-audiometry,
.topbar-brand .brand-malaysia {
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

.topbar-brand .brand-audiometry {
    background-image: linear-gradient(135deg, #ffffff 0%, #cfe8ff 100%);
}

.topbar-brand .brand-malaysia {
    background-image: linear-gradient(135deg, #7ff4df 0%, #f5c45e 100%);
}

.header {
    background: linear-gradient(180deg, rgba(232, 243, 255, 0.92), rgba(232, 243, 255, 0));
    box-shadow: none;
    padding-bottom: 14px;
}

.header-container {
    justify-content: flex-start;
    height: 88px;
    margin-top: 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(31, 117, 203, 0.16);
    border-radius: 26px;
    box-shadow: 0 22px 60px rgba(7, 28, 60, 0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding-left: 2rem;
    padding-right: 2.45rem;
    gap: 1.4rem;
    transition: box-shadow 0.28s ease, border-radius 0.28s ease, background 0.28s ease;
    will-change: box-shadow;
}

.header.scrolled .header-container {
    height: 88px;
    transform: none;
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(7, 28, 60, 0.14);
}

.logo-text {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.42rem;
    white-space: nowrap;
}

.logo-text::before {
    content: '+';
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 12px 12px 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    font-size: 1.55rem;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(31, 117, 203, 0.22);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.logo-text {
    padding: 0.35rem 0;
}

.logo:hover .logo-text::before {
    transform: rotate(-4deg) scale(1.04);
    box-shadow: 0 16px 30px rgba(31, 117, 203, 0.28);
}

.nav-list {
    gap: 0.72rem;
    flex-wrap: nowrap;
    justify-content: flex-end;
    width: 100%;
    padding-left: 1.4rem;
}

.nav-list > li:first-child {
    margin-left: clamp(2.6rem, 3.2vw, 4rem);
}

.nav-dropdown {
    position: relative;
}

@media (min-width: 769px) {
    .nav-dropdown {
        padding-bottom: 0.8rem;
        margin-bottom: -0.8rem;
    }
}

.nav-dropdown .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-dropdown .nav-link i {
    font-size: 0.68rem;
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-link i,
.nav-dropdown:focus-within .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% - 0.8rem);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: max-content;
    min-width: 430px;
    background: #fff;
    border: 1px solid rgba(7, 28, 60, 0.1);
    border-radius: 4px;
    box-shadow: 0 26px 60px rgba(7, 28, 60, 0.16);
    padding: 0.45rem 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
    z-index: 5000;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -0.8rem;
    left: 0;
    right: 0;
    height: 0.8rem;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.82rem 1.45rem;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    border-left: 3px solid transparent;
    transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), padding var(--transition-fast);
}

.dropdown-menu a:hover {
    color: var(--primary-color);
    background: var(--primary-light);
    border-left-color: var(--primary-color);
    padding-left: 1.75rem;
}

.coverage-dropdown {
    min-width: 300px;
    max-height: min(72vh, 560px);
    overflow-y: auto;
}

.coverage-dropdown a {
    font-size: 0.9rem;
    padding-top: 0.68rem;
    padding-bottom: 0.68rem;
}

.nav-link {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 999px;
    padding: 0.62rem 0.7rem;
    white-space: nowrap;
    transition: color var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover {
    transform: translateY(-1px);
}

.nav-link:not(.btn-contact):hover,
.nav-link:not(.btn-contact).active {
    color: var(--primary-color);
    background: var(--primary-light);
}

.btn-contact,
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 999px;
    box-shadow: 0 14px 26px rgba(31, 117, 203, 0.22);
}

.btn-contact {
    padding: 0.75rem 1.45rem;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-contact:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), #128c7e);
}

.btn-secondary {
    border-radius: 999px;
    border-color: rgba(7, 28, 60, 0.18);
    box-shadow: 0 12px 26px rgba(7, 28, 60, 0.08);
}

.search-trigger-btn {
    width: 54px;
    height: 54px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 24px rgba(7, 28, 60, 0.08);
}

.search-trigger-btn:hover {
    background: var(--primary-light);
    border-color: rgba(31, 117, 203, 0.2);
}

.logo,
.search-item,
.lang-switcher {
    flex-shrink: 0;
}

.logo {
    margin-right: 0;
}

.logo-img {
    display: block;
    width: 245px;
    height: 68px;
    object-fit: cover;
    object-position: center 55%;
    transform: translateY(9px);
}

.nav {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 1rem;
}

@media (max-width: 1180px) and (min-width: 993px) {
    .header-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .logo-text {
        font-size: 1.22rem;
        gap: 0.55rem;
    }

    .logo {
        margin-right: 0;
    }

    .logo-img {
        width: 190px;
        height: 54px;
        transform: translateY(7px);
    }

    .logo-text::before {
        width: 38px;
        height: 38px;
        font-size: 1.25rem;
    }

    .nav-list {
        gap: 0.65rem;
    }

    .nav {
        margin-left: auto;
    }

    .nav-link {
        font-size: 0.82rem;
    }

    .btn-contact {
        padding: 0.45rem 0.85rem;
    }

    .search-trigger-btn {
        width: 44px;
        height: 44px;
    }
}

.hero {
    min-height: 620px;
    margin-top: -92px;
    padding-top: 150px;
    align-items: center;
}

.hero::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -6rem;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    border: 5rem solid rgba(24, 183, 161, 0.12);
    transform: translateX(42%);
    z-index: 0;
}

.hero-bg img {
    filter: saturate(0.85);
    transform: scale(1.04);
    transition: none;
    will-change: auto;
    backface-visibility: hidden;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(7, 28, 60, 0.88) 0%, rgba(7, 28, 60, 0.74) 48%, rgba(7, 28, 60, 0.35) 100%),
        linear-gradient(180deg, rgba(31, 117, 203, 0.2), rgba(7, 28, 60, 0.3));
}

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

.hero-title {
    color: #fff;
    font-size: clamp(2.8rem, 5.2vw, 4.2rem);
    letter-spacing: 0;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.22rem;
}

.hero-buttons {
    flex-wrap: wrap;
}

html[lang="ms"] .logo-img {
    width: 245px;
    height: 68px;
}

html[lang="ms"] .nav {
    margin-left: auto;
}

html[lang="ms"] .nav-list {
    gap: 0.86rem;
    padding-left: 1.25rem;
}

html[lang="ms"] .nav-list > li:first-child {
    margin-left: 0.4rem;
}

html[lang="ms"] .nav-link {
    padding-left: 0.36rem;
    padding-right: 0.36rem;
    font-size: 0.8rem;
}

html[lang="ms"] .btn-contact {
    padding-left: 0.86rem;
    padding-right: 0.86rem;
}

html[lang="ms"] .hero-buttons {
    flex-wrap: nowrap;
    max-width: 920px;
}

html[lang="ms"] .hero-buttons .btn {
    white-space: nowrap;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    font-size: 0.96rem;
}

@media (max-width: 1180px) and (min-width: 993px) {
    html[lang="ms"] .logo-img {
        width: 174px;
        height: 50px;
    }

    html[lang="ms"] .nav {
        margin-left: auto;
    }

    html[lang="ms"] .nav-list {
        gap: 0.34rem;
        padding-left: 0.45rem;
    }

    html[lang="ms"] .nav-list > li:first-child {
        margin-left: 0.85rem;
    }

    html[lang="ms"] .nav-link {
        font-size: 0.77rem;
        padding-left: 0.34rem;
        padding-right: 0.34rem;
    }

    html[lang="ms"] .btn-contact {
        padding-left: 0.72rem;
        padding-right: 0.72rem;
    }

    html[lang="ms"] .search-trigger-btn {
        width: 42px;
        height: 42px;
    }
}

.counter-section {
    position: relative;
    z-index: 3;
    margin-top: -1.25rem;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.counter-card {
    min-height: 155px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 1.1rem;
    background: #fff;
    border: 1px solid rgba(31, 117, 203, 0.12);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 24px 50px rgba(7, 28, 60, 0.14);
    overflow: hidden;
}

.counter-card::after {
    content: '';
    grid-column: 1 / -1;
    height: 4px;
    width: 100%;
    align-self: end;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--warm-accent));
    border-radius: 999px;
    opacity: 0.8;
}

.counter-icon {
    grid-row: span 2;
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    font-size: 1.55rem;
    box-shadow: 0 14px 26px rgba(31, 117, 203, 0.2);
}

.counter-number {
    display: block;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 4vw, 3rem);
    line-height: 1;
}

.counter-card span {
    color: var(--text-muted);
    font-weight: 700;
}

.section {
    padding: 6rem 0;
    scroll-margin-top: 130px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 0.9rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.35rem);
}

.section-title::after {
    width: 72px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--warm-accent));
}

.about-container,
.compliance-grid {
    gap: 5rem;
}

.rounded-image,
.about-image img {
    min-height: 430px;
    border-radius: 38px 12px 38px 12px;
    border: 10px solid #fff;
}

.about-text,
.compliance-content,
.faq-intro {
    position: relative;
}

.about-text::before,
.compliance-content::before,
.faq-intro::before {
    content: '';
    position: absolute;
    top: -1.4rem;
    left: -1.4rem;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent-soft);
    z-index: -1;
}

.services-grid,
.features-grid,
.industry-grid {
    gap: 1.35rem;
}

.service-card,
.feature-card,
.industry-card,
.compliance-badge,
.timeline-content,
.quotation-container,
.gallery-item {
    border-radius: var(--border-radius);
    border: 1px solid rgba(31, 117, 203, 0.09);
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal);
}

.interactive-card {
    position: relative;
    isolation: isolate;
    transform-style: preserve-3d;
    will-change: transform;
}

.interactive-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(circle 220px at var(--mx, 50%) var(--my, 50%), rgba(31, 117, 203, 0.16), transparent 62%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.interactive-card:hover::before {
    opacity: 1;
}

.compliance-badge:hover,
.timeline-item:hover .timeline-content {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-hover);
    border-color: rgba(31, 117, 203, 0.18);
}

.service-card {
    padding: 2rem 1.35rem;
    text-align: left;
    overflow: hidden;
}

.service-icon {
    margin: 0 0 1.4rem;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-soft));
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.feature-card .feature-icon,
.industry-icon {
    color: var(--primary-color);
}

.feature-card,
.industry-card {
    text-align: left;
}

.coverage-card {
    border-radius: 999px;
    background: #fff;
    color: var(--secondary-color);
    border-color: rgba(31, 117, 203, 0.12);
}

.coverage-card span {
    position: relative;
    z-index: 1;
}

.timeline {
    max-width: 980px;
}

.timeline::before {
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.timeline-number {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.timeline-content {
    border-left-color: var(--accent-color);
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

.faq-intro .section-title {
    display: block;
}

.faq-intro .section-title::after {
    left: 0;
    transform: none;
}

.faq-intro-centered {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.faq-intro-centered::before {
    left: 50%;
    transform: translateX(-50%);
}

.faq-intro-centered .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.faq-intro-centered .section-desc {
    margin: 1.6rem auto 0;
}

.faq-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
    align-items: start;
}

.faq-group {
    display: grid;
    gap: 1rem;
}

.faq-group h3 {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(31, 117, 203, 0.08);
    color: var(--primary-dark);
    font-size: 1rem;
}

.faq-cta {
    display: flex;
    justify-content: center;
    margin-top: 0.35rem;
}

.faq-cta .btn {
    min-width: 210px;
    justify-content: center;
}

.faq-intro:not(.faq-intro-centered) .section-title::after {
    left: 0;
    transform: none;
}

.faq-intro .section-desc {
    margin: 1.6rem 0 2rem;
}

.faq-intro-centered .section-desc {
    margin: 1.6rem auto 0;
}

.faq-list {
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: #fff;
    border: 1px solid rgba(31, 117, 203, 0.1);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal);
}

.faq-item:hover {
    transform: translateX(4px);
    border-color: rgba(31, 117, 203, 0.22);
    box-shadow: var(--box-shadow-hover);
}

.faq-item summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 1.35rem 4rem 1.35rem 1.5rem;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.35rem;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-color);
    background: var(--primary-light);
    font-size: 1.2rem;
}

.faq-item[open] summary::after {
    content: '-';
    color: #fff;
    background: var(--primary-color);
}

.faq-item p {
    padding: 0 1.5rem 1.4rem;
    color: var(--text-muted);
    animation: faqSlide 0.28s ease;
}

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

.medilix-reveal {
    opacity: 0;
    transform: translateY(42px);
    transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1), transform 0.95s cubic-bezier(0.22, 1, 0.36, 1), box-shadow var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.medilix-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.title-animation {
    overflow: hidden;
}

.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(110%) rotate(3deg);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--word-delay, 0ms);
}

.title-animation.is-visible .title-word {
    opacity: 1;
    transform: translateY(0) rotate(0);
}

.section-header.medilix-reveal .section-title::after,
.faq-intro.medilix-reveal .section-title::after,
.about-text.medilix-reveal .section-title::after,
.compliance-content.medilix-reveal .section-title::after {
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.faq-intro.medilix-reveal .section-title::after,
.about-text.medilix-reveal .section-title::after,
.compliance-content.medilix-reveal .section-title::after {
    transform: scaleX(0);
}

.section-header.medilix-reveal.is-visible .section-title::after {
    transform: translateX(-50%) scaleX(1);
}

.faq-intro.medilix-reveal.is-visible .section-title::after,
.about-text.medilix-reveal.is-visible .section-title::after,
.compliance-content.medilix-reveal.is-visible .section-title::after {
    transform: scaleX(1);
}

.timeline-item:nth-child(odd).medilix-reveal {
    transform: translateX(-42px);
}

.timeline-item:nth-child(even).medilix-reveal {
    transform: translateX(42px);
}

.timeline-item.medilix-reveal.is-visible {
    transform: translateX(0);
}

.service-card.medilix-reveal:hover,
.feature-card.medilix-reveal:hover,
.industry-card.medilix-reveal:hover,
.gallery-item.medilix-reveal:hover,
.counter-card.medilix-reveal:hover {
    transform: translateY(-8px);
}

.image-panel-reveal {
    position: relative;
    overflow: hidden;
}

.image-panel-reveal::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: translateX(0);
    transition: transform 1s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    pointer-events: none;
}

.image-panel-reveal.is-visible::before {
    transform: translateX(105%);
}

.btn,
.search-trigger-btn,
.mobile-search-toggle,
.floating-whatsapp,
.counter-card,
.faq-item summary {
    -webkit-tap-highlight-color: transparent;
}

.btn:active,
.search-trigger-btn:active,
.mobile-search-toggle:active,
.floating-whatsapp:active {
    transform: translateY(0) scale(0.98);
}

.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 1.35rem;
    height: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: inherit;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 800;
    line-height: 1;
    transform: translateY(-50%) scale(0);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background var(--transition-fast);
    pointer-events: none;
}

.btn:hover::after {
    transform: translateY(-50%) scale(1);
}

.btn:hover {
    padding-right: 3rem;
}

.counter-card:hover .counter-icon,
.service-card:hover .service-icon,
.feature-card:hover .feature-icon,
.industry-card:hover .industry-icon {
    animation: iconPop 0.45s ease;
}

@keyframes iconPop {
    0% {
        transform: scale(1);
    }
    45% {
        transform: scale(1.12) rotate(-3deg);
    }
    100% {
        transform: scale(1);
    }
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(31, 117, 203, 0.12), rgba(24, 183, 161, 0.18));
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

.quotation-container {
    border-top: 0;
    position: relative;
    overflow: hidden;
}

.quotation-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--warm-accent));
}

.form-group input,
.form-group select,
.form-group textarea {
    border-radius: 8px;
}

.footer {
    background: #071c3c;
}

@media (max-width: 1180px) {
    .header-container {
        border-radius: 0;
    }
}

@media (max-width: 992px) {
    .nav {
        margin-left: 0;
    }

    .logo {
        margin-right: 0;
    }

    .topbar {
        display: none;
    }

    .header {
        background: #fff;
    }

    .header-container {
        height: 76px;
        box-shadow: 0 8px 24px rgba(7, 28, 60, 0.1);
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .header.scrolled .header-container {
        height: 70px;
        transform: none;
    }

    .hero {
        margin-top: 0;
        min-height: auto;
        padding-top: 6rem;
    }

    .faq-layout {
        grid-template-columns: 1fr;
    }

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

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

    .medilix-reveal,
    .title-word {
        opacity: 1;
        transform: none;
    }

    .hero-bg img {
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .nav {
        top: 76px;
        height: calc(100vh - 76px);
    }

    .hero {
        padding-bottom: 4rem;
    }

    .counter-section {
        margin-top: 0;
        padding: 1rem 0 0;
        background: var(--bg-light);
    }

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

    .rounded-image,
    .about-image img {
        min-height: 280px;
    }

    .equipment-card {
        aspect-ratio: 1 / 1;
    }

    .service-card,
    .feature-card,
    .industry-card {
        text-align: center;
    }

    .service-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .floating-whatsapp {
        right: 1rem;
        bottom: 1rem;
        min-height: 54px;
        width: 54px;
        padding: 0;
        justify-content: center;
    }

    .floating-whatsapp span {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.18rem;
    }

    .logo-text::before {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 2.45rem;
    }

    .faq-item summary {
        padding-right: 3.35rem;
    }

    .all-gallery-grid {
        grid-template-columns: 1fr;
    }

    .report-page-hero {
        padding: 5.5rem 0 0;
    }

    .report-page-hero .hero-title {
        white-space: normal;
        font-size: clamp(2.4rem, 10vw, 3.4rem);
    }

    .gallery-page-hero {
        padding: 5.5rem 0 3.5rem;
    }

    .gallery-page-hero .hero-title {
        white-space: normal;
        font-size: clamp(2.4rem, 10vw, 3.4rem);
    }

    .report-content-section {
        padding-top: 4rem;
    }

    .report-hero-panel {
        margin: 2rem auto -2rem;
    }

    .report-intro,
    .report-info-card {
        padding: 1.5rem;
    }

    .report-hero-panel div {
        padding: 1rem;
    }

    .report-action .btn {
        width: 100%;
    }

    .report-hero-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   Mobile Interface Polish
   ========================================================================== */
@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
    }

    .header {
        padding-bottom: 0;
        background: rgba(255, 255, 255, 0.96);
    }

    .header-container {
        width: 100%;
        height: 74px;
        margin-top: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        padding: 0 1.25rem;
        box-shadow: 0 10px 26px rgba(7, 28, 60, 0.1);
    }

    .header.scrolled .header-container {
        height: 68px;
    }

    .logo-text {
        gap: 0.65rem;
        font-size: clamp(1.08rem, 5vw, 1.28rem);
    }

    .logo-text::before {
        width: 40px;
        height: 40px;
        border-radius: 11px 11px 11px 4px;
    }

    .mobile-menu-toggle {
        width: 44px;
        height: 44px;
        display: inline-grid;
        place-items: center;
        border-radius: 12px;
        color: var(--secondary-color);
        background: rgba(31, 117, 203, 0.08);
    }

    .search-trigger-btn {
        width: 44px;
        height: 44px;
        box-shadow: none;
    }

    .nav {
        top: 74px;
        height: calc(100svh - 74px);
        padding: 1rem;
        background: rgba(248, 251, 255, 0.98);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        gap: 0.75rem;
        padding-left: 0;
    }

    .nav-list > li:first-child {
        margin-left: 0;
    }

    .nav-link {
        min-height: 46px;
        padding: 0.85rem 1rem;
        border-radius: 14px;
        background: #fff;
        border: 1px solid rgba(31, 117, 203, 0.1);
        font-size: 1rem;
    }

    .nav-link:not(.btn-contact):hover,
    .nav-link:not(.btn-contact).active {
        background: var(--primary-light);
    }

    .dropdown-menu {
        max-height: 260px;
        overflow-y: auto;
        margin-top: 0.5rem;
        padding: 0.35rem;
        border: 1px solid rgba(31, 117, 203, 0.08);
    }

    .dropdown-menu a {
        border-radius: 10px;
    }

    .search-item,
    .lang-switcher {
        width: 100%;
    }

    .lang-switcher {
        justify-content: center;
        padding: 0.85rem 1rem;
        border-radius: 14px;
        background: #fff;
        border: 1px solid rgba(31, 117, 203, 0.1);
    }

    .hero {
        min-height: auto;
        padding: 5.4rem 0 2.25rem;
    }

    .hero-bg img {
        object-position: 58% center;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(7, 28, 60, 0.42) 0%, rgba(7, 28, 60, 0.76) 58%, rgba(7, 28, 60, 0.92) 100%),
            linear-gradient(90deg, rgba(7, 28, 60, 0.8), rgba(24, 183, 161, 0.28));
    }

    .hero-content {
        max-width: none;
        padding: 0 1.45rem;
    }

    .hero-title {
        max-width: 13ch;
        margin-bottom: 1rem;
        color: #fff;
        font-size: clamp(2.45rem, 11.5vw, 3.15rem);
        line-height: 1.08;
    }

    .hero-subtitle {
        max-width: 28ch;
        margin-bottom: 1.5rem;
        color: rgba(255, 255, 255, 0.86);
        font-size: clamp(1rem, 5.3vw, 1.22rem);
        line-height: 1.48;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
        max-width: 330px;
    }

    .hero-buttons .btn {
        width: 100%;
        min-height: 54px;
        justify-content: center;
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
    }

    .counter-section {
        padding: 1rem 0 0;
    }

    .counter-grid {
        gap: 0.85rem;
    }

    .counter-card {
        min-height: 118px;
        grid-template-columns: 64px 1fr;
        padding: 1.1rem;
    }

    .counter-icon {
        width: 58px;
        height: 58px;
        border-radius: 16px;
        font-size: 1.35rem;
    }

    .counter-number {
        font-size: clamp(2.05rem, 10vw, 2.65rem);
    }

    .section {
        padding: 3.25rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: clamp(2rem, 9vw, 2.55rem);
        line-height: 1.12;
    }

    .section-desc {
        font-size: 1rem;
        line-height: 1.6;
    }

    .service-card,
    .feature-card,
    .industry-card,
    .report-info-card,
    .quotation-container {
        border-radius: 16px;
    }

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

    .floating-whatsapp {
        right: 0.9rem;
        top: auto;
        bottom: 1rem;
        width: 52px;
        min-height: 52px;
        padding: 0;
        justify-content: center;
        box-shadow: 0 14px 34px rgba(37, 211, 102, 0.34);
    }

    .floating-whatsapp span {
        display: none;
    }
}

@media (max-width: 420px) {
    .header-container {
        padding: 0 1rem;
    }

    .hero {
        padding-top: 5rem;
    }

    .hero-content {
        padding: 0 1.25rem;
    }

    .hero-title {
        font-size: clamp(2.35rem, 12vw, 2.85rem);
    }

    .hero-buttons {
        max-width: none;
    }
}

/* ==========================================================================
   Mobile Navigation Cleanup
   ========================================================================== */
@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }

    .header {
        z-index: 10000;
    }

    .header-container {
        position: relative;
        z-index: 10002;
        gap: 0.7rem;
        overflow: visible;
    }

    .logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .logo-img {
        width: min(215px, 56vw);
        height: 52px;
        object-position: center 55%;
        transform: translateY(5px);
    }

    .logo-text {
        white-space: nowrap;
    }

    .mobile-search-toggle,
    .mobile-menu-toggle {
        flex: 0 0 44px;
    }

    .nav {
        position: fixed;
        inset: 74px 0 0 0;
        width: 100%;
        height: calc(100svh - 74px);
        margin: 0;
        padding: 1rem;
        background: rgba(246, 250, 255, 0.98);
        border-top: 1px solid rgba(31, 117, 203, 0.12);
        box-shadow: none;
        transform: translateX(100%);
        transition: transform 0.28s ease;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        pointer-events: none;
        left: auto;
    }

    .nav.active {
        transform: translateX(0);
        pointer-events: auto;
        left: auto;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        gap: 0.65rem;
        padding: 0;
    }

    .nav-list > li {
        width: 100%;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 50px;
        padding: 0.85rem 1rem;
        border-radius: 14px;
        border: 1px solid rgba(31, 117, 203, 0.12);
        background: #fff;
        color: var(--secondary-color);
        font-size: 1rem;
        font-weight: 700;
        box-shadow: 0 10px 22px rgba(7, 28, 60, 0.05);
    }

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

    .nav-link.btn-contact {
        justify-content: center;
        margin-top: 0;
        color: #fff !important;
        border: 0;
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
        box-shadow: 0 14px 28px rgba(24, 183, 161, 0.22);
    }

    .dropdown-menu,
    .coverage-dropdown {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        max-height: none;
        left: auto;
        right: auto;
        transform: none !important;
        margin: 0.45rem 0 0;
        padding: 0.45rem;
        box-sizing: border-box;
        border-radius: 14px;
        border: 1px solid rgba(31, 117, 203, 0.1);
        background: rgba(255, 255, 255, 0.72);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        overflow: visible;
    }

    .nav-dropdown.open .dropdown-menu,
    .nav-dropdown.open .coverage-dropdown {
        display: grid;
        transform: none !important;
    }

    .nav-dropdown.open > .nav-link i {
        transform: rotate(180deg);
    }

    .coverage-dropdown {
        max-height: 260px;
        overflow-y: auto;
    }

    .dropdown-menu a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 0.72rem 0.85rem;
        border-radius: 10px;
        color: var(--text-main);
        font-size: 0.92rem;
        font-weight: 650;
        line-height: 1.35;
    }

    .dropdown-menu a:hover {
        background: var(--primary-light);
        color: var(--primary-color);
    }

    .search-item {
        display: none;
    }

    .lang-switcher {
        display: flex;
        align-items: center;
        justify-content: center;
        order: -1;
        width: 100%;
        min-height: 50px;
        padding: 0.85rem 1rem;
        border-radius: 14px;
        border: 1px solid rgba(31, 117, 203, 0.12);
        background: #fff;
        color: var(--text-muted);
        font-size: 1rem;
        font-weight: 700;
        gap: 0.55rem;
        box-shadow: 0 10px 22px rgba(7, 28, 60, 0.05);
    }

    .nav-list .lang-switcher {
        display: flex !important;
    }

    .lang-switcher a {
        color: var(--secondary-color);
    }

    .lang-switcher a.active {
        color: var(--primary-color);
    }
}

/* Tablet / fold-device navigation guard */
@media (min-width: 769px) and (max-width: 1200px) {
    body.menu-open {
        overflow: hidden;
    }

    .topbar {
        display: none;
    }

    .header {
        z-index: 10000;
        padding-bottom: 0;
        background: rgba(255, 255, 255, 0.96);
    }

    .header-container,
    .header.scrolled .header-container {
        position: relative;
        z-index: 10002;
        width: 100%;
        height: 76px;
        margin-top: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        padding: 0 1.5rem;
        gap: 0.9rem;
        overflow: visible;
        box-shadow: 0 10px 26px rgba(7, 28, 60, 0.1);
    }

    .logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .logo-img,
    html[lang="ms"] .logo-img {
        width: 215px;
        height: 54px;
        object-position: center 55%;
        transform: translateY(5px);
    }

    .mobile-search-toggle,
    .mobile-menu-toggle {
        display: inline-grid;
        place-items: center;
        flex: 0 0 46px;
        width: 46px;
        height: 46px;
        border-radius: 14px;
        color: var(--secondary-color);
        background: rgba(31, 117, 203, 0.08);
    }

    .nav {
        position: fixed;
        inset: 76px 0 0 0;
        width: 100%;
        height: calc(100svh - 76px);
        margin: 0;
        padding: 1.25rem;
        background: rgba(246, 250, 255, 0.98);
        border-top: 1px solid rgba(31, 117, 203, 0.12);
        box-shadow: none;
        transform: translateX(100%);
        transition: transform 0.28s ease;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        pointer-events: none;
        left: auto;
    }

    .nav.active {
        transform: translateX(0);
        pointer-events: auto;
        left: auto;
    }

    .nav-list,
    html[lang="ms"] .nav-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 430px;
        margin: 0 auto;
        gap: 0.7rem;
        padding: 0;
    }

    .nav-list > li,
    .search-item,
    .lang-switcher {
        width: 100%;
    }

    .nav-list > li:first-child,
    html[lang="ms"] .nav-list > li:first-child {
        margin-left: 0;
    }

    .nav-link,
    html[lang="ms"] .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 50px;
        padding: 0.85rem 1rem;
        border-radius: 14px;
        border: 1px solid rgba(31, 117, 203, 0.12);
        background: #fff;
        color: var(--secondary-color);
        font-size: 1rem;
        font-weight: 700;
        box-shadow: 0 10px 22px rgba(7, 28, 60, 0.05);
    }

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

    .nav-link.btn-contact,
    html[lang="ms"] .btn-contact {
        justify-content: center;
        margin-top: 0;
        color: #fff !important;
        border: 0;
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
        box-shadow: 0 14px 28px rgba(24, 183, 161, 0.22);
    }

    .dropdown-menu,
    .coverage-dropdown {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        max-height: none;
        left: auto;
        right: auto;
        transform: none !important;
        margin: 0.45rem 0 0;
        padding: 0.45rem;
        box-sizing: border-box;
        border-radius: 14px;
        border: 1px solid rgba(31, 117, 203, 0.1);
        background: rgba(255, 255, 255, 0.72);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        overflow: visible;
    }

    .nav-dropdown.open .dropdown-menu,
    .nav-dropdown.open .coverage-dropdown {
        display: grid;
    }

    .nav-dropdown.open > .nav-link i {
        transform: rotate(180deg);
    }

    .coverage-dropdown {
        max-height: 360px;
        overflow-y: auto;
    }

    .dropdown-menu a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 0.72rem 0.85rem;
        border-radius: 10px;
        color: var(--text-main);
        font-size: 0.92rem;
        font-weight: 650;
        line-height: 1.35;
    }

    .search-item {
        display: none;
    }

    .lang-switcher {
        display: flex !important;
        justify-content: center;
        padding: 0.85rem 1rem;
        border-radius: 14px;
        background: #fff;
        border: 1px solid rgba(31, 117, 203, 0.1);
    }

    .hero {
        margin-top: 0;
        min-height: auto;
        padding-top: 7.25rem;
        padding-bottom: 4.8rem;
    }

    .counter-section {
        margin-top: 0;
        padding-top: 1.2rem;
    }
}
