/* =============================================
   JAIN SALES & MARKETING — ELECTRICAL WHOLESALE
   Theme: Navy Blue + Electric Orange + White
============================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy:         #0d1b2a;
    --navy-mid:     #1b3a5c;
    --navy-light:   #2563a8;
    --orange:       #f26522;
    --orange-light: #ff8c42;
    --bg:           #f4f7fb;
    --white:        #ffffff;
    --text-dark:    #0d1b2a;
    --text-mid:     #3a4a5c;
    --text-light:   #7a8a9a;
    --border:       #dce4ef;
    --shadow:       0 6px 28px rgba(13,27,42,0.1);
    --shadow-hover: 0 14px 44px rgba(13,27,42,0.18);
    --radius:       14px;
    --transition:   all 0.32s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Rajdhani', sans-serif; letter-spacing: 0.3px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ---- BUTTONS ---- */
.btn {
    display: inline-block;
    padding: 0.82rem 2rem;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.3px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(242,101,34,0.35);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 26px rgba(242,101,34,0.5);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.8);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-3px);
}
.full-width { width: 100%; text-align: center; }

/* ---- SECTION BADGE ---- */
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: var(--white);
    padding: 0.28rem 1.1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
    font-family: 'Poppins', sans-serif;
}

section h2 {
    font-size: 2.7rem;
    color: var(--navy);
    margin-bottom: 0.7rem;
    line-height: 1.15;
}
.section-sub {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 2.8rem;
}

/* =====================
   HEADER
===================== */
#main-header {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    padding: 0.9rem 0;
    transition: var(--transition);
    background: rgba(13,27,42,0.15);
    backdrop-filter: blur(6px);
}
#main-header.scrolled {
    background: var(--navy);
    padding: 0.55rem 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
    backdrop-filter: none;
}
#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-mark {
    font-size: 2rem;
    background: var(--orange);
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.logo h1, .logo h3 {
    color: var(--white);
    font-size: 1.3rem;
    line-height: 1.1;
    margin: 0;
}
.logo h1 span, .logo h3 span { color: var(--orange-light); }
.logo .tagline, .logo p {
    color: rgba(255,255,255,0.65);
    font-size: 0.68rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.8px;
    margin: 0;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 1.6rem;
    align-items: center;
}
nav a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 2px;
    background: var(--orange);
    transition: width 0.3s;
}
nav a:hover::after { width: 100%; }
nav a:hover { color: var(--orange-light); }

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.4rem;
    gap: 5px;
}
.hamburger span {
    width: 25px; height: 2.5px;
    background: var(--white);
    display: block;
    border-radius: 3px;
    transition: var(--transition);
}

/* =====================
   HERO
===================== */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}
.hero-slider { position: absolute; inset: 0; }
.slide {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.slide.active { opacity: 1; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        160deg,
        rgba(13,27,42,0.82) 0%,
        rgba(13,27,42,0.55) 55%,
        rgba(13,27,42,0.78) 100%
    );
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 6rem 2rem 2rem;
}
.hero-badge {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 0.35rem 1.2rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.4rem;
    font-family: 'Poppins', sans-serif;
}
.hero-content h2 {
    font-size: clamp(2.4rem, 5.5vw, 4.8rem);
    line-height: 1.1;
    margin-bottom: 1.2rem;
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-desc {
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 2.2rem;
    color: rgba(255,255,255,0.85);
}
.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 2rem;
    max-width: 700px;
    margin: 0 auto;
}
.hero-stat {
    flex: 1;
    min-width: 140px;
    padding: 0.8rem 1rem;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.hero-stat:last-child { border-right: none; }
.hero-stat span {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--orange-light);
    line-height: 1;
}
.hero-stat p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 0.3rem;
}
.hero-scroll {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
    animation: bounce 2s infinite;
}
.scroll-arrow {
    width: 16px; height: 16px;
    border-right: 2px solid rgba(255,255,255,0.5);
    border-bottom: 2px solid rgba(255,255,255,0.5);
    transform: rotate(45deg);
    margin: 5px auto 0;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* =====================
   ABOUT
===================== */
#about {
    padding: 6rem 0;
    background: var(--white);
    text-align: left;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}
.about-images { position: relative; }
.about-img-main {
    width: 100%; height: 480px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.about-badge-box {
    position: absolute;
    bottom: -1.5rem; right: -1.5rem;
    background: var(--orange);
    color: var(--white);
    padding: 1.4rem 1.6rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(242,101,34,0.4);
}
.big-num {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
}
.big-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.9;
    font-family: 'Poppins', sans-serif;
}
.about-text { padding-left: 0.5rem; }
.about-text h2 { font-size: 2.4rem; margin-bottom: 1.4rem; }
.about-text p { color: var(--text-mid); margin-bottom: 1.1rem; font-size: 0.96rem; }
.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    margin-top: 1.8rem;
}
.highlight-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-left: 3px solid var(--orange);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-mid);
}

/* =====================
   PRODUCTS
===================== */
#products {
    padding: 6rem 0;
    background: var(--bg);
    text-align: center;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: left;
    border: 1px solid var(--border);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--orange);
}
.product-img {
    position: relative;
    overflow: hidden;
}
.product-img img {
    width: 100%; height: 210px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img img { transform: scale(1.06); }
.product-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--orange);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.75rem;
    border-radius: 5px;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}
.product-body { padding: 1.5rem; }
.product-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.product-body h3 {
    font-size: 1.35rem;
    color: var(--navy);
    margin-bottom: 0.6rem;
}
.product-body p {
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.product-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}
.product-tags li {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--navy-mid);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
}

