/* Biosler Pharmaceuticals - Custom Stylesheet
    Theme: Deep Blue & Mint Green (Scientific Excellence)
*/

:root {
    --db: #104060;   /* Deep Blue - Trust */
    --mg: #40A080;   /* Mint Green - Wellness */
    --light: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- Global Styles --- */
body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
    color: var(--db);
    overflow-x: hidden;
}

/* Custom Button (Pill Style) */
.btn-biosler {
    background-color: var(--mg);
    color: var(--white) !important;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(64, 160, 128, 0.3);
}

.btn-biosler:hover {
    background-color: var(--db);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(16, 64, 96, 0.3);
}

/* --- Section Headings --- */
.section-title {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 40px;
    color: var(--db);
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--mg);
    border-radius: 10px;
}

/* --- Luxury UI Elements --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(16, 64, 96, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
}

.glass-panel:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(16, 64, 96, 0.15);
}

/* Rich Dark Backgrounds */
.bg-rich-dark {
    background: linear-gradient(135deg, #0a2d45 0%, #104060 100%);
    color: var(--white);
}

/* --- Product Components --- */
.product-card {
    border: none;
    border-radius: 15px;
    background: var(--white);
    transition: var(--transition);
    padding: 20px;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.product-card .card-img-top {
    transition: transform 0.5s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

/* --- Counters --- */
.counter-box {
    padding: 40px 20px;
    border-top: 5px solid var(--mg);
    background: var(--white);
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* --- Mobile Menu & Header --- */
.navbar-toggler:focus {
    box-shadow: none !important;
}

#bioslerMobileMenu {
    transition: transform 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
}

#bioslerMobileMenu .nav-link {
    font-size: 1.15rem;
    padding: 15px 25px;
    border-left: 4px solid transparent;
    transition: var(--transition);
}

#bioslerMobileMenu .nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--mg);
    color: var(--mg) !important;
}

/* --- Animations --- */
.rotating-slow {
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Responsive Utility --- */
@media (max-width: 991px) {
    .display-large { font-size: 2.5rem; }
    .navbar-brand img { height: 50px; }

	.carousel-item, .hero-gradient {
        height: 350px !important;
        min-height: 350px !important;
        max-height: 350px !important;
    }
	.display-large{ margin-top:-50px!important;}

}

.testimonial-card {
    border: 1px solid rgba(16, 64, 96, 0.1);
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    position: relative;
    transition: all 0.5s ease;
    height: 100%;
}

.testimonial-card:hover {
    background: var(--db);
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(16, 64, 96, 0.2);
}

.testimonial-card:hover p, 
.testimonial-card:hover h5 {
    color: #fff !important;
}

.quote-icon-box {
    width: 50px;
    height: 50px;
    background: var(--mg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    color: white;
}

/* Animated Gradient for Backgrounds */
.bg-gradient-mesh {
    background-color: #104060;
    background-image: 
        radial-gradient(at 0% 0%, rgba(64, 160, 128, 0.3) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(16, 64, 96, 0.3) 0px, transparent 50%);
}

/* Feature Icon Boxes */
.feature-box {
    padding: 30px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.feature-box:hover {
    background: var(--mg);
    transform: scale(1.05);
}

.feature-box:hover i, .feature-box:hover h5 {
    color: #fff !important;
}


/* WhatsApp Floating Button Styles */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366; /* WhatsApp Green */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e; /* Darker WhatsApp Green */
    width: 160px; /* Expands on hover */
    color: #FFF;
}

.whatsapp-float .my-float {
    transition: transform 0.3s ease;
}

.whatsapp-float:hover .my-float {
    transform: translateX(-40px);
}

/* Hidden text that shows on hover */
.float-text {
    position: absolute;
    right: 10px;
    opacity: 0;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.whatsapp-float:hover .float-text {
    opacity: 1;
}

/* Optional Pulse Animation */
@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
    animation: pulse-green 2s infinite;
}