:root {
    --primary-color: #0e3b54;
    /* Darker blue from footer */
    --primary-light: #366a88;
    /* Contact section background */
    --accent-color: #86bbb0;
    /* Contact Heading Color */
    --secondary-accent: #0099ff;
    --text-dark: #ffffff;
    /* Default text to white for dark theme */
    --text-light: #ffffff;
    --bg-dark: #2a305b;
    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer,
.footer-custom {
    margin-top: auto;
}

/* Navbar Styles */
.navbar {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.navbar-nav {
    background-color: rgba(22, 26, 66, 0.70);

    /* #161a42 with opacity */
    padding: 0;
    align-items: center;
}

.navbar-nav .nav-link {
    color: white !important;
    padding: 1.5rem 1.5rem !important;
    /* Increased padding */
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

/* Contact Button in Nav */
.btn-contact {
    /* background-color: #1e88e5; */
    background: rgba(11, 134, 209, 0.90) !important;
    /* Bright blue from reference */
    color: white;
    padding: 1.5rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0;
    /* Square edges as per image */
    display: inline-block;
    transition: background-color 0.3s;
    line-height: 1.5;
    /* Normalize */
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.btn-contact:hover {
    background-color: #1565c0;
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    background: #1a2b4b;
    /* Fallback color */
}

/* Hero Video Container */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 43, 75, 0.7), rgba(26, 43, 75, 0.7));
    /* Blue overlay */
    z-index: 1;
    /* Above video */
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    /* Above overlay */
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 500;
    color: #4dd0e1;
    /* Cyan title color */
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1rem;
    max-width: 700px;
    margin-bottom: 2.5rem;
    color: #e0e0e0;
}

/* Exact Button Styles */
.btn-hero {
    background-color: #3b6b82;
    /* Muted teal background */
    border: 1px solid #4dd0e1;
    color: white;
    padding: 8px 24px;
    border-radius: 6px;
    font-weight: 400;
    font-size: 0.95rem;
    margin-right: 15px;
    transition: all 0.3s;
}

.btn-hero:hover {
    background-color: #4dd0e1;
    color: #1a2b4b;
    border-color: #4dd0e1;
}

.btn-hero-outline {
    background-color: transparent;
    border: 1px solid #4dd0e1;
}

.btn-hero-outline:hover {
    background-color: #4dd0e1;
    color: #1a2b4b;
}

/* About Section */
.section-padding {
    padding: 80px 0;
}

.about-img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    object-fit: cover;
}

/* Product Cards */
.card-product {
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.card-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-color);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    background-color: #f0f0f0;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.btn-link-custom {
    color: var(--secondary-accent);
    text-decoration: none;
    font-weight: 600;
}

.btn-link-custom:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0 20px;
    font-size: 0.9rem;
}

.footer-logo {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
    text-decoration: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}


.footer-links a:hover {
    color: var(--accent-color);
}

/* Contact Page Styles */
.contact-section {
    padding-top: 100px !important;
    /* Reduced top padding to account for centering */
    background-color: var(--primary-light);
    flex: 1;
    /* Take up available space */
    display: flex;
    align-items: center;
    /* Vertically center */
    padding-bottom: 60px;
}

.contact-title {
    color: var(--accent-color);
}

.contact-address {
    max-width: 300px;
}

.contact-map-container {
    height: 400px;
    background-color: #e8eaed;
    border-radius: 2px;
}

/* =========================================
   Refactored Inline Styles
   ========================================= */

/* Header & Nav */
.navbar-transparent {
    background: transparent !important;
}

.container-wide {
    max-width: 1240px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

/* Footer */
.footer-custom {
    background-color: var(--primary-color);
    /* #0e3b54 */
    padding: 15px 0;
}

.footer-text {
    opacity: 0.8;
    font-size: 0.85rem;
}

/* Hero & General */
.hero-subtitle {
    font-weight: 400;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* About Us Page */
.about-hero-section {
    padding-top: 140px;
    background-color: var(--bg-dark);
    /* #2a305b */
}

.text-cyan-light {
    color: #98eeee;
}

.about-hero-img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
}

.bg-teal-light {
    background-color: #64C5B1;
}

.text-primary-dark {
    color: #1a2b4b;
}

.text-primary-dark-lg {
    color: #1a2b4b;
    font-size: 1.1rem;
}

.bg-blue-pale {
    background-color: #D6ECFA;
}

/* About Us Slider Styles */
.about-slider {
    width: 100%;
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    background: #f0f0f0;
    /* Fallback color */
}

.about-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
}

.about-slider .swiper-slide img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.about-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #0d86d1 !important;
    opacity: 0.5;
    margin: 0 5px !important;
    transition: all 0.3s ease;
}

.about-slider .swiper-pagination-bullet-active {
    opacity: 1;
    width: 15px;
    background: #0d86d1 !important;
    border-radius: 20px;
}


.bg-blue-bright {
    background-color: #0d86d1;
}

.about-blue-strip-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1rem;
}

.bg-navy-dark {
    background-color: #073b54;
}

.text-cyan {
    color: #4dd0e1;
}

.management-img {
    width: 250px;
    height: 280px;
    object-fit: cover;
    object-position: top;
}

.management-bio {
    max-width: 800px;
}

/* Pharmaceuticals */
.pharma-section {
    padding-top: 160px !important;
}

.product-category {
    font-size: 0.75rem !important;
}

/* Nutraceuticals */
.nutra-section {
    padding-top: 160px;
}

.nutra-card {
    min-height: 80px;
}

/* =========================================
   Sidebar Filter & New Card Styles
   ========================================= */

.filter-sidebar .list-group-item {
    border: none;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    color: #555;
    transition: all 0.2s;
    border-left: 4px solid transparent;
    margin-bottom: 2px;
}

.filter-sidebar .list-group-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
    border-left-color: #e9ecef;
}

.filter-sidebar .active-filter {
    background-color: white !important;
    color: var(--primary-color) !important;
    border-left-color: var(--secondary-accent) !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-sidebar .badge {
    font-weight: 500;
}

/* Product Card Hover Effect */
.product-card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-top 0.3s ease;
    border-top: 3px solid transparent !important;
    /* Pre-reserve space or just override */
}

.product-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
    border-top: 3px solid var(--secondary-accent) !important;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-nav {
        background-color: rgb(62, 106, 128);
        margin-top: 10px;
        padding: 10px 0;
        border-radius: 8px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.8rem 1.5rem !important;
        text-align: center;
    }

    .btn-contact {
        width: auto;
        background: transparent !important;
        padding: 0.8rem 1.5rem !important;
        font-weight: 500;
    }
}

@media (max-width: 767.98px) {
    .navbar {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .navbar-brand img {
        height: 40px !important;
    }
    
    .brand-text {
        font-size: 1.1rem !important;
        white-space: nowrap;
    }

    .navbar-toggler {
        padding: 0.1rem 0.15rem !important;
        font-size: 0.9rem !important;
    }

    .btn-contact {
        padding: 0.8rem 1.5rem !important;
    }

    .hero-content h1 {
        font-size: 2.2rem !important;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .section-padding {
        padding: 40px 0;
    }

    .pharma-section, .about-hero-section, .nutra-section {
        padding-top: 100px !important;
    }
}

@media (max-width: 380px) {
    .brand-text {
        font-size: 1.2rem !important;
    }
    .navbar-brand img {
        height: 35px !important;
    }
}
