:root {
    --primary: #D42027;
    --primary-dark: #B01A20;
    --primary-light: #FF4D54;
    --accent: #1A1A2E;
    --accent-blue: #2563EB;
    --dark: #0F0F1A;
    --gray-900: #1A1A2E;
    --gray-800: #2D2D44;
    --gray-700: #404060;
    --gray-600: #6B7280;
    --gray-500: #9CA3AF;
    --gray-400: #C4C4D4;
    --gray-300: #D1D5DB;
    --gray-200: #E8E8EE;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;
    --bg: #FAFBFE;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 50px -12px rgba(0,0,0,0.12);
    --shadow-xl: 0 25px 60px -15px rgba(0,0,0,0.15);
    --font-display: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    --font-heading: 'DM Sans', sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--gray-800);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
::selection { background: var(--primary); color: var(--white); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ========== LOADER ========== */
.loader-wrap {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--white);
    display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1.5rem;
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), visibility 0.8s;
}
.loader-wrap.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-wrap img { height: 60px; animation: loaderFade 1.5s ease-in-out infinite; }
.loader-bar { width: 120px; height: 3px; background: var(--gray-200); border-radius: 3px; overflow: hidden; }
.loader-bar-inner { width: 40%; height: 100%; background: var(--primary); border-radius: 3px; animation: loaderSlide 1s ease-in-out infinite; }
@keyframes loaderFade { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes loaderSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

/* ========== TOP BAR ========== */
.top-bar {
    background: var(--gray-900);
    color: var(--gray-400);
    font-size: 0.8rem;
    padding: 0.55rem 0;
    position: relative;
    z-index: 1001;
}
.top-bar a { color: var(--gray-400); text-decoration: none; transition: color 0.3s; }
.top-bar a:hover { color: var(--white); }
.top-bar-left { display: flex; align-items: center; gap: 1.5rem; }
.top-bar-left i { color: var(--primary); margin-right: 0.4rem; font-size: 0.75rem; }
.top-bar-right { display: flex; align-items: center; gap: 1rem; }
.top-bar-social { display: flex; gap: 0.6rem; }
.top-bar-social a {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08);
    color: var(--gray-400);
    font-size: 0.7rem;
    transition: all 0.3s ease;
}
.top-bar-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-1px); }
.top-bar-divider { width: 1px; height: 16px; background: rgba(255,255,255,0.15); }
.top-bar-member {
    display: flex; align-items: center; gap: 0.4rem;
    color: var(--gray-400);
    font-weight: 500;
}
.top-bar-member i { font-size: 0.85rem; }
.search-mini {
    display: flex; align-items: center;
    background: rgba(255,255,255,0.08);
    border-radius: 20px; padding: 0.3rem 0.8rem;
    gap: 0.4rem;
}
.search-mini input {
    background: none; border: none; outline: none;
    color: var(--gray-300); font-size: 0.75rem; width: 100px;
    font-family: var(--font-body);
}
.search-mini input::placeholder { color: var(--gray-500); }
.search-mini i { color: var(--gray-500); font-size: 0.75rem; }

/* ========== NAVBAR ========== */
.navbar-main {
    position: sticky; top: 0; z-index: 1000;
    background: var(--white);
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    border-bottom: 1px solid transparent;
}
.navbar-main.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--gray-200);
}
.navbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.8rem 0;
}
.nav-logo img { height: 52px; transition: height 0.3s ease; }
.navbar-main.scrolled .nav-logo img { height: 44px; }

.nav-menu { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    display: flex; align-items: center; gap: 0.35rem;
    padding: 1rem 1.1rem;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
    position: relative;
}
.nav-menu > li > a i.nav-icon { font-size: 0.85rem; color: var(--primary); opacity: 0.8; }
.nav-menu > li > a::after {
    content: '';
    position: absolute; bottom: 0; left: 1.1rem; right: 1.1rem;
    height: 2.5px; border-radius: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    transform-origin: center;
}
.nav-menu > li > a:hover { color: var(--primary); }
.nav-menu > li > a:hover::after { transform: scaleX(1); }
.nav-menu > li > a.active { color: var(--primary); }
.nav-menu > li > a.active::after { transform: scaleX(1); }

