/* 
  Yung Pharma - Premium CSS Styles
  Colors: Deep Medical Blue (#00417a) + Healthcare Green (#4caf50)
*/

:root {
    --primary-blue: #00417a;
    --primary-green: #4caf50;
    --accent-gradient: linear-gradient(135deg, #00417a 0%, #4caf50 100%);
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.section-padding {
    padding: 120px 0;
}

.inner-hero {
    padding-top: 200px !important;
    padding-bottom: 120px !important;
    margin-top: 0 !important;
}

/* Gradient Text */
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
#mainNav {
    transition: all 0.4s ease;
    padding: 20px 0;
}

#mainNav.navbar-scrolled,
.navbar-white {
    background: white !important;
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#mainNav.navbar-scrolled .nav-link,
.navbar-white .nav-link {
    color: var(--text-dark) !important;
}

#mainNav.navbar-scrolled .logo-img,
.navbar-white .logo-img {
    filter: none;
}

.logo-img {
    height: 50px;
    width: auto;
}

.filter-white {
    filter: brightness(0) invert(1);
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Remove underline for button-style link */
.nav-link.btn-contact::after {
    display: none !important;
}

#mainNav .nav-link.btn-contact {
    background: var(--primary-blue);
    color: white !important;
    border-radius: 50px;
    padding: 8px 25px !important;
    opacity: 1;
}

#mainNav .nav-link.btn-contact:hover {
    background: var(--primary-green);
    color: white !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('../images/banner.jpg') center/cover no-repeat;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
}

.hero-subtext {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

.btn-primary {
    background: var(--primary-blue);
    border: none;
}

.btn-primary:hover {
    background: var(--primary-green);
}

/* Common Section Styles */
.section-subtitle {
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary-blue);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Manufacturing Image Refinement */
.mfg-img-wrapper {
    overflow: hidden;
    border-radius: 1rem;
    transition: transform 0.4s ease;
}

.mfg-img-wrapper:hover {
    transform: scale(1.03);
}

.mfg-img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Counter Cards */
.stat-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    min-width: 200px;
    z-index: 2;
}

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

.glass-morphism {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.counter {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0;
}

.counter-small {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 0;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    background: rgba(76, 175, 80, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

/* Pharma List */
.pharma-list li {
    margin-bottom: 15px;
    font-weight: 500;
}

.pharma-list li i {
    color: var(--primary-green);
    margin-right: 10px;
}

.cert-badge {
    padding: 10px 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-weight: 700;
    color: var(--text-muted);
}

.filter-grayscale {
    filter: grayscale(1);
    opacity: 0.6;
}

/* Product Category Cards */
.product-cat-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 250px;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.4s ease;
}

.product-cat-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 65, 122, 0.9), rgba(76, 175, 80, 0.7));
    opacity: 0.3;
    transition: opacity 0.4s ease;
}

.product-cat-card:hover .overlay {
    opacity: 0.9;
}

.product-cat-card .content {
    position: relative;
    z-index: 1;
    color: white;
    padding: 20px;
}

.product-cat-card h4 {
    color: white;
}

.product-cat-card p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.product-cat-card i {
    font-size: 3rem;
    color: var(--primary-green);
}

/* Contact Form */
.glass-input {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 12px;
}

.glass-input:focus {
    background: white;
    box-shadow: none;
    border-color: var(--primary-blue);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Footer */
.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-green);
}

.footer .text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-green);
}

/* Partner Slider */
.partner-slider {
    position: relative;
    width: 100%;
}

.partner-track {
    display: flex;
    width: calc(280px * 28);
    animation: scroll 40s linear infinite;
}

.partner-logo {
    width: 250px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-280px * 14));
    }
}

/* Advantage Items */
.advantage-item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.advantage-item h5 {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .stat-card {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
    }

    .section-padding {
        padding: 60px 0;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.whatsapp-float i {
    margin-top: 2px;
}

.grecaptcha-badge {
    display: none !important;
}