/* ===== CSS Variables & Reset ===== */
:root {
    --navy: #1a2e5a; --navy-light: #2a4a8a;
    --blue: #2563eb; --blue-light: #3b82f6;
    --orange: #f58220; --orange-light: #ff9f43;
    --teal: #20b2aa; --teal-light: #2dd4bf;
    --green: #16a34a; --green-dark: #0d7a3a;
    --white: #ffffff;
    --gray-50: #f8fafc; --gray-100: #f1f5f9; --gray-200: #e2e8f0; --gray-300: #cbd5e1;
    --gray-400: #94a3b8; --gray-500: #64748b; --gray-600: #475569; --gray-700: #334155;
    --gray-800: #1e293b; --gray-900: #0f172a;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius-sm: 8px; --radius-md: 12px; --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Poppins', sans-serif; color: var(--gray-700); line-height: 1.7; background: var(--white); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--navy); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-gradient { background: linear-gradient(135deg, var(--blue), var(--teal)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Skip link */
.skip-link { position: absolute; top: -100px; left: 16px; background: var(--navy); color: var(--white); padding: 8px 16px; border-radius: 0 0 8px 8px; z-index: 10000; font-size: 0.85rem; }
.skip-link:focus { top: 0; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; font-family: 'Poppins', sans-serif; font-size: 0.95rem; font-weight: 600; border-radius: 50px; border: 2px solid transparent; cursor: pointer; transition: var(--transition); }
.btn-sm { padding: 10px 24px; font-size: 0.85rem; }
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--orange-light)); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(245, 130, 32, 0.4); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }
.btn-whatsapp { background: #25d366; color: var(--white); border-color: #25d366; }
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }
.btn-full { width: 100%; justify-content: center; }

/* ===== Section Tags & Headers ===== */
.section-tag { display: inline-block; padding: 6px 18px; background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(32, 178, 170, 0.1)); color: var(--blue); font-size: 0.85rem; font-weight: 600; border-radius: 50px; margin-bottom: 16px; letter-spacing: 0.5px; }
.section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; }
.section-desc { font-size: 1.05rem; color: var(--gray-500); max-width: 600px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-cta { text-align: center; margin-top: 40px; }

/* ===== Navbar ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 12px 0; transition: var(--transition);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.navbar.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; line-height: 1; }
.nav-logo-img { height: 58px; width: auto; object-fit: contain; }
.nav-logo-text { display: flex; flex-direction: column; }
.logo-medi { font-size: 1.5rem; font-weight: 800; color: var(--blue); }
.navbar:not(.scrolled) .logo-medi { color: var(--white); }
.logo-privacy { font-size: 1.5rem; font-weight: 800; color: var(--teal); }
.nav-logo sup { font-size: 0.7rem; color: var(--teal); }
.logo-tagline { font-size: 0.65rem; color: var(--orange); font-style: italic; font-weight: 500; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 14px; font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.9); border-radius: 8px; transition: var(--transition); }
.navbar.scrolled .nav-link { color: var(--gray-600); }
.nav-link:hover, .nav-link.active { color: var(--orange); }
.navbar.scrolled .nav-link:hover, .navbar.scrolled .nav-link.active { color: var(--orange); background: rgba(245,130,32,0.08); }
.nav-link-dropdown i { font-size: 0.6rem; margin-left: 3px; transition: var(--transition); }
.nav-cta { background: var(--orange) !important; color: var(--white) !important; border-radius: 50px !important; padding: 10px 22px !important; margin-left: 8px; }
.nav-cta:hover { background: var(--orange-light) !important; transform: translateY(-1px); }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); min-width: 240px; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 8px 0; opacity: 0; visibility: hidden; transition: all 0.25s ease; pointer-events: none; border: 1px solid var(--gray-100); }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.nav-dropdown:hover .nav-link-dropdown i { transform: rotate(180deg); }
.dropdown-menu li a { display: flex; align-items: center; gap: 12px; padding: 10px 20px; font-size: 0.88rem; font-weight: 500; color: var(--gray-600); transition: var(--transition); }
.dropdown-menu li a i { width: 18px; text-align: center; color: var(--blue); font-size: 0.85rem; }
.dropdown-menu li a:hover { background: var(--gray-50); color: var(--orange); padding-left: 24px; }

/* Nav Toggle */
.nav-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1100; position: relative; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--white); border-radius: 3px; transition: 0.35s ease; transform-origin: center; }
.navbar.scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle.active span { background: var(--navy) !important; }
.nav-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1049; opacity: 0; transition: opacity 0.3s ease; }
.nav-overlay.active { display: block; opacity: 1; }

