/* ============================================
   HEOMED - Premium Medical Theme Styles
   Trusted Medical Solutions
   ============================================ */

/* Helvetica Neue Font Family */
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueUltraLight.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueThin.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueLight.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueRoman.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueMedium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueBold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueHeavy.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueBlack.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   CSS Custom Properties — Medical Trust Palette
   ============================================ */
:root {
    /* Primary - Medical Blue */
    --primary:        #0066B2;
    --primary-dark:   #004B85;
    --primary-light:  #3B8FD9;
    --primary-50:     #E6F1FB;
    --primary-100:    #C2DDF5;

    /* Accent - Medical Teal */
    --accent:         #00C9A7;
    --accent-light:   #4FE3C7;
    --accent-dark:    #00997E;

    /* Neutrals - Light Theme */
    --white:          #ffffff;
    --off-white:      #f8fafc;
    --gray-50:        #f1f5f9;
    --gray-100:       #e2e8f0;
    --gray-200:       #cbd5e1;
    --gray-300:       #94a3b8;
    --gray-400:       #64748b;
    --gray-500:       #475569;
    --gray-600:       #334155;
    --gray-700:       #1e293b;
    --gray-800:       #0f172a;
    --black:          #020617;

    /* Semantic */
    --bg:             var(--white);
    --bg-alt:         var(--off-white);
    --bg-dark:        var(--gray-800);
    --text:           var(--gray-700);
    --text-muted:     var(--gray-400);
    --text-light:     var(--gray-300);
    --border:         var(--gray-100);

    /* Typography */
    --font-primary:   'Helvetica Neue', 'Helvetica', Arial, sans-serif;
    --font-display:   'Helvetica Neue', 'Helvetica', Arial, sans-serif;

    /* Spacing */
    --section-padding: clamp(80px, 12vw, 160px);
    --container-padding: clamp(20px, 4vw, 40px);

    /* Transitions */
    --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);
    --ease-in-out:    cubic-bezier(0.65, 0, 0.35, 1);

    /* Sizes */
    --container: 1400px;
    --container-narrow: 1200px;
    --header-height: 90px;

    /* Shadows */
    --shadow-sm:  0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md:  0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-lg:  0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-xl:  0 20px 50px rgba(15, 23, 42, 0.12);
    --shadow-primary: 0 10px 30px rgba(0, 102, 178, 0.2);

    /* Border Radius */
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-xl:  28px;
    --radius-full: 999px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    background: var(--bg);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    width: 100%;
    min-width: 100%;
    position: relative;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--ease-out-cubic);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   Container
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.container-narrow {
    max-width: var(--container-narrow);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    color: var(--gray-800);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 800; }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; }

p {
    color: var(--text);
    line-height: 1.7;
}

/* ============================================
   Custom Cursor
   ============================================ */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.15s var(--ease-out-cubic);
}

.cursor-outline {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.25s var(--ease-out-cubic), width 0.3s ease, height 0.3s ease;
}

.cursor.hovered .cursor-outline {
    width: 60px;
    height: 60px;
    border-color: var(--accent);
    background: rgba(0, 201, 167, 0.1);
}

@media (max-width: 1024px) {
    .cursor { display: none; }
}

/* ============================================
   Preloader
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    width: min(400px, 80vw);
}

.preloader-logo {
    margin-bottom: 32px;
}

.preloader-logo img {
    height: 60px;
    width: auto;
    margin: 0 auto;
}

.preloader-text {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.preloader-progress {
    width: 100%;
    height: 2px;
    background: var(--gray-100);
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: var(--radius-full);
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.preloader-counter {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-500);
    letter-spacing: -0.01em;
}

/* ============================================
   Header / Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s var(--ease-out-cubic);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-logo img {
    height: 55px;
    width: auto;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.nav-logo:hover img { transform: scale(1.05); }

.nav-logo-text {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: inline-block;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-full);
    position: relative;
    transition: color 0.3s var(--ease-out-cubic);
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-50);
    border-radius: var(--radius-full);
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.3s var(--ease-out-cubic);
    z-index: -1;
}

.nav-link:hover,
.nav-link.active,
.current-menu-item > .nav-link {
    color: var(--primary);
}

.nav-link:hover::before,
.nav-link.active::before,
.current-menu-item > .nav-link::before {
    opacity: 1;
    transform: scale(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--primary);
    color: var(--white) !important;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s var(--ease-out-cubic);
    box-shadow: var(--shadow-primary);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0, 102, 178, 0.3);
}

.nav-cta .cta-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--ease-out-cubic);
}

.nav-cta:hover .cta-icon { transform: translateX(4px); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    border-radius: var(--radius-sm);
}

.toggle-line {
    width: 26px;
    height: 2px;
    background: var(--gray-700);
    transition: all 0.3s var(--ease-out-cubic);
    border-radius: 2px;
}

.nav-toggle.active .toggle-line:first-child {
    transform: translateY(4px) rotate(45deg);
}

.nav-toggle.active .toggle-line:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out-cubic);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

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

.mobile-menu-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--header-height) var(--container-padding) 40px;
    gap: 24px;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.mobile-menu-list a {
    display: block;
    padding: 12px 24px;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.mobile-menu-list a:hover { color: var(--accent-light); }

.mobile-menu-contact {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.mobile-menu-contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.mobile-menu-contact a:hover { color: var(--accent-light); }

@media (max-width: 992px) {
    .nav-center { display: none; }
    .nav-cta .cta-text { display: none; }
    .nav-cta { padding: 12px; }
    .nav-toggle { display: flex; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--ease-out-cubic);
    cursor: pointer;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 102, 178, 0.32);
}

.btn-secondary {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 201, 167, 0.25);
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
}

.btn-icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
    transition: transform 0.3s var(--ease-out-cubic);
}

.btn:hover .btn-icon { transform: translateX(4px); }

/* ============================================
   Section Header (shared)
   ============================================ */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-header.align-left {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-dark);
}

