/* ==========================================================================
   LS METROLOGIE - GLOBAL STYLESHEET (SOFIMAE INSPIRED DESIGN)
   ========================================================================== */

/* 1. IMPORTS & FONT FAMILIES */
/* ==========================================================================
   LOCAL GOOGLE FONTS (MANROPE & OUTFIT)
   ========================================================================== */

/* Fallback Font Metrics for Manrope (matching to Arial) to prevent Cumulative Layout Shift (CLS) */
@font-face {
  font-family: 'Manrope-Fallback';
  src: local('Arial');
  size-adjust: 103.53%;
  ascent-override: 102.96%;
  descent-override: 28.98%;
  line-gap-override: 0.00%;
}

/* Fallback Font Metrics for Outfit (matching to Arial) to prevent Cumulative Layout Shift (CLS) */
@font-face {
  font-family: 'Outfit-Fallback';
  src: local('Arial');
  size-adjust: 98.00%;
  ascent-override: 95.00%;
  descent-override: 25.00%;
  line-gap-override: 0.00%;
}

/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/manrope-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/manrope-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/manrope-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/manrope-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/manrope-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/manrope-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/outfit-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/outfit-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/outfit-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/outfit-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/outfit-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/outfit-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/outfit-900.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. DESIGN SYSTEM & CORE VARIABLES */
:root {
    /* Colors */
    --primary: #222B53;
    --primary-dark: #1A2046;
    --accent: #E52E3B;
    --accent-hover: #C81E2A;
    --accent-soft: #FDECEE;
    --text-main: #1A1F33;
    --text-muted: #5B6072;
    --text-light: #9AA0B0;
    --bg-base: #FFFFFF;
    --bg-surface: #F5F5F7;
    --border: #E5E7EB;
    --white: #FFFFFF;
    --success: #1F8A5B;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(34, 43, 83, 0.06);
    --shadow-lg: 0 20px 40px rgba(34, 43, 83, 0.12);
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    
    /* Typography */
    --font-body: 'Manrope', 'Manrope-Fallback', sans-serif;
    --font-heading: 'Outfit', 'Outfit-Fallback', sans-serif;
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 3. RESET & BASE STYLES */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-surface);
}
::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 5px;
    border: 2px solid var(--bg-surface);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* 4. UTILITIES & REUSABLE COMPONENTS */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section {
    padding: 80px 0;
}

.section--surface {
    background-color: var(--bg-surface);
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-title h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.section-subtitle {
    text-transform: uppercase;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
    display: block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-weight: 700;
    border-radius: 30px;
    transition: var(--transition-normal);
    cursor: pointer;
    font-family: var(--font-body);
}

.btn i {
    margin-right: 6px;
}

.btn--primary {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(229, 46, 59, 0.3);
}

.btn--primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 46, 59, 0.4);
}

.btn--secondary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(34, 43, 83, 0.2);
}

.btn--secondary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 43, 83, 0.3);
}

.btn--outline-white {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn--outline-white:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn--outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn--outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* 5. HEADER (STICKY NAVIGATION) */
.header-top {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top__info {
    display: flex;
    gap: 24px;
}

.header-top__info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-top__socials {
    display: flex;
    gap: 16px;
}

.header-top__socials a:hover {
    color: var(--accent);
}

.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.site-header--sticky {
    position: fixed;
    top: 0;
    box-shadow: var(--shadow-md);
    border-bottom-color: transparent;
    animation: slideDown 0.3s forwards;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 700;
    color: var(--primary);
    padding: 28px 0;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent);
    transition: var(--transition-normal);
}

.nav-item:hover .nav-link {
    color: var(--accent);
}

.nav-item:hover .nav-link::after {
    width: 100%;
}

/* Dropdown / Mega-menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 260px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 16px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    border: 1px solid var(--border);
    z-index: 100;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: var(--white);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.dropdown-link {
    display: block;
    padding: 10px 24px;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.dropdown-link:hover {
    color: var(--accent);
    background-color: var(--bg-surface);
    padding-left: 30px;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-normal);
}

/* 6. HERO SECTION */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 160px 0 120px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 32, 70, 0.9) 0%, rgba(34, 43, 83, 0.7) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero__content {
    animation: fadeInUp 0.8s forwards;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Subpage Hero (Breadcrumb header) */
.subhero {
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0 60px;
    position: relative;
}

.subhero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 32, 70, 0.95), rgba(34, 43, 83, 0.8));
    z-index: 1;
}

.subhero .container {
    position: relative;
    z-index: 2;
}

.subhero h1 {
    color: var(--white);
    font-size: 2.75rem;
    margin-bottom: 12px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.breadcrumbs span.separator::before {
    content: '>';
    font-size: 0.8rem;
    margin: 0 4px;
}

/* 7. GRID CARDS & LAYOUTS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent-soft);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.service-card:hover .service-card__icon {
    background-color: var(--accent);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-card__link {
    font-weight: 700;
    color: var(--accent);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card__link i {
    transition: var(--transition-fast);
}

.service-card:hover .service-card__link i {
    transform: translateX(4px);
}

/* 8. HOME SPECIFIC SECTIONS */
/* Vision */
.vision-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.vision-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.vision-image img {
    width: 100%;
    display: block;
}

.vision-content h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.vision-content p {
    margin-bottom: 24px;
    color: var(--text-muted);
}

/* Why Choose Us & Physical Quantities Grid */
.physical-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.physical-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: var(--transition-normal);
}

