/**
 * Main Stylesheet for Mafiamads Medical Products Website
 * Modern, responsive design with Material UI principles
 */

/* ===============================================
   ROOT VARIABLES & TYPOGRAPHY
   =============================================== */
:root {
    --midnight-blue: #003366;
    --mint-green: #2ecc71;
    --coral-red: #FF6F61;
    --soft-gray: #f8f9fa;
    --charcoal: #333333;
    --light-gray: #e0e0e0;
    --gradient-primary: linear-gradient(135deg, #003366, #2ecc71);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--charcoal);
    overflow-x: hidden;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* ===============================================
   NAVIGATION BAR
   =============================================== */
.navbar {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

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

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

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

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

/* ===============================================
   HERO SECTION
   =============================================== */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    transition: all 0.5s ease;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 51, 102, 0.5);
    border-radius: 50%;
    padding: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

#heroCarousel .carousel-item {
    transition: transform 0.6s ease-in-out;
}

.hero-title {
    animation: fadeInUp 1s ease;
}

.hero-image {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-image-wrapper {
    position: relative;
}

.stats-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.floating-card {
    animation: float 3s ease-in-out infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* ===============================================
   BUTTONS
   =============================================== */
.btn-coral {
    background-color: var(--coral-red);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 111, 97, 0.3);
}

.btn-coral:hover {
    background-color: #ff5647;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 111, 97, 0.4);
}

.pulse-btn {
    animation: pulse 2s infinite;
}

.glow-btn {
    animation: glow 2s ease-in-out infinite;
}

/* ===============================================
   PRODUCT CARDS
   =============================================== */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--mint-green);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-body {
    padding: 20px;
}

.product-title {
    color: var(--midnight-blue);
    font-weight: 700;
    margin-bottom: 10px;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-code {
    font-size: 0.85rem;
    color: #666;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coral-red);
}

/* ===============================================
   VERIFICATION SECTION
   =============================================== */
.verification-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.verify-input {
    transition: all 0.3s ease;
}

.verify-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(46, 204, 113, 0.2);
}

.verify-submit-btn {
    transition: all 0.3s ease;
}

.verify-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 111, 97, 0.4);
}

.info-card {
    background: white;
    border-radius: 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.info-card:hover {
    transform: translateY(-5px);
}

/* ===============================================
   ABOUT SECTION
   =============================================== */
.experience-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-card {
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ===============================================
   TESTIMONIALS SECTION
   =============================================== */
.testimonial-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    border: 4px solid var(--mint-green);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.metric-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--midnight-blue);
    border-radius: 50%;
    padding: 20px;
}

/* ===============================================
   CTA SECTION
   =============================================== */
.cta-decoration {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.trust-badge {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    font-size: 0.9rem;
}

/* ===============================================
   FOOTER
   =============================================== */
.hover-link {
    transition: all 0.3s ease;
}

.hover-link:hover {
    color: var(--mint-green) !important;
    padding-left: 5px;
}

/* ===============================================
   FLOATING WHATSAPP BUTTON
   =============================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: white;
}

/* ===============================================
   SCROLL TO TOP BUTTON
   =============================================== */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
}

.scroll-to-top.show {
    display: flex;
}

/* ===============================================
   SECTION DIVIDER
   =============================================== */
.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 111, 97, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(255, 111, 97, 0.5);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.6);
    }
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */
@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 50px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats-card {
        position: static;
        margin-top: 20px;
    }
    
    .product-image-wrapper {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.8rem;
    }
    
    .verification-card {
        padding: 25px;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-to-top {
        bottom: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .product-card {
        margin-bottom: 20px;
    }
    
    .stat-card,
    .metric-card,
    .info-card {
        margin-bottom: 15px;
    }
}

/* ===============================================
   UTILITY CLASSES
   =============================================== */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.text-midnight-blue {
    color: var(--midnight-blue);
}

.text-mint-green {
    color: var(--mint-green);
}

.text-coral-red {
    color: var(--coral-red);
}

.text-light-gray {
    color: var(--light-gray);
}

/* ===============================================
   LOADING STATES & TRANSITIONS
   =============================================== */
.fade-in {
    animation: fadeInUp 0.8s ease;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease;
}

.slide-in-right {
    animation: slideInRight 0.8s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* ===============================================
   MOBILE PREVIEW BUTTON
   =============================================== */
.mobile-preview-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #003366, #2ecc71);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.mobile-preview-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    color: #fff;
}

.mobile-preview-btn i {
    font-size: 28px;
}

/* ===============================================
   PRINT STYLES
   =============================================== */
@media print {
    .navbar,
    .whatsapp-float,
    .scroll-to-top,
    .mobile-preview-btn,