.section-label::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--accent);
}

.section-title {
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: calc(var(--header-height) + 40px) 0 60px;
}

.hero-video-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero slideshow (image carousel) */
.hero-slideshow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.5s ease, transform 8s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(135deg, rgba(0, 75, 133, 0.85) 0%, rgba(0, 102, 178, 0.75) 50%, rgba(0, 201, 167, 0.65) 100%);
}

.hero-video-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-light);
    border-radius: 50%;
    opacity: 0.6;
    box-shadow: 0 0 20px rgba(79, 227, 199, 0.8);
}

.particle:nth-child(1) { top: 15%; left: 10%; animation: float 8s ease-in-out infinite; }
.particle:nth-child(2) { top: 30%; right: 15%; animation: float 10s ease-in-out infinite 1s; }
.particle:nth-child(3) { bottom: 25%; left: 20%; animation: float 9s ease-in-out infinite 2s; }
.particle:nth-child(4) { bottom: 15%; right: 25%; animation: float 11s ease-in-out infinite 0.5s; }
.particle:nth-child(5) { top: 50%; left: 50%; animation: float 7s ease-in-out infinite 1.5s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    50% { transform: translate(20px, -30px) scale(1.5); opacity: 0.8; }
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

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

.hero-title {
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 900;
    line-height: 1.05;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-word {
    display: inline-block;
    margin-right: 0.25em;
}

.title-accent {
    color: var(--accent-light);
    position: relative;
}

.hero-subtitle {
    max-width: 620px;
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.hero .btn-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
}

.hero-contact-info {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    z-index: 3;
}

.hero-contact-info .container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

.hero-contact-item:hover { opacity: 0.8; }

.hero-contact-item i {
    color: var(--accent-light);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .hero { padding-bottom: 160px; }
    .hero-contact-info .container { gap: 16px; flex-direction: column; align-items: center; }
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: var(--section-padding) 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-header {
    text-align: left;
    margin: 0 0 32px;
}

.about-text p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--gray-500);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.about-feature h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--gray-800);
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.about-visual {
    position: relative;
}

.about-image {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    position: relative;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 16px;
    border-left: 4px solid var(--accent);
}

.about-badge-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.about-badge-number {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.about-badge-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-features { grid-template-columns: 1fr; }
}

/* ============================================
   Mission Statement Section
   ============================================ */
.mission-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
    opacity: 0.15;
    pointer-events: none;
}

.mission-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-light) 0%, transparent 60%);
    opacity: 0.12;
    pointer-events: none;
}

.mission-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.mission-icon {
    font-size: 3rem;
    color: var(--accent-light);
    margin-bottom: 24px;
    opacity: 0.6;
}

.mission-quote {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    line-height: 1.4;
    color: var(--white);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.mission-quote strong {
    font-weight: 700;
    color: var(--accent-light);
}

.mission-author {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.7;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    padding: 80px 0;
    background: var(--off-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25%;
    right: -20px;
    height: 50%;
    width: 1px;
    background: var(--border);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
    letter-spacing: -0.04em;
}

.stat-suffix {
    color: var(--accent);
    font-size: 0.7em;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2n)::after { display: none; }
}

/* ============================================
   Products / Categories Section
   ============================================ */
.products-section {
    padding: var(--section-padding) 0;
    background: var(--bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all 0.4s var(--ease-out-cubic);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-cubic);
}

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

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

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-50), var(--white));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 24px;
    transition: all 0.4s var(--ease-out-cubic);
    overflow: hidden;
    padding: 14px;
}

