/* ============================================================
   Popular Hydraulic — Modern Design System
   Mobile-first, Gen-Z aesthetic, dark industrial theme
   ============================================================ */

:root {
    --primary: #3b82f6;
    --primary-2: #6366f1;
    --accent: #a855f7;
    --gradient: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #a855f7 100%);
    --dark: #0a0f24;
    --dark-2: #111735;
    --dark-3: #1a2145;
    --text: #2b2f45;
    --muted: #6b7280;
    --light: #ffffff;
    --bg-soft: #f5f7ff;
    --radius: 20px;
    --shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 25px 60px rgba(15, 23, 42, 0.15);
    --font-head: 'Sora', 'Inter', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); }
h1, h2, h3 { letter-spacing: -0.02em; }

.grad-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ---------------- Scrollbar ---------------- */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: #eef1ff; }
::-webkit-scrollbar-thumb { background: var(--gradient); border-radius: 10px; }

/* ---------------- Buttons ---------------- */
.btn-gradient {
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 14px;
    background-size: 200% auto;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
}
.btn-gradient:hover, .btn-gradient:focus {
    background-position: right center;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.5);
}
.btn-gradient:active { transform: translateY(0); }

.btn-glass {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    transition: all 0.4s ease;
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* ============================================================
   Top Bar
   ============================================================ */
.topbar {
    background: var(--dark);
    color: #cdd3e8;
    font-size: 0.82rem;
    padding: 0.55rem 0;
}
.topbar span { display: inline-flex; align-items: center; gap: 0.35rem; }
.topbar i { color: var(--primary-2); }
.topbar-badge { height: 32px; width: auto; }

.social-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #cdd3e8;
    font-size: 0.78rem;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-chip:hover {
    background: var(--gradient);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================================
   Navbar
   ============================================================ */
.main-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(10, 15, 36, 0.06);
    padding: 0.8rem 0;
    transition: box-shadow 0.3s ease, padding 0.3s ease;
}
.main-nav.scrolled {
    box-shadow: 0 8px 30px rgba(10, 15, 36, 0.12);
    padding: 0.55rem 0;
}
.main-nav .nav-link {
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.55rem 1rem;
    border-radius: 30px;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.main-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--gradient);
    transition: width 0.3s ease;
}
.main-nav .nav-link:hover { color: var(--primary-2); }
.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after { width: 26px; }
.main-nav .nav-link.active { color: var(--primary-2); }

