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

body {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #f5f5f7;
    font-size: clamp(15px, 0.95vw, 17px);
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #fbbf24;
    --text-dark: #111827;
    --muted: #6b7280;
    --section-bg: #f9fafb;
    --hero-height: clamp(320px, 55vh, 540px);
    --fs-small: clamp(13px, 0.75vw, 15px);
    --fs-heading: clamp(26px, 3vw, 48px);
    --fs-subheading: clamp(20px, 2.5vw, 34px);
    --fs-card-title: clamp(16px, 1.3vw, 22px);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 16px;
    margin: 0 auto;
}

/* Header */
.top-bar {
    background: #111827;
    color: #e5e7eb;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 16px;
}

.top-bar-right {
    display: flex;
    gap: 16px;
}

.top-link {
    opacity: 0.9;
}

.nav-wrapper {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.logo a {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-weight: 700;
    font-size: 1.4rem;
    color: #1f2937;
}

.logo-sub {
    font-size: 0.8rem;
    color: #6b7280;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
}

.main-nav a {
    font-size: 0.95rem;
    color: #374151;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.2s ease-out;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, #2563eb, #f97316);
    transition: width 0.2s ease-out;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #111827;
}

/* Hero slider (top banner) */
.hero-slider {
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden;
    min-height: var(--hero-height);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.hero-slider-inner {
    position: relative;
    min-height: var(--hero-height);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

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

.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.6);
    border: none;
    color: #e5e7eb;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background 0.2s ease-out;
}

.hero-slider-arrow:hover {
    background: #ffffff;
    color: #111827;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.hero-slider-arrow.prev {
    left: 16px;
}

.hero-slider-arrow.next {
    right: 16px;
}

.hero-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.hero-slider-dots .dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 1px solid rgba(243, 244, 246, 0.9);
    background: rgba(31, 41, 55, 0.6);
    cursor: pointer;
}

.hero-slider-dots .dot.active {
    width: 18px;
    background: #fbbf24;
}

@keyframes cardFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Hero content below slider */
.hero {
    background: radial-gradient(circle at top left, #dbeafe 0, #f9fafb 55%, #fef3c7 100%);
    padding: 32px 0 52px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: var(--fs-heading);
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.hero-content p {
    max-width: 520px;
    color: #4b5563;
    margin-bottom: 20px;
    font-size: clamp(15px, 1vw, 18px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.2s ease-out, color 0.2s ease-out, box-shadow 0.2s ease-out, transform 0.1s ease-out;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 35px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background: transparent;
    border-color: #d1d5db;
    color: #111827;
}

.btn-outline:hover {
    background: #f3f4f6;
}

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

.highlight {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.highlight-number {
    display: block;
    font-weight: 600;
    font-size: 1.2rem;
    color: #1d4ed8;
}

.highlight-label {
    font-size: 0.8rem;
    color: #6b7280;
}

.hero-image {
    position: relative;
    display: grid;
    gap: 16px;
}

.hero-card {
    padding: 18px 20px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.13);
    animation: cardFloat 7s ease-in-out infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
}

.hero-card-main h2 {
    font-size: clamp(18px, 1.5vw, 24px);
    margin-bottom: 8px;
}

.hero-card-main p {
    font-size: var(--fs-small);
    color: #4b5563;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    margin-bottom: 8px;
}

.hero-card-secondary h3 {
    font-size: clamp(16px, 1.2vw, 20px);
    margin-bottom: 6px;
}

.hero-card-secondary ul {
    padding-left: 18px;
    font-size: var(--fs-small);
    color: #4b5563;
}

/* Sections */
.section {
    padding: 56px 0;
}

.section-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.section-header h2 {
    font-size: var(--fs-subheading);
    margin-bottom: 8px;
    color: #111827;
}

.section-header p {
    color: #4b5563;
    font-size: inherit;
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* About */
.about {
    background: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: 32px;
    align-items: center;
}

.about-text p {
    margin-bottom: 10px;
    color: #4b5563;
    font-size: 0.95rem;
}

.about-text .eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 6px;
}

.about-text h3 {
    font-size: clamp(20px, 1.8vw, 28px);
    color: #0f172a;
    margin-bottom: 10px;
}

.check-list {
    list-style: none;
    margin-top: 8px;
}

.check-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 6px;
}

.check-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.8rem;
    color: #16a34a;
}

.about-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.pill {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.25);
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 500;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.pill:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.5);
}

