/* ===================================
   ULTRA-PROFESSIONAL CSS
   Myrobalan Powder Website
   Premium Production Design
   =================================== */

/* ===================================
   Enhanced Design System
   =================================== */
:root {
    /* Unique Premium Color Palette - Deep Teal & Coral Gold */
    --color-primary: #0D9488;
    /* Deep Teal - Sophisticated & Natural */
    --color-primary-dark: #115E59;
    /* Dark Teal - Rich Depth */
    --color-primary-light: #14B8A6;
    /* Bright Teal - Vibrant Accent */
    --color-accent: #F59E0B;
    /* Coral Gold - Warm Luxury */
    --color-accent-light: #FCD34D;
    /* Light Gold - Bright Highlight */
    --color-accent-dark: #D97706;
    /* Deep Amber - Rich Accent */
    --color-whatsapp: #25D366;
    /* WhatsApp Green */
    --color-whatsapp-hover: #1fb854;
    /* WhatsApp Hover */

    /* Light & Premium Neutrals */
    --color-bg-primary: #FFFFFF;
    /* Pure White - Main background */
    --color-bg-secondary: #F0FDFA;
    /* Very Light Teal - Alternate */
    --color-bg-tertiary: #FFFBEB;
    /* Very Light Amber - Warm Accent */
    --color-bg-white: #FFFFFF;
    /* Pure White */
    --color-bg-dark: #115E59;
    /* Dark Teal - Dark sections */

    /* Text Colors - Clear & Readable */
    --color-text-primary: #0F172A;
    /* Slate 900 - Primary Text */
    --color-text-secondary: #334155;
    /* Slate 700 - Secondary Text */
    --color-text-muted: #64748B;
    /* Slate 500 - Muted Text */
    --color-text-light: #94A3B8;
    /* Slate 400 - Light Text */

    /* Borders & Dividers - Subtle */
    --color-border-light: #E2E8F0;
    /* Very Light Gray */
    --color-border: #CBD5E0;
    /* Light Gray */
    --color-border-dark: #94A3B8;
    /* Medium Gray */

    /* Status Colors */
    --color-success: #10B981;
    /* Success Green */
    --color-info: #3B82F6;
    /* Info Blue */
    --color-warning: #F59E0B;
    /* Coral Gold */

    /* Typography System */
    --font-heading: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Font Sizes - Professional Scale */
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-md: 1.125rem;
    /* 18px */
    --text-lg: 1.25rem;
    /* 20px */
    --text-xl: 1.5rem;
    /* 24px */
    --text-2xl: 1.875rem;
    /* 30px */
    --text-3xl: 2.25rem;
    /* 36px */
    --text-4xl: 3rem;
    /* 48px */
    --text-5xl: 3.75rem;
    /* 60px */
    --text-6xl: 4.5rem;
    /* 72px */

    /* Spacing System - 4px Base */
    --space-1: 0.25rem;
    /* 4px */
    --space-2: 0.5rem;
    /* 8px */
    --space-3: 0.75rem;
    /* 12px */
    --space-4: 1rem;
    /* 16px */
    --space-5: 1.25rem;
    /* 20px */
    --space-6: 1.5rem;
    /* 24px */
    --space-8: 2rem;
    /* 32px */
    --space-10: 2.5rem;
    /* 40px */
    --space-12: 3rem;
    /* 48px */
    --space-16: 4rem;
    /* 64px */
    --space-20: 5rem;
    /* 80px */
    --space-24: 6rem;
    /* 96px */
    --space-32: 8rem;
    /* 128px */

    /* Border Radius */
    --radius-sm: 0.375rem;
    /* 6px */
    --radius-md: 0.5rem;
    /* 8px */
    --radius-lg: 0.75rem;
    /* 12px */
    --radius-xl: 1rem;
    /* 16px */
    --radius-2xl: 1.5rem;
    /* 24px */
    --radius-full: 9999px;

    /* Shadows - Layered & Sophisticated */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Container */
    --container-max: 1280px;
    --container-padding: var(--space-6);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* ===================================
   Professional Keyframe Animations
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

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

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

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes rotate3D {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-3deg);
    }

    75% {
        transform: rotate(3deg);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(13, 148, 136, 0.3), 0 0 10px rgba(13, 148, 136, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(13, 148, 136, 0.6), 0 0 30px rgba(13, 148, 136, 0.4), 0 0 40px rgba(245, 158, 11, 0.3);
    }
}

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

    25% {
        transform: translateX(5px) translateY(-5px);
    }

    50% {
        transform: translateX(0) translateY(-10px);
    }

    75% {
        transform: translateX(-5px) translateY(-5px);
    }

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

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    10%,
    30% {
        transform: scale(1.1);
    }

    20%,
    40% {
        transform: scale(1);
    }
}

