/* World-Class International Brand Design Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    /* Color System */
    --primary-slate-900: #0F172A;
    --primary-slate-800: #1E293B;
    
    --secondary-blue-500: #D4AF37; /* Metallic Gold */
    --secondary-cyan-500: #B88E2F; /* Medium Gold */
    
    --accent-emerald-500: #9A7B2C; /* Dark Accent Gold */
    --accent-green-500: #C5A059; /* Light Accent Gold */
    
    /* Template Theme Aliases */
    --primary-color: var(--primary-slate-900);
    --secondary-color: var(--secondary-blue-500);
    --accent-color: var(--accent-emerald-500);
    
    --bg-white: #FFFFFF;
    --bg-light-gray: #F8FAFC;
    --bg-gray-200: #EEF5F9;
    
    --text-dark: #0F172A;
    --text-slate: #334155;
    --text-muted: #64748B;
    
    --success: #22C55E;
    --warning: #F59E0B;
    --error: #EF4444;
    
    /* Spacing & Borders */
    --section-pad-desktop: 120px;
    --section-pad-tablet: 80px;
    --section-pad-mobile: 60px;
    
    --card-padding: 32px;
    --button-height: 56px;
    --border-radius-card: 16px;
    --border-radius-hero: 32px;
    --grid-gap: 32px;
    
    --transition-premium: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 12px 30px -10px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 20px 40px -12px rgba(15, 23, 42, 0.08);
}

/* Core Defaults */
body {
    font-family: 'Poppins', 'Inter', sans-serif;
    color: var(--text-slate);
    background-color: var(--bg-white);
    line-height: 1.6; /* 160% Line Height */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Headings Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
}

.hero-heading {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.section-heading {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
}

.sub-heading {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
}

.body-text {
    font-size: 18px;
    line-height: 1.6;
}

.small-text {
    font-size: 16px;
    line-height: 1.5;
}

/* Spacing Helpers */
.section-padding {
    padding-top: var(--section-pad-desktop);
    padding-bottom: var(--section-pad-desktop);
}

@media (max-width: 991.98px) {
    .section-padding {
        padding-top: var(--section-pad-tablet);
        padding-bottom: var(--section-pad-tablet);
    }
    .hero-heading {
        font-size: 48px;
    }
}
@media (max-width: 575.98px) {
    .section-padding {
        padding-top: var(--section-pad-mobile);
        padding-bottom: var(--section-pad-mobile);
    }
    .hero-heading {
        font-size: 36px;
    }
}

/* Premium Navigation Header */
.sticky-header {
    height: 90px;
    transition: var(--transition-premium);
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sticky-header.navbar-home {
    background-color: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.sticky-header.scrolled {
    background-color: var(--bg-white);
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.03);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.sticky-header.scrolled .nav-link {
    color: var(--text-dark) !important;
}

.sticky-header.scrolled .navbar-brand {
    color: var(--text-dark) !important;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8) !important;
    position: relative;
    padding: 0.5rem 1.25rem !important;
    transition: var(--transition-premium);
}

/* Hover Underline Animation */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 2px;
    background-color: var(--secondary-blue-500);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover, .nav-link.active {
    color: #fff !important;
}

.sticky-header.scrolled .nav-link:hover, .sticky-header.scrolled .nav-link.active {
    color: var(--secondary-blue-500) !important;
}

/* Buttons */
.btn-premium {
    height: var(--button-height);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, var(--secondary-blue-500) 0%, var(--secondary-cyan-500) 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.25);
    transition: var(--transition-premium);
    cursor: pointer;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.35);
    color: #fff;
}

.btn-outline-premium {
    height: var(--button-height);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    background: transparent;
    border: 2px solid var(--secondary-blue-500);
    color: var(--secondary-blue-500);
    transition: var(--transition-premium);
}

