/*
 * Design System & Style Guide for Konsyl Pharmaceutical Pvt. Ltd.
 * Inspired by Traya.health - Natural, trustworthy, and modern premium aesthetic.
 */

:root {
    --primary: #4A7EC7;
    /* Konsyl Blue */
    --primary-light: #6B9FE4;
    /* Konsyl Light Blue */
    --primary-dark: #0B1A30;
    /* Deep Navy */
    --primary-rgb: 74, 126, 199;
    --accent: #5BAD4E;
    /* Konsyl Green */
    --accent-hover: #7DC870;
    /* Konsyl Light Green */
    --accent-yellow: #C9C43A;
    /* Konsyl Yellow */
    --bg-cream: #F4F7FB;
    /* Clean light blue-grey */
    --bg-green-light: #EBF2FA;
    /* Soft blue highlight bg */
    --text-dark: #1C2635;
    --text-muted: #6B7785;
    --border-color: #E2EAF4;
    --white: #FFFFFF;
    --shadow-sm: 0 4px 6px rgba(74, 126, 199, 0.04);
    --shadow-md: 0 10px 30px rgba(74, 126, 199, 0.06);
    --shadow-lg: 0 20px 40px rgba(74, 126, 199, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.25;
}

.font-serif {
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ==========================================================================
   Layout & Common Sections
   ========================================================================== */
.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}

.bg-light-green {
    background-color: var(--bg-green-light);
}

.bg-dark-green {
    background-color: var(--primary-dark);
    color: var(--white);
}

/* Section Header */
.section-title {
    margin-bottom: 45px;
}

.section-title span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-hover);
    font-weight: 700;
    display: inline-block;
    margin-bottom: 10px;
}

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

.bg-dark-green .section-title h2 {
    color: var(--white);
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.topbar {
    background: #070e17;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    position: relative;
    letter-spacing: 0.3px;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar-gradient-line {
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    width: 100%;
}

.topbar-pill {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5px 14px;
    border-radius: 30px;
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    font-weight: 500;
}

.topbar-pill:hover {
    background-color: rgba(74, 126, 199, 0.08);
    border-color: rgba(74, 126, 199, 0.3);
    color: var(--white) !important;
    transform: translateY(-1px);
}

.topbar-status {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
}

.status-dot {
    width: 7px;
    height: 7px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(91, 173, 78, 0.5);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(91, 173, 78, 0.5);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 5px rgba(91, 173, 78, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(91, 173, 78, 0);
    }
}

.topbar-divider {
    width: 1px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.15);
    display: inline-block;
}

.partner-badge {
    background-color: rgba(91, 173, 78, 0.08);
    border: 1px solid rgba(91, 173, 78, 0.25);
    color: var(--accent) !important;
    border-radius: 20px;
    font-size: 0.72rem;
    padding: 3px 12px;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
    font-weight: 600;
}

.partner-badge:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark) !important;
    box-shadow: 0 0 12px rgba(91, 173, 78, 0.25);
}

.main-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 15px;
    z-index: 1000;
    width: 95%;
    max-width: 1200px;
    margin: 15px auto 0;
    border-radius: 40px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(74, 126, 199, 0.08);
    box-shadow: 0 10px 30px rgba(74, 126, 199, 0.04);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 15px 35px rgba(9, 20, 36, 0.08);
    border-color: rgba(74, 126, 199, 0.12);
    top: 8px;
}