@keyframes swing {

    0%,
    100% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(15deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    60% {
        transform: rotate(5deg);
    }

    80% {
        transform: rotate(-5deg);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}



/* ===================================
   Container
   =================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-xl);
    color: var(--color-text-primary);
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-bg-white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3), 0 2px 6px rgba(13, 148, 136, 0.2);
    transition: all var(--transition-base);
    animation: scaleIn 0.6s ease-out;
}

.logo-icon:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.4), 0 3px 8px rgba(13, 148, 136, 0.25);
}

.nav-list {
    display: flex;
    gap: var(--space-2);
}

.nav {
    display: block;
}

.nav-link {
    color: var(--color-text-primary);
    font-weight: 500;
    font-size: var(--text-sm);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--color-primary);
    background-color: rgba(13, 148, 136, 0.08);
    transform: translateY(-1px);
}

.nav-link:hover::before {
    width: 80%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
    cursor: pointer;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: transform var(--transition-base), opacity var(--transition-base);
    border-radius: var(--radius-full);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0FDFA 50%, #FFFBEB 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(20, 184, 166, 0.15) 100%);
    color: var(--color-primary-dark);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
    animation: slideInLeft 0.8s ease-out, pulse 2s ease-in-out 1s infinite;
    animation: slideInLeft 0.8s ease-out;
    border: 1px solid rgba(82, 183, 136, 0.2);
    box-shadow: 0 2px 8px rgba(82, 183, 136, 0.06);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text-primary);
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.tamil-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: var(--text-4xl);
}

.hero-description {
    font-size: var(--text-md);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-8);
    max-width: 540px;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    animation: slideInLeft 1s ease-out 0.6s both;
}

.hero-image {
    animation: slideInRight 1s ease-out 0.4s both;
    perspective: 1000px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: 0 25px 50px -12px rgba(13, 148, 136, 0.25), 0 10px 25px -5px rgba(245, 158, 11, 0.1);
    transition: all var(--transition-slow);
    transform-style: preserve-3d;
}

.hero-image:hover img {
    transform: translateY(-10px) rotateY(5deg) rotateX(5deg);
    box-shadow: 0 35px 60px -15px rgba(13, 148, 136, 0.35), 0 15px 30px -8px rgba(245, 158, 11, 0.15);
}

/* ===================================
   Our Story Section
   =================================== */
.our-story {
    padding: var(--space-20) 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F0FDFA 100%);
    position: relative;
}

.story-badge {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-text-primary);
    text-align: center;
    display: block;
    margin-bottom: var(--space-12);
    letter-spacing: -0.02em;
    animation: fadeIn 1s ease-out;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-16);
    align-items: center;
}

.story-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: slideInLeft 1s ease-out;
    perspective: 1000px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    animation: pulse 6s ease-in-out infinite;
}

.story-image:hover img {
    transform: scale(1.08) rotate(1deg);
}

.story-title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin-bottom: var(--space-6);
    letter-spacing: -0.01em;
    animation: slideInRight 1s ease-out 0.2s both;
}

.story-description {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-4);
    animation: slideInRight 1s ease-out 0.4s both;
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-10);
}

.stat-item {
    text-align: center;
    padding: var(--space-6);
    background: linear-gradient(135deg, #FFFFFF 0%, #F0FDFA 100%);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    border: 2px solid var(--color-border-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    animation: scaleIn 0.8s ease-out;
    animation-fill-mode: both;
    transform-style: preserve-3d;
}

.stat-item:nth-child(1) {
    animation-delay: 0.6s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.8s;
}

.stat-item:nth-child(3) {
    animation-delay: 1s;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.05) rotateX(5deg);
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.2), 0 4px 12px rgba(245, 158, 11, 0.1);
    border-color: var(--color-accent);
    background: linear-gradient(135deg, #FFFFFF 0%, #FFFBEB 100%);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    transition: all var(--transition-base);
}

