/* ============================================
   CURRECA PHARMA - Premium Design System
   ============================================ */

/* --- 1. CSS Variables & Reset --- */
:root {
    /* Primary Colors - Matched to Logo */
    --bg-body: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --primary: #008ea1;
    /* Curreca Teal */
    --primary-dark: #007282;
    --primary-light: #e0f7fa;
    --accent: #002b49;
    /* Cross Navy Blue */
    --accent-light: #f1f5f9;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    --white: #ffffff;
    --border: #e2e8f0;
    --border-light: #f1f5f9;

    /* Layout */
    --container-width: 1200px;
    --container-padding: 24px;
    --header-height: 85px;
    --section-padding: 100px;
    --section-padding-sm: 60px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.12);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;

    /* Animation */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s var(--ease-out-expo);

    /* Curro Veda Theme */
    --veda-green: #3A5F0B;
    /* More leafy/vibrant olive green */
    --veda-dark: #1e330a;
    /* Deep forest green */
    --veda-light: #f4f9f0;
    /* Very light green hint */
    --veda-gold: #D4AF37;
    /* Richer metallic gold */
    --veda-gold-light: #f9f1d8;
    --veda-brown: #8B5A2B;
    /* Earthy wood tone */
    --veda-text: #2c3e50;

    /* New Fonts (Reverted to Match Brand) */
    --font-heading-veda: 'Playfair Display', serif;
    --font-body-veda: 'Plus Jakarta Sans', sans-serif;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
    list-style: none;
}

/* --- Global Icon Utility --- */
.hi-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    color: currentColor;
    margin-right: 6px;
    /* Default spacing */
}

/* --- 2. Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--accent);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-muted);
    line-height: 1.7;
}

.lead-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-main);
}

.text-muted {
    color: var(--text-muted);
}

.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.text-white {
    color: var(--white);
}

/* Accent Highlight - for important words */
.highlight {
    color: var(--primary);
    font-weight: 700;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin-top: 12px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.center-text {
    text-align: center;
}

.center-text .section-title::after {
    margin: 12px auto 0;
}

/* --- 3. Layout System --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-padding {
    padding: var(--section-padding) 0;
}

.section-padding-sm {
    padding: var(--section-padding-sm) 0;
}

.bg-white {
    background-color: var(--bg-body);
}

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

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

.bg-gradient {
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
}

/* Grid System */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Flex utilities */
.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-sm {
    gap: 15px;
}

.gap-md {
    gap: 30px;
}

.gap-lg {
    gap: 50px;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 768px) {
    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* --- 4. Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 142, 161, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 142, 161, 0.4);
}

.btn-secondary {
    background: var(--accent);
    color: var(--white);
}

.btn-secondary:hover {
    background: #001a2e;
    transform: translateY(-2px);
}

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

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

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

.btn-outline-white:hover {
    background: var(--white);
    color: var(--accent);
}

.btn-link {
    color: var(--primary);
    font-weight: 600;
    padding: 0;
    border-bottom: 2px solid transparent;
}

.btn-link:hover {
    border-bottom-color: var(--primary);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

/* New Premium CTA Button */
.btn-premium-cta {
    background: var(--white);
    color: var(--text-main);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.btn-premium-cta:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.veda-card-modern .btn-premium-cta:hover {
    background: var(--veda-dark);
    border-color: var(--veda-dark);
    color: var(--veda-gold-light);
}

/* --- 5. Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: transform 0.4s var(--ease-out-expo), box-shadow var(--transition-normal);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-header.nav-hidden {
    transform: translateY(-100%);
}

.site-header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-logo {
    height: 75px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 35px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--accent);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width var(--transition-normal);
}

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

.nav-link.active {
    color: var(--primary);
    font-weight: 700;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--accent);
    margin: 5px 0;
    transition: var(--transition-normal);
    border-radius: 2px;
}

.mobile-drawer {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--white);
    transition: 0.4s var(--ease-out-expo);
    z-index: 999;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
}

.mobile-drawer nav {
    display: flex;
    flex-direction: column;
    width: 100%;
}


.mobile-drawer.active {
    right: 0;
}

.mobile-drawer a {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
}

.mobile-drawer a:hover {
    color: var(--primary);
}

/* --- 6. Hero Sections --- */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 80px) 0 80px;
    overflow: hidden;
}

