/* ==========================================================================
   Modern Theme - Search Business India Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;700;800;900&display=swap');

:root {
    /* Color Palette — Yellow / Teal Brand */
    --primary-yellow: #F5A623;
    --primary-teal: #00B4D8;
    --primary-red: #e40613;
    --primary-red-hover: #ff1a28;
    --dark-bg: #0f1115;
    --dark-surface: #1a1d24;
    --dark-surface-2: #242830;
    --light-bg: #f8fafc;
    --light-surface: #ffffff;
    
    /* Text Colors */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --text-light-muted: #94a3b8;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #F5A623 0%, #00B4D8 100%);
    --gradient-dark: linear-gradient(135deg, #111827 0%, #0f1115 100%);
    --gradient-glow: linear-gradient(90deg, #F5A623, #00B4D8, #F5A623);
    
    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 20px rgba(245, 166, 35, 0.4);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base Styles & Resets
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ==========================================================================
   Utilities (Glassmorphism & Gradients)
   ========================================================================== */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.glass-panel-dark {
    background: rgba(26, 29, 36, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-light {
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar-modern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(15, 17, 21, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 65px;
    background: white;
    padding: 6px 12px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.4);
    transform: translateY(-2px);
    color: white;
}

/* ==========================================================================
   Hero Section & Search Bar
   ========================================================================== */
.hero-modern {
    min-height: 100vh;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

/* Background Animated Grid */
.hero-bg-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    pointer-events: none;
}

/* Animated Glow Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.5;
}

.orb-1 {
    background: var(--primary-yellow);
    width: 400px; height: 400px;
    top: 20%; left: 10%;
    animation: float 10s ease-in-out infinite;
}

.orb-2 {
    background: var(--primary-teal);
    width: 300px; height: 300px;
    bottom: 10%; right: 15%;
    animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(30px, -50px); }
    100% { transform: translate(0, 0); }
}

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

.hero-text h1 {
    font-size: 4.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-light-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

/* Intelligent Search Box */
.search-box-modern {
    padding: 30px;
}

.search-box-modern h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.search-inputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group-modern {
    position: relative;
}

.input-group-modern i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
}

.input-group-modern input, .input-group-modern select {
    width: 100%;
    padding: 18px 20px 18px 50px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.3);
    color: white;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.input-group-modern input:focus, .input-group-modern select:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(0,0,0,0.5);
    box-shadow: 0 0 15px rgba(0,180,216,0.3);
}

.input-group-modern select {
    appearance: none;
    cursor: pointer;
}

.search-btn-modern {
    width: 100%;
    padding: 18px;
    font-size: 1.2rem;
    margin-top: 10px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section-modern {
    padding: 100px 0;
    background: var(--light-surface);
}

.container-modern {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--dark-bg);
}

.about-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.stat-box {
    text-align: center;
}

.stat-box h4 {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat-box span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    background: var(--gradient-dark);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--primary-teal);
    filter: blur(80px);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    opacity: 0.5;
}

.about-image h3 {
    color: white;
    font-size: 1.8rem;
    margin-top: 20px;
}

/* ==========================================================================
   Category Grid Section
   ========================================================================== */
.categories-section {
    padding: 100px 0;
    background: var(--light-bg);
}

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

.section-header-modern h2 {
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.section-header-modern p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.category-grid-modern {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card-modern {
    background: var(--light-surface);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.category-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-red);
}

.cat-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 180, 216, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-teal);
    font-size: 2rem;
    transition: var(--transition);
}