/* ===== Sticky CTA Bar ===== */
.sticky-cta { position: fixed; bottom: -80px; left: 0; right: 0; background: var(--navy); z-index: 998; padding: 12px 0; transition: bottom 0.4s ease; box-shadow: 0 -4px 20px rgba(0,0,0,0.15); }
.sticky-cta.visible { bottom: 0; }
.sticky-cta-inner { display: flex; align-items: center; justify-content: center; gap: 20px; }
.sticky-cta-inner span { color: rgba(255,255,255,0.9); font-size: 0.9rem; font-weight: 500; }

/* ===== Top Bar ===== */
.top-bar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
    background: var(--navy); padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar-items {
    display: flex; align-items: center; justify-content: center;
    gap: 24px; flex-wrap: wrap;
}
.top-bar-item {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.85);
    white-space: nowrap;
}
.top-bar-item i { color: var(--orange); font-size: 0.8rem; }

/* Push navbar below top bar */
.navbar { top: 36px; }
.navbar.scrolled { top: 0; }

/* When scrolled, hide top bar */
.top-bar.hidden { transform: translateY(-100%); }
.top-bar { transition: transform 0.3s ease; }

/* ===== Hero with Slider ===== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    overflow: hidden; padding-top: 120px;
}

/* Slider background images */
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.2s ease;
    transform: scale(1.05);
}
.slide.active {
    opacity: 1;
    animation: slideZoom 6s ease forwards;
}
@keyframes slideZoom {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

/* Slide types */
/* Design slides (full-page PDF images) - shown as-is */
.slide-design { background-size: contain; background-repeat: no-repeat; background-position: center; background-color: var(--white); }

/* Photo slides - need overlay + centered text */
.slide-photo { background-size: cover; background-position: center; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,46,90,0.82) 0%, rgba(26,46,90,0.55) 50%, rgba(26,46,90,0.75) 100%); }

/* Per-slide text for photo slides */
.slide-content {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 20px;
}
.slide-content h1, .slide-content h2 { font-family: 'Playfair Display', serif; font-size: 3.2rem; color: var(--white); font-weight: 800; line-height: 1.2; }
.slide-content h1 span, .slide-content h2 span { display: block; background: linear-gradient(135deg, var(--orange), var(--orange-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.slide-content p { font-size: 1.15rem; color: rgba(255,255,255,0.85); margin-top: 12px; font-style: italic; max-width: 600px; }

/* Subtle text overlay for design slides */
.slide-text { position: absolute; z-index: 2; padding: 16px 28px; max-width: 500px; }
.slide-text-bottom { bottom: 40px; left: 40px; background: rgba(26,46,90,0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.1); }
.slide-text p { font-size: 0.9rem; color: rgba(255,255,255,0.9); line-height: 1.6; font-weight: 500; }

/* Stats bar pinned to bottom of hero */
.hero-stats-bar {
    position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%);
    z-index: 4; display: flex; gap: 40px;
    background: rgba(26,46,90,0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    padding: 16px 40px; border-radius: 60px;
    border: 1px solid rgba(255,255,255,0.12);
}
.hero-stat { text-align: center; }
.hero-stat-number { font-size: 1.8rem; font-weight: 800; color: var(--orange); }
.hero-stat-plus { font-size: 1.2rem; font-weight: 700; color: var(--orange); }
.hero-stat-label { display: block; font-size: 0.7rem; color: rgba(255,255,255,0.7); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

/* Slider dots */
.slider-dots {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    z-index: 5; display: flex; gap: 10px;
}
.dot {
    width: 12px; height: 12px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5); background: transparent;
    cursor: pointer; transition: var(--transition); padding: 0;
}
.dot.active, .dot:hover { background: var(--orange); border-color: var(--orange); }

/* Slider arrows */
.slider-arrow {
    position: absolute; top: 50%; z-index: 3;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.3);
    color: var(--white); font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition); backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: var(--orange); border-color: var(--orange); }
.slider-prev { left: 24px; transform: translateY(-50%); }
.slider-next { right: 24px; transform: translateY(-50%); }

.hero-wave { position: absolute; bottom: -2px; left: 0; right: 0; z-index: 3; }
.hero-wave svg { display: block; width: 100%; height: 80px; }

/* ===== About ===== */
.about { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.about-quote { font-size: 1.2rem; font-weight: 700; color: var(--orange); font-style: italic; margin-bottom: 16px; }
.about-text { font-size: 1rem; color: var(--gray-600); margin-bottom: 16px; line-height: 1.8; }
.about-text strong { color: var(--navy); font-weight: 600; }

.about-offerings { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.about-offering { display: flex; gap: 16px; align-items: flex-start; padding: 18px; background: var(--gray-50); border-radius: var(--radius-md); border: 1px solid var(--gray-100); transition: var(--transition); }
.about-offering:hover { box-shadow: var(--shadow-sm); border-color: var(--orange); }
.about-offering-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, rgba(245,130,32,0.12), rgba(245,130,32,0.05)); display: flex; align-items: center; justify-content: center; color: var(--orange); font-size: 1.1rem; }
.about-offering h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.about-offering p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; }