.physical-card:hover {
    border-color: var(--accent);
    background-color: var(--accent-soft);
    transform: scale(1.03);
}

.physical-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
}

.physical-card .icon-circle {
    width: 60px;
    height: 60px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
}

.physical-card .icon-circle img {
    width: 30px;
    height: 30px;
}


.physical-card span {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

/* Accreditations Trust block */
.trust-block {
    background-color: var(--primary);
    color: var(--white);
    border-radius: 16px;
    padding: 60px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: center;
}

.trust-text h2 {
    color: var(--white);
    font-size: 2.25rem;
    margin-bottom: 20px;
}

.trust-text p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.trust-logo-box {
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 2px solid var(--accent);
}

.trust-logo-box span {
    display: block;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.trust-logo-box p {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 9. SUBPAGE SPECIFIC COMPONENTS */
/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.stats-grid--3cols {
    grid-template-columns: repeat(3, 1fr);
}

.stat-item {
    background-color: var(--bg-surface);
    padding: 30px 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.stat-item__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-heading);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-item__label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
}

/* Tabbed Interface (Expertise Page) */
.tabs-container {
    margin-top: 30px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background-color: var(--bg-surface);
    color: var(--primary);
    font-weight: 700;
    border-radius: 30px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition-normal);
}

.tab-btn.active, .tab-btn:hover {
    background-color: var(--accent);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(229, 46, 59, 0.2);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.expertise-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.expertise-info h2 {
    font-size: 2.25rem;
    margin-bottom: 20px;
}

.expertise-info p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.expertise-list {
    margin-bottom: 30px;
}

.expertise-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-main);
    font-weight: 500;
}

.expertise-list li i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 4px;
}

/* Custom grid for expertise items */
.expertise-grid-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 25px;
    margin-bottom: 30px;
}

.expertise-grid-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 0;
    background-color: transparent;
    border: none;
    transition: var(--transition-normal);
}


.icon-circle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    flex-shrink: 0;
}


.icon-circle img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.expertise-grid-item span {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.2;
    transition: var(--transition-normal);
}


/* PPE Product Grid (Vente EPI) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.product-card__image {
    height: 240px;
    background-color: #ECEFF1;
    position: relative;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-card__image img {
    transform: scale(1.08);
}

.product-card__content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card__content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.product-card__content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Contact Info Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info-panel h2 {
    font-size: 2.25rem;
    margin-bottom: 24px;
}

.contact-info-panel p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-details-list {
    margin-bottom: 40px;
}

.contact-detail-card {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.contact-detail-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-detail-card__text h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-detail-card__text p, .contact-detail-card__text a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    height: 250px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 10. PREMIUM STYLED FORMS */
.form-panel {
    background-color: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.form-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-input {
    width: 100%;
    padding: 14px 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background-color: var(--bg-surface);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition-normal);
}

.form-input:focus {
    border-color: var(--accent);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(229, 46, 59, 0.1);
}

.form-label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
    transition: var(--transition-normal);
    font-size: 0.95rem;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    background-color: var(--white);
    padding: 0 6px;
    left: 14px;
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

textarea.form-input ~ .form-label {
    top: 24px;
}

textarea.form-input:focus ~ .form-label,
textarea.form-input:not(:placeholder-shown) ~ .form-label {
    top: 0;
}

.form-select {
    appearance: none;
    cursor: pointer;
}

.form-select-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* Form Submit Feedback Animations */
.form-feedback {
    display: none;
    margin-top: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    animation: fadeIn 0.3s forwards;
}

.form-feedback--success {
    background-color: #E8F5E9;
    color: var(--success);
    border: 1px solid #C8E6C9;
}

.form-feedback--error {
    background-color: #FFEBEE;
    color: var(--accent);
    border: 1px solid #FFCDD2;
}

/* Spinner Loader */
.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}

/* 11. SITE FOOTER */
.site-footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 0 24px;
    font-size: 0.9rem;
    border-top: 4px solid var(--accent);
}

.site-footer__cols {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-widget h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-widget__about p {
    margin-top: 20px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.footer-widget__about img {
    height: 40px;
    width: auto;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact li i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 4px;
}

.footer-accreds {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accred-logo-card {
    background-color: var(--white);
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid var(--accent);
}

.accred-logo-card span {
    color: var(--primary);
    font-weight: 800;
    display: block;
    font-size: 1.1rem;
}

.accred-logo-card p {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.site-footer__bottom p {
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* 12. ANIMATIONS */
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.animated {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animated.appear {
    opacity: 1;
    transform: translateY(0);
}

/* 13. RESPONSIVE DESIGN (MEDIA QUERIES) */
@media (max-width: 1024px) {
    .site-footer__cols {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .services-grid, .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid, .vision-split, .expertise-detail, .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .header-top {
        display: none; /* Hide header top on mobile */
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px;
        gap: 20px;
        transition: var(--transition-normal);
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 10px 0;
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        border: none;
        padding: 10px 0 0 20px;
        display: none;
        opacity: 1;
        visibility: visible;
    }
    
    .dropdown-menu::before {
        display: none;
    }
    
    .nav-item:hover .dropdown-menu {
        transform: none;
    }
    
    .nav-item.active .dropdown-menu {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1.05rem;
    }
    
    .services-grid, .product-grid, .stats-grid, .stats-grid--3cols, .physical-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-block {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .site-footer__cols {
        grid-template-columns: 1fr;
    }
    
    .site-footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Logo grids for Partners Page */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.logo-item {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.logo-item img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.logo-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