/* Dropdown */
.nav-dropdown {
    position: absolute; top: 100%; left: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    min-width: 240px;
    padding: 0.6rem;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.nav-menu > li:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a {
    display: flex; align-items: center; gap: 0.8rem;
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}
.nav-dropdown a:hover { background: var(--gray-50); color: var(--primary); }
.nav-dropdown a i { width: 20px; text-align: center; color: var(--primary); opacity: 0.7; font-size: 0.85rem; }

/* Mobile */
.menu-toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    transition: background 0.3s;
    position: relative;
}
.menu-toggle:hover { background: var(--gray-100); }
.menu-toggle span {
    display: block; width: 20px; height: 2px;
    background: var(--gray-800);
    position: absolute; left: 8px;
    transition: all 0.3s ease;
    border-radius: 1px;
}
.menu-toggle span:nth-child(1) { top: 10px; }
.menu-toggle span:nth-child(2) { top: 17px; }
.menu-toggle span:nth-child(3) { top: 24px; }

/* ========== HERO SLIDER ========== */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--white);
}
.hero-slide {
    display: none;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}
.hero-slide.active { display: flex; align-items: center; }

.hero-slide-1,
.hero-slide-2,
.hero-slide-3 {
    background: var(--white);
}

.hero-content-wrap {
    position: relative; z-index: 2;
    animation: heroSlideIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroSlideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-tag {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    border-radius: 50px;
    padding: 0.45rem 1.2rem;
    font-size: 0.78rem; font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-tag .pulse-dot {
    width: 7px; height: 7px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulseDot 2s ease infinite;
}
@keyframes pulseDot {
    0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(212,32,39,0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(212,32,39,0); }
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 1.2rem;
}
.hero-title .text-red { color: var(--primary); }
.hero-desc {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 2rem;
}
.hero-btns { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.btn-primary-custom {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.9rem; font-weight: 600;
    text-decoration: none; border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212,32,39,0.3);
}
.btn-primary-custom:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212,32,39,0.35);
    color: var(--white);
}
.btn-outline-custom {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--white);
    color: var(--gray-800);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.9rem; font-weight: 600;
    text-decoration: none;
    border: 1.5px solid var(--gray-300);
    transition: all 0.3s ease;
}
.btn-outline-custom:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Hero Visual */
.hero-visual-area {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    animation: heroVisualIn 1s cubic-bezier(0.4,0,0.2,1) 0.2s forwards;
    opacity: 0;
}
@keyframes heroVisualIn {
    from { opacity: 0; transform: translateX(40px) scale(0.95); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
/* Hero Placeholder */
.hero-placeholder {
    width: 400px;
    height: 400px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed var(--gray-300);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--gray-400);
    margin: 0 auto;
}
.hero-placeholder i {
    font-size: 3rem;
}
.hero-placeholder span {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Floating badge */
.hero-float-badge {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 0.8rem 1rem;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 0.6rem;
    z-index: 20;
    animation: floatBadge 4s ease-in-out infinite;
}
@keyframes floatBadge {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.hero-float-badge.badge-1 { bottom: 80px; left: -10px; animation-delay: 0s; }
.hero-float-badge.badge-2 { top: 20px; right: -20px; animation-delay: 1s; }
.badge-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}
.badge-icon.red { background: rgba(212,32,39,0.1); color: var(--primary); }
.badge-icon.blue { background: rgba(37,99,235,0.1); color: var(--accent-blue); }
.badge-text { font-size: 0.75rem; font-weight: 600; color: var(--gray-700); }
.badge-text span { display: block; font-size: 0.65rem; font-weight: 400; color: var(--gray-500); }

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    display: flex; align-items: center; gap: 1rem;
    z-index: 10;
}
.slider-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none; cursor: pointer;
    transition: all 0.3s ease;
}
.slider-dot.active { background: var(--primary); width: 30px; border-radius: 5px; }
.slider-arrows {
    position: absolute; top: 50%; z-index: 10;
    transform: translateY(-50%);
}
.slider-arrows.prev { left: 1.5rem; }
.slider-arrows.next { right: 1.5rem; }
.slider-arrow-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--gray-700);
    font-size: 1rem;
    transition: all 0.3s ease;
}
.slider-arrow-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(212,32,39,0.3);
}

/* Decorative shapes */
.hero-deco { display: none; }
.deco-dots { display: none; }

/* ========== SERVICES STRIP ========== */
.services-strip {
    padding: 5rem 0;
    background: var(--white);
    position: relative;
}
.services-strip::before {
    content: '';
    position: absolute; top: 0; left: 5%; right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}