.stat-item:hover .stat-number {
    animation: zoomIn 0.5s ease-out;
    margin-bottom: var(--space-2);
}

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

/* ===================================
   Buttons - Premium Design
   =================================== */
.btn {
    display: inline-block;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-base);
    letter-spacing: 0.3px;
    transition: all var(--transition-base);
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-whatsapp) 0%, #1fb854 100%);
    color: var(--color-bg-white);
    box-shadow: 0 4px 14px 0 rgba(37, 211, 102, 0.39), 0 2px 8px rgba(37, 211, 102, 0.2);
    position: relative;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::after {
    width: 300px;
    height: 300px;
    opacity: 0;
}

.btn-product {
    animation: heartbeat 2s ease-in-out infinite;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-bg-white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
}

.btn-full {
    width: 100%;
}

/* ===================================
   Benefits Section
   =================================== */
.benefits {
    padding: var(--space-20) 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F0FDFA 50%, #FFFBEB 100%);
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 700;
    text-align: center;
    color: var(--color-text-primary);
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
    animation: fadeIn 1s ease-out;
}

.section-title:hover {
    animation: wiggle 0.5s ease-in-out;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: var(--text-md);
    margin-bottom: var(--space-12);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.benefit-card {
    background-color: var(--color-bg-white);
    padding: var(--space-10);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    animation: scaleIn 0.6s ease-out;
    animation-fill-mode: both;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.benefit-card:nth-child(1) {
    animation-delay: 0.1s;
}

.benefit-card:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-card:nth-child(3) {
    animation-delay: 0.3s;
}

.benefit-card:nth-child(4) {
    animation-delay: 0.4s;
}

.benefit-card:hover {
    transform: translateY(-12px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.2), 0 8px 16px rgba(245, 158, 11, 0.1);
    border-color: var(--color-primary);
    background: linear-gradient(135deg, #FFFFFF 0%, rgba(240, 253, 250, 0.8) 100%);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-6);
    color: var(--color-primary);
    transition: all var(--transition-base);
    filter: drop-shadow(0 4px 8px rgba(13, 148, 136, 0.2));
    animation: wave 3s ease-in-out infinite;
}

.benefit-card:hover .benefit-icon {
    transform: translateY(-8px) scale(1.1);
    animation: float 2s ease-in-out infinite, glow 2s ease-in-out infinite;
    animation: float 2s ease-in-out infinite;
    filter: drop-shadow(0 8px 16px rgba(13, 148, 136, 0.3));
}

.benefit-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-3);
}

.benefit-description {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* ===================================
   Products Section
   =================================== */
.products {
    padding: var(--space-20) 0;
    background-color: var(--color-bg-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
}

.product-card {
    background-color: #FFFFFF;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--transition-slow);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid var(--color-border-light);
    animation: slideUp 0.8s ease-out;
    animation-fill-mode: both;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.product-card:nth-child(2) {
    animation-delay: 0.3s;
}

.product-card:nth-child(3) {
    animation-delay: 0.5s;
}

.product-card:hover {
    transform: translateY(-16px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 25px 50px rgba(13, 148, 136, 0.2), 0 10px 25px rgba(245, 158, 11, 0.15);
    border-color: var(--color-accent);
}

.product-image {
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--color-bg-white);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.1) rotate(2deg);
}

.product-info {
    padding: var(--space-8);
}

.product-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-4);
    transition: all var(--transition-base);
}

.product-card:hover .product-title {
    animation: bounce 0.6s ease-out;
}

.product-description {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.btn-product {
    width: 100%;
    margin-top: var(--space-2);
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--space-20) 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F0FDFA 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
}

.contact-item {
    margin-bottom: var(--space-8);
}

.contact-label {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}

.contact-value {
    color: var(--color-text-secondary);
    font-size: var(--text-base);
    line-height: 1.7;
    transition: color var(--transition-fast);
}

.contact-value:hover {
    color: var(--color-primary);
}

/* ===================================
   Contact Form
   =================================== */
.contact-form {
    background-color: var(--color-bg-white);
    padding: var(--space-10);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--color-border-light);
    animation: slideUp 0.8s ease-out;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(13, 148, 136, 0.03), transparent);
    animation: shimmer 3s linear infinite;
    pointer-events: none;
}