.btn-outline-premium:hover {
    background-color: var(--secondary-blue-500);
    color: #fff;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-gradient-bg {
    background: linear-gradient(135deg, #F8FAFC 0%, #EEF2F6 100%);
    min-height: 100vh;
    border-bottom-left-radius: var(--border-radius-hero);
    border-bottom-right-radius: var(--border-radius-hero);
    position: relative;
}

.hero-content-wrapper {
    padding-top: 140px;
    padding-bottom: 100px;
}

/* Premium Branding Typography & Gradients */
.text-gradient {
    background: linear-gradient(135deg, var(--secondary-blue-500) 0%, var(--secondary-cyan-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot-anim 1.5s infinite;
}

@keyframes pulse-dot-anim {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(0.9); opacity: 1; }
}

/* Editorial Offset Image Frame */
.editorial-offset-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-46%, -46%);
    width: 320px;
    height: 380px;
    border-radius: 24px;
    border: 2px solid rgba(212, 175, 55, 0.12);
    z-index: 0;
    transition: var(--transition-premium);
}

.hero-showcase-container:hover .editorial-offset-frame {
    transform: translate(-42%, -42%) scale(1.02);
    border-color: var(--secondary-blue-500);
}

.glassmorphic-capsule {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08) !important;
    transition: var(--transition-premium) !important;
}

.glassmorphic-capsule:hover {
    transform: scale(1.05) translateY(-2px) !important;
    box-shadow: 0 15px 35px -12px rgba(212, 175, 55, 0.2) !important;
    border-color: var(--secondary-blue-500) !important;
}


/* Category Grid & Cards */
.category-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-card);
    border: 1px solid rgba(15, 23, 42, 0.04);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-premium);
    height: 100%;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.category-img-wrapper {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.category-img-wrapper img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: var(--transition-premium);
}

.category-card:hover .category-img-wrapper img {
    transform: scale(1.08);
}

/* Featured Product Card */
.product-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-card);
    border: 1px solid rgba(15, 23, 42, 0.03);
    padding: var(--card-padding);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-premium);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* Why Choose Us Feature Cards */
.feature-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-card);
    border: 1px solid rgba(15, 23, 42, 0.03);
    padding: var(--card-padding);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-premium);
    height: 100%;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-color: rgba(14, 165, 233, 0.15);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background-color: rgba(14, 165, 233, 0.08);
    color: var(--secondary-blue-500);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-premium);
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--secondary-blue-500);
    color: #fff;
}

/* Horizontal Timeline Manufacturing Process */
.process-timeline-horizontal {
    position: relative;
    padding: 20px 0;
}

.process-timeline-horizontal::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(to right, var(--secondary-blue-500), var(--accent-emerald-500));
    z-index: 1;
}

.process-step-horizontal {
    position: relative;
    z-index: 2;
}

.process-step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 4px solid var(--secondary-blue-500);
    color: var(--secondary-blue-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-premium);
}

.process-step-horizontal:hover .process-step-icon {
    background-color: var(--secondary-blue-500);
    color: #fff;
    transform: scale(1.1);
}