/* Mobile Side Drawer Menu (max-width: 991.98px) */
@media (max-width: 991.98px) {
    .main-header {
        width: 100%;
        margin: 0;
        top: 0;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid var(--border-color);
        background-color: var(--white) !important;
        padding: 5px 15px;
    }
    
    .main-header.scrolled {
        top: 0;
    }
    
    /* Left slide-out navigation drawer */
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: -300px; /* Hide off-screen to the left */
        width: 300px;
        height: 100vh;
        background-color: rgba(11, 26, 48, 0.96) !important; /* Frosted brand navy background */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 9999;
        padding: 30px 25px;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        display: block !important; /* Force block layout */
        box-shadow: 15px 0 50px rgba(74, 126, 199, 0.15);
        margin: 0 !important;
        border-radius: 0 !important;
        overflow-y: auto;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .navbar-collapse.show {
        left: 0; /* Slide in! */
    }
    
    /* Styled Circular Close Button */
    .navbar-collapse .btn-close {
        background-color: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 50%;
        padding: 8px;
        transition: var(--transition);
        opacity: 0.8;
    }
    
    .navbar-collapse .btn-close:hover {
        background-color: rgba(255, 255, 255, 0.15);
        opacity: 1;
    }
    
    /* Nav link styles inside drawer */
    .navbar-nav {
        align-items: flex-start !important;
        width: 100%;
        gap: 8px !important;
    }
    
    /* Sliding Link Stagger Animations */
    .navbar-collapse .nav-item {
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .navbar-collapse.show .nav-item {
        opacity: 1;
        transform: translateX(0);
    }
    
    .navbar-collapse.show .nav-item:nth-child(1) { transition-delay: 0.05s; }
    .navbar-collapse.show .nav-item:nth-child(2) { transition-delay: 0.10s; }
    .navbar-collapse.show .nav-item:nth-child(3) { transition-delay: 0.15s; }
    .navbar-collapse.show .nav-item:nth-child(4) { transition-delay: 0.20s; }
    .navbar-collapse.show .nav-item:nth-child(5) { transition-delay: 0.25s; }
    .navbar-collapse.show .nav-item:nth-child(6) { transition-delay: 0.30s; }
    .navbar-collapse.show .nav-item:nth-child(7) { transition-delay: 0.35s; }
    
    .navbar-nav .nav-item {
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        color: rgba(255, 255, 255, 0.8) !important;
        width: 100%;
        padding: 12px 15px !important;
        border-radius: var(--border-radius-sm);
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: rgba(255, 255, 255, 0.03) !important;
    }
    
    .navbar-nav .nav-link:hover, 
    .navbar-nav .nav-link.active {
        color: var(--white) !important;
        background-color: rgba(255, 255, 255, 0.08) !important;
    }
    
    /* Hide the underline slide-in on mobile */
    .nav-link::before {
        display: none !important;
    }
    
    /* Mobile dropdown items styling */
    .navbar-collapse .dropdown-menu {
        background-color: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        box-shadow: none !important;
        width: 100% !important;
        min-width: 100% !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
        display: none; /* Collapsed by default */
        padding: 8px !important;
        margin-top: 5px !important;
    }
    
    /* Show mobile dropdown menu when toggled */
    .navbar-collapse .dropdown.show .dropdown-menu {
        display: block !important;
    }
    
    .navbar-collapse .dropdown-item {
        color: rgba(255, 255, 255, 0.7) !important;
        padding: 10px 15px !important;
        background-color: transparent !important;
    }
    
    .navbar-collapse .dropdown-item:hover {
        color: var(--white) !important;
        background-color: rgba(255, 255, 255, 0.05) !important;
    }
    
    /* Mobile menu header divider and text colors */
    .navbar-collapse .border-end {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    
    .navbar-collapse .text-primary {
        color: var(--accent) !important;
    }
    
    .navbar-collapse .text-muted {
        color: rgba(255, 255, 255, 0.4) !important;
    }
    
    /* Floating Contact button full width inside drawer */
    .navbar-collapse .btn-header-contact {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        padding: 12px 20px !important;
    }
    
    /* Mobile dropdown toggle arrow alignment */
    .navbar-nav .dropdown-toggle::after {
        margin-left: auto;
        vertical-align: middle;
    }
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    font-weight: 600;
    color: #1C2635 !important;
    padding: 8px 16px !important;
    position: relative;
    transition: color 0.3s ease;
    background-color: transparent !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

/* Modern underline indicator slide-in (using ::before to avoid styling conflicts with Bootstrap's caret ::after) */
.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 24px;
}

/* Caret rotation animation on hover */
.navbar-nav .dropdown-toggle::after {
    transition: transform 0.3s ease;
    display: inline-block !important;
    vertical-align: 0.255em;
    margin-left: 0.3em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}
.navbar-nav .dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Contact Us Button */
.btn-header-contact {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 20px !important;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(74, 126, 199, 0.2);
    transition: all 0.3s ease;
    border: none;
}

.btn-header-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(74, 126, 199, 0.35);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: var(--white) !important;
}

.dropdown-menu {
    border: none;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    background-color: var(--white);
    padding: 12px;
}

.dropdown-item {
    font-weight: 500;
    color: var(--primary);
    border-radius: var(--border-radius-sm);
    padding: 8px 16px;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--bg-green-light);
    color: var(--primary-light);
}

