/* ============================================
   MedPorch Pharma - Professional & Elegant CSS
   Color Palette: Deep Teal, Gold Accents, Soft Neutrals
   ============================================ */

:root {
    /* Primary Colors - Elegant Medical Theme */
    --color-primary: #0099FF;
    --color-primary-dark: #007ACC;
    --color-primary-light: #E6F4FF;
    --color-secondary: #5CE65C;
    --color-secondary-light: #99FF99;
    --color-accent: #5CE65C;
    --color-success: #28a745;
    --color-error: #dc3545;
    
    /* Neutrals */
    --color-white: #ffffff;
    --color-off-white: #f8f9fa;
    --color-light-bg: #f9fbff;
    --color-gray-50: #faf9f8;
    --color-gray-100: #f0ede8;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e0;
    --color-gray-500: #718096;
    --color-gray-600: #6b5e4e;
    --color-gray-700: #4a3f32;
    --color-gray-800: #2c241c;
    
    /* Shadows & Transitions */
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
    --transition-base: 0.3s ease;
    --transition-fast: 0.2s ease;

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Cormorant Garamond', serif;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-gray-700);
    background-color: var(--color-white);
    line-height: 1.6;
    padding-top: 70px; /* Offset for fixed header */
}

.container {
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background-color: var(--color-white);
    transition: var(--transition-base);
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-gray-100);
}

.site-header.scrolled {
    padding: 0.6rem 0;
    box-shadow: var(--shadow-md);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styling */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Mobile Menu Toggle - Hidden by default */
.mobile-menu-toggle {
    display: none;
}

/* COMMAND: Fixed large logo size and ensured left alignment */
.logo-img {
    height: 45px;
    width: auto;
    margin-right: 12px;
    object-fit: contain;
}

.logo-text span {
    color: var(--color-secondary);
}

/* Navigation Menu */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--color-gray-600);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--color-primary);
}

/* Improved Dropdown Logic */
.dropdown {
    position: relative;
    perspective: 1000px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    border: 1px solid rgba(0, 153, 255, 0.1);
    border-top: 4px solid var(--color-primary);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    list-style: none;
    
    /* 3D Animation Properties */
    opacity: 0;
    visibility: hidden;
    transform: rotateX(-20deg) translateY(20px);
    transform-origin: top center;
    transition: 
        opacity 0.4s ease,
        transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        visibility 0.4s;
    pointer-events: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: rotateX(0) translateY(0);
    pointer-events: auto;
}

/* Staggered List Item Animation */
.dropdown-menu li {
    opacity: 0;
    transform: translateX(-12px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dropdown:hover .dropdown-menu li {
    opacity: 1;
    transform: translateX(0);
}

/* Sequential delays for smooth flow */
.dropdown-menu li:nth-child(1) { transition-delay: 0.05s; }
.dropdown-menu li:nth-child(2) { transition-delay: 0.1s; }
.dropdown-menu li:nth-child(3) { transition-delay: 0.15s; }
.dropdown-menu li:nth-child(4) { transition-delay: 0.2s; }
.dropdown-menu li:nth-child(5) { transition-delay: 0.25s; }

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--color-gray-700);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    padding-left: 1.75rem;
}

/* Dropdown Arrow */
.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s ease;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    padding: 0 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: block;
    text-align: center;
    padding-top: 7rem;
}

.hero-badge {
    position: absolute;
    left: 2rem;
    bottom: 13rem;
    padding: 0.6rem 1.8rem;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--color-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 100px;
    z-index: 10;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-gray-800);
}

.hero-text {
    font-size: 1.125rem;
    color: var(--color-gray-500);
    margin: 0 auto 2rem;
    max-width: 800px;
}

.quality-quote {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-primary-dark);
    font-style: italic;
    line-height: 1.2;
    margin: 2rem 0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-gray-200);
}

.stat {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    font-family: var(--font-heading);
}