/* Statistics Gradient Block */
.stats-gradient-section {
    background: linear-gradient(135deg, var(--primary-slate-900) 0%, var(--primary-slate-800) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.stats-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--secondary-blue-500);
    line-height: 1;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

/* Interactive Map state highlight styling */
.india-state {
    fill: #f1f5f9;
    stroke: #cbd5e1;
    stroke-width: 1px;
    cursor: pointer;
    transition: var(--transition-premium);
}

.india-state:hover {
    fill: rgba(14, 165, 233, 0.15) !important;
    stroke: var(--secondary-blue-500);
}

.india-state.active-state {
    fill: var(--secondary-blue-500) !important;
    stroke: #fff;
    filter: drop-shadow(0 4px 8px rgba(14, 165, 233, 0.2));
}

/* Mega Menu Products styling */
.mega-menu-dropdown {
    position: static !important;
}

.mega-menu-container {
    width: 100%;
    left: 0;
    right: 0;
    top: 90px;
    border-radius: 0 0 16px 16px;
    border: none;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    background-color: var(--bg-white);
    padding: 32px 0;
    display: none;
    z-index: 1000;
}

.mega-menu-dropdown:hover .mega-menu-container {
    display: block;
}

/* Multi-step Registration Wizard */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.progress-indicator-bar {
    height: 6px;
    background-color: var(--bg-gray-200);
    border-radius: 3px;
    position: relative;
    margin-bottom: 40px;
}

.progress-indicator-fill {
    height: 100%;
    width: 33.3%;
    background: linear-gradient(to right, var(--secondary-blue-500), var(--secondary-cyan-500));
    border-radius: 3px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-bullet-wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

.step-bullet {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--bg-gray-200);
    border: 3px solid var(--bg-white);
    z-index: 2;
    transition: var(--transition-premium);
}

.step-bullet.active {
    background-color: var(--secondary-blue-500);
    border-color: var(--bg-white);
}

.step-bullet.completed {
    background-color: var(--accent-emerald-500);
    border-color: var(--bg-white);
}

/* Floating elements in Hero */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.floating-product-card {
    animation: float 6s ease-in-out infinite;
    border-radius: var(--border-radius-card);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.1);
}

@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* Responsive adjustment for timeline */
@media (max-width: 991.98px) {
    .process-timeline-horizontal::before {
        display: none;
    }
    .process-step-horizontal {
        text-align: left !important;
        margin-bottom: 30px;
        display: flex;
        align-items: flex-start;
        gap: 20px;
    }
    .process-step-icon {
        margin: 0 !important;
        flex-shrink: 0;
    }
}

/* Interactive Product Detail Gallery */
.product-gallery-main {
    height: 450px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(184, 142, 47, 0.05) 100%);
    border-radius: var(--border-radius-card);
    border: 1px solid rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-premium);
}

.gallery-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.gallery-thumbnail-card {
    height: 100px;
    background-color: var(--bg-white);
    border: 2px solid rgba(15, 23, 42, 0.05);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-premium);
    padding: 8px;
    text-align: center;
}

.gallery-thumbnail-card:hover, .gallery-thumbnail-card.active {
    border-color: var(--secondary-blue-500);
    background-color: rgba(212, 175, 55, 0.02);
    transform: translateY(-2px);
}

.gallery-thumbnail-card i {
    font-size: 24px;
    color: var(--text-muted);
    transition: var(--transition-premium);
    margin-bottom: 6px;
}

.gallery-thumbnail-card:hover i, .gallery-thumbnail-card.active i {
    color: var(--secondary-blue-500);
}

.gallery-thumbnail-card span {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    font-family: 'Poppins', sans-serif;
}

.gallery-thumbnail-card.active span {
    color: var(--secondary-blue-500);
}

/* Tab Active Highlights and Custom Badges */
.custom-nav-tabs .nav-link {
    color: var(--text-muted) !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    font-weight: 600;
    padding: 1rem 1.5rem;
    transition: var(--transition-premium);
}

.custom-nav-tabs .nav-link.active {
    color: var(--secondary-blue-500) !important;
    border-bottom-color: var(--secondary-blue-500) !important;
    background-color: transparent !important;
}

.step-card {
    background-color: var(--bg-light-gray);
    border-left: 4px solid var(--secondary-blue-500);
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    transition: var(--transition-premium);
}

.step-card:hover {
    transform: translateY(-3px);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-soft);
}

.packaging-card {
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    background-color: var(--bg-white);
    transition: var(--transition-premium);
    height: 100%;
}

.packaging-card:hover {
    border-color: var(--secondary-blue-500);
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
}

.packaging-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.08);
    color: var(--secondary-blue-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}

/* Premium Footer Section Styling */
.footer-section {
    background-color: #0F172A !important; /* Deep Slate/Dark Blue */
    color: #94A3B8 !important; /* Muted Slate */
    padding: 80px 0 30px !important;
    border-top: 4px solid var(--secondary-blue-500) !important;
}

.footer-section .footer-logo, 
.footer-section .footer-logo span {
    color: #FFFFFF !important;
    font-weight: 700;
}