.strip-title {
    text-align: center; margin-bottom: 3rem;
}
.strip-title h2 {
    font-family: var(--font-heading);
    font-size: 0.85rem; font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.6rem;
}
.strip-title p {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: var(--gray-900);
}

.service-card {
    background: var(--bg);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.2rem 1.2rem 1rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212,32,39,0.15);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 0.8rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.service-icon.red { background: rgba(212,32,39,0.08); color: var(--primary); }
.service-icon.orange { background: rgba(255,140,0,0.08); color: #FF8C00; }
.service-icon.blue { background: rgba(37,99,235,0.08); color: #2563EB; }
.service-icon.green { background: rgba(16,185,129,0.08); color: #10B981; }
.service-icon.purple { background: rgba(139,92,246,0.08); color: #8B5CF6; }
.service-icon.teal { background: rgba(20,184,166,0.08); color: #14B8A6; }
.service-card:hover .service-icon { transform: scale(1.1) rotate(5deg); }
.service-card h5 {
    font-family: var(--font-heading);
    font-size: 0.95rem; font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.3rem;
}
.service-card p {
    font-size: 0.8rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 0.8rem;
    flex-grow: 1;
}
.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    padding: 0.35rem 0.9rem;
    border: 1.5px solid var(--primary);
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: auto;
}
.service-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
}
.service-btn i { font-size: 0.65rem; transition: transform 0.3s; }
.service-btn:hover i { transform: translateX(3px); }

/* ========== PRODUCTS SECTION ========== */
.products-section {
    padding: 5rem 0;
    background: var(--bg);
    position: relative;
}
.section-header {
    margin-bottom: 3rem;
}
.section-tag {
    font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.6rem;
    display: flex; align-items: center; gap: 0.6rem;
}
.section-tag::before { content: ''; width: 24px; height: 2px; background: var(--primary); border-radius: 1px; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--gray-900);
    line-height: 1.15;
}
.section-title .text-red { color: var(--primary); }

/* Products grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}
.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.product-card-img {
    padding: 1rem 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
}
.product-card-img img {
    width: 100%;
    max-width: 150px;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img {
    transform: scale(1.05);
}
.product-card-body {
    padding: 0.8rem 1rem 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-exam-tag {
    font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--primary); background: rgba(212,32,39,0.08);
    padding: 0.2rem 0.6rem; border-radius: 20px;
    display: inline-block; width: fit-content;
    margin-bottom: 0.5rem;
}
.product-card-body h5 {
    font-family: var(--font-heading); font-size: 0.9rem; font-weight: 800;
    color: var(--gray-900); margin-bottom: 0.2rem;
}
.product-card-body > p {
    font-size: 0.78rem; color: var(--gray-600); line-height: 1.4;
    margin-bottom: 0.6rem; font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-features {
    display: flex; flex-wrap: wrap; gap: 0.3rem;
    margin-bottom: 0.6rem;
}
.product-chip {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    padding: 0.2rem 0.7rem;
    font-size: 0.6rem;
    color: var(--gray-600);
    font-weight: 500;
}
.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}
.product-link {
    color: var(--primary); text-decoration: none;
    font-size: 0.82rem; font-weight: 600;
    display: flex; align-items: center; gap: 0.3rem;
    transition: gap 0.3s;
}
.product-link:hover { gap: 0.6rem; }
.products-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ========== ABOUT / GALLERY ========== */
.about-section {
    padding: 5rem 0;
    background: var(--white);
}
.about-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    height: 100%;
}
.about-img-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    background: var(--gray-100);
}
.about-img-item.large { grid-row: 1 / -1; }
.about-img-placeholder {
    width: 100%; height: 100%; min-height: 160px;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 0.5rem;
    color: var(--gray-400); font-size: 0.8rem; font-weight: 500;
}
.about-img-placeholder i { font-size: 2rem; opacity: 0.4; }
.about-text h3 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 1.2rem;
    line-height: 1.2;
}
.about-text p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.about-brands {
    display: flex; flex-wrap: wrap; gap: 0.6rem;
    margin-top: 1.5rem;
}
.about-brand-tag {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-700);
    transition: all 0.3s;
}
.about-brand-tag:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ========== STATS ========== */
.stats-section {
    padding: 4rem 0;
    background: var(--gray-900);
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(212,32,39,0.12) 0%, transparent 60%);
}
.stat-item { text-align: center; position: relative; z-index: 1; }
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900; color: var(--white);
    line-height: 1;
}
.stat-number span { color: var(--primary); }
.stat-label {
    font-size: 0.82rem; font-weight: 600;
    color: var(--gray-400);
    margin-top: 0.5rem;
    letter-spacing: 0.05em; text-transform: uppercase;
}