.contact-form:hover {
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.15);
    border-color: var(--color-primary);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-4);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: var(--text-base);
    transition: all var(--transition-fast);
    background-color: var(--color-bg-white);
    color: var(--color-text-primary);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12), 0 4px 12px rgba(13, 148, 136, 0.08);
    background-color: var(--color-bg-white);
    transform: translateY(-2px);
}

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

/* ===================================
   Footer
   =================================== */
.footer {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    background-size: 200% 200%;
    animation: gradientShift 20s ease infinite;
    color: var(--color-bg-white);
    padding: var(--space-16) 0 var(--space-6);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-10);
    margin-bottom: var(--space-10);
}

.footer .logo {
    color: var(--color-bg-white);
}

.footer .logo-icon {
    background: var(--color-bg-white);
    color: var(--color-primary);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
    margin-top: var(--space-3);
    line-height: 1.6;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
}

/* ===================================
   Enhanced Media Queries
   =================================== */

/* Large Desktop */
@media (min-width: 1536px) {
    :root {
        --container-max: 1440px;
    }

    .hero-title {
        font-size: var(--text-6xl);
    }

    .section-title {
        font-size: var(--text-5xl);
    }
}

/* Desktop */
@media (min-width: 1024px) and (max-width: 1535px) {
    .hero-content {
        gap: var(--space-12);
    }

    .story-content {
        gap: var(--space-12);
    }
}

/* Tablet */
@media (max-width: 1023px) {
    :root {
        --container-padding: var(--space-5);
    }

    .hero-content,
    .story-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .story-text {
        order: 2;
    }

    .story-image {
        order: 1;
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

    .tamil-text {
        font-size: var(--text-3xl);
    }

    .section-title {
        font-size: var(--text-3xl);
    }

    .story-badge {
        font-size: var(--text-3xl);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --container-padding: var(--space-4);
    }

    /* Unique Full-Screen Mobile Menu */
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(11, 32, 58, 0.98) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0;
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
    }

    .nav.active {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--space-2);
    }

    .nav-link {
        font-size: var(--text-base);
        padding: var(--space-3) var(--space-4);
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Sections */
    .hero,
    .our-story,
    .benefits,
    .products,
    .contact {
        padding: var(--space-16) 0;
    }

    .hero-title {
        font-size: var(--text-3xl);
    }

    .tamil-text {
        font-size: var(--text-2xl);
    }

    .hero-description {
        font-size: var(--text-base);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        padding: var(--space-4) var(--space-6);
    }

    .section-title {
        font-size: var(--text-2xl);
    }

    .story-badge {
        font-size: var(--text-2xl);
    }

    .story-title {
        font-size: var(--text-2xl);
    }

    .story-stats {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: var(--text-2xl);
    }

    .tamil-text {
        font-size: var(--text-xl);
    }

    .section-title {
        font-size: var(--text-xl);
    }

    .story-badge {
        font-size: var(--text-xl);
    }

    .btn {
        padding: var(--space-3) var(--space-5);
        font-size: var(--text-sm);
    }

    .product-price {
        font-size: var(--text-2xl);
    }
}

/* ===================================
   Interactive Effects
   =================================== */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    animation: ripple 0.6s ease-out;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* ===================================
   Accessibility
   =================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --color-text-primary: #000000;
        --color-bg-primary: #FFFFFF;
        --color-bg-secondary: #FFFFFF;
        --color-bg-white: #FFFFFF;
        --color-border: #000000;
        --color-border-light: #666666;
    }
}

/* Light mode enforced for professional appearance */
@media (prefers-color-scheme: dark) {
    :root {
        /* Maintain light theme even in dark mode preference */
        --color-bg-primary: #FFFFFF;
        --color-bg-secondary: #F8FBF9;
        --color-bg-white: #FFFFFF;
        --color-text-primary: #1A202C;
        --color-text-secondary: #2D3748;
        --color-text-muted: #4A5568;
        --color-border-light: #E2E8F0;
    }
}