.footer-section h5 {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

.footer-section p {
    color: #94A3B8 !important;
}

.footer-link {
    color: #94A3B8 !important;
    text-decoration: none !important;
    transition: var(--transition-premium) !important;
    display: inline-block;
    padding: 6px 0;
}

.footer-link:hover {
    color: #FFFFFF !important;
    transform: translateX(4px) !important;
}

.footer-section .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #94A3B8 !important;
    transition: var(--transition-premium) !important;
}

.footer-section .btn-outline-light:hover {
    background-color: var(--secondary-blue-500) !important;
    border-color: var(--secondary-blue-500) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
}

.footer-section hr {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Premium Floating WhatsApp Widget */
.whatsapp-float {
    position: fixed !important;
    bottom: 40px !important;
    right: 40px !important;
    width: 60px !important;
    height: 60px !important;
    background-color: #25D366 !important; /* Standard WhatsApp Green */
    color: #FFFFFF !important;
    border-radius: 50% !important;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
    transition: var(--transition-premium) !important;
    text-decoration: none !important;
    animation: pulse-whatsapp 2s infinite !important;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5) !important;
    background-color: #20ba5a !important;
    color: #FFFFFF !important;
}

.whatsapp-float i {
    font-size: 30px !important;
    line-height: 1 !important;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive adjustments for mobile screens */
@media (max-width: 575.98px) {
    .whatsapp-float {
        bottom: 20px !important;
        right: 20px !important;
        width: 50px !important;
        height: 50px !important;
    }
    .whatsapp-float i {
        font-size: 24px !important;
    }
}

/* ==========================================================================
   Premium Interactive Chemistry Fluid Rebrand Styles
   ========================================================================== */

/* 1. Organic Liquid Morphing Scientist Container */
.liquid-morph-frame {
    width: 380px;
    height: 440px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    border: 2px solid rgba(212, 175, 55, 0.15);
    z-index: 2;
    background-color: var(--bg-white);
    animation: liquid-morph-anim 12s ease-in-out infinite alternate;
    transition: var(--transition-premium);
}

.liquid-morph-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.96) contrast(1.02);
    transition: var(--transition-premium);
}

.liquid-morph-frame:hover {
    box-shadow: 0 30px 60px -10px rgba(212, 175, 55, 0.25);
    border-color: var(--secondary-blue-500);
}

@keyframes liquid-morph-anim {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    33% {
        border-radius: 53% 47% 43% 57% / 51% 39% 61% 49%;
    }
    66% {
        border-radius: 70% 30% 50% 50% / 40% 60% 40% 60%;
    }
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* 2. Glass 3D Reflection Product Sphere */
.product-glass-sphere {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.25) 40%, rgba(212, 175, 55, 0.1) 70%, rgba(212, 175, 55, 0.05) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: inset -10px -10px 25px rgba(212, 175, 55, 0.15), 
                inset 10px 10px 20px rgba(255, 255, 255, 0.6),
                0 20px 45px rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    overflow: hidden;
    animation: drift-bubble-slow 8s ease-in-out infinite alternate;
}

.product-glass-sphere::after {
    content: '';
    position: absolute;
    top: 5%;
    left: 15%;
    width: 45%;
    height: 25%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50% 50% 45% 45%;
    transform: rotate(-15deg);
    pointer-events: none;
}

.product-glass-sphere img {
    max-height: 85%;
    max-width: 85%;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.08));
    transition: var(--transition-premium);
}

.product-glass-sphere:hover img {
    transform: scale(1.08) rotate(4deg);
}

@keyframes drift-bubble-slow {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    100% {
        transform: translateY(-12px) rotate(3deg);
    }
}