/* ========== MARQUEE ========== */
.marquee-wrap {
    padding: 2rem 0;
    overflow: hidden;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    background: var(--white);
}
.marquee-track {
    display: flex;
    animation: marqueeScroll 25s linear infinite;
    width: max-content;
}
.marquee-item {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 900;
    white-space: nowrap;
    padding: 0 1.5rem;
    color: var(--gray-200);
    transition: color 0.3s;
}
.marquee-item:hover { color: var(--primary); }
.marquee-sep { color: var(--primary); opacity: 0.3; padding: 0 0.5rem; font-size: 1rem; }
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== SLOGANS MARQUEE ========== */
.slogans-marquee-wrap {
    padding: 1.8rem 0;
    overflow: hidden;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    background: var(--white);
}
.slogans-marquee-track {
    display: flex;
    animation: slogansMarqueeScroll 60s linear infinite;
    width: max-content;
}
.slogans-marquee-item {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-style: italic;
    white-space: nowrap;
    padding: 0 2rem;
    color: var(--gray-600);
    transition: color 0.3s;
}
.slogans-marquee-item:hover { color: var(--primary); }
.slogans-marquee-sep {
    color: var(--primary);
    opacity: 0.4;
    padding: 0 0.5rem;
    font-size: 0.85rem;
}
@keyframes slogansMarqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== GALLERY ========== */
.gallery-section {
    padding: 4rem 0;
    background: var(--bg);
}
.gallery-item {
    background: var(--gray-100);
    border-radius: var(--radius);
    overflow: hidden;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-placeholder {
    text-align: center;
    color: var(--gray-400);
}
.gallery-placeholder i {
    font-size: 2rem;
    opacity: 0.3;
    display: block;
    margin-bottom: 0.5rem;
}
.gallery-placeholder span {
    font-size: 0.8rem;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 4rem 0 0;
}
.footer-logo { height: 48px; margin-bottom: 1.2rem; filter: brightness(10); }
.footer-desc { font-size: 0.88rem; line-height: 1.7; max-width: 320px; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-400); text-decoration: none;
    transition: all 0.3s;
    font-size: 0.85rem;
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); transform: translateY(-2px); }
.footer h6 {
    font-family: var(--font-heading);
    font-size: 0.82rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.5rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a {
    color: var(--gray-400); text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-flex; align-items: center; gap: 0.3rem;
}
.footer-links a::before {
    content: ''; width: 0; height: 1.5px; background: var(--primary);
    transition: width 0.3s;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-links a:hover::before { width: 12px; }
.footer-contact { margin-bottom: 0.9rem; display: flex; align-items: flex-start; gap: 0.7rem; }
.footer-contact i { color: var(--primary); font-size: 0.85rem; margin-top: 0.2rem; flex-shrink: 0; }
.footer-contact span, .footer-contact a { color: var(--gray-400); font-size: 0.88rem; text-decoration: none; line-height: 1.5; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--gray-500); }
.footer-bottom a { color: var(--gray-500); text-decoration: none; font-size: 0.8rem; transition: color 0.3s; }
.footer-bottom a:hover { color: var(--primary); }

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--primary);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 25px rgba(212,32,39,0.3);
    z-index: 100;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(212,32,39,0.4); color: var(--white); }

/* ========== MOBILE NAV OVERLAY ========== */
.mobile-nav-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--white);
    opacity: 0; visibility: hidden;
    transition: all 0.4s ease;
    overflow-y: auto;
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }
.mobile-nav-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}
.mobile-nav-header img { height: 40px; }
.mobile-nav-close {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--gray-100);
    border: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--gray-700);
    cursor: pointer;
}
.mobile-nav-body { padding: 1rem; }
.mobile-nav-body a {
    display: flex; align-items: center; gap: 0.8rem;
    padding: 1rem 1.2rem;
    color: var(--gray-800);
    text-decoration: none;
    font-size: 1rem; font-weight: 600;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}