.brand-logo { height: 46px; width: auto; max-width: 180px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.05rem; color: var(--dark); letter-spacing: -0.02em; }
.brand-sub { font-size: 0.68rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

.navbar-toggler { font-size: 1.4rem; color: var(--dark); }
.toggler-icon { display: inline-block; }
.main-nav .navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991.98px) {
    .main-nav .collapse { margin-top: 0.75rem; }
    .main-nav .nav-link {
        padding: 0.75rem 0.75rem;
        border-radius: 12px;
        background: var(--bg-soft);
        margin-bottom: 0.35rem;
    }
    .main-nav .nav-link.active { background: var(--dark); color: #fff; }
    .main-nav .nav-link::after { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
    position: relative;
    background: var(--dark);
    min-height: 0;
    height: auto;
    aspect-ratio: 3 / 1;
    max-height: 90vh;
    overflow: hidden;
}
.hero-blobs { position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: 0.6; }
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 12s ease-in-out infinite;
}
.blob-1 { width: 420px; height: 420px; background: #3b82f6; top: -120px; left: -80px; }
.blob-2 { width: 380px; height: 380px; background: #a855f7; bottom: -100px; right: -60px; animation-delay: -4s; }
.blob-3 { width: 300px; height: 300px; background: #6366f1; top: 40%; right: 30%; opacity: 0.3; animation-delay: -8s; }

/* Full-width background slider */
.hero .hero-slider {
    position: absolute;
    inset: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    z-index: 0;
}
.hero .hero-slider .carousel-item,
.hero .hero-slider .slider-img-wrap.hero-slide {
    height: 100%;
}
.hero .hero-slider .slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(6, 11, 30, 0.55) 0%,
        rgba(6, 11, 30, 0) 40%);
    z-index: 1;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.grad-text-hero {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero-contents-inner { max-width: 640px; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-40px) scale(1.08); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.45rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #e7ecff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 1.2rem;
}
.hero-badge i { color: #fbbf24; }

.hero-title {
    font-size: clamp(1.9rem, 4.4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 1rem;
}
.hero-sub { font-size: 1.05rem; color: #aeb6d2; max-width: 540px; }

.hero-stats { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.25rem; }
.stat-num { font-size: 1.6rem; font-weight: 800; font-family: var(--font-head); }
.stat-label { font-size: 0.78rem; color: #aeb6d2; }

/* Hero slider controls */
.slider-ctrl { width: auto; padding: 0; }
.slider-ctrl .ctrl-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: 1px solid #eef1ff;
    color: var(--primary-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    transition: all 0.3s ease;
}
.slider-ctrl:hover .ctrl-circle,
.slider-ctrl:focus .ctrl-circle {
    background: var(--gradient);
    color: #fff;
    transform: scale(1.08);
}
.hero-ctrl-prev { left: 20px; z-index: 4; }
.hero-ctrl-next { right: 20px; z-index: 4; }

.slider-indicators {
    bottom: 18px;
    gap: 6px;
    margin-bottom: 0;
    z-index: 4;
}
.slider-indicators button {
    width: 26px;
    height: 5px;
    border-radius: 4px;
    border: none;
    background: rgba(255,255,255,0.5);
    transition: all 0.3s ease;
    margin: 0;
}
.slider-indicators button.active {
    background: #fff;
    width: 38px;
}
.hero-indicators { left: 20px; right: auto; }

/* Slide caption tag */
.hero-slide-tag {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}
.hero-slide-tag .slider-caption {
    position: static;
    width: fit-content;
    margin: 0 auto;
    font-size: 1rem;
}

.slider-caption {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default;
}
.slider-caption:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
}
.slider-caption i { 
    color: #fbbf24; 
    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.6));
}

/* ============================================================
   Hero Intro (content shown below the slider)
   ============================================================ */
.hero-intro {
    background: var(--bg-soft);
    border-bottom: 1px solid rgba(10, 15, 36, 0.06);
}
.hero-intro .intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--dark-2);
    color: #fff;
    border: 1px solid rgba(10, 15, 36, 0.08);
    padding: 0.45rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(10, 15, 36, 0.14);
    margin-bottom: 1.2rem;
}
.hero-intro .intro-badge i { color: #fbbf24; }
.hero-intro .hero-title { color: var(--dark); }
.hero-intro .hero-sub { color: var(--muted); }
.hero-intro .hero-stats {
    justify-content: center;
    border-top: 1px solid rgba(10, 15, 36, 0.1);
    padding-top: 1.5rem;
}
.hero-intro .stat-label { color: var(--muted); }

.hero-card {
    position: absolute;
    bottom: -34px;
    left: 24px;
    right: 24px;
    padding: 1.1rem;
    animation: float 8s ease-in-out infinite;
}
.glass-card {
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 22px;
    color: #fff;
    box-shadow: 0 15px 45px rgba(0,0,0,0.3);
}
.icon-bubble {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
    background: var(--gradient);
    color: #fff;
    padding: 1.1rem 0;
    overflow: hidden;
    position: relative;
    z-index: 5;
}
.marquee-track {
    display: flex;
    gap: 2rem;
    align-items: center;
    white-space: nowrap;
    animation: scroll 30s linear infinite;
    width: max-content;
}
.marquee-track span { font-weight: 700; font-size: 1.1rem; display: inline-flex; align-items: center; }
.marquee-track i { margin-left: 2rem; font-size: 0.9rem; opacity: 0.8; }
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================================
   Sections & Headings
   ============================================================ */
.section { padding: 5rem 0; }
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--bg-soft);
    color: var(--primary-2);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.5rem 1.1rem;
    border-radius: 40px;
    margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; }
.section-desc { color: var(--muted); margin-top: 0.75rem; }

/* ============================================================
   About / Tabs
   ============================================================ */
.tabs-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid #eef1ff;
}
.tabs-head {
    display: flex;
    gap: 0.5rem;
    background: var(--bg-soft);
    padding: 0.4rem;
    border-radius: 14px;
    margin-bottom: 1.25rem;
    overflow-x: auto;
}
.tab-btn {
    flex: 1;
    white-space: nowrap;
    border: none;
    background: transparent;
    padding: 0.65rem 0.9rem;
    border-radius: 11px;
    font-weight: 700;
    color: var(--muted);
    font-size: 0.88rem;
    transition: all 0.3s ease;
}
.tab-btn i { margin-right: 0.35rem; }
.tab-btn.active {
    background: #fff;
    color: var(--primary-2);
    box-shadow: 0 4px 15px rgba(10,15,36,0.08);
}
.tab-pane { display: none; color: var(--muted); line-height: 1.7; }
.tab-pane.active { display: block; animation: fadeIn 0.4s ease; }