/* 3. Realistic 3D Soap Bubbles */
.liquid-bubble {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(circle at 35% 35%, 
                                rgba(255, 255, 255, 0.95) 0%, 
                                rgba(255, 255, 255, 0.3) 15%, 
                                rgba(212, 175, 55, 0.08) 45%, 
                                rgba(0, 200, 83, 0.04) 70%, 
                                rgba(255, 255, 255, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: inset -5px -5px 12px rgba(212, 175, 55, 0.1),
                inset 5px 5px 8px rgba(255, 255, 255, 0.8),
                0 8px 20px rgba(212, 175, 55, 0.06);
    filter: blur(0.3px);
}

.liquid-bubble::before {
    content: '';
    position: absolute;
    top: 8%;
    left: 18%;
    width: 28%;
    height: 18%;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    transform: rotate(-25deg);
}

/* Bubble variants & animation sways */
.bubble-1 {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 5%;
    animation: bubble-float-key 14s ease-in-out infinite alternate;
}
.bubble-2 {
    width: 50px;
    height: 50px;
    bottom: 25%;
    left: 12%;
    animation: bubble-float-key 11s ease-in-out infinite alternate-reverse;
}
.bubble-3 {
    width: 110px;
    height: 110px;
    top: 22%;
    right: 8%;
    animation: bubble-float-key 18s ease-in-out infinite alternate;
}
.bubble-4 {
    width: 40px;
    height: 40px;
    bottom: 12%;
    right: 15%;
    animation: bubble-float-key 9s ease-in-out infinite alternate-reverse;
}
.bubble-5 {
    width: 65px;
    height: 65px;
    top: 55%;
    right: 42%;
    animation: bubble-float-key 13s ease-in-out infinite alternate;
}

@keyframes bubble-float-key {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(15px, -25px) scale(1.05) rotate(45deg);
    }
    100% {
        transform: translate(-10px, -45px) scale(0.95) rotate(90deg);
    }
}

/* 4. Connected Glowing Neon Pipeline for Manufacturing Steps */
.pipeline-connected {
    position: relative;
}

.pipeline-connected::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 8%;
    right: 8%;
    height: 4px;
    background: linear-gradient(90deg, 
                                var(--secondary-blue-500) 0%, 
                                var(--secondary-cyan-500) 25%, 
                                var(--accent-emerald-500) 50%, 
                                var(--secondary-blue-500) 75%, 
                                var(--accent-emerald-500) 100%);
    background-size: 200% auto;
    z-index: 1;
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
    animation: pipeline-flow-key 6s linear infinite;
}

@keyframes pipeline-flow-key {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* 5. Glowing Chemical Cards (Glassmorphism & Neon Borders) */
.glowing-chemical-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-card);
    border: 1px solid rgba(212, 175, 55, 0.08);
    box-shadow: 0 12px 35px -15px rgba(15, 23, 42, 0.05);
    transition: var(--transition-premium);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.glowing-chemical-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06) 0%, rgba(0, 200, 83, 0.06) 100%);
    opacity: 0;
    z-index: -1;
    transition: var(--transition-premium);
}

.glowing-chemical-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 20px 45px -12px rgba(212, 175, 55, 0.15);
}

.glowing-chemical-card:hover::before {
    opacity: 1;
}

.chemical-formula-badge {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-slate-900);
    box-shadow: 0 8px 24px -6px rgba(212, 175, 55, 0.15);
    animation: drift-bubble-slow 5s ease-in-out infinite alternate-reverse;
}

/* ==========================================================================
   Antigravity Premium & Professional Homepage Rebrand Classes
   ========================================================================== */

/* Technical Grid Overlay */
.tech-grid-overlay {
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Premium Radial Glow Mesh Background */
.hero-gradient-premium {
    background: radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.07) 0%, transparent 45%),
                radial-gradient(circle at 90% 80%, rgba(52, 199, 89, 0.05) 0%, transparent 45%),
                radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.85) 0%, #F8FAFC 100%);
    position: relative;
    overflow: hidden;
}

/* Chemist Picture Glow Backlight */
.chemist-glow-backlight {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    animation: pulse-glow-slow 6s ease-in-out infinite alternate;
}