.about-right { display: flex; flex-direction: column; gap: 24px; }
.about-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.about-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vision-block { padding: 20px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: var(--white); }
.vision-block h4 { font-size: 0.9rem; font-weight: 700; color: var(--orange); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.vision-block h4 i { font-size: 0.85rem; }
.vision-block p { font-size: 0.85rem; color: rgba(255,255,255,0.85); line-height: 1.6; }
.about-card { padding: 30px 20px; border-radius: var(--radius-md); text-align: center; transition: var(--transition); }
.about-card:hover { transform: translateY(-5px); }
.about-card i { font-size: 2rem; margin-bottom: 12px; }
.about-card h4 { font-size: 1.8rem; font-weight: 800; margin-bottom: 4px; }
.about-card p { font-size: 0.85rem; color: var(--gray-500); }
.about-card-1 { background: linear-gradient(135deg, #eff6ff, #dbeafe); }
.about-card-1 i, .about-card-1 h4 { color: var(--blue); }
.about-card-2 { background: linear-gradient(135deg, #fef3e2, #fde8cc); transform: translateY(20px); }
.about-card-2 i, .about-card-2 h4 { color: var(--orange); }
.about-card-3 { background: linear-gradient(135deg, #f0fdfa, #ccfbf1); transform: translateY(-10px); }
.about-card-3 i, .about-card-3 h4 { color: var(--teal); }
.about-card-4 { background: linear-gradient(135deg, #f0fdf4, #dcfce7); transform: translateY(10px); }
.about-card-4 i, .about-card-4 h4 { color: var(--green); }

/* ===== Ecosystem ===== */
.ecosystem { padding: 100px 0; background: var(--gray-50); }
.ecosystem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ecosystem-desc { font-size: 1rem; color: var(--gray-500); line-height: 1.8; margin-bottom: 28px; }
.ecosystem-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.ecosystem-images img { width: 100%; height: 180px; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-md); transition: var(--transition); }
.ecosystem-images img:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }
.ecosystem-promise { display: flex; align-items: center; gap: 20px; background: linear-gradient(135deg, var(--orange), var(--orange-light)); padding: 28px; border-radius: var(--radius-lg); color: var(--white); }
.promise-icon { flex-shrink: 0; width: 60px; height: 60px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.promise-text h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 4px; }
.promise-text p { color: rgba(255,255,255,0.85); font-size: 0.88rem; }

/* Wheel - uses wrapper for position, inner for hover scale (fix #10) */
.ecosystem-wheel { position: relative; width: 380px; height: 380px; margin: 0 auto; }
.ecosystem-cards { display: none; } /* Hidden on desktop, shown on mobile */
.wheel-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 130px; height: 130px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--white); text-align: center; z-index: 2; box-shadow: 0 0 40px rgba(26,46,90,0.3); }
.wheel-logo { font-size: 1.1rem; font-weight: 800; line-height: 1.2; }
.wheel-center small { font-size: 0.55rem; color: var(--orange); font-style: italic; margin-top: 2px; }

.wheel-item-wrap { position: absolute; width: 90px; height: 90px; }
.wheel-item { width: 100%; height: 100%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 0.6rem; font-weight: 600; color: var(--white); transition: var(--transition); cursor: default; box-shadow: var(--shadow-md); background: linear-gradient(135deg, var(--blue), var(--blue-light)); }
.wheel-item:hover { transform: scale(1.12); }
.wheel-item i { font-size: 1.3rem; margin-bottom: 4px; }
.wi-orange { background: linear-gradient(135deg, var(--orange), var(--orange-light)); }
.wi-teal { background: linear-gradient(135deg, var(--teal), var(--teal-light)); }
.wi-purple { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.wi-green { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.wi-pink { background: linear-gradient(135deg, #ec4899, #f472b6); }

.wheel-pos-1 { top: 0; left: 50%; transform: translateX(-50%); }
.wheel-pos-2 { top: 18%; right: 2%; }
.wheel-pos-3 { bottom: 18%; right: 2%; }
.wheel-pos-4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.wheel-pos-5 { bottom: 18%; left: 2%; }
.wheel-pos-6 { top: 18%; left: 2%; }

/* Mobile ecosystem cards */
.eco-card { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--white); border-radius: var(--radius-sm); border: 1px solid var(--gray-200); transition: var(--transition); }
.eco-card:hover { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.eco-card i { font-size: 1.3rem; color: var(--orange); width: 24px; text-align: center; }
.eco-card span { font-size: 0.9rem; font-weight: 600; color: var(--navy); }

/* ===== Services ===== */
.services { padding: 100px 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { position: relative; padding: 40px 28px 32px; background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--gray-200); transition: var(--transition); overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--orange), var(--teal)); transform: scaleX(0); transform-origin: left; transition: var(--transition); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-number { position: absolute; top: 16px; right: 20px; font-size: 3rem; font-weight: 900; color: var(--gray-100); line-height: 1; }
.service-icon { width: 56px; height: 56px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 20px; background: linear-gradient(135deg, rgba(245,130,32,0.1), rgba(245,130,32,0.05)); color: var(--orange); }
.service-card h3 { font-size: 1.05rem; margin-bottom: 10px; font-weight: 600; }
.service-card p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; }

/* ===== Health Card ===== */
.health-card-section { padding: 100px 0; background: linear-gradient(135deg, var(--navy), #1e3a6e); overflow: hidden; }
.health-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.health-card-section .section-tag { background: rgba(255,255,255,0.1); color: var(--orange-light); }
.health-card-section .section-title { color: var(--white); }
.health-card-section .text-gradient { background: linear-gradient(135deg, var(--orange), var(--orange-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.card-mockup { max-width: 420px; margin: 0 auto; perspective: 1000px; }
.card-real-img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,0.4); transform: rotateY(-5deg) rotateX(3deg); transition: var(--transition); }
.card-mockup:hover .card-real-img { transform: rotateY(0deg) rotateX(0deg); }
.benefits-list { display: flex; flex-direction: column; gap: 20px; }
.benefits-list li { display: flex; gap: 16px; align-items: flex-start; }
.benefit-icon { flex-shrink: 0; width: 48px; height: 48px; background: rgba(245,130,32,0.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--orange); font-size: 1.1rem; }
.benefits-list h4 { color: var(--white); font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.benefits-list p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* ===== Industrial ===== */
.industrial { padding: 100px 0; background: var(--gray-50); }
.industrial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.industrial-card { background: var(--white); padding: 32px 24px; border-radius: var(--radius-md); border: 1px solid var(--gray-200); transition: var(--transition); }
.industrial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blue-light); }
.industrial-icon { width: 56px; height: 56px; background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(37,99,235,0.05)); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--blue); margin-bottom: 16px; }
.industrial-card h3 { font-size: 1rem; margin-bottom: 8px; font-weight: 600; }
.industrial-card p { font-size: 0.88rem; color: var(--gray-500); }
.industrial-features { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.ind-feature { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ind-feature i { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: var(--white); border: 2px solid var(--gray-200); border-radius: 50%; color: var(--navy); transition: var(--transition); }
.ind-feature:hover i { background: var(--blue); border-color: var(--blue); color: var(--white); }
.ind-feature span { font-size: 0.85rem; font-weight: 600; color: var(--gray-600); }

/* ===== First Aid ===== */
.first-aid { padding: 100px 0; }
.faid-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.faid-tab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 600; background: var(--gray-50); color: var(--gray-600); border: 2px solid var(--gray-200); border-radius: 50px; cursor: pointer; transition: var(--transition); }
.faid-tab:hover { border-color: var(--orange); color: var(--orange); }
.faid-tab.active { background: linear-gradient(135deg, var(--orange), var(--orange-light)); color: var(--white); border-color: var(--orange); box-shadow: 0 4px 15px rgba(245,130,32,0.3); }
.faid-tab.active i { color: var(--white); }
.faid-panels { position: relative; min-height: 350px; }
.faid-panel { display: none; animation: fadeInPanel 0.4s ease; }
.faid-panel.active { display: block; }
@keyframes fadeInPanel { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
.faid-panel-grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: flex-start; background: var(--gray-50); border-radius: var(--radius-lg); padding: 40px; border: 1px solid var(--gray-100); }
.faid-panel-icon-area { display: flex; align-items: center; justify-content: center; }
.faid-product-img { width: 100%; max-width: 260px; border-radius: var(--radius-md); box-shadow: var(--shadow-md); object-fit: contain; }
.faid-big-icon { width: 180px; height: 180px; border-radius: 50%; background: linear-gradient(135deg, rgba(245,130,32,0.1), rgba(245,130,32,0.05)); display: flex; align-items: center; justify-content: center; font-size: 4rem; color: var(--orange); }
.faid-big-icon-blue { background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(37,99,235,0.05)); color: var(--blue); }
.faid-big-icon-green { background: linear-gradient(135deg, rgba(22,163,74,0.1), rgba(22,163,74,0.05)); color: var(--green); }
.faid-big-icon-teal { background: linear-gradient(135deg, rgba(32,178,170,0.1), rgba(32,178,170,0.05)); color: var(--teal); }
.faid-panel-content h3 { font-size: 1.5rem; margin-bottom: 4px; }
.faid-tagline { font-size: 1rem; font-weight: 600; color: var(--orange); font-style: italic; margin-bottom: 12px; }
.faid-panel-content > p { font-size: 0.95rem; color: var(--gray-500); line-height: 1.8; margin-bottom: 20px; }
.faid-panel-content h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.faid-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.faid-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--gray-600); line-height: 1.6; }
.faid-features li i { color: var(--green); margin-top: 4px; flex-shrink: 0; }
.faid-ideal { padding: 12px 18px; background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(32,178,170,0.06)); border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--gray-600); border-left: 4px solid var(--blue); }
.faid-ideal span { font-weight: 700; color: var(--navy); }
.faid-why { margin-top: 48px; text-align: center; }
.faid-why h3 { font-size: 1.3rem; margin-bottom: 28px; }
.faid-why-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.faid-why-item { display: flex; align-items: center; gap: 10px; padding: 12px 22px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 50px; font-size: 0.88rem; font-weight: 500; color: var(--gray-700); transition: var(--transition); }
.faid-why-item:hover { border-color: var(--teal); }
.faid-why-item i { color: var(--orange); }
.faid-cta { margin-top: 48px; text-align: center; background: linear-gradient(135deg, var(--navy), var(--navy-light)); padding: 48px 40px; border-radius: var(--radius-lg); color: var(--white); }
.faid-cta h3 { font-size: 1.4rem; color: var(--white); margin-bottom: 8px; }
.faid-cta p { color: rgba(255,255,255,0.7); margin-bottom: 24px; }
.faid-cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===== Cancer Care ===== */
.cancer-care { padding: 100px 0; }
.cancer-care-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start; }
.cancer-intro { font-size: 0.95rem; color: var(--gray-500); margin-bottom: 32px; line-height: 1.8; }
.cancer-steps { display: flex; flex-direction: column; gap: 28px; }
.cancer-step { display: flex; gap: 20px; align-items: flex-start; }
.step-marker { flex-shrink: 0; width: 52px; height: 52px; background: linear-gradient(135deg, var(--blue), var(--blue-light)); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.2rem; }
.step-content h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step-content p { font-size: 0.9rem; color: var(--gray-500); }
.cancer-poster { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.cancer-poster img { width: 100%; display: block; }
.cancer-note { margin-top: 16px; font-size: 0.8rem; font-style: italic; color: var(--gray-400); text-align: center; }

/* ===== Clients ===== */
.clients { padding: 100px 0; background: var(--gray-50); }
.clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.client-card { background: var(--white); padding: 32px 24px; border-radius: var(--radius-md); text-align: center; border: 1px solid var(--gray-200); transition: var(--transition); display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 120px; }
.client-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.client-name { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.client-sub { font-size: 0.8rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 1px; }
.client-card-highlight { background: linear-gradient(135deg, var(--navy), var(--navy-light)); border-color: transparent; }
.client-stat-number { font-size: 3rem; font-weight: 900; color: var(--orange); }
.client-stat-plus { font-size: 2rem; font-weight: 700; color: var(--orange); }
.client-stat-label { color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 500; }

/* ===== Highlights & Gallery ===== */
.highlights { padding: 100px 0; }
.global-presence { text-align: center; margin-bottom: 48px; padding: 28px 32px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); border-radius: var(--radius-lg); color: var(--white); }
.global-presence h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 16px; }
.global-presence h3 i { color: var(--orange); margin-right: 8px; }
.globe-locations { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.globe-locations span { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.85); }
.globe-locations span i { color: var(--orange); font-size: 0.75rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gallery-item { position: relative; border-radius: var(--radius-md); overflow: hidden; }
.gallery-item-wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
/* Always-visible compact label (fix #6 - works on touch + mouse) */
.gallery-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 16px; background: linear-gradient(to top, rgba(26,46,90,0.8), transparent); color: var(--white); font-size: 0.85rem; font-weight: 600; }

/* ===== Team ===== */
.team { padding: 100px 0; background: var(--gray-50); position: relative; overflow: hidden; }
.team::before { content: ''; position: absolute; top: -60px; left: -60px; width: 200px; height: 200px; background: var(--orange); border-radius: 50%; opacity: 0.1; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-card { background: linear-gradient(135deg, var(--green), var(--green-dark)); border-radius: var(--radius-lg); padding: 40px 20px 32px; text-align: center; color: var(--white); transition: var(--transition); }
.team-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(22,163,74,0.3); }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 20px; }
.team-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 6px; }
.team-card p { color: rgba(255,255,255,0.8); font-size: 0.85rem; }