.feature-pill {
    background: var(--bg-soft);
    color: var(--text);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
}
.feature-pill i { color: #10b981; }
.cred-logo { max-height: 46px; border-radius: 8px; }

/* ============================================================
   Products
   ============================================================ */
.products-section { background: var(--bg-soft); }
.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #eef1ff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.product-img { position: relative; overflow: hidden; }
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.product-card:hover .product-img img { transform: scale(1.08); }
.product-icon {
    position: absolute;
    bottom: -1px;
    right: 18px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: #fff;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(99,102,241,0.4);
}
.product-body { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }
.product-title { font-weight: 700; }
.product-desc { color: var(--muted); font-size: 0.92rem; flex: 1; }
.product-link {
    color: var(--primary-2);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.3s ease;
}
.product-link:hover { gap: 0.6rem; color: var(--accent); }

/* ============================================================
   Why Choose Us
   ============================================================ */
.why-section { background: var(--dark); }
.why-section .section-title, .why-section .section-desc { color: #fff; }
.feature-card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 1.8rem 1.4rem;
    height: 100%;
    color: #fff;
    transition: transform 0.4s ease, border-color 0.4s ease;
}
.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99,102,241,0.6);
}
.feature-card .text-muted {
    color: #aeb6d2 !important;
}
.feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 8px 20px rgba(99,102,241,0.4);
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials { background: var(--bg-soft); }
.testimonial-carousel { max-width: 720px; margin: 0 auto; position: relative; padding: 0 50px; }
.testimonial-card {
    color: var(--text);
    background: #fff;
    padding: 2.2rem;
    text-align: center;
    position: relative;
}
.testimonial-card.glass-card {
    background: #fff;
    border: 1px solid #eef1ff;
    color: var(--text);
    box-shadow: var(--shadow);
}
.quote-icon {
    width: 54px; height: 54px;
    margin: 0 auto 1.2rem;
    border-radius: 16px;
    background: var(--gradient);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.testimonial-text { font-size: 1.05rem; font-style: italic; color: var(--text); line-height: 1.7; }
.avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}
.stars i { color: #fbbf24; }
.testimonial-carousel .carousel-control-prev,
.testimonial-carousel .carousel-control-next { width: auto; }
.ctrl-circle {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eef1ff;
    color: var(--primary-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}
.carousel-control-prev:hover .ctrl-circle,
.carousel-control-next:hover .ctrl-circle {
    background: var(--gradient);
    color: #fff;
    transform: scale(1.08);
}
@media (max-width: 576px) {
    .testimonial-carousel { padding: 0 38px; }
    .ctrl-circle { width: 34px; height: 34px; font-size: 0.8rem; }
}

/* ============================================================
   Customers
   ============================================================ */
.customers-section { padding: 4rem 0; }
.customers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.customer-logo {
    background: #fff;
    border: 1px solid #eef1ff;
    border-radius: 16px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.3s ease;
    aspect-ratio: 2/1;
}
.customer-logo img { max-width: 100%; max-height: 60px; object-fit: contain; }
.customer-logo:hover { filter: grayscale(0); opacity: 1; transform: scale(1.04); }

/* ============================================================
   CTA
   ============================================================ */
.cta-section { padding: 1rem 0 5rem; }
.cta-card {
    background: var(--gradient);
    background-size: 200% auto;
    border-radius: 28px;
    padding: 2.6rem 2rem;
    box-shadow: 0 25px 60px rgba(99,102,241,0.4);
    animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.text-white-70 { color: rgba(255,255,255,0.8); }

/* ============================================================
   Page Hero (Contact)
   ============================================================ */
.page-hero {
    position: relative;
    background: var(--dark);
    color: #fff;
    padding: 4rem 0 6rem;
    overflow: hidden;
}
.page-hero-blobs { position: absolute; inset: 0; pointer-events: none; }

/* ============================================================
   Contact Info & Form
   ============================================================ */
.contact-info .info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    border: 1px solid #eef1ff;
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}
.contact-info .info-card:hover { transform: translateX(6px); }
.info-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--bg-soft);
    color: var(--primary-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.info-card:hover .info-icon { background: var(--gradient); color: #fff; }

.form-card {
    background: #fff;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid #eef1ff;
}
.form-control {
    border-radius: 12px;
    border: 1px solid #e5e9ff;
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
}
.form-control:focus {
    border-color: var(--primary-2);
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.15);
}
.input-group-text {
    background: var(--bg-soft);
    border: 1px solid #e5e9ff;
    border-radius: 12px 0 0 12px !important;
    color: var(--primary-2);
}
.form-control, .input-group-text { font-size: 1rem; }
.input-group .form-control { border-radius: 0 12px 12px 0; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
    background: var(--dark);
    color: #aeb6d2;
    overflow: hidden;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient);
}
.footer-title {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    margin-bottom: 1.2rem;
}
.footer-logo-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    padding: 8px 10px;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.footer-logo-tile .brand-logo { height: 54px; max-height: 54px; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
    color: #aeb6d2;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    font-size: 0.92rem;
}
.footer-links a:hover { color: #fff; padding-left: 6px; }
.text-white-60 { color: rgba(255,255,255,0.6); }
.social-light {
    background: rgba(255,255,255,0.1);
    color: #fff;
    width: 38px; height: 38px;
    font-size: 0.95rem;
}
.social-light:hover { background: var(--gradient); color: #fff; }
.footer-contact li {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
    font-size: 0.92rem;
    line-height: 1.5;
}
.footer-contact i { color: var(--primary-2); margin-top: 3px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.4rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: #8a92b8;
}
.footer-bottom strong { color: #fff; }

/* ============================================================
   Back to Top
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--gradient);
    color: #fff;
    border: none;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(99,102,241,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 1000;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

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

/* ============================================================
   Responsive (Mobile-first refinement)
   ============================================================ */
@media (max-width: 767.98px) {
    .section { padding: 3.5rem 0; }
    .hero {
        aspect-ratio: auto;
        height: clamp(150px, 52vw, 280px);
        min-height: 0;
        max-height: none;
    }
    .hero .hero-slider .slider-img { object-fit: cover; object-position: center bottom; }
    .hero-stats { gap: 1.25rem !important; }
    .hero-indicators { left: 50%; right: auto; transform: translateX(-50%); bottom: 12px; }
    .hero-slide-tag { left: 50%; transform: translateX(-50%); bottom: 40px; }
    .hero-slide-tag .slider-caption { font-size: 0.9rem; padding: 0.6rem 1.2rem; }
    .hero-ctrl-prev, .hero-ctrl-next { top: auto; transform: none; }
    .hero-ctrl-prev { left: 12px; }
    .hero-ctrl-next { right: 12px; }
    .float-chip { width: 44px; height: 44px; font-size: 1rem; }
    .products-section .product-card { margin-bottom: 0; }
    .form-card { padding: 1.5rem; }
    .cta-card { padding: 2rem 1.4rem; text-align: center; }
    .cta-card .text-lg-end { text-align: center !important; }
    .customers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 2rem; }
    .section-tag { font-size: 0.74rem; }
    .brand-name { font-size: 0.95rem; }
    .topbar .container { justify-content: flex-end !important; }
    .customers-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
    .customer-logo { padding: 1rem; }
}