@keyframes pulse-glow-slow {
    0% { opacity: 0.5; transform: scale(0.96); }
    100% { opacity: 1; transform: scale(1.04); }
}

/* Translucent Chemist Label overlay */
.translucent-chemist-label {
    background: rgba(15, 23, 42, 0.72) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    z-index: 5;
}

/* Premium Certifications Unified Glass Panel */
.certifications-glass-panel {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 16px;
    padding: 18px 24px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.03);
    width: 100%;
}

/* Overlapping Double Cards in About section */
.about-double-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 440px;
}

.about-main-card {
    width: 85%;
    height: 85%;
    background: linear-gradient(135deg, var(--primary-slate-900) 0%, var(--primary-slate-800) 100%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.about-floating-card {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
    z-index: 10;
    transition: var(--transition-premium);
}

.about-floating-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 0 30px 60px rgba(212, 175, 55, 0.18);
    border-color: var(--secondary-blue-500);
}

/* Premium Glow Cards with Radial Background */
.premium-glow-card {
    position: relative;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-card);
    border: 1px solid rgba(212, 175, 55, 0.07);
    box-shadow: 0 12px 35px -15px rgba(15, 23, 42, 0.04);
    transition: var(--transition-premium);
    overflow: hidden;
    z-index: 1;
}

.premium-glow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.04) 0%, rgba(52, 199, 89, 0.04) 100%);
    opacity: 0;
    z-index: -1;
    transition: var(--transition-premium);
}

.premium-glow-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 25px 55px -12px rgba(212, 175, 55, 0.16);
}

.premium-glow-card:hover::before {
    opacity: 1;
}

/* Specs Mini Badges */
.spec-mini-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(212, 175, 55, 0.05);
    color: var(--secondary-cyan-500);
    border: 1px solid rgba(212, 175, 55, 0.1);
    display: inline-block;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.2px;
}

/* Feature Cards Enclosed Circles */
.circle-icon-badge {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.08);
    color: var(--secondary-blue-500);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-premium);
    margin-bottom: 24px;
}

.feature-card:hover .circle-icon-badge {
    background: linear-gradient(135deg, var(--secondary-blue-500) 0%, var(--secondary-cyan-500) 100%);
    color: #fff;
    transform: rotate(360deg);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

/* Upgraded Timeline Steps Numbers */
.timeline-step-number {
    position: absolute;
    top: -12px;
    right: -12px;
    font-size: 14px;
    font-weight: 800;
    color: rgba(212, 175, 55, 0.16);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition-premium);
}

.process-step-horizontal:hover .timeline-step-number {
    color: var(--secondary-blue-500);
    transform: scale(1.15);
}

/* Mission & Vision Glass Layouts */
.glassmorphic-mission-card {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    border-left: 4px solid var(--secondary-blue-500) !important;
    border-top: 1px solid rgba(212, 175, 55, 0.08) !important;
    border-right: 1px solid rgba(212, 175, 55, 0.08) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    transition: var(--transition-premium) !important;
    box-shadow: 0 8px 24px -10px rgba(15, 23, 42, 0.05) !important;
}

.glassmorphic-mission-card:hover {
    transform: translateY(-3px) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 15px 30px -12px rgba(212, 175, 55, 0.15) !important;
    border-left-color: var(--accent-emerald-500) !important;
}

/* Testimonial Luxury Slides */
.luxury-testimonial-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.08) !important;
    border-radius: 24px !important;
    box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.04) !important;
    transition: var(--transition-premium) !important;
    position: relative;
    overflow: hidden;
}

.luxury-testimonial-card:hover {
    transform: translateY(-4px) !important;
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(212, 175, 55, 0.2) !important;
    box-shadow: 0 20px 45px -12px rgba(212, 175, 55, 0.12) !important;
}

/* ==========================================================================
   Hero Swiper Slider & Active Transitions
   ========================================================================== */

.hero-swiper {
    width: 100%;
    height: 100vh;
}