/* ===== Contact ===== */
.contact { padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start; }
.contact-desc { color: var(--gray-500); margin-bottom: 24px; }
.rm-card { display: flex; align-items: center; gap: 16px; padding: 20px; background: linear-gradient(135deg, var(--gray-50), var(--white)); border: 1px solid var(--gray-200); border-radius: var(--radius-md); margin-bottom: 28px; transition: var(--transition); }
.rm-card:hover { box-shadow: var(--shadow-md); border-color: var(--teal); }
.rm-photo { flex-shrink: 0; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--teal); }
.rm-info h4 { font-size: 1rem; margin-bottom: 2px; }
.rm-title { font-size: 0.78rem; color: var(--gray-500); font-weight: 500; margin-bottom: 8px; }
.rm-links { display: flex; flex-direction: column; gap: 4px; }
.rm-links a { font-size: 0.8rem; color: var(--blue); display: flex; align-items: center; gap: 6px; }
.rm-links a:hover { color: var(--orange); }
.rm-links a i { font-size: 0.7rem; width: 14px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { flex-shrink: 0; width: 48px; height: 48px; background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(37,99,235,0.05)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 1.1rem; }
.contact-item h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.contact-item p { font-size: 0.88rem; color: var(--gray-500); }
.contact-item a { color: var(--blue); }
.contact-item a:hover { color: var(--orange); }

/* Form */
.contact-form-wrapper { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.contact-form { padding: 40px; }
.contact-form h3 { font-size: 1.3rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 14px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 13px 16px; font-family: 'Poppins', sans-serif; font-size: 0.88rem; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); background: var(--gray-50); color: var(--gray-700); transition: var(--transition); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
/* Validation states */
.form-group input.error, .form-group select.error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.1); }
.form-group textarea { resize: vertical; min-height: 90px; }
.contact-form .btn-primary { margin-top: 4px; border: none; font-size: 1rem; padding: 15px 32px; }
.form-alt { text-align: center; margin-top: 14px; font-size: 0.82rem; color: var(--gray-400); }
.form-alt a { color: var(--blue); font-weight: 500; }
.form-alt a:hover { color: var(--orange); }