.mobile-nav-body a:hover { background: var(--gray-50); }
.mobile-nav-body a i { color: var(--primary); width: 20px; text-align: center; }

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .nav-menu { display: none; }
    .menu-toggle { display: block; }
    .hero-placeholder { width: 320px; height: 320px; }
    .hero-float-badge { display: none; }
}

@media (max-width: 767px) {
    /* Top bar: phone + social only */
    .top-bar-left a[href^="mailto"] { display: none; }
    .top-bar-left {
        font-size: 0.75rem;
        gap: 0.8rem;
    }
    .top-bar-right {
        gap: 0.6rem;
    }
    .top-bar-social { gap: 0.4rem; }
    .top-bar-social a { width: 26px; height: 26px; font-size: 0.65rem; }

    /* Hero */
    .hero-slide { min-height: auto; padding: 1.5rem 0; }
    .hero-slide .row { min-height: auto !important; flex-direction: column-reverse; }
    .hero-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
    .hero-desc { font-size: 0.85rem; }
    .hero-visual-area { margin-top: 0; margin-bottom: 0; padding: 0; }
    .hero-slide .col-lg-6.py-4 { padding-top: 0 !important;}
    .hero-placeholder { width: 100%; max-width: 200px; height: 200px; margin: 0 auto; }
    .hero-placeholder i { font-size: 2rem; }
    .hero-placeholder span { font-size: 0.75rem; }
    .hero-btns { justify-content: center; margin-bottom: 1rem; }
    .hero-content-wrap { text-align: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-tag { margin-left: auto; margin-right: auto; }

    /* Slider arrows */
    .slider-arrow-btn { width: 36px; height: 36px; font-size: 0.85rem; }
    .slider-arrows.prev { left: 0.5rem; }
    .slider-arrows.next { right: 0.5rem; }
    .slider-controls { bottom: 1rem; }

    /* Services */
    .services-strip { padding: 2.5rem 0; }
    .strip-title { margin-bottom: 2rem; }
    .service-card { padding: 1.2rem 1rem; }
    .service-icon { width: 44px; height: 44px; font-size: 1.1rem; margin-bottom: 0.8rem; }
    .service-card h5 { font-size: 0.82rem; }
    .service-card p { font-size: 0.72rem; }

    /* Products */
    .products-section { padding: 3rem 0; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
    .product-card-img { padding: 0.8rem 0.8rem 0; }
    .product-card-img img { max-width: 120px; }
    .product-card-body { padding: 0.5rem 0.7rem 0.7rem; }
    .product-exam-tag { font-size: 0.5rem; padding: 0.15rem 0.4rem; margin-bottom: 0; }
    .product-card-body h5 { font-size: 0.78rem; font-weight: 800; margin-bottom: 0.15rem; }
    .product-card-body > p {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 0.68rem;
        color: var(--gray-600);
        font-weight: 500;
        line-height: 1.4;
        margin-bottom: 0.3rem;
    }
    .product-features { gap: 0.25rem; margin-bottom: 0.4rem; flex-direction: row; flex-wrap: wrap; }
    .product-chip { font-size: 0.55rem; padding: 0.1rem 0.4rem; white-space: nowrap; }
    .product-link { font-size: 0.68rem; }
    .product-card-footer { margin-top: 0.3rem; }

    /* Stats */
    .stats-section { padding: 2.5rem 0; }
    .stat-item { margin-bottom: 1.5rem; }

    /* About */
    .about-section { padding: 3rem 0; }
    .about-img-grid { height: 280px; }

    /* Gallery */
    .gallery-section { padding: 2.5rem 0; }
    .gallery-item { height: 150px; }

    /* Slogans marquee */
    .slogans-marquee-item { font-size: 0.82rem; padding: 0 1.2rem; }

    /* Footer */
    .footer { padding: 3rem 0 0; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-social { justify-content: center; flex-wrap: wrap; }
    .footer-desc { margin-left: auto; margin-right: auto; text-align: center; }
    .footer-logo { display: block; margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
    .top-bar-left { flex-direction: column; gap: 0.3rem; }
    .hero-placeholder { max-width: 160px; height: 160px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
    .hero-title { font-size: 1.5rem; }
    .btn-primary-custom,
    .btn-outline-custom { padding: 0.6rem 1.2rem; font-size: 0.8rem; }
    .section-title { font-size: 1.5rem; }
}