.hero-swiper-slide {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

/* Custom Swiper Navigation Buttons */
.hero-swiper-button-next, .hero-swiper-button-prev {
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: 50% !important;
    color: var(--primary-slate-900) !important;
    transition: var(--transition-premium) !important;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05) !important;
    z-index: 100 !important;
}

.hero-swiper-button-next:hover, .hero-swiper-button-prev:hover {
    background: var(--secondary-blue-500) !important;
    color: #fff !important;
    border-color: var(--secondary-blue-500) !important;
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.3) !important;
    transform: scale(1.05);
}

.hero-swiper-button-next::after, .hero-swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: 800 !important;
}

/* Swiper Pagination Bullets */
.hero-swiper-pagination {
    bottom: 30px !important;
    z-index: 100 !important;
}

.hero-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--text-muted) !important;
    opacity: 0.4 !important;
    margin: 0 6px !important;
    transition: var(--transition-premium) !important;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
    width: 30px !important;
    border-radius: 5px !important;
    background: var(--secondary-blue-500) !important;
    opacity: 1 !important;
}

/* Custom Transitions triggered on active slide */
.hero-swiper-slide .hero-heading,
.hero-swiper-slide .body-text,
.hero-swiper-slide .badge,
.hero-swiper-slide .btn-premium,
.hero-swiper-slide .btn-outline-premium,
.hero-swiper-slide .certifications-glass-panel,
.hero-swiper-slide .hero-showcase-container {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-swiper-slide.swiper-slide-active .hero-heading,
.hero-swiper-slide.swiper-slide-active .body-text,
.hero-swiper-slide.swiper-slide-active .badge,
.hero-swiper-slide.swiper-slide-active .btn-premium,
.hero-swiper-slide.swiper-slide-active .btn-outline-premium,
.hero-swiper-slide.swiper-slide-active .certifications-glass-panel,
.hero-swiper-slide.swiper-slide-active .hero-showcase-container {
    opacity: 1;
    transform: translateY(0);
}

.hero-swiper-slide.swiper-slide-active .badge {
    transition-delay: 0.1s;
}

.hero-swiper-slide.swiper-slide-active .hero-heading {
    transition-delay: 0.25s;
}

.hero-swiper-slide.swiper-slide-active .body-text {
    transition-delay: 0.4s;
}

.hero-swiper-slide.swiper-slide-active .btn-premium,
.hero-swiper-slide.swiper-slide-active .btn-outline-premium {
    transition-delay: 0.55s;
}

.hero-swiper-slide.swiper-slide-active .certifications-glass-panel {
    transition-delay: 0.7s;
}

.hero-swiper-slide.swiper-slide-active .hero-showcase-container {
    transition-delay: 0.85s;
}

/* Navigation Offset for Frontend Subpages */
@media (min-width: 992px) {
    body.frontend-body:not(.home-page) {
        padding-top: 130px !important;
    }
}
@media (max-width: 991.98px) {
    body.frontend-body:not(.home-page) {
        padding-top: 90px !important;
    }
}

/* Responsive Top Bar Scroll Transition */
header.fixed-top .top-bar {
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.3s ease, 
                border-bottom-width 0.4s ease;
    max-height: 80px; /* Safe upper bound for full content height */
    opacity: 1;
    overflow: hidden;
}

header.fixed-top.header-scrolled .top-bar {
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    opacity: 0 !important;
    border-bottom: none !important;
}

/* ==========================================================================
   Complete Mobile Responsiveness Fixes & Layout Overrides
   ========================================================================== */

@media (max-width: 991.98px) {
    /* Navbar and Collapsed Menu mobile adjustments */
    .sticky-header {
        height: auto !important;
        min-height: 70px !important;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        background-color: var(--bg-white) !important;
        box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    }
    
    .navbar-collapse {
        background-color: var(--bg-white) !important;
        max-height: 75vh;
        overflow-y: auto;
        padding: 20px;
        margin-top: 12px;
        border-radius: 12px;
        box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08) !important;
        border: 1px solid rgba(15, 23, 42, 0.05);
    }
    
    .navbar-nav {
        align-items: flex-start !important;
        width: 100%;
        gap: 8px;
    }
    
    .nav-link {
        width: 100%;
        padding: 12px 16px !important;
        text-align: left;
        color: var(--text-dark) !important;
        border-radius: 8px;
        border-bottom: 1px solid rgba(15, 23, 42, 0.04);
    }
    
    .nav-link::after {
        display: none !important; /* Hide hover underline style on mobile devices */
    }
    
    .nav-link:hover, .nav-link.active {
        background-color: rgba(212, 175, 55, 0.08) !important;
        color: var(--secondary-blue-500) !important;
    }
    
    /* Mega Menu on Mobile */
    .mega-menu-dropdown {
        width: 100%;
    }
    
    .mega-menu-container {
        position: static !important;
        box-shadow: none !important;
        border-radius: 8px !important;
        padding: 16px !important;
        background-color: var(--bg-light-gray) !important;
        border: 1px solid rgba(15, 23, 42, 0.04) !important;
        width: 100% !important;
        margin-top: 8px;
    }
    
    .mega-menu-dropdown:hover .mega-menu-container {
        display: none !important; /* Disable hover triggers on mobile */
    }
    
    .mega-menu-dropdown.show .mega-menu-container {
        display: block !important;
    }
    
    .dropdown-menu {
        border: none;
    }
    
    /* Hero Swiper Height and Layout Auto-Fit */
    .hero-swiper {
        height: auto !important;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 80px;
        overflow: hidden !important;
    }
    
    .hero-swiper-slide {
        height: auto !important;
        display: block !important;
        padding: 20px 0;
        overflow: hidden !important;
    }
    
    .hero-content-wrapper {
        padding: 0 15px;
    }

    .hero-showcase-container {
        height: 320px !important;
        margin-top: 40px;
        width: 100% !important;
        overflow: hidden !important;
    }
    
    .floating-product-card {
        padding: 16px !important;
    }
    
    .certifications-glass-panel {
        gap: 15px !important;
        justify-content: center;
    }
}