/* Enable hover dropdowns on desktop screens (min-width: 992px) */
@media (min-width: 992px) {
    .navbar-nav .dropdown.position-static {
        position: static !important;
    }
    
    .navbar-nav .mega-menu {
        position: absolute;
        width: 100%;
        left: 0;
        right: 0;
        top: calc(100% + 12px);
        max-height: 400px;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px) scale(0.98);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: none;
        display: block !important;
        border-radius: var(--border-radius-lg) !important;
        box-shadow: 0 20px 50px rgba(9, 20, 36, 0.12) !important;
        border: 1px solid rgba(74, 126, 199, 0.12) !important;
    }
    .navbar-nav .dropdown:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }
    
    .navbar-nav .dropdown-menu:not(.mega-menu) {
        position: absolute;
        top: calc(100% + 12px);
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px) scale(0.98);
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: none;
        display: block !important;
        min-width: 260px;
    }
    .navbar-nav .dropdown:hover .dropdown-menu:not(.mega-menu) {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    /* Invisible hover bridges to extend hover trigger zone down to the dropdown menu */
    .navbar-nav .dropdown::before {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 20px;
        background: transparent;
    }

    /* Invisible hover bridge to prevent menu from hiding when moving cursor over the gap */
    .navbar-nav .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -24px;
        left: 0;
        right: 0;
        height: 24px;
        background: transparent;
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-konsyl {
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid transparent;
}

.btn-konsyl-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-konsyl-primary:hover {
    background-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 61, 46, 0.25);
}

.btn-konsyl-accent {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.btn-konsyl-accent:hover {
    background-color: var(--accent-hover);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 194, 111, 0.35);
}

.btn-konsyl-outline {
    border-color: var(--primary);
    color: var(--primary);
    background-color: transparent;
}

.btn-konsyl-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ==========================================================================
   Home Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 120px 0 100px;
    background: linear-gradient(135deg, var(--bg-green-light) 0%, var(--bg-cream) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 194, 111, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.hero-image-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    padding: 15px;
    transform: rotate(2deg);
    transition: var(--transition);
}

.hero-image-card:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Stats Counter */
.stat-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-card h3 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-card p {
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0;
}

/* ==========================================================================
   Interactive Cards (Categories & Products)
   ========================================================================== */
.category-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.category-img-container {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-img-placeholder {
    font-size: 3rem;
    color: var(--primary-light);
    opacity: 0.3;
}

.category-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-img-container img {
    transform: scale(1.08);
}

.category-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.category-body h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.category-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.category-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent) !important;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    margin-top: 20px;
    width: fit-content;
}

.category-cta i {
    transition: transform 0.3s ease;
}

.category-card:hover .category-cta {
    color: var(--accent-hover) !important;
}

.category-card:hover .category-cta i {
    transform: translateX(5px);
}

/* Segment Slider Styles */
.segments-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 24px;
    padding: 15px 5px 30px;
    scrollbar-width: none; /* Hide standard scrollbar */
}

.segments-slider::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.segment-slide {
    flex: 0 0 350px; /* fixed width of slide */
    scroll-snap-align: start;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .segment-slide {
        flex: 0 0 280px; /* slightly narrower on mobile */
    }
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: var(--white);
    border: 1px solid rgba(74, 126, 199, 0.18);
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(9, 20, 36, 0.1);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    padding: 0 !important;
    line-height: 1 !important;
}

