/* Premium Custom CSS for Mothers Star Music Pvt. Ltd */

:root {
    --primary-color: #1e5ab3; /* Logo Blue */
    --secondary-color: #ff7d00; /* Logo Orange */
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

/* Navbar */

.navbar {
    background-color: #ffffff !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-speed) ease;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    height: 50px;
    transition: transform var(--transition-speed);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--secondary-color);
    transition: all var(--transition-speed) ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}
#myNavbar {
    background: #ffffff !important;
    background-color: #ffffff !important;
}
/* ===== MEGA MENU ===== */

/* 1. Make the navbar the positioning anchor */
nav.navbar {
    position: relative !important;
}

/* 2. Make the li item NOT create its own stacking context */
.mega-dropdown {
    position: static !important;
}

/* 3. The actual mega panel — full width of the navbar */
.mega-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    border-top: 3px solid var(--secondary-color) !important;
    border-radius: 0 0 12px 12px !important;
    background-color: #fff !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
    z-index: 9999 !important;
    animation: megaFadeIn 0.2s ease;
}

@keyframes megaFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mega-cat-title {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 6px;
    white-space: nowrap;
}

.mega-cat-link {
    display: block;
    color: #555;
    font-size: 0.82rem;
    text-decoration: none;
    padding: 3px 0;
    transition: color 0.2s ease, padding-left 0.2s ease;
    white-space: nowrap;
}

.mega-cat-link:hover {
    color: var(--secondary-color);
    padding-left: 8px;
}

.mega-cat-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #f0f0f0;
    flex-shrink: 0;
    display: block;
    background: #f5f5f5;
}

/* ===== BRAND LOGO MEGA MENU ===== */
.brand-logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 10px;
    transition: transform 0.25s ease;
    background: transparent;
    border: none;
}

.brand-logo-link:hover {
    transform: translateY(-4px) scale(1.05);
}

.brand-logo-img {
    width: 100%;
    height: 60px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto 8px;
    transition: transform 0.2s ease, filter 0.3s ease;
    padding: 0;
}

.brand-logo-link:hover .brand-logo-img {
    transform: scale(1.06);
}

.brand-logo-name {
    font-size: 0.72rem;
    color: #666;
    margin: 0;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 50%, #fef3e8 100%);
    border-bottom: 1px solid #e8ecf0;
}



/* Floating music note particles */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.hero-note {
    position: absolute;
    bottom: -40px;
    left: var(--x);
    font-size: 1.6rem;
    color: rgba(0, 0, 0, 0.12);
    animation: floatNote var(--dur) ease-in-out var(--delay) infinite;
    will-change: transform, opacity;
}

@keyframes floatNote {
    0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
    10%  { opacity: 0.3; }
    50%  { opacity: 0.15; }
    100% { transform: translateY(-600px) rotate(360deg); opacity: 0; }
}

/* Hero badge */
.hero-badge {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #dde3f0;
    color: #1a1a2e;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    animation: fadeInDown 0.8s ease both;
}

/* Hero title */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: #1a1a2e;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    animation: fadeInDown 0.8s ease 0.2s both;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--secondary-color), #ffb347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Hero subtitle */
.hero-subtitle {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* CTA buttons */
.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 35px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #e06800) !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 34px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 25px rgba(255, 125, 0, 0.4);
    transition: all 0.3s ease;
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(255, 125, 0, 0.55);
    background: linear-gradient(135deg, #e06800, var(--secondary-color)) !important;
}

.hero-btn-outline {
    background: #ffffff !important;
    color: #1a1a2e !important;
    border: 2px solid #ccc !important;
    padding: 14px 34px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-btn-outline:hover {
    background: #f0f0f0 !important;
    border-color: #999 !important;
    transform: translateY(-3px);
}

/* Trust indicators */
.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-trust-item i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Responsive hero */
@media (max-width: 991px) {
    .hero-section {
        min-height: 480px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 420px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-btn-primary,
    .hero-btn-outline {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    .hero-trust {
        gap: 14px;
    }
}

/* Product Cards */
.product-card {
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.12);
    border-color: var(--secondary-color);
}

.product-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card .card-body {
    padding: 1.5rem;
}

/* Custom Buttons & Colors */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }

.btn-primary { 
    background-color: var(--primary-color) !important; 
    border-color: var(--primary-color) !important;
    transition: all var(--transition-speed) ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 125, 0, 0.3);
}

.text-secondary { color: var(--secondary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    transition: all var(--transition-speed) ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px);
}

.btn-outline-dark {
    transition: all var(--transition-speed) ease;
}

.btn-outline-dark:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: #e0e0e0;
    padding: 60px 0 30px;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer a {
    transition: color var(--transition-speed);
}

.footer a:hover {
    color: var(--secondary-color) !important;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Notifications / Toast */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.custom-toast {
    background-color: #fff;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 250px;
    animation: slideInRight 0.3s ease forwards;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0,0,0,0.4);
}