.hero-section.hero-sm {
    min-height: 50vh;
    padding: calc(var(--header-height) + 60px) 0 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 43, 73, 0.85) 0%, rgba(0, 142, 161, 0.7) 100%);
    z-index: -1;
}

.hero-overlay-dark {
    /* Changed from Green to Blue (Curreca Theme) */
    background: linear-gradient(135deg, rgba(0, 43, 73, 0.95) 0%, rgba(0, 142, 161, 0.85) 100%);
}

/* Veda Specific Hero Adjustments */
.veda-hero-img-premium {
    object-position: center 30%;
    /* Focus more on the subject potentially */
    filter: brightness(0.9) contrast(1.1);
    /* Enhance richness */
}

.veda-hero .hero-overlay {
    background: radial-gradient(circle at center, rgba(30, 51, 10, 0.3) 0%, rgba(30, 51, 10, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-content.center {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons.center {
    justify-content: center;
}

/* Page Header - for simpler headers */
.page-header {
    padding: calc(var(--header-height) + 80px) 0 80px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
    text-align: center;
}

/* --- Carousel & Pagination Premium Styles --- */
/* Carousel styles consolidated below in "NEW Premium Infinite Carousel System" section */

/* Veda Specific */
.veda-pagination .carousel-dot.active {
    background: var(--veda-green);
}

.veda-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}



/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb-dark {
    color: var(--text-muted);
}

.breadcrumb-dark a {
    color: var(--text-muted);
}

.breadcrumb-dark a:hover {
    color: var(--primary);
}

/* --- 7. Feature Cards (Therapeutic Excellence) --- */
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature-grid>.feature-card {
    flex: 0 0 calc(25% - 22.5px);
    max-width: calc(25% - 22.5px);
}

.feature-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .feature-grid>.feature-card {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .feature-grid>.feature-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    text-align: center;
    transition: all var(--transition-slow);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--primary);
}

.feature-icon {
    width: auto;
    height: auto;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal);
}

.feature-card:hover .icon-box {
    transform: scale(1.05);
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- 8. Product Cards (Updated to Modern Design) --- */
/* --- 8. Product Cards (Screenshot Exact Match) --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.product-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    /* Ensure link works */
    z-index: 10;
}

.product-img-box {
    height: 240px;
    background: #f8fafc;
    /* Very light slate */
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

.product-img-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;
}

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

.product-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* Inline Badge per Screenshot */
.rx-badge {
    position: static;
    display: inline-block;
    background: #ffe4e6;
    /* Light Pink */
    color: #e11d48;
    /* Red text */
    font-size: 0.65rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: none;
}

.product-category {
    font-size: 0.75rem;
    color: var(--primary);
    /* Teal */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.product-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    /* Dark Slate */
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-info .desc {
    font-size: 0.9rem;
    color: #64748b;
    /* Muted Slate */
    margin-bottom: 10px;
    line-height: 1.6;
    flex-grow: 1;
}

/* --- 9. Product Detail Page --- */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.product-image-main {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 120px;
}

.product-image-main img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.product-details h1 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.product-tagline {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.product-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.product-meta {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 2rem;
}

.product-meta-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.product-meta-item:last-child {
    border-bottom: none;
}

.product-meta-label {
    font-weight: 600;
    color: var(--text-main);
}

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

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.specs-table th,
.specs-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.specs-table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--accent);
    width: 40%;
}

.specs-table td {
    color: var(--text-muted);
}

.product-warning {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-left: 4px solid var(--error);
    padding: 20px;
    border-radius: var(--radius-md);
    margin: 2rem 0;
}

.product-warning strong {
    color: var(--error);
}

/* --- 10. Forms --- */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.form-group label .required {
    color: var(--error);
    margin-left: 3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-normal);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 142, 161, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* File Upload */
.file-upload-wrapper {
    border: 2px dashed var(--border);
    padding: 40px;
    text-align: center;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    background: var(--bg-light);
}

.file-upload-wrapper:hover {
    border-color: var(--primary);
    background: rgba(0, 142, 161, 0.05);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.file-upload-text {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.file-upload-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Form Success State */
.form-success {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 2px solid var(--success);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
}

.form-success-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: var(--white);
}

.form-success h3 {
    color: var(--success);
    margin-bottom: 10px;
}

/* --- 11. Info Cards / Stats --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Info List */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.info-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-content p {
    font-size: 0.9rem;
}

/* --- 12. Timeline / Process Steps --- */
.process-timeline {
    position: relative;
    padding-left: 50px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.process-step {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-circle {
    position: absolute;
    left: -50px;
    top: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 0 0 5px var(--white), var(--shadow-md);
}

.process-step h3 {
    margin-bottom: 8px;
}

/* --- 13. Certification Badges --- */
.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.cert-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
}

.cert-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* --- 14. Footer --- */
.site-footer {
    background: var(--bg-light);
    padding: 80px 0 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

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

.footer-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 30px;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* --- 15. Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s var(--ease-out-expo);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: all 1s var(--ease-out-expo);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Delays */
.stagger-parent .reveal:nth-child(1),
.stagger-parent .reveal-scale:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-parent .reveal:nth-child(2),
.stagger-parent .reveal-scale:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-parent .reveal:nth-child(3),
.stagger-parent .reveal-scale:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-parent .reveal:nth-child(4),
.stagger-parent .reveal-scale:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger-parent .reveal:nth-child(5),
.stagger-parent .reveal-scale:nth-child(5) {
    transition-delay: 0.5s;
}

.stagger-parent .reveal:nth-child(6),
.stagger-parent .reveal-scale:nth-child(6) {
    transition-delay: 0.6s;
}

/* --- 16. Modal --- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    backdrop-filter: blur(8px);
}

.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 900px;
    padding: 50px;
    border-radius: var(--radius-xl);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.open .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--error);
    color: var(--white);
}

/* --- 17. Responsive Design --- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-image-main {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --container-padding: 20px;
    }

    .nav-list,
    .header-actions {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-section {
        min-height: 60vh;
        padding: calc(var(--header-height) + 40px) 0 60px;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons.center {
        align-items: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cert-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* --- 18. About & Contact Page Components --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-grid.reverse {
    direction: rtl;
}

.about-grid.reverse>* {
    direction: ltr;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px 15px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1.1;
    margin-bottom: 5px;
}

.stat-item .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
}

.check-list li:last-child {
    border-bottom: none;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--success), #059669);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--accent);
}

.contact-info-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* Department Contacts Inline */
.department-contacts-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    background: var(--white);
    padding: 30px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.dept-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--bg-light);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.dept-contact-item:hover {
    background: var(--primary-light);
}

.dept-icon {
    font-size: 1.2rem;
}

.dept-label {
    font-weight: 600;
    color: var(--accent);
}

.dept-contact-item a {
    color: var(--primary);
    font-weight: 500;
}

.dept-contact-item a:hover {
    text-decoration: underline;
}

.form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-card);
}

/* Career Form */
.career-form-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

/* Cert Cards (for Quality page) */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.cert-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    transition: all var(--transition-slow);
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--primary);
}

