/* =========================================
   SHIBRA PHARMA PVT. LIMITED - MEGA PREMIUM CSS
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Core Brand Colors */
    --primary-teal: #008080;
    --primary-navy: #000080;
    --white: #ffffff;
    --off-white: #f4f7f6;
    --light-grey: #e2e8f0;
    
    /* Accents & Text */
    --accent-gold: #D4AF37;
    --light-aqua: #e0f2f1;
    --text-dark: #1a202c;
    --text-muted: #4a5568;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
    --gradient-light: linear-gradient(135deg, var(--white) 0%, var(--light-aqua) 100%);
    
    /* Shadows & Transitions */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 128, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 128, 128, 0.15);
    --transition-fast: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-navy);
    font-weight: 700;
}

a { text-decoration: none; transition: var(--transition-fast); }

/* --- Global Utilities & Buttons --- */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--off-white); }
.bg-gradient { background: var(--gradient-primary); color: var(--white); }

.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background: var(--gradient-primary);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0%; height: 100%;
    background: var(--primary-navy);
    z-index: -1;
    transition: var(--transition-slow);
}

.btn-primary:hover::before { width: 100%; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--white); }

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}
.btn-outline:hover::before { background: var(--white); }
.btn-outline:hover { color: var(--primary-navy); }

/* --- Top Bar --- */
.top-bar {
    background: var(--primary-navy);
    color: var(--black);
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left span { margin-right: 25px; display: inline-flex; align-items: center; gap: 8px; }
.top-bar-left i { color: var(--primary-teal); }
.top-bar-right a { color: var(--white); margin-left: 15px; font-size: 16px; }
.top-bar-right a:hover { color: var(--primary-teal); transform: scale(1.1); }

/* --- Header / Sticky Nav --- */
header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}
header.scrolled {
    padding: 5px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.logo img { height: 70px; transition: var(--transition-fast); }
header.scrolled .logo img { height: 60px; }

.nav-links { display: flex; list-style: none; align-items: center; gap: 30px; }
.nav-links li a {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--primary-navy);
    position: relative;
    padding-bottom: 5px;
}
.nav-links li a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px;
    background: var(--primary-teal); transition: var(--transition-fast);
}
.nav-links li a:hover::after { width: 100%; }
.nav-links li a:hover { color: var(--primary-teal); }

/* --- Hero Section (Massive Scale) --- */
.hero { position: relative; height: 90vh; overflow: hidden; }
.swiper-slide { position: relative; width: 100%; height: 100%; background-size: cover; background-position: center; display: flex; align-items: center; }
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,128,0.9) 0%, rgba(0,128,128,0.6) 100%);
}
.hero-content {
    position: relative; z-index: 10; max-width: 800px; padding: 0 20px;
}
.hero-content h1 {
    font-size: 60px; color: var(--white); line-height: 1.2; margin-bottom: 25px;
    animation: fadeInUp 1s ease forwards; opacity: 0; transform: translateY(30px);
}
.hero-content p {
    font-size: 20px; color: var(--light-aqua); margin-bottom: 40px; font-weight: 300;
    animation: fadeInUp 1s ease 0.3s forwards; opacity: 0; transform: translateY(30px);
}
.hero-buttons { animation: fadeInUp 1s ease 0.6s forwards; opacity: 0; transform: translateY(30px); gap: 20px; display: flex; }

/* --- Company Stats (Trust Indicators) --- */
.stats-section {
    position: relative; top: -50px; z-index: 20; padding: 0 20px;
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--white); box-shadow: var(--shadow-lg); border-radius: 15px; overflow: hidden;
}
.stat-box {
    text-align: center; padding: 40px 20px; border-right: 1px solid var(--light-grey);
}
.stat-box:last-child { border-right: none; }
.stat-box h3 { font-size: 40px; color: var(--primary-teal); margin-bottom: 5px; }
.stat-box p { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--primary-navy); text-transform: uppercase; font-size: 14px; }

/* --- Section Titles --- */
.section-header { text-align: center; margin-bottom: 70px; max-width: 700px; margin-inline: auto; }
.section-header span { color: var(--primary-teal); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 10px; }
.section-header h2 { font-size: 42px; margin-bottom: 20px; position: relative; padding-bottom: 20px; }
.section-header h2::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 80px; height: 4px; background: var(--gradient-primary); border-radius: 2px;
}