.hero-image .image-wrapper {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.hero-image:hover img {
    transform: scale(1.02);
}

/* Main Content Slider */
.who-we-are-slider {
    padding: 0;
    position: relative;
    overflow: hidden;
}

.main-slider {
    max-width: 100%;
    position: relative;
    margin: auto;
    height: 600px;
}

.mySlides {
    display: none;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Ensure the first slide is visible immediately on land */
.mySlides:first-child {
    display: block;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45); /* Optimized for professional contrast */
}

.slide-caption {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: var(--color-white);
    z-index: 10;
    max-width: 500px;
}

.slide-caption h2 { 
    font-size: 4.2rem; 
    margin-bottom: 1rem; 
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.215, 0.61, 0.355, 1) 0.4s;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.slide-caption p { 
    font-size: 1.65rem; 
    font-weight: 700;
    padding-left: 25px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s cubic-bezier(0.215, 0.61, 0.355, 1) 0.7s;
    text-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Animation triggers when slide is active */
.mySlides[style*="display: block"] .slide-caption h2,
.mySlides[style*="display: block"] .slide-caption p {
    opacity: 1;
    transform: translateY(0);
}

.mySlides[style*="display: block"] img {
    animation: kenBurnsPremium 10s ease-out forwards;
}

@keyframes kenBurnsPremium {
    from { transform: scale(1); }
    to { transform: scale(1.12); }
}

/* Contextual Color Themes */
/* Slide 1: Branding (Primary Blue/Teal) */
.slide-1 .slide-caption h2 { color: var(--color-primary); }
.slide-1 .slide-caption p { 
    color: var(--color-white); 
    border-left: 6px solid var(--color-secondary); 
}

/* Slide 2: Family Care (Warm Sunset/Gold) */
.slide-2 .slide-caption h2 { color: #FFD700; /* Premium Gold */ }
.slide-2 .slide-caption p { 
    color: #f8f9fa; 
    border-left: 6px solid var(--color-secondary); 
}

/* Slide 3: Research (Modern Cyan/Lab) */
.slide-3 .slide-caption h2 { color: #00e5ff; }
.slide-3 .slide-caption p { 
    color: var(--color-white); 
    border-left: 6px solid var(--color-primary); 
}

/* Slide 4: Distribution (Clean White/Secondary Green) */
.slide-4 .slide-caption h2 { color: var(--color-secondary-light); }
.slide-4 .slide-caption p { 
    color: var(--color-off-white); 
    border-left: 6px solid var(--color-primary-dark); 
}

/* Slide 5: Medical Excellence (Professional Teal) */
.slide-5 .slide-caption h2 { color: var(--color-secondary); }
.slide-5 .slide-caption p { 
    color: var(--color-white); 
    border-left: 6px solid var(--color-primary); 
}

/* Enhanced Fade Transition */
.fade {
    animation-name: fadePremium;
    animation-duration: 1.8s;
}

@keyframes fadePremium {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Optimized Reveal Animations */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), 
                transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-gray-800);
    margin-bottom: 1rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary-light));
    margin: 1rem auto 0;
}

.section-subtitle {
    color: var(--color-gray-500);
    font-size: 1.125rem;
    margin-top: 1rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center; /* Corrected to 'center' for professional vertical alignment */
}

.bg-light {
    background-color: var(--color-light-bg) !important;
}

/* COMMAND: Added missing styles for zig-zag/grid content blocks in About and Therapeutic pages */
.about-section-block {
    margin-bottom: 5rem;
}

.about-grid .image-wrapper {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 350px; /* Increased for more visual impact */
    max-width: 540px;
    width: 100%;
    border: 10px solid var(--color-white);
    transform: perspective(1000px);
}