.category-card-modern:hover .cat-icon-wrapper {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.category-card-modern h3 {
    font-size: 1.5rem;
}

/* ==========================================================================
   Search Results Container
   ========================================================================== */
#searchResultsContainer {
    margin-top: 30px;
    display: none;
    background: rgba(26, 29, 36, 0.95);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.result-item {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    transition: var(--transition);
}

.result-item:hover {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
}

.result-item:last-child {
    border-bottom: none;
}

.result-biz-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.result-biz-city {
    color: var(--primary-teal);
    font-size: 0.9rem;
    background: rgba(0,180,216,0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

/* ==========================================================================
   Interactive Map Section
   ========================================================================== */
.map-section {
    padding: 80px 0;
    background: var(--dark-bg);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.map-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.map-text h2 {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.map-text p {
    font-size: 1.15rem;
    color: var(--text-light-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}

.regions-wrapper {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

#regions_div {
    width: 100%;
    height: 500px;
}

/* Custom Scrollbar for results */
#searchResultsContainer::-webkit-scrollbar {
    width: 8px;
}
#searchResultsContainer::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.2); 
    border-radius: 10px;
}
#searchResultsContainer::-webkit-scrollbar-thumb {
    background: var(--primary-teal); 
    border-radius: 10px;
}

/* ==========================================================================
   Individual Business Profiles
   ========================================================================== */
.profile-hero {
    background: var(--gradient-dark);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.profile-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: white;
    padding: 10px;
    box-shadow: 0 0 30px rgba(228, 6, 19, 0.4);
    margin: 0 auto 30px;
    object-fit: contain;
    border: 3px solid var(--primary-red);
    transition: var(--transition);
}

.profile-logo:hover {
    transform: translateY(-5px) scale(1.05);
}

.profile-name {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-light);
}

.profile-verification {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.profile-subheading {
    font-size: 1.15rem;
    color: var(--text-light-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Info Section Overlaying Hero */
.info-section-modern {
    margin-top: -50px;
    position: relative;
    z-index: 20;
    padding: 0 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.info-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.info-card-modern {
    background: var(--light-surface);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-card-modern:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
}

.info-card-modern h3 {
    color: var(--primary-red);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.contact-item-modern {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
    color: var(--text-main);
}

.contact-item-modern i {
    color: var(--primary-red);
    margin-top: 5px;
}

.btn-whatsapp-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-top: 15px;
    transition: var(--transition);
    font-size: 1.1rem;
    width: 100%;
}

.btn-whatsapp-modern:hover {
    background-color: #1ebe57;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Products Gallery */
.products-section-modern {
    padding: 80px 0;
    background: var(--light-bg);
}

.product-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-card-modern {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--light-surface);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.product-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-red);
}

.product-img-wrapper-modern {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    background: #f1f5f9;
}

.product-img-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.5s ease;
}

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

.product-info-modern {
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.product-caption-modern {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content-modern {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }
    .hero-text h1 {
        font-size: 3.5rem;
    }
    .hero-text p {
        margin: 0 auto 40px;
    }
    .nav-links {
        display: none; /* Add hamburger menu logic later if needed */
    }
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
    background: #4a4a4a;
    color: #ccc;
    padding: 60px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-logo-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-col img {
    max-width: 220px;
    background: white;
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.footer-logo-col p {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.7;
}

.footer-links-col h4,
.footer-contact-col h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-yellow);
    display: inline-block;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.footer-links-grid a {
    color: #bbb;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 4px 0;
}

.footer-links-grid a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.footer-contact-col .contact-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.93rem;
    color: #bbb;
    line-height: 1.6;
}

.footer-contact-col .contact-line i {
    color: var(--primary-yellow);
    margin-top: 4px;
    min-width: 16px;
}

.footer-contact-col a {
    color: var(--primary-yellow);
    transition: var(--transition);
}

.footer-contact-col a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: #aaa;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary-yellow);
}

.footer-bottom .sep {
    color: #555;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo-col {
        align-items: center;
    }
    .footer-links-grid {
        justify-items: center;
    }
    .footer-contact-col .contact-line {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 5px;
    }
}

/* ==========================================================================
   Magazine Showcase Section — Premium Redesign
   ========================================================================== */
.mag-showcase {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    overflow: hidden;
}

.mag-bg-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(228, 6, 19, 0.04), rgba(0, 180, 216, 0.03), transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.mag-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

.mag-header {
    text-align: center;
    margin-bottom: 70px;
}

.mag-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-teal);
    margin-bottom: 20px;
    padding: 8px 20px;
    background: rgba(0, 180, 216, 0.08);
    border-radius: 999px;
}

.mag-header h2 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--dark-bg);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.mag-accent {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mag-header p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

.mag-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mag-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: var(--dark-bg);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.mag-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
}

.mag-card-bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.mag-card:hover .mag-card-bg {
    opacity: 1;
}