.slider-nav-btn i {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.slider-nav-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(74, 126, 199, 0.3);
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

@media (max-width: 991.98px) {
    .slider-nav-btn {
        display: none; /* Hide buttons on mobile/tablet since users swipe */
    }
}

/* Product Card */
.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-img-container {
    height: 240px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.product-img-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-img-container img {
    transform: scale(1.05);
}

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}

.product-badge-type {
    background-color: var(--primary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.product-composition {
    font-size: 0.85rem;
    color: var(--text-muted);
    background-color: var(--bg-green-light);
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-meta {
    font-size: 0.9rem;
    margin-bottom: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

.product-meta div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.product-meta span.label {
    color: var(--text-muted);
}

.product-meta span.value {
    font-weight: 500;
    color: var(--text-dark);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-light);
}

/* ==========================================================================
   Founder Message Layout
   ========================================================================== */
.founder-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.founder-quote-box {
    position: relative;
    padding: 40px;
    background-color: var(--bg-green-light);
}

.founder-quote-box::before {
    content: "\201C";
    position: absolute;
    top: 0px;
    left: 20px;
    font-size: 8rem;
    line-height: 1;
    font-family: 'Playfair Display', serif;
    color: var(--accent);
    opacity: 0.5;
}

.founder-text {
    position: relative;
    z-index: 1;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--primary);
}

/* ==========================================================================
   Timeline (Company Profile)
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-light);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--accent);
    border: 4px solid var(--primary-light);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

@media (max-width: 768px) {
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 23px;
        right: auto;
    }
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

@media (max-width: 768px) {
    .timeline-right {
        left: 0%;
    }
}

.timeline-left::after {
    right: -8px;
}

.timeline-right::after {
    left: -8px;
}

.timeline-content {
    padding: 24px;
    background-color: var(--white);
    position: relative;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

/* ==========================================================================
   Interactive Gallery
   ========================================================================== */
.gallery-filter-btn {
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.gallery-card {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 61, 46, 0.9) 0%, transparent 80%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: var(--transition);
}

.gallery-card:hover img {
    transform: scale(1.1);
}

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

.gallery-overlay h4 {
    color: var(--white);
    font-size: 1.1rem;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ==========================================================================
   Offers Slider / Carousel
   ========================================================================== */
.offer-banner-container {
    background-color: var(--primary-light);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    color: var(--white);
}

.offer-banner-content {
    padding: 60px;
    z-index: 2;
    position: relative;
}

@media (max-width: 768px) {
    .offer-banner-content {
        padding: 30px;
    }
}

.offer-banner-badge {
    background-color: var(--accent);
    color: var(--primary-dark);
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.offer-banner-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.offer-banner-img {
    height: 100%;
    min-height: 300px;
    background-size: cover;
    background-position: center;
}

/* ==========================================================================
   Testimonial Grid
   ========================================================================== */
.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    padding: 35px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
}

.testimonial-stars {
    color: var(--accent-yellow);
    margin-bottom: 15px;
}

.testimonial-content {
    font-style: italic;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 25px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.testimonial-user-name {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.testimonial-user-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Blog & Health Tips
   ========================================================================== */
.blog-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: 100%;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-img-container {
    height: 200px;
    overflow: hidden;
    background-color: var(--bg-green-light);
}

.blog-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-img-container img {
    transform: scale(1.08);
}

.blog-body {
    padding: 24px;
}

.blog-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-hover);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.blog-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    background: radial-gradient(circle at 50% 0%, rgba(74, 126, 199, 0.08) 0%, transparent 60%), #070e17;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 25px;
    letter-spacing: 0.2px;
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 25px;
    height: 3px;
    border-radius: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    font-weight: 500;
    position: relative;
    display: inline-block;
    transition: var(--transition);
    padding-bottom: 3px;
}

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

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--accent);
    transition: var(--transition);
}

.footer-links a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-3px);
}

.social-icon.facebook {
    background-color: rgba(24, 119, 242, 0.1);
    border-color: rgba(24, 119, 242, 0.2);
    color: #1877F2;
}
.social-icon.facebook:hover {
    background-color: #1877F2;
    border-color: #1877F2;
    color: var(--white);
}

.social-icon.instagram {
    background-color: rgba(228, 64, 95, 0.1);
    border-color: rgba(228, 64, 95, 0.2);
    color: #E4405F;
}
.social-icon.instagram:hover {
    background-color: #E4405F;
    border-color: #E4405F;
    color: var(--white);
}

.social-icon.linkedin {
    background-color: rgba(0, 119, 181, 0.1);
    border-color: rgba(0, 119, 181, 0.2);
    color: #0077B5;
}
.social-icon.linkedin:hover {
    background-color: #0077B5;
    border-color: #0077B5;
    color: var(--white);
}
.social-icon.youtube {
    background-color: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.2);
    color: #FF0000;
}
.social-icon.youtube:hover {
    background-color: #FF0000;
    border-color: #FF0000;
    color: var(--white);
}

/* Contact Info List */
.footer-contact-icon {
    width: 34px;
    height: 34px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.footer-contact-list li:hover .footer-contact-icon {
    background-color: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.footer-contact-text a {
    transition: var(--transition);
}

.footer-contact-text a:hover {
    color: var(--accent) !important;
}

/* Newsletter Input focus */
.main-footer .form-control:focus {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 10px rgba(91, 173, 78, 0.15) !important;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.3px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}