/* pages.css - General Style sheet */
/* Authored by Welluz - Shharat Bhandari */

        :root {
            /* Colors */
            --background: #ffffff;
            --background-light: #f8f9fa;
            --foreground: #212529;
            --muted-foreground: #6c757d;
            --primary-blue: hsl(206, 90%, 54%);
            --primary-green: hsl(158, 77%, 52%);
            --cosmetic-pink: hsl(340, 82%, 61%);
            --card-border: #e9ecef;
            --card-bg: #ffffff;
            --preheader-bg: #e0f7fa; /* Light blue for pre-header */
            --footer-bg: #2196f3; /* Strong blue for footer */
            --footer-text: #ffffff; /* White text for footer */

            /* Gradients */
            --gradient-hero: linear-gradient(120deg, var(--primary-blue) 0%, var(--primary-green) 100%);
            --text-gradient: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-green) 100%);
            
            /* Shadows & Radius */
            --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
            --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
            --header-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); /* Specific shadow for header */
            --radius: 12px;
            --radius-lg: 16px;
        }
        
        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        html { scroll-behavior: smooth; }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--background);
            color: var(--foreground);
            line-height: 1.6;
            overflow-x: hidden;
        }
        
        .container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
        
        section { padding: 5rem 0; }
        
        .text-gradient { background: var(--text-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        
        /* Buttons */
        .btn { padding: 12px 24px; border-radius: 8px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; cursor: pointer; transition: all 0.3s ease; }
        .btn-primary { background: var(--primary-blue); color: white; }
        .btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
        .btn-outline { border: 1px solid white; color: white; }
        .btn-outline-dark { border: 1px solid var(--card-border); color: var(--foreground); background: white; }
        .btn-outline-dark:hover { background: var(--background-light); }
        
        /* Header */
        .header { position: sticky; top: 0; left: 0; right: 0; z-index: 1000; transition: all 0.3s ease; background: var(--background); box-shadow: var(--header-shadow); /* Header always has shadow */ }
        .pre-header { background: var(--preheader-bg); padding: 0.75rem 0; font-size: 0.9rem; }
        .pre-header .container { display: flex; align-items: center; justify-content: space-between; }
        .pre-header .left-info { display: flex; align-items: center; gap: 1.5rem; color: var(--muted-foreground); }
        .pre-header .left-info a { color: var(--muted-foreground); text-decoration: none; }
        .pre-header .left-info a:hover { color: var(--primary-blue); }
        .social-links { display: flex; align-items: center; gap: 1rem; }
        .social-links a { color: var(--muted-foreground); text-decoration: none; transition: color 0.3s ease; }
        .social-links a:hover { color: var(--primary-blue); }
        .lang-dropdown { position: relative; display: inline-block; }
        .lang-dropdown-toggle { background: none; border: none; padding: 0; cursor: pointer; color: var(--muted-foreground); font-weight: 500; display: flex; align-items: center; gap: 5px; }
        .lang-dropdown-menu { display: none; position: absolute; right: 0; background-color: var(--card-bg); min-width: 120px; box-shadow: var(--shadow-sm); border-radius: 8px; z-index: 1; margin-top: 10px; }
        .lang-dropdown-menu a { color: var(--foreground); padding: 10px 15px; text-decoration: none; display: block; text-align: left; }
        .lang-dropdown-menu a:hover { background-color: var(--background-light); color: var(--primary-blue); }
        /* Show the menu ONLY when the .lang-dropdown container has the 'active' class */
.lang-dropdown.active .lang-dropdown-menu { 
    display: block; 
}

        .main-nav { padding: 1rem 0; }
        .nav-content { display: flex; justify-content: space-between; align-items: center; }
        .logo { font-size: 1.75rem; font-weight: 700; color: var(--foreground); text-decoration: none; }
        .nav-menu { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
        .nav-menu a { color: var(--foreground); text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
        .nav-menu a:hover, .nav-menu a.active { color: var(--primary-blue); }
        .nav-right { display: flex; align-items: center; gap: 1.5rem; }
        .mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; }
        
        /* Hero Section (no change from previous as not shown in new screenshots) */
        .hero-section { position: relative; min-height: 90vh; display: flex; align-items: center; justify-content: center; color: white; padding: 120px 0 60px; }
        .hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
        .hero-bg-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--gradient-hero); opacity: 0.9; z-index: -1; }
        .hero-content { text-align: center; max-width: 800px; }
        .hero-badge { display: inline-block; background: hsla(0, 0%, 100%, 0.15); padding: 8px 16px; border-radius: 20px; font-size: 0.9rem; margin-bottom: 1.5rem; }
        .hero-title { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.1; margin-bottom: 1rem; }
        .hero-subtitle { font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 400; opacity: 0.9; max-width: 600px; margin: 0 auto 2rem; }
        .hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
        .hero-stats-wrapper { margin-top: 4rem; width: 100%; }
        .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 800px; margin: 0 auto; }
        .stat-card { background: hsla(0, 0%, 100%, 0.15); backdrop-filter: blur(5px); border-radius: var(--radius); padding: 1.5rem; }
        .stat-number { font-size: 2rem; font-weight: 700; }
        .stat-label { font-size: 0.9rem; opacity: 0.8; }
        
        /* Section Header (no change from previous) */
        .section-header { text-align: center; margin-bottom: 4rem; max-width: 750px; margin-left: auto; margin-right: auto; }
        .section-badge { display: inline-block; border: 1px solid var(--card-border); background: var(--background-light); color: var(--primary-blue); padding: 8px 16px; border-radius: 20px; font-size: 0.9rem; margin-bottom: 1rem; font-weight: 500; }
        .section-title { font-size: clamp(2.2rem, 5vw, 2.8rem); font-weight: 700; margin-bottom: 1rem; line-height: 1.2; }
        .section-description { font-size: 1.1rem; color: var(--muted-foreground); }
        
        /* About Section (no change from previous) */
        .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 5rem; }
        .mission-content h3 { font-size: 1.5rem; margin-bottom: 1rem; }
        .mission-content p { color: var(--muted-foreground); margin-bottom: 1.5rem; }
        .mission-checklist { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
        .mission-checklist li { display: flex; align-items: center; gap: 10px; }
        .mission-checklist .icon { color: var(--primary-green); font-size: 1.2rem; }
        .about-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
        .stat-card-light { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 2rem; text-align: center; }
        .stat-card-light .number { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; }
        .stat-card-light .label { color: var(--muted-foreground); }
        
        /* Features & Values (no change from previous) */
        .features-grid, .values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
        .feature-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 2rem; text-align: center; }
        .feature-card .icon { font-size: 2rem; color: var(--primary-blue); margin-bottom: 1rem; }
        .feature-card h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
        .feature-card p { color: var(--muted-foreground); font-size: 0.9rem; }
        
        /* Products Section */
        .products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; margin-bottom: 4rem; }
        .product-card { border-radius: var(--radius-lg); padding: 2rem; display: flex; flex-direction: column; }
        .product-card.pharma { background: hsl(206, 100%, 97%); border: 1px solid hsl(206, 100%, 90%); }
        .product-card.cosmetic { background: hsl(340, 100%, 97%); border: 1px solid hsl(340, 100%, 90%); background-image: url('https://placehold.co/500x600/f8d7da/343a40?text=Cosmetics'); background-size: cover; background-position: center; color: white; position: relative; }
        .product-card.cosmetic::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.4); border-radius: var(--radius-lg); }
        .product-card.cosmetic > * { position: relative; z-index: 1; }
        .product-card .card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
        .product-card .icon { font-size: 1.5rem; }
        .product-card.pharma .icon { color: var(--primary-blue); }
        .product-card.cosmetic .icon { color: var(--cosmetic-pink); }
        .product-card h3 { font-size: 1.5rem; }
        .product-types-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
        .product-type { background: hsla(0, 0%, 100%, 0.5); border-radius: var(--radius); padding: 1rem; }
        .product-type .icon { margin-right: 0.5rem; }
        .product-card.cosmetic .product-type { background: hsla(0, 0%, 0%, 0.3); }
        .product-details { margin-top: auto; border-top: 1px solid hsla(0, 0%, 50%, 0.3); padding-top: 1rem; font-size: 0.9rem; }
        .detail-item { display: flex; justify-content: space-between; margin-bottom: 0.5rem; }
        .detail-item span:last-child { font-weight: 600; }
        .product-card .btn { margin-top: 2rem; }
        .btn-pharma { background: var(--primary-blue); color: white; }
        .btn-cosmetic { background: var(--cosmetic-pink); color: white; }

        .therapeutic-areas { text-align: center; margin-top: 3rem; }
        .therapeutic-areas h3 { font-size: 1.8rem; margin-bottom: 2rem; }
        .area-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
        .area-buttons .btn { background: var(--background-light); border: 1px solid var(--card-border); color: var(--foreground); padding: 10px 20px; font-weight: 500; }
        .area-buttons .btn:hover { background: var(--primary-blue); color: white; border-color: var(--primary-blue); }


        /* Brands & Certifications Section (no change from previous) */
        .certifications-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-bottom: 4rem; }
        .certification-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 1.5rem; display: flex; align-items: center; gap: 1rem; }
        .certification-card .icon { font-size: 1.8rem; }
        .partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
        .partner-list { border-radius: var(--radius-lg); padding: 2rem; }
        .partner-list.pharma { background: hsl(206, 100%, 97%); }
        .partner-list.cosmetic { background: hsl(340, 100%, 97%); }
        .partner-list h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
        .partner-item { background: white; border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 1rem; }
        
        /* News Section (no change from previous) */
        .blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
        .blog-card { background: var(--card-bg); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid var(--card-border); }
        .blog-card-img { position: relative; }
        .blog-card-img img { width: 100%; height: 200px; object-fit: cover; display: block; }
        .blog-card-category { position: absolute; top: 1rem; left: 1rem; background: var(--primary-blue); color: white; padding: 4px 10px; border-radius: 6px; font-size: 0.8rem; font-weight: 500; }
        .blog-content { padding: 1.5rem; }
        .blog-meta { font-size: 0.8rem; color: var(--muted-foreground); margin-bottom: 0.75rem; display: flex; gap: 1rem; }
        .blog-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 1rem; line-height: 1.4; }
        .read-more { color: var(--primary-blue); text-decoration: none; font-weight: 600; }
        /* --- ADD THESE RULES --- */