/* Category-specific gradient backgrounds */
.mag-card--industrial .mag-card-bg { background: linear-gradient(135deg, rgba(243, 156, 18, 0.06), rgba(230, 126, 34, 0.1)); }
.mag-card--hardware .mag-card-bg { background: linear-gradient(135deg, rgba(44, 62, 80, 0.06), rgba(52, 73, 94, 0.1)); }
.mag-card--electrical .mag-card-bg { background: linear-gradient(135deg, rgba(241, 196, 15, 0.06), rgba(243, 156, 18, 0.1)); }
.mag-card--mobile .mag-card-bg { background: linear-gradient(135deg, rgba(108, 92, 231, 0.06), rgba(72, 52, 212, 0.1)); }
.mag-card--jewellery .mag-card-bg { background: linear-gradient(135deg, rgba(253, 121, 168, 0.06), rgba(232, 67, 147, 0.1)); }
.mag-card--auto .mag-card-bg { background: linear-gradient(135deg, rgba(44, 62, 80, 0.06), rgba(52, 73, 94, 0.1)); }

/* Category accent colors for icons */
.mag-card--industrial .mag-icon-ring { background: rgba(243, 156, 18, 0.1); color: #f39c12; }
.mag-card--hardware .mag-icon-ring { background: rgba(44, 62, 80, 0.1); color: #2c3e50; }
.mag-card--electrical .mag-icon-ring { background: rgba(241, 196, 15, 0.1); color: #d4a20a; }
.mag-card--mobile .mag-icon-ring { background: rgba(108, 92, 231, 0.1); color: #6c5ce7; }
.mag-card--jewellery .mag-icon-ring { background: rgba(232, 67, 147, 0.1); color: #e84393; }
.mag-card--auto .mag-icon-ring { background: rgba(44, 62, 80, 0.1); color: #2c3e50; }

/* Hover icon colors */
.mag-card--industrial:hover .mag-icon-ring { background: #f39c12; color: #fff; }
.mag-card--hardware:hover .mag-icon-ring { background: #2c3e50; color: #fff; }
.mag-card--electrical:hover .mag-icon-ring { background: #d4a20a; color: #fff; }
.mag-card--mobile:hover .mag-icon-ring { background: #6c5ce7; color: #fff; }
.mag-card--jewellery:hover .mag-icon-ring { background: #e84393; color: #fff; }
.mag-card--auto:hover .mag-icon-ring { background: #2c3e50; color: #fff; }

.mag-card-content {
    position: relative;
    z-index: 1;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.mag-icon-ring {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    margin-bottom: 4px;
}

.mag-card:hover .mag-icon-ring {
    transform: scale(1.1) rotate(-3deg);
}

.mag-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--dark-bg);
}

.mag-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.mag-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 8px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mag-card:hover .mag-arrow {
    background: var(--dark-bg);
    color: #fff;
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1024px) {
    .mag-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mag-showcase {
        padding: 80px 0;
    }
    .mag-header h2 {
        font-size: 2.2rem;
    }
    .mag-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .mag-card-content {
        padding: 28px 24px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE ENHANCEMENTS
═══════════════════════════════════════════════════════════════ */

/* ── Hero Eyebrow Badge ── */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(245,166,35,0.1);
    border: 1px solid rgba(245,166,35,0.28);
    color: #F5A623;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 22px;
    width: fit-content;
}
.hero-pulse {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #F5A623;
    flex-shrink: 0;
    animation: hero-pulse 2.2s ease-out infinite;
}
@keyframes hero-pulse {
    0%   { box-shadow: 0 0 0 0   rgba(245,166,35,0.55); }
    70%  { box-shadow: 0 0 0 9px rgba(245,166,35,0);    }
    100% { box-shadow: 0 0 0 0   rgba(245,166,35,0);    }
}

/* ── Hero CTA Buttons ── */
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #e40613 0%, #c0000f 100%);
    color: #fff;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 24px rgba(228,6,19,0.35);
    transition: all 0.3s cubic-bezier(.22,1,.36,1);
}
.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(228,6,19,0.45);
    color: #fff;
}
.btn-hero-primary i { transition: transform 0.3s; }
.btn-hero-primary:hover i { transform: translateX(4px); }
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.88);
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s;
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.13);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
    color: #fff;
}

/* ── Hero Stats Strip ── */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}
.hstat { text-align: left; }
.hstat strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}
.hstat span {
    font-size: 0.72rem;
    color: var(--text-light-muted);
    font-weight: 500;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.hstat-div {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}

/* ── Scrolling Category Ticker ── */
.cat-ticker {
    background: #0c0e14;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    padding: 15px 0;
    position: relative;
}
.cat-ticker::before,
.cat-ticker::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.cat-ticker::before { left: 0;  background: linear-gradient(to right, #0c0e14, transparent); }
.cat-ticker::after  { right: 0; background: linear-gradient(to left,  #0c0e14, transparent); }
.cat-ticker__track {
    display: flex;
    animation: ticker-scroll 38s linear infinite;
    width: max-content;
}
.cat-ticker__track:hover { animation-play-state: paused; }
.cat-item {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 0 22px;
    font-size: 0.73rem;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1.3px;
    white-space: nowrap;
    transition: color 0.2s;
}
.cat-item:hover { color: rgba(255,255,255,0.8); }
.cat-item i { font-size: 0.65rem; color: var(--primary-teal); }
@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── How It Works ── */
.hiw {
    padding: 110px 0;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}
.hiw::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 450px; height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,180,216,0.05), transparent 70%);
    pointer-events: none;
}
.hiw-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}
.hiw-header { text-align: center; margin-bottom: 72px; }
.hiw-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #00B4D8;
    background: rgba(0,180,216,0.07);
    border: 1px solid rgba(0,180,216,0.18);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.hiw-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #0f1115;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    line-height: 1.2;
}
.hiw-title span { color: #00B4D8; }
.hiw-sub {
    font-size: 1rem;
    color: #64748b;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.75;
}
.hiw-steps {
    display: grid;
    grid-template-columns: 1fr 60px 1fr 60px 1fr;
    align-items: center;
}
.hiw-step {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 24px;
    padding: 44px 32px 38px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(.22,1,.36,1);
}
.hiw-step::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 24px 24px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.hiw-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 56px rgba(0,0,0,0.08);
    border-color: rgba(0,180,216,0.2);
}
.hiw-step:hover::before { transform: scaleX(1); }
.hiw-num {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(0,180,216,0.08);
    line-height: 1;
    margin-bottom: 12px;
    -webkit-text-fill-color: rgba(0,180,216,0.08);
}
.hiw-icon-box {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: rgba(0,180,216,0.07);
    border: 1px solid rgba(0,180,216,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: #00B4D8;
    margin: 0 auto 20px;
    transition: all 0.4s cubic-bezier(.22,1,.36,1);
}
.hiw-step:hover .hiw-icon-box {
    transform: scale(1.1) rotate(-5deg);
    background: #00B4D8;
    color: #fff;
    box-shadow: 0 12px 28px rgba(0,180,216,0.4);
    border-color: transparent;
}
.hiw-step h3 { font-size: 1.1rem; font-weight: 700; color: #0f1115; margin-bottom: 10px; }
.hiw-step p  { font-size: 0.88rem; color: #64748b; line-height: 1.65; margin: 0; }
.hiw-arrow {
    display: flex; align-items: center; justify-content: center;
    color: rgba(0,180,216,0.3);
    font-size: 1.6rem;
}
@media (max-width: 900px) {
    .hiw-steps { grid-template-columns: 1fr; gap: 20px; }
    .hiw-arrow { transform: rotate(90deg); }
}

/* ── City Cards (premium gradient) ── */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.city-card {
    border-radius: 20px;
    padding: 36px 24px;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(.22,1,.36,1);
}
.city-card::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(255,255,255,0.07);
    opacity: 0;
    transition: opacity 0.3s;
}
.city-card:hover { transform: translateY(-8px); box-shadow: 0 28px 56px rgba(0,0,0,0.4); }
.city-card:hover::before { opacity: 1; }
.city-card i { font-size: 2.4rem; display: block; margin-bottom: 14px; opacity: 0.9; color: rgba(255,255,255,0.85); }
.city-card h3 { color: #fff; font-size: 1.15rem; font-weight: 700; margin-bottom: 5px; }
.city-card p  { color: rgba(255,255,255,0.6); font-size: 0.84rem; font-weight: 500; }
.city-arrow {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    margin-top: 14px;
    transition: all 0.3s;
}
.city-card:hover .city-arrow { background: rgba(255,255,255,0.25); color: #fff; transform: translateX(4px); }
.city-mumbai  { background: linear-gradient(135deg, #0f3460 0%, #1a1a4e 100%); }
.city-delhi   { background: linear-gradient(135deg, #7b1fa2 0%, #c62828 100%); }
.city-blr     { background: linear-gradient(135deg, #1b5e20 0%, #006064 100%); }
.city-chennai { background: linear-gradient(135deg, #b71c1c 0%, #880e4f 100%); }
.city-hyd     { background: linear-gradient(135deg, #e65100 0%, #f9a825 100%); }
.city-pune    { background: linear-gradient(135deg, #4527a0 0%, #ad1457 100%); }