.about-media {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.image-frame {
    border-radius: 20px;
    padding: 12px;
    background: linear-gradient(135deg, #eef2ff, #dbeafe);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.image-frame img {
    width: 100%;
    border-radius: 12px;
}

.image-note {
    font-size: 0.8rem;
    color: #6b7280;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.stat-card {
    padding: 12px 14px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 4px;
}

.stat-value {
    font-weight: 600;
    font-size: 1.1rem;
    color: #111827;
}

/* Showcase */
.showcase {
    background: var(--section-bg);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.showcase-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
}

.showcase-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.showcase-body {
    padding: 18px;
}

.showcase-body h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: #111827;
}

.showcase-body p {
    color: #4b5563;
    font-size: 0.9rem;
}

/* Products */
.products {
    background: #f9fafb;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
}

.service-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

.showcase-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.2);
}

.contact-form {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.card h3 {
    font-size: var(--fs-card-title);
    margin-bottom: 6px;
    color: #111827;
}

.card p {
    font-size: var(--fs-small);
    color: #4b5563;
}

.product-thumb {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(248, 113, 113, 0.08));
    border: 1px dashed rgba(37, 99, 235, 0.2);
}

.product-thumb img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.card-body {
    flex: 1;
}

/* Services */
.services {
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    padding: 18px 18px 18px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.service-card h3 {
    font-size: var(--fs-card-title);
    margin-bottom: 6px;
}

.service-card p {
    font-size: var(--fs-small);
    color: #4b5563;
}

/* Brands */
.brands {
    background: #f3f4f6;
}

.brands-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 18px;
    align-items: center;
}

.brands-row img {
    width: 100%;
    height: 60px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.75;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.brands-row img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Contact */
.contact {
    background: #ffffff;
}

.contact-inner {
    gap: 32px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 24px;
    align-items: start;
}

.contact-info p {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 6px;
}

.contact-form {
    background: #f9fafb;
    border-radius: 16px;
    padding: 18px 18px 20px;
    border: 1px solid #e5e7eb;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.form-field label {
    font-size: 0.8rem;
    color: #6b7280;
}

.form-field input,
.form-field textarea {
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 8px 10px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.4);
    background: #ffffff;
}

.form-note {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #6b7280;
}

/* Footer */
.site-footer {
    background: #111827;
    color: #e5e7eb;
    margin-top: 32px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
    padding: 24px 16px 18px;
}

.footer-col h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.footer-col h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.footer-col p,
.footer-col li {
    font-size: 0.85rem;
    color: #9ca3af;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li + li {
    margin-top: 4px;
}

.footer-col a {
    color: #e5e7eb;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding: 10px 0;
    font-size: 0.8rem;
    text-align: center;
    color: #6b7280;
}


    



/* Responsive */
@media (max-width: 960px) {
    :root {
        --hero-height: clamp(260px, 45vh, 420px);
    }

    body {
        font-size: 0.95rem;
    }

   
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;
        padding: 8px 0 10px;
    }

    .main-nav ul {
        flex-direction: column;
        padding-inline: 16px;
    }

    .main-nav li + li {
        margin-top: 4px;
    }

    .main-nav.open {
        display: block;
    }

    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 640px) {
    :root {
        --hero-height: 240px;
    }

    .top-bar .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .cards-grid,
    .services-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding: 20px 0 32px;
    }

    .section {
        padding: 36px 0;
    }
}

@media (min-width: 1440px) {
    :root {
        --hero-height: 800px;
    }
}

@media screen and (max-width: 480px) {
    :root {
        --hero-height: 210px;
    }

    .about-stats {
        grid-template-columns: minmax(0, 1fr);
    }
}
    