/* ===== Footer ===== */
.footer { background: var(--gray-900); color: var(--gray-400); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { display: inline-block; margin-bottom: 8px; }
.footer-logo-img { height: 70px; width: auto; object-fit: contain; }
.footer-tagline { font-size: 0.75rem; color: var(--orange); font-style: italic; margin-bottom: 12px; }
.footer-desc { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: var(--gray-400); font-size: 0.9rem; transition: var(--transition); }
.footer-social a:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.footer-links h4, .footer-contact h4 { color: var(--white); font-size: 1rem; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.88rem; color: var(--gray-400); }
.footer-links a:hover { color: var(--orange); padding-left: 4px; }
.footer-contact p { font-size: 0.88rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.footer-contact a { color: var(--gray-400); }
.footer-contact a:hover { color: var(--orange); }
.footer-contact i { color: var(--orange); width: 16px; }
.footer-bottom { text-align: center; padding: 20px 0; font-size: 0.85rem; }

/* ===== Fixed elements ===== */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px; background: var(--navy); color: var(--white); border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; box-shadow: var(--shadow-md); }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--orange); transform: translateY(-3px); }
.whatsapp-float { position: fixed; bottom: 90px; right: 30px; width: 56px; height: 56px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; color: var(--white); z-index: 999; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); }

