/* ============================================================
   home.css — R S Industrial Homepage Specific Styles
   Light theme, modern carousel, stats bar, why-us grid, CTA
   ============================================================ */

/* ---- CRITICAL OVERRIDES (defeat style.css conflicts) ---- */
body {
    background: #f4f7fb !important;
}

/* Force hero to use our dark overlay + slide images, not gradient */
.hero::before,
.hero::after {
    display: none !important;
}

/* ---- HERO SECTION ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #0a1628;
    color: white;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    will-change: opacity;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(6, 18, 44, 0.88) 0%,
            rgba(0, 55, 120, 0.70) 50%,
            rgba(6, 18, 44, 0.80) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-left {
    animation: fadeInUp 0.9s ease both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 168, 232, 0.15);
    border: 1px solid rgba(0, 168, 232, 0.4);
    color: #7ecfee;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-left h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 22px;
    background: linear-gradient(135deg, #ffffff 0%, #a8d4f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-left p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #c5d5e8;
    margin-bottom: 35px;
    max-width: 560px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cta-button-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.cta-button-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: white;
    transform: translateY(-3px);
}

.hero-trust-badges {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

.trust-badge i {
    color: #4ade80;
    font-size: 1rem;
}

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot.active {
    background: white;
    width: 28px;
    border-radius: 6px;
}

/* ---- HERO FORM ---- */
.hero-form {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 45px;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
    animation: slideInRight 0.9s ease both;
    position: relative;
    overflow: hidden;
    color: #1a2332;
}

.hero-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0067ba, #00a8e8);
}

.hero-form h2 {
    color: #1a2332;
    margin-bottom: 6px;
    font-size: 1.8rem;
    padding-bottom: 16px;
    position: relative;
}

.hero-form h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0067ba, #00a8e8);
    border-radius: 3px;
}

.hero-form .form-subtitle {
    color: #4a5568;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

/* ---- STATS STRIP ---- */
/* ===== STATS STRIP REDESIGN ===== */
/* ===== STATS STRIP REDESIGN ===== */
.stats-strip {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    margin-bottom: 40px;
}

.stats-strip .container {
    background: linear-gradient(135deg, #0067ba 0%, #00457c 100%);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 50px rgba(0, 103, 186, 0.25);
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.08); /* slight contrast against blue */
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, background 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
}

.stat-icon {
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stat-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-number,
.stat-suffix {
    display: inline;
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.stat-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Grid Adjustments */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stats-strip {
        margin-top: -40px;
        padding: 0 15px;
    }
    .stats-strip .container {
        padding: 30px 20px;
    }
}

/* ---- PRODUCTS SECTION (LIGHT) ---- */
.products-light {
    background: #f4f7fb;
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 54px;
}

.section-label {
    display: inline-block;
    background: #e8f4fc;
    color: #0067ba;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.section-title-light {
    font-size: 2.8rem;
    color: #1a2332;
    margin-bottom: 14px;
    font-weight: 700;
}

.section-subtitle-light {
    font-size: 1.1rem;
    color: #718096;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ---- PRODUCT CAROUSEL ---- */
.product-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
}

.product-carousel {
    display: flex;
    gap: 28px;
    overflow: hidden;
    flex: 1;
    scroll-behavior: smooth;
}

.carousel-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid #dee4ec;
    background: white;
    color: #0067ba;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 103, 186, 0.1);
}

.carousel-btn:hover {
    background: #0067ba;
    color: white;
    border-color: #0067ba;
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(0, 103, 186, 0.3);
}

/* ---- PRODUCT CARD (LIGHT) ---- */
.product-card-light {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.06);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    display: block;
    min-width: calc(33.333% - 20px);
    flex: 0 0 calc(33.333% - 20px);
    border: 1.5px solid #eaf0f7;
    position: relative;
}

.product-card-light:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(0, 103, 186, 0.14);
    border-color: rgba(0, 103, 186, 0.25);
}

.product-img-wrap {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f5fb 0%, #e4eff9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.product-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-light:hover .product-img-wrap img {
    transform: scale(1.08);
}

.product-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #0067ba;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.product-tag.hot {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.4);
}

.product-body {
    padding: 26px 28px 24px;
}

.product-body h3 {
    font-size: 1.25rem;
    color: #1a2332;
    margin-bottom: 10px;
    font-weight: 700;
    transition: color 0.3s;
}

.product-card-light:hover .product-body h3 {
    color: #0067ba;
}