.product-icon-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s var(--ease-out-cubic);
}

.product-card:hover .product-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    transform: scale(1.05) rotate(-3deg);
}

.product-card:hover .product-icon-image img {
    transform: scale(1.1);
    filter: brightness(0) invert(1);
}

.product-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.product-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
}

.product-card-arrow {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.product-card:hover .product-card-arrow {
    gap: 14px;
}

.product-card-arrow svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-50) 0%, transparent 70%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    text-align: center;
    transition: all 0.4s var(--ease-out-cubic);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out-cubic);
    z-index: 0;
}

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

.service-card:hover::after { opacity: 1; }

.service-card > * { position: relative; z-index: 1; transition: color 0.4s var(--ease-out-cubic); }

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-50);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
    transition: all 0.4s var(--ease-out-cubic);
}

.service-card:hover .service-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: var(--gray-800);
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--white);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.service-card:hover p { color: rgba(255, 255, 255, 0.9); }

@media (max-width: 992px) {
    .services-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.why-section {
    padding: var(--section-padding) 0;
    background: var(--bg);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-content .section-header {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-feature {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease-out-cubic);
}

.why-feature:hover {
    border-color: var(--primary);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.why-feature-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
}

.why-feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--gray-800);
}

.why-feature-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.why-visual {
    position: relative;
}

.why-image {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    box-shadow: var(--shadow-xl);
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .why-grid { grid-template-columns: 1fr; gap: 60px; }
    .why-visual { max-width: 500px; margin: 0 auto; width: 100%; }
}

/* ============================================
   Partners Marquee
   ============================================ */
.partners-section {
    padding: 80px 0;
    background: var(--off-white);
    overflow: hidden;
    border-top: 1px solid var(--border);
}

.partners-marquee {
    margin-top: 40px;
    display: flex;
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
    mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.partners-track {
    display: flex;
    animation: marquee 30s linear infinite;
    gap: 60px;
    flex-shrink: 0;
    padding-right: 60px;
}

.partner-logo {
    flex-shrink: 0;
    height: 80px;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo img {
    max-height: 70px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-section {
    padding: var(--section-padding) 0;
    background: var(--bg);
}

.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, var(--accent-dark) 100%);
    border-radius: var(--radius-xl);
    padding: clamp(48px, 8vw, 96px);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 50%);
    opacity: 0.2;
    pointer-events: none;
}

.cta-banner-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: clamp(1.75rem, 4vw, 3rem);
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.cta-banner .btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-banner .btn-primary:hover {
    background: var(--accent-light);
    color: var(--primary-dark);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.contact-info-card h3 {
    margin-bottom: 24px;
    color: var(--gray-800);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-info-text {
    flex: 1;
}

.contact-info-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.contact-info-value {
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.5;
}

.contact-info-value a {
    color: var(--gray-700);
    transition: color 0.3s ease;
}

.contact-info-value a:hover { color: var(--primary); }

.contact-social {
    display: flex;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.contact-social .social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gray-50);
    color: var(--gray-500);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-social .social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.contact-form-card h3 {
    margin-bottom: 24px;
    color: var(--gray-800);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group.full { grid-column: 1 / -1; }

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius-md);
    background: var(--off-white);
    color: var(--gray-700);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

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

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-submit {
    grid-column: 1 / -1;
    margin-top: 12px;
}

.form-submit .btn { width: 100%; justify-content: center; }

@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form { grid-template-columns: 1fr; }
    .contact-info-card,
    .contact-form-card { padding: 32px; }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--gray-800);
    color: var(--gray-300);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 64px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

.footer-logo-text {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--white);
    display: inline-block;
    margin-bottom: 20px;
}

.footer-tagline {
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 380px;
    font-size: 0.95rem;
}

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

.footer-social .social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--gray-200);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

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

.footer-title {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.footer-links a {
    color: var(--gray-300);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-light);
    transform: translateX(4px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--gray-300);
}

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

.footer-contact a {
    color: var(--gray-300);
    transition: color 0.3s ease;
}

.footer-contact a:hover { color: var(--accent-light); }

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 0.875rem;
    margin: 0;
}

@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 568px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================
   Reveal Animations (used by GSAP)
   Note: cards are visible by default. GSAP sets initial state via JS only.
   This prevents cards from staying hidden if JS fails to run.
   ============================================ */
.reveal-up,
.reveal-fade,
.reveal-left,
.reveal-right {
    opacity: 1;
}

/* Section transition smoothness */
section {
    position: relative;
}

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