/* Global Horizontal Scroll Prevention */
html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

@media (max-width: 767.98px) {
    /* Prevent showcase container overflow */
    .liquid-morph-frame {
        width: 250px !important;
        height: 270px !important;
        transform: translate(0, 0) !important;
        margin: 0 auto;
    }
    
    /* Hide absolute positioned background widgets that spill over viewport boundaries */
    .chemical-formula-badge, 
    .floating-product-card,
    .chemist-glow-backlight,
    .editorial-offset-frame {
        display: none !important;
    }
    
    .product-glass-sphere {
        width: 110px !important;
        height: auto !important;
        left: 20px !important;
        bottom: 10px !important;
    }
    
    .product-glass-sphere img {
        width: 110px !important;
        height: auto !important;
    }

    /* Responsive Global Typography Sizes */
    .hero-heading {
        font-size: 32px !important;
        line-height: 1.25 !important;
        letter-spacing: -0.5px !important;
    }
    
    .section-heading, .display-4, .display-5 {
        font-size: 26px !important;
        line-height: 1.3 !important;
        letter-spacing: -0.5px !important;
    }
    
    .section-title {
        font-size: 26px !important;
    }
    
    .sub-heading, h3 {
        font-size: 18px !important;
    }
    
    .body-text, p.fs-5 {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    
    /* Padding & Spacing */
    .section-padding {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
    
    /* Product Gallery on Mobile */
    .product-gallery-main {
        height: 280px !important;
    }
    
    /* Partner / Form Panels */
    .glass-card {
        padding: 24px !important;
    }
    
    /* Swiper Controls Hide/Shrink */
    .hero-swiper-button-next, .hero-swiper-button-prev {
        display: none !important; /* Hide swiper arrow buttons on mobile to clear screen space */
    }

    /* Prevent stats number overflow */
    .stats-number {
        font-size: 32px !important;
        margin-bottom: 4px !important;
    }
}
