/* 
 * SUDHVEST PVT LTD - Frontend Stylesheet
 */

:root {
    --primary: #8B9A6E;
    --primary-dark: #6d7a54;
    --primary-light: #a8b58e;
    --dark: #1a1a2e;
    --text: #333;
    --text-muted: #666;
    --cream: #F7F2EB;
    --wa-green: #25D366;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1,h2,h3,h4,h5,h6 { font-family: 'Playfair Display', serif; font-weight: 700; }
.text-primary { color: var(--primary) !important; }
.bg-cream { background-color: var(--cream); }

/* ─── Buttons ────────────────────────── */
.btn-primary { background: var(--primary); border-color: var(--primary); transition: all .35s ease; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(139,154,110,.35); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-wa { background: var(--wa-green); color: #fff !important; font-weight: 600; font-size: .85rem; border: none; transition: all .3s ease; }
.btn-wa:hover { background: #1ebe57; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.35); color: #fff !important; }

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.glass-nav {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,.05);
    padding: 12px 0;
    transition: all .4s ease;
    z-index: 1050;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}
.glass-nav.scrolled {
    background: rgba(255,255,255,.98);
    box-shadow: 0 4px 30px rgba(0,0,0,.08);
    padding: 8px 0;
}

.brand-text {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
    letter-spacing: .5px;
}

.nav-tab {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: .85rem;
    color: var(--text) !important;
    padding: 8px 16px !important;
    border-radius: 50px;
    transition: all .3s ease;
    margin: 0 2px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.nav-tab:hover { color: var(--primary) !important; background: rgba(139,154,110,.08); }
.nav-tab.active { color: #fff !important; background: var(--primary) !important; }
.navbar-toggler { font-size: 1.2rem; color: var(--text); padding: 6px 10px; }

/* Mega Menu */
.has-megamenu:hover .megamenu { opacity: 1; visibility: visible; transform: translateY(0); }
.megamenu {
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 900px;
    padding: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    border: 1px solid #eee;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: block; /* always block, controlled by opacity/visibility */
    overflow: hidden;
    margin-top: 15px;
}
.megamenu::before {
    content: '';
    position: absolute; top: -15px; left: 0; right: 0; height: 15px; background: transparent;
}
.nav-pills .nav-link {
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 20px;
    transition: all 0.2s;
}
.nav-pills .nav-link.active, .nav-pills .nav-link:hover {
    background-color: var(--primary);
    color: #fff;
}
.mega-product-card { cursor: pointer; }
.mega-product-card:hover { border-color: var(--primary) !important; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transform: translateY(-2px); }

/* Shop Button & Modal */
.btn-shop {
    background: #dc2626; color: #fff !important; border: none; font-size: .85rem; transition: all 0.3s;
}
.btn-shop:hover { background: #b91c1c; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(220,38,38,0.3); }
.shop-link-btn {
    display: flex; align-items: center; justify-content: center; padding: 12px;
    border-radius: 12px; border: 1px solid #eee; background: #fff; transition: all 0.2s; text-decoration: none;
}
.shop-link-btn:hover { border-color: #dc2626; background: #fef2f2; transform: translateY(-2px); }

/* ═══════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════ */
.hero-section { position: relative; overflow: hidden; }
.hero-carousel, .hero-carousel .carousel-item { height: 100vh; min-height: 600px; }
.hero-carousel .carousel-item img.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; animation: kenBurns 25s ease infinite alternate;
}
@keyframes kenBurns { 0%{transform:scale(1)} 100%{transform:scale(1.1)} }

.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; }
.hero-content { position: relative; z-index: 3; color: #fff; }
.hero-eyebrow { font-family: 'Inter', sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--primary-light); margin-bottom: .8rem; display: inline-block; }
.hero-title { font-family: 'Playfair Display', serif; font-size: 3.8rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.2rem; text-shadow: 0 3px 25px rgba(0,0,0,.3); }
.hero-title .highlight { color: var(--primary-light); }
.hero-subtitle { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 300; max-width: 520px; margin-bottom: 2rem; opacity: .8; line-height: 1.8; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

@media(max-width:991px) {
    .megamenu { position: static; transform: none; width: 100%; box-shadow: none; border: none; padding: 10px; margin-top: 0; display: none; }
    .has-megamenu.show .megamenu { display: block; opacity: 1; visibility: visible; }
    .nav-pills { display: flex; flex-direction: row !important; overflow-x: auto; white-space: nowrap; padding-bottom: 10px; border-bottom: 1px solid #eee; margin-bottom: 10px; }
    .hero-carousel, .hero-carousel .carousel-item { height: 80vh; min-height: 500px; }
    .hero-title { font-size: 2.5rem; }
}

/* ═══════════════════════════════════════
   SECTION COMMON
═══════════════════════════════════════ */
.section-padding { padding: 90px 0; }
.section-label { font-family: 'Inter', sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--primary); margin-bottom: .5rem; display: inline-block; }
.section-title { font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 700; margin-bottom: .5rem; }
.section-subtitle { font-family: 'Inter', sans-serif; font-size: .95rem; color: var(--text-muted); max-width: 580px; margin: 0 auto 3rem; }

/* ─── Approach ───────────────────────── */
.approach-card { text-align: center; padding: 1.5rem 1rem; border-radius: 20px; background: #fff; border: 1px solid #eee; transition: all .4s ease; height: 100%; }
.approach-card:hover { border-color: var(--primary); transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,.06); }
.approach-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.2rem; color: var(--primary); transition: all .4s ease; }
.approach-card:hover .approach-icon { background: var(--primary); color: #fff; transform: scale(1.1) rotate(5deg); }

/* ─── Brand Showcase ─────────────────── */
.brand-showcase-card { border: none; border-radius: 20px; overflow: hidden; transition: all .4s ease; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.brand-showcase-card:hover { transform: translateY(-12px); box-shadow: 0 25px 50px rgba(0,0,0,.12); }
.brand-cover { height: 200px; overflow: hidden; position: relative; }
.brand-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.brand-showcase-card:hover .brand-cover img { transform: scale(1.1); }
.brand-cover-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.2rem; background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff; }
.brand-logo-float { position: absolute; top: -28px; right: 20px; width: 56px; height: 56px; border-radius: 14px; background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,.1); display: flex; align-items: center; justify-content: center; padding: 6px; z-index: 3; }
.brand-logo-float img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ─── About ──────────────────────────── */
.about-img { border-radius: 24px; overflow: hidden; box-shadow: 0 25px 60px rgba(0,0,0,.1); }
.about-img img { width: 100%; height: 100%; object-fit: cover; min-height: 350px; transition: transform .6s ease; }
.about-img:hover img { transform: scale(1.03); }
.about-quote { border-left: 4px solid var(--primary); padding: 1rem 1.5rem; font-style: italic; color: var(--text-muted); background: #f9f9f9; border-radius: 0 12px 12px 0; margin-top: 1.5rem; }
.read-more-content { max-height: 0; overflow: hidden; transition: max-height .5s ease; }
.read-more-content.expanded { max-height: 1000px; }
.read-more-btn { color: var(--primary); font-weight: 600; cursor: pointer; border: none; background: none; font-size: .88rem; padding: 0; transition: color .2s; }

/* ─── Products ───────────────────────── */
.product-card { border: none; border-radius: 20px; overflow: hidden; transition: all .4s ease; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 25px 50px rgba(0,0,0,.12); }
.product-img { height: 260px; overflow: hidden; position: relative; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover .product-img img { transform: scale(1.08); }
.product-badge { position: absolute; top: 14px; left: 14px; background: var(--primary); color: #fff; font-size: .68rem; font-weight: 700; padding: 5px 14px; border-radius: 25px; letter-spacing: .5px; text-transform: uppercase; z-index: 2; }

/* ─── Leadership ─────────────────────── */
.leader-card { text-align: center; border: none; border-radius: 20px; overflow: hidden; transition: all .4s ease; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.leader-card:hover { transform: translateY(-10px); box-shadow: 0 25px 50px rgba(0,0,0,.12); }
.leader-photo { height: 310px; overflow: hidden; position: relative; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.leader-card:hover .leader-photo img { transform: scale(1.05); }
.leader-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.2rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); opacity: 0; transition: opacity .3s ease; display: flex; gap: 10px; justify-content: center; align-items: flex-end; }
.leader-card:hover .leader-overlay { opacity: 1; }
.leader-overlay a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.15); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; color: #fff; transition: all .2s; }
.leader-overlay a:hover { background: var(--primary); color: #fff; }

/* ─── Join Us ────────────────────────── */
.join-card { border-radius: 20px; border: none; box-shadow: 0 4px 20px rgba(0,0,0,.06); transition: all .4s ease; height: 100%; }
.join-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,.1); }
.join-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--primary); margin-bottom: 1rem; transition: all .3s; }
.join-card:hover .join-icon { background: var(--primary); color: #fff; }
.join-features { list-style: none; padding: 0; margin: 1rem 0; }
.join-features li { padding: 5px 0; font-size: .85rem; color: var(--text-muted); display: flex; align-items: flex-start; gap: 8px; }
.join-features li i { color: var(--primary); margin-top: 4px; flex-shrink: 0; }

/* ─── Floating Widgets ───────────────── */
.floating-enquiry { position: fixed; bottom: 30px; right: 30px; z-index: 999; }
.floating-btn { width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border: none; font-size: 1.3rem; cursor: pointer; box-shadow: 0 8px 25px rgba(139,154,110,.4); transition: all .3s ease; display: flex; align-items: center; justify-content: center; position: relative; }
.floating-btn:hover { transform: scale(1.1); box-shadow: 0 12px 35px rgba(139,154,110,.5); }
.badge-pulse { position:absolute; top:-2px; right:-2px; width:12px; height:12px; background:#ef4444; border-radius:50%; animation:pulse-a 2s infinite; }
@keyframes pulse-a { 0%{box-shadow:0 0 0 0 rgba(239,68,68,.5)} 70%{box-shadow:0 0 0 10px transparent} 100%{box-shadow:0 0 0 0 transparent} }

.enquiry-popup { position: fixed; bottom: 100px; right: 30px; width: 400px; max-height: 80vh; background: #fff; border-radius: 24px; box-shadow: 0 25px 60px rgba(0,0,0,.2); z-index: 998; display: none; overflow: hidden; }
.enquiry-popup.active { display: block; animation: popIn .3s ease; }
@keyframes popIn { from{opacity:0;transform:translateY(20px) scale(.95)} to{opacity:1;transform:translateY(0) scale(1)} }
.enquiry-popup-header { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; }
.enquiry-popup-header h5 { margin: 0; font-weight: 700; font-size: .95rem; font-family: 'Inter', sans-serif; }
.enquiry-popup-close { background: none; border: none; color: #fff; font-size: 1.3rem; cursor: pointer; opacity: .8; }
.enquiry-popup-close:hover { opacity: 1; }
.enquiry-popup-body { padding: 22px; max-height: calc(80vh - 70px); overflow-y: auto; }
.enquiry-popup-body .form-control { border-radius: 10px; border: 2px solid #eee; padding: 9px 12px; font-size: .85rem; transition: border-color .2s; }
.enquiry-popup-body .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(139,154,110,.1); }
.enquiry-popup-body .form-label { font-weight: 600; font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.btn-submit-enquiry { width: 100%; padding: 11px; border-radius: 12px; font-weight: 700; font-size: .9rem; }
.enquiry-success { text-align: center; padding: 2rem; }
.enquiry-success i { font-size: 3rem; color: #16a34a; margin-bottom: 1rem; }

/* WhatsApp Floating */
.wa-float { position: fixed; bottom: 100px; right: 30px; z-index: 997; }
.wa-float a { width: 52px; height: 52px; border-radius: 50%; background: var(--wa-green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 6px 20px rgba(37,211,102,.35); transition: all .3s ease; }
.wa-float a:hover { transform: scale(1.1); box-shadow: 0 10px 30px rgba(37,211,102,.5); color: #fff; }

/* ─── Footer ─────────────────────────── */
.btn-social { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; transition: all .3s ease; }
.btn-social:hover { background-color: var(--primary) !important; border-color: var(--primary) !important; transform: translateY(-3px); }
.footer-links a { transition: all .3s ease; display: inline-block; }
.footer-links a:hover { color: white !important; transform: translateX(5px); }
.filter-white { filter: brightness(0) invert(1); }