/* =====================
   BRANDS
===================== */
#brands {
    padding: 5rem 0;
    background: var(--navy);
    text-align: center;
}
#brands h2 { color: var(--white); }
#brands .section-sub { color: rgba(255,255,255,0.5); }
.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.2rem;
}
.brand-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 1.4rem 0.8rem;
    text-align: center;
    transition: var(--transition);
    cursor: default;
}
.brand-card:hover {
    background: rgba(255,255,255,0.14);
    border-color: var(--orange);
    transform: translateY(-4px);
}
.brand-logo { font-size: 1.6rem; margin-bottom: 0.5rem; }
.brand-card span {
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
}

/* =====================
   WHY US
===================== */
#why-us {
    padding: 6rem 0;
    background: var(--white);
    text-align: center;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}
.why-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.6rem;
    text-align: left;
    transition: var(--transition);
    border-top: 4px solid transparent;
}
.why-card:hover {
    border-top-color: var(--orange);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
    background: var(--white);
}
.why-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.why-card h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 0.6rem; }
.why-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; }

/* =====================
   CONTACT
===================== */
#contact {
    padding: 6rem 0;
    background: var(--bg);
    text-align: center;
}
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    text-align: left;
    align-items: start;
    margin-top: 1rem;
}
.contact-details { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-card {
    display: flex;
    gap: 1.1rem;
    background: var(--white);
    border-radius: 12px;
    padding: 1.4rem;
    box-shadow: 0 3px 14px rgba(0,0,0,0.07);
    align-items: flex-start;
    transition: var(--transition);
    border-left: 4px solid transparent;
}
.contact-card:hover {
    border-left-color: var(--orange);
    box-shadow: 0 6px 22px rgba(0,0,0,0.1);
    transform: translateX(4px);
}
.contact-icon { font-size: 1.7rem; flex-shrink: 0; margin-top: 1px; }
.contact-card h3 {
    font-size: 0.88rem;
    color: var(--orange);
    margin-bottom: 0.3rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.contact-card p { color: var(--text-mid); font-size: 0.9rem; line-height: 1.65; }
.contact-card a { color: var(--navy-light); text-decoration: none; font-weight: 500; }
.contact-card a:hover { color: var(--orange); }
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: var(--white) !important;
    padding: 0.5rem 1.1rem;
    border-radius: 7px;
    font-size: 0.83rem;
    font-weight: 600;
    text-decoration: none !important;
    margin-top: 0.6rem;
    transition: var(--transition);
}
.whatsapp-btn:hover {
    background: #1ebe58;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37,211,102,0.4);
}
.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.4rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.contact-form h3 { font-size: 1.8rem; color: var(--navy); margin-bottom: 1.6rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1.5px solid var(--border);
    border-radius: 9px;
    font-size: 0.92rem;
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--bg);
    transition: border-color 0.3s, background 0.3s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--orange);
    background: var(--white);
}
.form-group textarea { resize: vertical; }

/* =====================
   MAP
===================== */
#map-section { width: 100%; line-height: 0; }
#map-section iframe { display: block; filter: grayscale(10%); }

/* =====================
   FOOTER
===================== */
footer {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 0 1.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand .logo h3 { font-size: 1.15rem; color: var(--white); }
.footer-desc { color: rgba(255,255,255,0.55); font-size: 0.87rem; line-height: 1.75; }
footer h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--orange-light);
    margin-bottom: 1.2rem;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.55rem; }
footer a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.87rem; transition: color 0.3s; }
footer a:hover { color: var(--orange-light); }
footer p { color: rgba(255,255,255,0.55); font-size: 0.85rem; line-height: 1.85; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.footer-bottom p { font-size: 0.82rem; }

/* =====================
   FLOATING WHATSAPP
===================== */
.float-whatsapp {
    position: fixed;
    bottom: 2rem; right: 2rem;
    z-index: 999;
    background: #25d366;
    width: 58px; height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
    transition: var(--transition);
    animation: pulse-wa 2.5s infinite;
}
.float-whatsapp:hover {
    background: #1ebe58;
    transform: scale(1.1);
    animation: none;
    box-shadow: 0 8px 28px rgba(37,211,102,0.65);
}
@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.5); }
    50%       { box-shadow: 0 6px 36px rgba(37,211,102,0.82); }
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 1100px) {
    .products-grid { grid-template-columns: repeat(2,1fr); }
    .brands-grid { grid-template-columns: repeat(4,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-img-main { height: 360px; }
    .about-badge-box { bottom: -1.2rem; right: -0.5rem; }
    .about-highlights { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: repeat(2,1fr); }
    .contact-wrapper { grid-template-columns: 1fr; }
    .brands-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
    .hamburger { display: flex; }
    #nav-menu {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--navy);
        padding: 1.5rem 2rem;
        box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    }
    #nav-menu.active { display: block; }
    nav ul { flex-direction: column; gap: 1.1rem; }
    section h2 { font-size: 2rem; }
    #about, #products, #brands, #why-us, #contact { padding: 4rem 0; }
    .products-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 0; }
    .hero-stat { min-width: 120px; }
}
@media (max-width: 580px) {
    .container { padding: 0 1.2rem; }
    .hero-content h2 { font-size: 2.1rem; }
    .brands-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-btns { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 290px; text-align: center; }
    .hero-stats { flex-direction: column; }
    .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .hero-stat:last-child { border-bottom: none; }
}