.product-body p {
    font-size: 0.92rem;
    color: #718096;
    line-height: 1.7;
    margin-bottom: 18px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f4f8;
    padding-top: 16px;
    gap: 10px;
    flex-wrap: wrap;
}

.product-learn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0067ba;
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap 0.3s;
}

.product-card-light:hover .product-learn {
    gap: 10px;
}

.product-avail {
    font-size: 0.82rem;
    color: #10b981;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.c-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #d1dae6;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.c-dot.active {
    background: #0067ba;
    width: 28px;
    border-radius: 6px;
}

/* ---- BRANDS STRIP ---- */
.brands-strip {
    background: #ffffff;
    border-top: 1px solid #eaf0f7;
    border-bottom: 1px solid #eaf0f7;
    padding: 28px 0;
}

.brands-label {
    text-align: center;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #9eaebf;
    font-weight: 600;
    margin-bottom: 22px;
}

.brands-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.brand-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 32px;
    color: #4a5568;
    font-weight: 700;
    font-size: 1.05rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    cursor: default;
    letter-spacing: 0.3px;
}

.brand-item i {
    color: #0067ba;
    font-size: 0.85rem;
}

.brand-item:hover {
    color: #0067ba;
    transform: translateY(-3px);
}

.brand-divider {
    width: 1px;
    height: 30px;
    background: #dee4ec;
    flex-shrink: 0;
}

/* ---- WHY CHOOSE US ---- */

.why-us {
    background: #ffffff;
    padding: 90px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 10px;
}

.why-card {
    background: #f8fbfe;
    border: 1.5px solid #e8f0f8;
    border-radius: 20px;
    padding: 36px 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card:hover {
    background: #ffffff;
    border-color: rgba(0, 103, 186, 0.25);
    box-shadow: 0 20px 50px rgba(0, 103, 186, 0.1);
    transform: translateY(-8px);
}

.why-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 22px;
    transition: transform 0.3s ease;
}

.why-card:hover .why-icon {
    transform: scale(1.1);
}

.why-card h3 {
    font-size: 1.15rem;
    color: #1a2332;
    margin-bottom: 12px;
    font-weight: 700;
}

.why-card p {
    font-size: 0.93rem;
    color: #718096;
    line-height: 1.75;
    margin: 0;
}

/* ---- ABOUT SECTION BADGES ---- */
.about-image {
    position: relative;
}

.about-badge-1,
.about-badge-2 {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    color: #1a2332;
    border: 1px solid #eaf0f7;
}

.about-badge-1 {
    bottom: 24px;
    left: -20px;
    color: #059669;
}

.about-badge-1 i {
    color: #059669;
}

.about-badge-2 {
    top: 20px;
    right: -20px;
}

.about-badge-2 i {
    color: #ef4444;
}

/* ---- CTA BANNER ---- */
.cta-banner {
    background: linear-gradient(135deg, #0067ba 0%, #004d8a 100%);
    padding: 64px 0;
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-banner-text h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 8px;
    font-weight: 700;
}

.cta-banner-text p {
    color: rgba(255, 255, 255, 0.80);
    font-size: 1.05rem;
}

.cta-banner-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.cta-button-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.cta-button-outline-dark:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-3px);
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-card-light {
        min-width: calc(50% - 14px);
        flex: 0 0 calc(50% - 14px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding-top: 80px;
        gap: 40px;
    }

    .hero-left h1 {
        font-size: 2.8rem;
    }

    .section-title-light {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 60px 20px 40px;
    }

    .hero-left h1 {
        font-size: 2.2rem;
    }

    .hero-left p {
        font-size: 1.05rem;
    }

    .hero-form {
        padding: 32px 22px;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .hero-trust-badges {
        gap: 16px;
    }



    .product-carousel-wrapper {
        gap: 10px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .product-card-light {
        min-width: calc(100% - 0px);
        flex: 0 0 100%;
    }

    .brands-grid {
        gap: 0;
    }

    .brand-item {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-card {
        padding: 28px 22px;
    }

    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner-text h2 {
        font-size: 1.7rem;
    }

    .cta-banner-actions {
        justify-content: center;
    }

    .about-badge-1,
    .about-badge-2 {
        display: none;
    }

    .section-title-light {
        font-size: 1.9rem;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.78rem;
        padding: 6px 14px;
    }

    .hero-left h1 {
        font-size: 1.85rem;
    }

    .stats-grid {
        flex-direction: column;
        align-items: center;
    }



    .product-img-wrap {
        height: 180px;
    }
}