/* --- About & Mega Layout --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-images { position: relative; }
.about-img-main { width: 100%; border-radius: 20px; box-shadow: var(--shadow-md); }
.about-experience {
    position: absolute; bottom: -30px; right: -30px; background: var(--gradient-primary);
    padding: 30px; border-radius: 15px; color: var(--white); text-align: center; box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}
.about-experience h4 { font-size: 36px; color: var(--white); margin: 0; }
.about-content h2 { font-size: 38px; margin-bottom: 25px; }
.about-content p { font-size: 16px; margin-bottom: 20px; }
.feature-list { list-style: none; margin: 30px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--primary-navy); }
.feature-list i { color: var(--primary-teal); background: var(--light-aqua); padding: 8px; border-radius: 50%; }

/* --- Product Grid (Highly Detailed Cards) --- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }
.product-card {
    background: var(--white); border-radius: 20px; padding: 30px;
    box-shadow: var(--shadow-sm); transition: var(--transition-slow); border: 1px solid var(--light-grey);
    position: relative; overflow: hidden;
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--primary-teal); }
.product-badge {
    position: absolute; top: 20px; right: -35px; background: var(--accent-gold); color: white;
    padding: 5px 40px; transform: rotate(45deg); font-size: 12px; font-weight: 700; text-transform: uppercase;
}
.product-img { width: 100%; height: 280px; object-fit: cover; border-radius: 10px; margin-bottom: 25px; transition: var(--transition-slow); }
.product-card:hover .product-img { transform: scale(1.05); }
.product-info h3 { font-size: 24px; margin-bottom: 15px; }
.product-info p { font-size: 15px; margin-bottom: 25px; }
.product-features { border-top: 1px solid var(--light-grey); padding-top: 15px; margin-bottom: 25px; }
.product-features span { display: inline-block; background: var(--off-white); padding: 5px 12px; border-radius: 20px; font-size: 12px; color: var(--text-dark); margin: 0 5px 10px 0; font-weight: 500; }

/* --- Manufacturing Process Timeline --- */
.process-wrapper { display: flex; justify-content: space-between; position: relative; margin-top: 50px; }
.process-wrapper::before {
    content: ''; position: absolute; top: 50px; left: 0; width: 100%; height: 2px;
    background: dashed 2px var(--light-grey); z-index: 1;
}
.process-step { width: 22%; text-align: center; position: relative; z-index: 2; }
.process-icon {
    width: 100px; height: 100px; background: var(--white); border: 3px solid var(--primary-teal);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 40px; color: var(--primary-navy); margin: 0 auto 20px; box-shadow: var(--shadow-sm); transition: var(--transition-fast);
}
.process-step:hover .process-icon { background: var(--primary-teal); color: var(--white); transform: scale(1.1); }
.process-step h4 { font-size: 20px; margin-bottom: 10px; }
.process-step p { font-size: 14px; }

/* --- Footer (Massive & Corporate) --- */
.mega-footer { background: #081226; color: #a0aec0; padding: 80px 0 0; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 60px; }
.footer-logo img { height: 80px; background: var(--white); padding: 10px; border-radius: 8px; margin-bottom: 20px; }
.footer-about p { margin-bottom: 25px; line-height: 1.8; }
.footer-socials a { display: inline-block; width: 40px; height: 40px; background: rgba(255,255,255,0.1); text-align: center; line-height: 40px; border-radius: 50%; color: var(--white); margin-right: 10px; transition: var(--transition-fast); }
.footer-socials a:hover { background: var(--primary-teal); transform: translateY(-3px); }
.footer-widget h4 { color: var(--white); font-size: 20px; margin-bottom: 30px; position: relative; padding-bottom: 10px; }
.footer-widget h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 2px; background: var(--primary-teal); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: #a0aec0; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.footer-links a:hover { color: var(--primary-teal); padding-left: 8px; }
.contact-widget p { display: flex; gap: 15px; margin-bottom: 20px; font-size: 15px; }
.contact-widget i { color: var(--primary-teal); font-size: 20px; margin-top: 5px; }
.footer-bottom { background: #050a15; padding: 25px 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); }

/* --- Animations --- */
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Responsive adjustments */
@media(max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .process-wrapper { flex-direction: column; gap: 40px; }
    .process-wrapper::before { display: none; }
    .process-step { width: 100%; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 768px) {
    .hero-content h1 { font-size: 40px; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .top-bar { display: none; }
}


/* ====================================================
   100% FIXED & PREMIUM FLOATING CONTACT BUTTONS
   ==================================================== */
.floating-btn {
    position: fixed !important;
    bottom: 30px !important;
    width: 55px !important; /* Ideal small size */
    height: 55px !important; /* Same as width for perfect circle */
    border-radius: 50% !important;
    
    /* BULLETPROOF CENTERING (Ye kisi bhi purani CSS ko fail kar dega) */
    display: grid !important; 
    place-items: center !important; 
    
    z-index: 999999 !important;
    text-decoration: none !important;
    border: 2px solid #ffffff !important; 
    transition: all 0.3s ease-in-out !important;
    box-sizing: border-box !important;
    overflow: visible !important; /* No clipping */
}

/* YAHAN ICON KI SAARI PURANI CSS RESET KAR DI GAYI HAI */
.floating-btn i {
    font-size: 28px !important; /* Perfect fit */
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important; /* Prevents global width conflict */
    height: auto !important; /* Prevents global height conflict */
    line-height: 1 !important;
    display: block !important;
    text-align: center !important;
    transform: none !important; /* Prevents weird rotations */
}

.floating-btn:hover {
    transform: translateY(-8px) scale(1.1) !important;
    color: #ffffff !important;
}

/* Call Button (Left Side) */
.float-call {
    left: 30px !important;
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.5) !important;
}

/* WhatsApp Business Button (Right Side) */
.float-wa {
    right: 30px !important;
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5) !important;
    animation: wa-pulse 2s infinite !important;
}

/* Professional Glow Pulse Animation for WhatsApp */
@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Mobile Screens Ke Liye Auto-Adjust */
@media (max-width: 768px) {
    .floating-btn {
        bottom: 25px !important;
        width: 50px !important; 
        height: 50px !important;
    }
    .floating-btn i {
        font-size: 24px !important; 
    }
    .float-call { left: 20px !important; }
    .float-wa { right: 20px !important; }
}