.blog-title a {
    color: inherit; /* Inherits the color from .blog-title, removing the default blue */
    text-decoration: none; /* Removes the underline */
}

.blog-title a:hover {
    color: var(--primary-blue); /* Adds a hover effect for better UX */
}
        
        /* Footer */
        .footer { background: var(--footer-bg); color: var(--footer-text); padding: 5rem 0 0; }
        .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; }
        .footer-col h4 { font-size: 1.25rem; margin-bottom: 1.5rem; color: white; }
        .footer-col p, .footer-col a { color: var(--footer-text); text-decoration: none; margin-bottom: 0.75rem; display: block; opacity: 0.8; }
        .footer-col a:hover { color: var(--primary-green); opacity: 1; }
        .footer-col .logo { color: white; }
        .footer-contact-info p { display: flex; align-items: center; gap: 10px; }
        .footer-social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
        .footer-social-links a { background: rgba(255, 255, 255, 0.2); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: white; font-size: 1rem; transition: background 0.3s ease; }
        .footer-social-links a:hover { background: rgba(255, 255, 255, 0.4); }
        /* Middle Copyright Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-bottom a {
    display: inline-block;
    margin-left: 1rem;
}

/* Bottom Disclaimer Bar */
.footer-disclaimer {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    text-align: left;
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.footer-disclaimer b {
    color: white;
}

/* --- Flash Message Alerts --- */
.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
    border-radius: 8px;
}
.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}
.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}
.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}
.alert-info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}
.alert ul {
    margin-top: 0.5rem;
    margin-bottom: 0;
    padding-left: 1.5rem;
}

        .footer-newsletter { margin-bottom: 1.5rem; }
        .footer-newsletter p { margin-bottom: 1rem; }
        .newsletter-form { display: flex; gap: 10px; }
        .newsletter-form input { flex-grow: 1; padding: 10px 15px; border-radius: 8px; border: none; background: rgba(255, 255, 255, 0.9); color: var(--foreground); }
        .newsletter-form input::placeholder { color: var(--muted-foreground); }
        .newsletter-form button { background: var(--primary-green); color: white; border: none; padding: 10px 15px; border-radius: 8px; cursor: pointer; transition: background 0.3s ease; }
        .newsletter-form button:hover { background: hsl(158, 77%, 42%); }


        .footer-bottom-bar { border-top: 1px solid rgba(255, 255, 255, 0.2); margin-top: 4rem; padding: 1.5rem 0; text-align: center; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
        .footer-bottom-bar p { margin-bottom: 5px; }
        .footer-bottom-bar a { color: rgba(255, 255, 255, 0.7); text-decoration: underline; }
        .footer-bottom-bar a:hover { color: white; }
        .legal-disclaimer { font-size: 0.75rem; margin-top: 1.5rem; line-height: 1.4; opacity: 0.6; max-width: 900px; margin-left: auto; margin-right: auto; text-align: left; }

/* --- Language Dropdown Styles --- */


/* --- Mobile Menu Styling --- */

/* 1. The Hamburger Button */
.mobile-menu-btn {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--foreground);
    cursor: pointer;
    z-index: 1001;
}