.about-grid:hover .image-wrapper {
    transform: scale(1.03) translateY(-10px) rotateX(2deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.about-section-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-grid .about-content h3 {
    font-size: 2.25rem;
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.about-grid .about-content .lead-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--color-gray-800);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.about-content p {
    margin-bottom: 1rem;
    color: var(--color-gray-600);
}

.about-signature {
    margin-top: 2rem;
    opacity: 0.8;
}

/* About Section Styles */
.about-intro {
    grid-column: 1 / -1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.stat-card {
    background: var(--color-light-bg);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.stat-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    border-color: var(--color-primary-light);
    background: var(--color-white);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.25rem;
    transition: transform 0.4s ease;
    display: inline-block;
}

.stat-card:hover i {
    transform: scale(1.15) rotate(5deg);
}

.stat-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-primary-dark);
}

.stat-card p {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

/* Corporate Stats Strip (Alkem Style) */
.stats-strip {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 4rem 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    padding: 1rem;
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    font-size: 1.125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Therapies Grid */
.therapies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.therapy-card {
    background: var(--color-white);
    padding: 2rem 1.5rem;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid var(--color-gray-200);
    position: relative;
    overflow: hidden;
}

.therapy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    transform: scaleX(0);
    transition: var(--transition-base);
}

.therapy-card:hover::before {
    transform: scaleX(1);
}

.therapy-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.therapy-card img {
    width: calc(100% + 3rem);
    max-width: none;
    margin: -2rem -1.5rem 1.5rem -1.5rem;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(10, 94, 156, 0.1), rgba(120, 181, 88, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.card-icon i {
    font-size: 2rem;
    color: var(--color-primary);
}

.therapy-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.therapy-card p {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin-bottom: 1rem;
}

.card-rank {
    font-size: 0.75rem;
    color: var(--color-secondary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Values Section */
.values {
    background-color: var(--color-light-bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--color-secondary-light);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.value-icon i {
    font-size: 1.75rem;
    color: var(--color-white);
}

.value-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.value-card p {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1200px) {
    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .grid-5 {
        grid-template-columns: 1fr;
    }

    /* Utility for smoother mobile scrolling */
    .site-wrapper {
        overflow-x: hidden;
    }

    .container {
        padding: 0 1.25rem;
    }
}

#innovation .value-icon {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
}

#innovation .value-card:hover {
    border-color: var(--color-secondary);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--color-white);
    border-radius: 32px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-gray-200);
}

.contact-info .section-tag {
    text-align: left;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--color-gray-500);
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item i {
    width: 40px;
    height: 40px;
    background: var(--color-light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 1rem;
}

.detail-item span {
    color: var(--color-gray-600);
}

.social-links {
    display: flex;
    gap: 1.25rem;
    perspective: 1000px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--color-primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    transform-style: preserve-3d;
}

.social-links a i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-10px) rotateX(15deg) rotateY(-15deg);
    color: var(--color-white);
    box-shadow: 
        -1px 1px 0px rgba(0,0,0,0.05),
        -2px 2px 0px rgba(0,0,0,0.05),
        -3px 3px 0px rgba(0,0,0,0.05),
        -4px 4px 15px rgba(0,0,0,0.2);
}

.social-links a:hover i { transform: translateZ(15px); }
.social-links a[aria-label="Facebook"]:hover { background: #1877F2; }
.social-links a[aria-label="LinkedIn"]:hover { background: #0A66C2; }
.social-links a[aria-label="Instagram"]:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-links a[aria-label="WhatsApp"]:hover { background: #25D366; }
.social-links a[aria-label="Email"]:hover { background: #EA4335; }

/* Form Styles */
.contact-form-container {
    background: var(--color-light-bg);
    padding: 2rem;
    border-radius: 24px;
    transition: opacity 0.5s ease;
}

.contact-form-container.fade-out {
    opacity: 0;
    pointer-events: none;
}

.form-success-card {
    text-align: center;
    padding: 3rem 1rem;
    animation: fadeInUpHero 0.8s ease forwards;
}

.form-success-card .success-icon {
    font-size: 4.5rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 10px 20px rgba(92, 230, 92, 0.3));
}

.form-success-card h3 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

/* Breadcrumb navigation style */
.breadcrumb {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-top: 0.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    transition: all 0.3s ease;
    padding-left: 4px;
}

.form-group.focused label {
    color: var(--color-primary);
    transform: translateX(5px);
}

.form-group input,
.form-group textarea {
    border: 1.5px solid var(--color-gray-200) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.form-group.focused input,
.form-group.focused textarea {
    background: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 153, 255, 0.1) !important;
}

.btn-primary.w-100 {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 153, 255, 0.15);
}

.btn-primary.w-100:hover i {
    transform: translate(5px, -3px);
    transition: transform 0.3s ease;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    transition: var(--transition-fast);
    background: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-status {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 12px;
    text-align: center;
    font-size: 0.875rem;
}

.form-status.success {
    background: rgba(44, 122, 77, 0.1);
    color: var(--color-success);
}

.form-status.error {
    background: rgba(196, 69, 54, 0.1);
    color: var(--color-error);
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #0b2c4d 0%, #031525 100%);
    color: var(--color-white);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 4px solid var(--color-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.2fr 1fr;
    gap: 3.5rem;
    margin-bottom: 3rem;
    align-items: start;
}

/* Catchy Vertical Column Dividers */
@media (min-width: 1025px) {
    .footer-col:not(:first-child) {
        position: relative;
        padding-left: 0.5rem;
    }
    .footer-col:not(:first-child)::before {
        content: '';
        position: absolute;
        left: -1.75rem;
        top: 0;
        height: 100%;
        width: 1px;
        background: linear-gradient(to bottom, transparent, rgba(92, 230, 92, 0.25), transparent);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-logo i {
    font-size: 1.5rem;
    color: var(--color-secondary);
}

.footer-logo span {
    color: var(--color-white);
}

.footer-logo span span {
    color: var(--color-secondary);
}

.footer-col p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

/* Accent Underline for Visual Balance */
.footer-col h4::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-secondary);
    margin-top: 0.5rem;
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li i {
    margin-right: 0.75rem;
    color: var(--color-secondary);
    min-width: 16px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .therapies-grid,
    .values-grid,
    .brands-grid,
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        background: var(--color-primary-light);
        border: 1px solid rgba(0, 153, 255, 0.1);
        border-radius: 12px;
        cursor: pointer;
        padding: 0;
        z-index: 2100; /* Ensure toggle stays above the menu overlay */
        position: relative;
        transition: var(--transition-base);
    }

    .mobile-menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background-color: var(--color-primary);
        border-radius: 4px;
        transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    }

    /* Animation to 'X' when active */
    .mobile-menu-toggle.active {
        background-color: var(--color-primary);
        border-color: var(--color-primary);
    }

    .mobile-menu-toggle.active span {
        background-color: var(--color-white);
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-white);
        box-shadow: -5px 0 30px rgba(0,0,0,0.15);
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease-in-out;
        z-index: 999;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }

    /* Mobile dropdown specific styles */
    .main-nav .dropdown {
        width: 100%; /* Take full width in mobile menu */
    }

    .main-nav .dropdown > .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .main-nav .dropdown-menu {
        position: static; /* Remove absolute positioning */
        display: none; /* Hidden by default, will be toggled by JS */
        width: 100%;
        box-shadow: none;
        background-color: var(--color-gray-50); /* Lighter background for sub-menu */
        border-radius: 0;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
        border-left: 3px solid var(--color-primary-light); /* Indent for sub-menu */
        
        /* RESET DESKTOP ANIMATION PROPERTIES */
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    /* Increase tap target size for sub-menu links on mobile */
    .main-nav .dropdown-menu li a {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .main-nav ul {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.5rem;
    }

    .hero {
        padding: 0 0 3rem;
        text-align: center;
    }
    
    .hero-container {
        padding-top: 4rem;
    }

    .hero-title {
        font-size: 2.4rem;
        line-height: 1.2;
    }

    .main-slider {
        height: 500px; /* Improved height for better visual impact */
    }

    .slide-caption {
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        transform: none;
        max-width: 100%;
        padding: 2rem 1.5rem 4rem;
        text-align: center;
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    }

    .slide-caption h2 {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }

    .slide-caption p {
        font-size: 1.2rem;
        padding-left: 0;
        border-left: none;
        border-top: 2px solid var(--color-secondary);
        display: inline-block;
        padding-top: 8px;
    }
    
    .hero-text {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .hero-badge {
        left: 1rem;
        bottom: 1rem;
        font-size: 1rem;
        padding: 0.4rem 1.2rem;
    }

    .about-grid .image-wrapper {
        height: auto;
        max-height: 300px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .therapies-grid,
    .values-grid,
    .brands-grid,
    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-card[style*="span 2"] {
        grid-column: auto !important;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .detail-item {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }

    .footer-col h4 {
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .brand-card,
    .value-card,
    .therapy-card {
        padding: 1.5rem;
    }
    
    .footer-col {
        padding: 0 1rem;
    }
}

/* Styles for Mission, Innovation, Quality sections */
#mission,
#innovation,
#quality {
    text-align: center;
}

#mission p, #innovation p, #quality p {
    font-size: 1rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    max-width: 800px;
    margin: 1.5rem auto;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ============================================
   New Styles for Multi-Page Support
   ============================================ */

/* Page Header - Banner for sub-pages (About, Products, Contact) */
.page-header {
    background: linear-gradient(135deg, rgba(11, 44, 77, 0.9), rgba(10, 94, 156, 0.7)), url('https://images.unsplash.com/photo-1582719508461-905c673771fd?auto=format&fit=crop&q=80&w=1600');
    background-size: cover;
    background-position: 50% 30%;
    background-attachment: fixed;
    padding: 12rem 0 8rem;
    text-align: center;
    color: var(--color-white);
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.page-header.about-page-header {
    background-image: linear-gradient(135deg, rgba(11, 44, 77, 0.9), rgba(10, 94, 156, 0.7)), url('https://images.unsplash.com/photo-1579165466541-74e21777b07c?auto=format&fit=crop&q=80&w=1600');
}

.page-header.careers-page-header {
    background-image: linear-gradient(135deg, rgba(11, 44, 77, 0.9), rgba(10, 94, 156, 0.7)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=1600');
}

.page-header h1 {
    color: var(--color-white);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: fadeInUpHero 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fadeInUpHero {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Breadcrumb navigation style */
.breadcrumb {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Compliance Badges */
.compliance-section {
    background-color: var(--color-gray-50);
    padding: 3rem 0;
    border-top: 1px solid var(--color-gray-100);
    border-bottom: 1px solid var(--color-gray-100);
}

.badge-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.7;
    filter: grayscale(1);
    transition: var(--transition-base);
}

.badge-grid:hover {
    opacity: 1;
    filter: grayscale(0);
}

.badge-item { font-weight: 800; color: var(--color-gray-500); font-size: 1.2rem; }

/* ============================================
   Brands Section Styles
   ============================================ */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.brand-card {
    background: var(--color-white);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--color-gray-200);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.view-more-card {
    background: var(--color-primary);
    cursor: pointer;
    text-decoration: none;
}

.view-more-card:hover {
    background: var(--color-primary-dark);
}

.view-more-card h3 {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-top: 1rem;
}

.view-more-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.view-more-card:hover .view-more-icon {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.2);
}

.view-more-icon i {
    color: var(--color-secondary);
    font-size: 1.5rem;
}

/* ============================================
   New Styles for About Us Page Enhancements
   ============================================ */

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    text-align: center;
    border: 1px solid var(--color-gray-200);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.team-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: top;
    background-color: var(--color-gray-100);
}

.team-info {
    padding: 1.5rem;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
}

.team-role {
    font-size: 0.85rem;
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Security: Prevent Selection & Dragging
   ============================================ */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img {
    -webkit-user-drag: none;
    user-drag: none;
}

/* Allow interaction with form elements */
input, textarea, select {
    user-select: text;
}