.cert-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cert-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.cert-card p {
    font-size: 0.9rem;
}

/* Page Header Simple */
.page-header-simple {
    padding: calc(var(--header-height) + 60px) 0 60px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
}

.page-header-simple h1 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.page-header-simple p {
    font-size: 1.1rem;
    max-width: 600px;
}

/* Filter buttons for products page */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

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

/* Search Input */
.search-container {
    max-width: 500px;
    margin: 0 auto 40px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 142, 161, 0.1);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Additional Responsive */
@media (max-width: 1024px) {

    .about-grid,
    .contact-grid,
    .career-form-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-grid.reverse {
        direction: ltr;
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .site-logo {
        height: 50px;
    }

    .cert-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .stat-item .stat-number {
        font-size: 1.8rem;
    }

    .form-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }
}

/* --- 19. Utility Classes --- */
.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.py-1 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-2 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-3 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.rounded {
    border-radius: var(--radius-md);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.shadow {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* Hide/Show utilities */
.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .hide-desktop {
        display: none !important;
    }
}

/* --- Curro Veda Specific Styles --- */
.veda-nav-link {
    color: var(--veda-green) !important;
    font-weight: 700;
    position: relative;
    /* meaningful change: reset to behave like other links */
    display: inline;
    vertical-align: baseline;
}

.veda-nav-link .hi-icon {
    color: var(--veda-green);
    margin-right: 4px;
}

.veda-hero {
    background-color: var(--veda-light);
    position: relative;
    overflow: hidden;
    z-index: 0;
    /* Creates local stacking context so negative child z-index shows above background */
}

.veda-hero .hero-bg {
    filter: brightness(0.95);
    /* Slightly brighter */
}

.veda-hero .hero-overlay {
    background: linear-gradient(135deg, rgba(26, 60, 24, 0.85) 0%, rgba(45, 90, 39, 0.6) 100%);
}

.veda-hero h1,
.veda-hero h2 {
    color: var(--white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    /* Changed from Playfair Display */
    letter-spacing: -0.02em;
    /* Tighter for modern sans look */
    font-weight: 800;
    /* Bolder for impact */
}

.veda-hero p {
    font-family: var(--font-body-veda);
    font-size: 1.25rem;
    font-weight: 500;
}

.veda-hero .highlight {
    color: var(--veda-gold);
}

/* Minimal Buttons */
.veda-btn-minimal {
    background: rgba(255, 255, 255, 0.9);
    color: var(--veda-dark);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    border-radius: var(--radius-full);
}

.veda-btn-minimal:hover {
    background: var(--white);
    color: var(--veda-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.veda-btn-minimal-outline {
    background: transparent;
    color: var(--white);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    border-radius: var(--radius-full);
}

.veda-btn-minimal-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

/* Base Primary Button for Veda */
.veda-btn-primary {
    background: var(--veda-green);
    color: var(--white);
    border: none;
    border-radius: 50px;
    /* Rounded pill shape */
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.2);
}

.veda-btn-primary:hover {
    box-shadow: 0 8px 25px rgba(45, 90, 39, 0.4);
    transform: translateY(-3px) scale(1.02);
    border-radius: 50px;
    /* Keep rounded, no leaf shape */
    background: var(--veda-dark);
    /* Slightly darker on hover */
}

.veda-product-card {
    border-color: var(--veda-light);
}

.veda-product-card:hover {
    border-color: var(--veda-green);
    box-shadow: 0 10px 30px rgba(45, 90, 39, 0.15);
}

.veda-card-badge {
    background: var(--veda-green);
    color: var(--white);
}

.veda-section-subtitle {
    color: var(--veda-gold);
}

.veda-section-title::after {
    background: linear-gradient(90deg, var(--veda-gold), var(--veda-green));
}

/* Premium Veda Hero Image Styling */
.veda-hero-img-premium {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    /* Remove 3D effects for full fit */
    border-radius: 0;
    box-shadow: none;
    transform: none;
    border: none;
    filter: brightness(0.8);
    /* Slight dim for text readability */
}

.veda-hero-img-premium:hover {
    transform: none;
}

/* 3D Animations */
.tilt-card {
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
    transform-style: preserve-3d;
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(2deg) scale(1.02);
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- Advisory Board Grid System (New) --- */
.advisory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.advisory-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--ease-out-expo);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.advisory-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.advisory-img-wrapper {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
    background: var(--bg-light);
}

.advisory-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.advisory-card:hover .advisory-img-wrapper img {
    transform: scale(1.05);
}

.advisory-info {
    padding: 24px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.advisory-info h3 {
    font-family: 'Playfair Display', serif;
    /* Premium serif */
    font-size: 1.35rem;
    color: var(--accent);
    margin-bottom: 5px;
}

.advisory-info .designation {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.advisory-info .hospital {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.advisory-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
}

.advisory-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: var(--bg-light);
    color: var(--text-muted);
    border-radius: 20px;
    font-weight: 600;
}

/* Responsive Advisory Grid */
@media (max-width: 1024px) {
    .advisory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .advisory-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .advisory-img-wrapper {
        height: 280px;
    }
}

/* --- NEW Premium Infinite Carousel System --- */
.carousel-container-premium {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    /* Vertical space for the "pop" effect */
    touch-action: pan-y;
    /* Allow vertical scroll, handle horizontal in JS */
}

.carousel-track-premium {
    display: flex;
    width: 100%;
    cursor: grab;
    will-change: transform;
    align-items: center;
    /* Vertically center items */
    user-select: none;
    -webkit-user-select: none;
}

.carousel-track-premium:active {
    cursor: grabbing;
}

.carousel-card-premium {
    flex: 0 0 33.333333%;
    /* Strict 3 items */
    width: 33.333333%;
    max-width: 33.333333%;
    padding: 10px;
    /* Reduced padding for tighter fit */
    box-sizing: border-box;
    /* Crucial for calc */
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s, filter 0.4s;
    opacity: 0.5;
    transform: scale(0.85);
    filter: blur(2px);
    position: relative;
    z-index: 1;
}

/* The Center "Popped" Item */
.carousel-card-premium.active-center {
    opacity: 1;
    transform: scale(1.15);
    /* Stronger pop */
    filter: blur(0);
    z-index: 10;
}

/* Pagination Dots */
.carousel-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.3);
    width: 25px;
    /* Pill shape */
    border-radius: 10px;
}

.carousel-pagination.veda-pagination .carousel-dot.active {
    background: var(--veda-green);
}

/* Premium Card Styles inside Carousel */
.product-card-modern {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.product-card-modern .img-wrapper {
    background: linear-gradient(180deg, var(--primary-light) 0%, #ffffff 100%);
    padding: 30px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card-modern .img-wrapper img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.product-card-modern .content-wrapper {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-modern .category-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 8px;
    display: block;
}

.product-card-modern h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-card-modern .description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-modern .card-footer {
    margin-top: auto;
}

/* Rx Badge Premium */
.rx-badge-modern {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(254, 226, 226, 0.95);
    color: var(--error);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    z-index: 2;
    box-shadow: 0 4px 6px rgba(239, 68, 68, 0.1);
    letter-spacing: 0.5px;
}

/* Veda Theme Overrides for Carousel */
.veda-card-modern {
    border-color: #e8f5e9;
}

.veda-card-modern .img-wrapper {
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.veda-card-modern .category-badge {
    color: var(--veda-gold);
}

.veda-card-modern h3 {
    color: var(--veda-dark);
}

.veda-card-modern .description {
    font-size: 1.05rem;
}

.active-center .veda-card-modern {
    box-shadow: 0 20px 40px rgba(45, 90, 39, 0.15);
    border-color: rgba(45, 90, 39, 0.3);
}

/* Responsive for Carousel */
@media (max-width: 768px) {
    .carousel-card-premium {
        flex: 0 0 70%;
        max-width: 70%;
    }
}

/* --- Carousel Navigation Buttons --- */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.carousel-container-premium:hover .carousel-nav,
.carousel-container-premium:focus-within .carousel-nav {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .carousel-nav {
        opacity: 1;
        pointer-events: auto;
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.9);
    }
}

.carousel-nav:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    border-color: var(--primary);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

/* --- 20. Quick View Modal --- */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.quick-view-modal.open {
    opacity: 1;
    visibility: visible;
}

.quick-view-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.quick-view-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quick-view-modal.open .quick-view-content {
    transform: translate(-50%, -50%) scale(1);
}

.quick-view-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--veda-light);
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: var(--veda-dark);
    z-index: 10;
}

.quick-view-close:hover {
    background: var(--veda-green);
    color: var(--white);
}

.quick-view-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    background: var(--veda-light);
    padding: 20px;
}

.quick-view-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-view-actions .btn {
    flex: 1;
    min-width: 180px;
    text-align: center;
}

/* --- 21. Hero Product Items (Interactive) --- */
.hero-product-item {
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    transform-style: preserve-3d;
    border-radius: var(--radius-lg);
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.hero-product-item:hover {
    box-shadow: 0 20px 50px rgba(197, 160, 89, 0.3);
}

.hero-product-item img {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.25));
    transition: filter 0.3s ease;
}

.hero-product-item:hover img {
    filter: drop-shadow(0 20px 40px rgba(197, 160, 89, 0.4));
}

/* --- 12. Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 10px #666;
    background-color: #20bd5a;
}

/* Advisory Board Styles (Restored & Modernized) */
.advisory-card-modern {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.advisory-img-wrapper {
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
    /* Veda-like light green tint */
    padding: 20px;
    height: 280px;
    /* Taller for doctor portraits */
    display: flex;
    align-items: flex-end;
    /* Align bottom for portraits */
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.advisory-img-wrapper img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.active-center .advisory-img-wrapper img {
    transform: scale(1.05);
}

.advisory-content-wrapper {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    /* Center text for advisory */
}

.advisory-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: auto;
}

.advisory-tag {
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

/* Specific Override for Carousel Item Sizing */
/* --- Advisory Board Specific Styles --- */
.advisory-img-wrapper {
    height: 350px !important;
    padding: 0 !important;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: #e2e8f0;
    /* Slight grey background */
}

.advisory-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    mix-blend-mode: normal !important;
    /* Ensure photos are clear */
}

/* Make advisory cards taller if needed */
.advisory-card-modern {
    height: 100%;
}


/* --- Veda Coming Soon Strip --- */
.veda-strip-container {
    width: 100%;
    background: var(--veda-green);
    color: var(--white);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: rotate(-1deg) scale(1.02);
    /* Slight tilt for attention */
    z-index: 5;
    border-top: 2px solid var(--veda-dark);
    border-bottom: 2px solid var(--veda-dark);
}

.veda-strip-track {
    display: flex;
    white-space: nowrap;
    gap: 3rem;
    animation: vedaScroll 20s linear infinite;
    width: max-content;
}

.veda-strip-text {
    font-family: var(--font-heading-veda);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.veda-strip-text::after {
    content: "✦";
    /* Decorative separator */
    font-size: 1.2rem;
    color: var(--veda-dark);
    opacity: 0.7;
}

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

    100% {
        transform: translateX(-50%);
    }
}

/* Hover to pause */
.veda-strip-container:hover .veda-strip-track {
    animation-play-state: paused;
}

/* ===== Curroveda Product Page - Mobile Optimization ===== */
@media (max-width: 768px) {

    /* Product detail grid - full width stacked */
    .product-detail-grid {
        gap: 25px;
    }

    .product-image-main {
        padding: 20px;
        border-radius: 12px;
    }

    .product-image-main img {
        max-height: 280px;
    }

    /* Product title and tagline */
    .product-details h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .product-tagline {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .product-description {
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

    /* Product meta items - stack on mobile */
    .product-meta {
        padding: 15px;
    }

    .product-meta-item {
        flex-direction: column;
        gap: 4px;
        padding: 10px 0;
    }

    .product-meta-label {
        font-size: 0.85rem;
    }

    .product-meta-value {
        font-size: 0.9rem;
    }

    /* Specs table - tighter on mobile */
    .specs-table {
        margin: 1rem 0;
    }

    .specs-table th,
    .specs-table td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .specs-table th {
        width: 45%;
    }

    /* Product warning */
    .product-warning {
        padding: 15px;
        font-size: 0.85rem;
        margin: 1.5rem 0;
    }

    /* CTA buttons */
    .product-details .btn-lg {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .product-details .btn-outline {
        margin-left: 0 !important;
        margin-top: 10px;
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: 0.8rem;
        gap: 6px;
        flex-wrap: wrap;
    }

    /* Related products grid */
    .product-grid[style*="repeat(3"] {
        grid-template-columns: 1fr !important;
    }

    .product-img-box {
        height: 180px;
        padding: 20px;
    }

    .product-info {
        padding: 16px;
    }

    .product-info h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {

    .product-image-main {
        padding: 15px;
    }

    .product-image-main img {
        max-height: 220px;
    }

    .product-details h1 {
        font-size: 1.35rem;
    }

    .product-tagline {
        font-size: 0.85rem;
    }

    .specs-table th,
    .specs-table td {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    /* Key benefits list in curroveda */
    .product-meta ul li {
        font-size: 0.85rem;
        padding: 6px 0;
    }

    .product-meta h4 {
        font-size: 0.95rem;
    }

    /* Dosage container */
    #dosage-container {
        padding: 12px !important;
        font-size: 0.85rem;
    }

    /* Composition table in curroveda */
    #composition-container h4 {
        font-size: 0.95rem;
    }

    #composition-table th,
    #composition-table td {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
}