/* 2. The Full-Screen Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 49, 87, 0.98); /* A dark, semi-transparent blue */
    backdrop-filter: blur(5px);
    z-index: 1000;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* Hide/show transition */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Prevent scrolling when the menu is open */
body.mobile-menu-active {
    overflow: hidden;
}

/* 3. The Close Button (Top Right) */
.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 3rem;
    color: white;
    cursor: pointer;
}

/* 4. Navigation Links Inside Overlay */
.mobile-nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-nav li {
    margin: 1.5rem 0;
    opacity: 0; /* For animation */
    transform: translateY(20px); /* For animation */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 500;
}

/* Animation for links when menu opens */
.mobile-menu-overlay.active .mobile-nav li {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu-overlay.active .mobile-nav li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-nav li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-overlay.active .mobile-nav li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-nav li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-overlay.active .mobile-nav li:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu-overlay.active .mobile-nav li:nth-child(6) { transition-delay: 0.35s; }

/* 5. The Media Query to Switch Between Desktop and Mobile */
@media (max-width: 992px) {
    .nav-menu, .nav-right {
        display: none; /* Hide desktop menu and contact button */
    }
    .mobile-menu-btn {
        display: block; /* Show hamburger button */
    }
}

/* The main container - needed for positioning the menu */
.lang-dropdown {
    position: relative;
}

/* The button that triggers the dropdown */
.lang-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit; /* Inherit font from the parent */
    font-size: 0.875rem; /* Match other pre-header text */
    color: var(--muted-foreground);
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.lang-dropdown-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* The chevron icon inside the button */
.lang-dropdown-toggle .fa-chevron-down {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

/* Style for the dropdown menu itself - hidden by default */
.lang-dropdown-menu {
    display: none; /* Hidden by default, shown on hover */
    position: absolute;
    top: 100%; /* Position it right below the toggle button */
    right: 0;
    background-color: var(--background);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    min-width: 120px;
    z-index: 1001; /* Ensure it appears above other content */
    padding: 0.5rem 0;
    list-style: none;
    overflow: hidden;
}

/* Show the menu when hovering over the main .lang-dropdown container */
.lang-dropdown.active .lang-dropdown-menu {
    display: block;
}

/* Rotate the chevron icon when the menu is open */
.lang-dropdown.active .lang-dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

/* Individual links inside the dropdown menu */
.lang-dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: var(--foreground);
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.lang-dropdown-menu a:hover {
    background-color: var(--background-light);
    color: var(--primary-blue);
}
        /* Responsive */
        @media (max-width: 992px) {
            .nav-menu, .nav-right .btn { display: none; }
            .mobile-menu-btn { display: block; }
            .about-grid, .products-grid, .partners-grid { grid-template-columns: 1fr; }
            .pre-header .left-info { display: none; }
            .pre-header .container { justify-content: space-between; }
            .lang-dropdown { margin-left: auto; margin-right: 1rem; } /* Align to right */
            .logo { margin-left: 1rem; } /* Align logo properly */
        }
        @media (max-width: 768px) {
            .hero-stats { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; text-align: center; }
            .footer-social-links { justify-content: center; }
            .newsletter-form { flex-direction: column; }
        }