/* Reveals */
.reveal-up, .reveal-left, .reveal-right { opacity: 0; transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.revealed, .reveal-left.revealed, .reveal-right.revealed { opacity: 1; transform: translate(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .slide-content h1, .slide-content h2 { font-size: 2.6rem; }
    .hero-stats-bar { gap: 28px; padding: 14px 28px; }
    .hero-stat-number { font-size: 1.5rem; }
    .about-grid, .health-card-grid, .cancer-care-grid, .contact-grid, .ecosystem-grid { grid-template-columns: 1fr; }
    .about-vision { grid-template-columns: 1fr 1fr; }
    .services-grid, .industrial-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section-title { font-size: 2rem; }
    .ecosystem-wheel { width: 320px; height: 320px; }
    .wheel-center { width: 110px; height: 110px; }
    .wheel-logo { font-size: 0.95rem; }
    .wheel-item-wrap { width: 75px; height: 75px; }
    .wheel-item { font-size: 0.55rem; }
    .wheel-item i { font-size: 1.1rem; }
    .ecosystem-promise { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    /* Reduce section padding (fix #12) */
    .about, .services, .industrial, .first-aid, .cancer-care, .clients, .highlights, .team, .contact, .ecosystem { padding: 60px 0; }

    /* Nav */
    .nav-toggle { display: flex; }
    .nav-menu { position: fixed; top: 0; right: -100%; width: 75%; max-width: 300px; height: 100vh; height: 100dvh; background: var(--white); flex-direction: column; align-items: stretch; padding: 90px 24px 40px; gap: 0; transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: -10px 0 40px rgba(0,0,0,0.15); overflow-y: auto; z-index: 1050; }
    .nav-menu.active { right: 0; }
    .nav-menu .nav-link { color: var(--gray-700) !important; padding: 14px 0; width: 100%; font-size: 1rem; border-bottom: 1px solid var(--gray-100); border-radius: 0; display: block; }
    .nav-menu .nav-link:hover, .nav-menu .nav-link.active { color: var(--orange) !important; background: transparent; }
    .nav-menu .nav-cta { margin-left: 0 !important; margin-top: 20px; text-align: center; display: block; border-radius: 50px !important; padding: 14px 22px !important; border-bottom: none; }
    .nav-dropdown .dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto; box-shadow: none; border: none; border-radius: 0; padding: 0 0 0 16px; min-width: auto; display: none; }
    .nav-dropdown.open .dropdown-menu { display: block; }
    .dropdown-menu li a { padding: 10px 0; border-bottom: 1px solid var(--gray-100); font-size: 0.9rem; }
    .dropdown-menu li a:hover { padding-left: 8px; }

    /* Hero */
    .slide-content h1, .slide-content h2 { font-size: 2rem; }
    .slide-content p { font-size: 0.95rem; }
    .hero-stats-bar { gap: 16px; padding: 12px 20px; border-radius: 40px; bottom: 60px; }
    .hero-stat-number { font-size: 1.3rem; }
    .hero-stat-label { font-size: 0.6rem; }
    .slider-arrow { display: none; }
    .slider-dots { bottom: 20px; }
    .slide-text-bottom { bottom: 20px; left: 16px; right: 16px; max-width: none; padding: 12px 16px; }
    .slide-text p { font-size: 0.78rem; }
    .slide-design { background-size: cover; }

    /* Top bar */
    .top-bar-items { gap: 8px; }
    .top-bar-item { font-size: 0.65rem; gap: 4px; }
    .top-bar-item i { font-size: 0.65rem; }
    .top-bar { padding: 6px 0; }
    .navbar { top: 32px; }

    /* Grids */
    .services-grid, .industrial-grid, .clients-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
    .gallery-item-wide { grid-column: span 2; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.8rem; }
    .section-header { margin-bottom: 40px; }
    .industrial-features { gap: 24px; }
    .trust-divider { display: none; }
    .trust-items { gap: 6px; }
    .trust-item { padding: 4px 10px; font-size: 0.75rem; }
    .form-row { grid-template-columns: 1fr; }
    .faid-panel-grid { grid-template-columns: 1fr; padding: 28px 20px; gap: 24px; }
    .faid-big-icon { width: 120px; height: 120px; font-size: 2.8rem; }
    .faid-tabs { gap: 8px; }
    .faid-tab { padding: 10px 16px; font-size: 0.8rem; }
    .faid-cta { padding: 32px 20px; }
    .faid-why-grid { gap: 10px; }
    .faid-why-item { padding: 10px 16px; font-size: 0.82rem; }
    .globe-locations { gap: 12px; }
    .rm-card { flex-direction: column; text-align: center; }
    .rm-links { align-items: center; }
    .ecosystem-images { grid-template-columns: 1fr; }
    .ecosystem-images img { height: 160px; }

    /* Wheel -> cards on mobile (fix #5) */
    .ecosystem-wheel { display: none; }
    .ecosystem-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

    /* Sticky CTA responsive */
    .sticky-cta-inner span { display: none; }
    .sticky-cta-inner { justify-content: center; }

    /* Cancer care grid */
    .cancer-care-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { padding-top: 100px; }
    .slide-content h1, .slide-content h2 { font-size: 1.6rem; }
    .slide-content p { font-size: 0.85rem; }
    .hero-stats-bar { gap: 12px; padding: 10px 16px; flex-wrap: wrap; justify-content: center; bottom: 50px; }
    .hero-stat-number { font-size: 1.1rem; }
    .slide-text-bottom { bottom: 12px; left: 10px; right: 10px; padding: 10px 12px; }
    .slide-text p { font-size: 0.72rem; }
    .top-bar-items { gap: 6px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
    .top-bar-item { flex-shrink: 0; }
    .team-grid { grid-template-columns: 1fr; }
    .about-visual { grid-template-columns: 1fr 1fr; }
    .about-card-2, .about-card-3, .about-card-4 { transform: none; }
    .about-vision { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }
    .card-real-img { transform: none; }
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .gallery-item-wide { grid-column: span 1; }
    .faid-tab { padding: 10px 14px; font-size: 0.75rem; gap: 5px; }
    .faid-tab i { font-size: 0.85rem; }
    .ecosystem-cards { grid-template-columns: 1fr; }
    .global-presence { padding: 20px 16px; }
    .globe-locations span { font-size: 0.8rem; }
    .about, .services, .industrial, .first-aid, .cancer-care, .clients, .highlights, .team, .contact, .ecosystem { padding: 48px 0; }
}
