/* Google Fonts Import - MUST BE FIRST for consistent loading */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Font Face Declaration for Better Control */
@font-face {
    font-family: 'Inter-Fallback';
    src: local('Inter'), local('Segoe UI'), local('Roboto'), local('Helvetica Neue'), local('Arial');
    font-display: swap;
    font-weight: 100 900;
    font-style: normal;
}

/* Universal Font Fallback for Consistent Rendering */
* {
    font-family: inherit;
    cursor: url('../cursor-smoke.svg') 16 16, auto;
}

/* Ensure all text elements use consistent fonts */
h1, h2, h3, h4, h5, h6, p, span, div, a, button, input, textarea, select {
    font-family: var(--font-primary), 'Inter-Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}

/* Specific cursor states */
a, button, .btn, .nav-link, .nav-toggle {
    cursor: url('../cursor-smoke.svg') 16 16, pointer;
}

input, textarea, select {
    cursor: url('../cursor-smoke.svg') 16 16, text;
}

.visitor-counter-tab {
    cursor: url('../cursor-smoke.svg') 16 16, pointer;
}

/* CSS Variables - Enhanced Color Palette with Theme Support */
:root {
    --primary-color: #4a7c59;
    --primary-light: #6bb77b;
    --primary-dark: #2d5016;
    --secondary-color: #f4a261;
    --accent-color: #e76f51;
    --tertiary-color: #264653;
    --quaternary-color: #e9c46a;
    --success-color: #06d6a0;
    --info-color: #118ab2;
    --warning-color: #ffd60a;
    --danger-color: #f72585;
    
    /* Adaptive text colors that work with browser themes */
    --text-primary: CanvasText;
    --text-secondary: Canvas;
    --text-contrast: ButtonText;
    --bg-primary: Canvas;
    --bg-secondary: ButtonFace;
    
    /* Fallback colors for older browsers */
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --text-white: #ffffff;
    --text-muted: #666666;
    --light-text: #ffffff;
    --text-color: #1a1a1a;
    --text-color-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --light-gray: #f8f9fa;
    
    /* Font family variables for consistent typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-monospace: 'Inter', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    --background-color: #ffffff;
    --bg-gradient-primary: linear-gradient(135deg, #2d5016 0%, #4a7c59 50%, #06d6a0 100%);
    --bg-gradient-secondary: linear-gradient(135deg, #f4a261 0%, #e76f51 50%, #e9c46a 100%);
    --bg-gradient-tertiary: linear-gradient(135deg, #264653 0%, #2a9d8f 50%, #06d6a0 100%);
    --bg-gradient-warm: linear-gradient(135deg, #ffd60a 0%, #f4a261 50%, #e76f51 100%);
    --bg-gradient-cool: linear-gradient(135deg, #118ab2 0%, #06d6a0 50%, #4a7c59 100%);
    --border-light: #e9ecef;
    --border-color: #dee2e6;
    --shadow-light: 0 2px 15px rgba(45, 80, 22, 0.1);
    --shadow-medium: 0 4px 25px rgba(45, 80, 22, 0.15);
    --shadow-heavy: 0 8px 35px rgba(45, 80, 22, 0.2);
    --shadow-colorful: 0 4px 20px rgba(244, 162, 97, 0.3);
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 15px;
    --border-radius-small: 8px;
    --border-radius-large: 25px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.5s ease;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: var(--font-primary), 'Inter-Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
    line-height: 1.6;
    color: var(--text-primary, var(--text-dark));
    background-color: var(--bg-primary, var(--bg-white));
    overflow-x: hidden;
    cursor: default;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-display: swap;
    margin: 0;
    padding: 0;
}

/* Ensure text visibility in all browser themes */
@media (prefers-color-scheme: dark) {
    body {
        color: var(--text-primary, #ffffff);
        background-color: var(--bg-primary, #1a1a1a);
    }
}

@media (prefers-contrast: high) {
    body {
        color: var(--text-contrast, #000000);
        background-color: var(--bg-primary, #ffffff);
    }
}

/* Font Standardization - Global Typography Standards */
/* Standardized heading typography with theme support */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-primary, var(--text-dark));
    /* Ensure visibility across all themes */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.8px;
}

h3 {
    font-size: 2.2rem;
}

/* Theme-specific heading styles */
@media (prefers-color-scheme: dark) {
    h1, h2, h3, h4, h5, h6 {
        color: var(--text-primary, #ffffff);
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.1);
    }
}

@media (prefers-contrast: high) {
    h1, h2, h3, h4, h5, h6 {
        color: var(--text-contrast, #000000);
        text-shadow: none;
        font-weight: 800;
    }
}

/* Paragraph and general text styling */
p, li, span, div {
    color: var(--text-primary, var(--text-dark));
}

@media (prefers-color-scheme: dark) {
    p, li, span, div {
        color: var(--text-primary, #ffffff);
    }
}

@media (prefers-contrast: high) {
    p, li, span, div {
        color: var(--text-contrast, #000000);
        font-weight: 500;
    }
}
}

h4 {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

h5 {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.4px;
}

h6 {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Standardized paragraph typography */
p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Standardized list typography */
ul, ol {
    font-size: 1.1rem;
    line-height: 1.6;
    letter-spacing: 0.3px;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    font-weight: 400;
}

/* Standardized link typography */
a {
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Responsive typography */
@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.8rem; }
    h4 { font-size: 1.5rem; }
    h5 { font-size: 1.3rem; }
    h6 { font-size: 1.1rem; }
    p { font-size: 1rem; }
    body { font-size: 15px; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.9rem; }
    h3 { font-size: 1.6rem; }
    h4 { font-size: 1.3rem; }
    h5 { font-size: 1.2rem; }
    h6 { font-size: 1rem; }
    p { font-size: 0.95rem; }
    body { font-size: 14px; }
}

/* Optimized Cursor Particles with GPU acceleration */
.cursor-particle {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0) translate3d(0, 0, 0);
    animation: particleFloat 2s ease-out forwards;
    will-change: transform, opacity;
}

.cursor-particle.leaf {
    background: linear-gradient(45deg, #4a7c59, #06d6a0, #f4a261);
    border-radius: 0 100% 0 100%;
    width: 12px;
    height: 12px;
    box-shadow: 0 0 8px rgba(6, 214, 160, 0.6);
}

.cursor-particle.powder {
    background: radial-gradient(circle, #e76f51, #f4a261, #06d6a0);
    width: 6px;
    height: 6px;
    box-shadow: 0 0 6px rgba(244, 162, 97, 0.8);
}

.cursor-particle.sparkle {
    background: conic-gradient(from 0deg, #06d6a0, #f4a261, #e76f51, #4a7c59, #06d6a0);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(6, 214, 160, 0.9);
}

.cursor-particle.herb {
    background: linear-gradient(135deg, #264653, #2a9d8f, #06d6a0);
    border-radius: 50% 0 50% 0;
    width: 10px;
    height: 10px;
    box-shadow: 0 0 8px rgba(42, 157, 143, 0.7);
}

@keyframes particleFloat {
    0% {
        opacity: 1;
        transform: scale(0) translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1) translate3d(0, -20px, 0) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.5) translate3d(0, -40px, 0) rotate(360deg);
    }
}

.cursor-particle.leaf {
    animation: leafFloat 2.5s ease-out forwards;
}

@keyframes leafFloat {
    0% {
        opacity: 1;
        transform: scale(0) translate3d(0, 0, 0) rotate(0deg);
    }
    30% {
        opacity: 0.9;
        transform: scale(1.2) translate3d(0, -15px, 0) rotate(90deg);
    }
    70% {
        opacity: 0.6;
        transform: scale(1) translate3d(0, -30px, 0) rotate(270deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.3) translate3d(0, -50px, 0) rotate(360deg);
    }
}

.cursor-particle.sparkle {
    animation: sparkleFloat 1.8s ease-out forwards;
}

@keyframes sparkleFloat {
    0% {
        opacity: 1;
        transform: scale(0) translateY(0) rotate(0deg);
        filter: hue-rotate(0deg);
    }
    25% {
        opacity: 0.9;
        transform: scale(1.3) translateY(-10px) rotate(90deg);
        filter: hue-rotate(90deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) translateY(-25px) rotate(180deg);
        filter: hue-rotate(180deg);
    }
    75% {
        opacity: 0.5;
        transform: scale(0.9) translateY(-35px) rotate(270deg);
        filter: hue-rotate(270deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.2) translateY(-45px) rotate(360deg);
        filter: hue-rotate(360deg);
    }
}

.cursor-particle.herb {
    animation: herbFloat 2.2s ease-out forwards;
}

@keyframes herbFloat {
    0% {
        opacity: 1;
        transform: scale(0) translateY(0) rotate(0deg) translateX(0);
    }
    20% {
        opacity: 0.95;
        transform: scale(1.1) translateY(-8px) rotate(45deg) translateX(5px);
    }
    40% {
        opacity: 0.8;
        transform: scale(1.3) translateY(-18px) rotate(135deg) translateX(-3px);
    }
    60% {
        opacity: 0.6;
        transform: scale(1) translateY(-28px) rotate(225deg) translateX(8px);
    }
    80% {
        opacity: 0.3;
        transform: scale(0.7) translateY(-38px) rotate(315deg) translateX(-5px);
    }
    100% {
        opacity: 0;
        transform: scale(0.1) translateY(-48px) rotate(405deg) translateX(0);
    }
}

/* Custom cursor for interactive elements */
a, button, .btn, .product-card, .nav-link {
    cursor: pointer;
}

/* Optimized cursor effects - Reduced to essential elements only */
.btn:hover, .product-card:hover {
    position: relative;
}

.btn:hover::after, .product-card:hover::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(74, 124, 89, 0.3), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: pulseGlow 1s ease-in-out infinite;
}

/* Specialized cursors for different elements */
input, textarea, select {
    cursor: text;
}

/* Cursor for draggable elements */
.draggable, [draggable="true"] {
    cursor: move;
}

/* Cursor for disabled elements */
:disabled, .disabled {
    cursor: not-allowed;
}

/* Cursor for resizable elements */
.resize-handle {
    cursor: nw-resize;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.1;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Optimized Typography - Removed duplicate rules */
/* Typography rules are already defined above in the standardized section */

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Enhanced Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 16px 32px;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.btn-primary {
    background: var(--bg-gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-colorful);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-heavy);
    background: var(--bg-gradient-tertiary);
}

.btn-secondary {
    background: var(--bg-gradient-secondary);
    color: var(--text-white);
    border: 2px solid var(--secondary-color);
    box-shadow: var(--shadow-light);
}

.btn-secondary:hover {
    background: var(--bg-gradient-warm);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--bg-gradient-primary);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-colorful);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), var(--info-color));
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(6, 214, 160, 0.3);
}

.btn-success:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 25px rgba(6, 214, 160, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-color), var(--quaternary-color));
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(255, 214, 10, 0.3);
}

.btn-warning:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 25px rgba(255, 214, 10, 0.4);
}

/* ===== FANCY NEW HEADER DESIGN ===== */
/* Navigation */
.navbar {
    position: fixed;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: linear-gradient(45deg, #000000, #1a1a00, #333300, #000000, #1a1a00);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
    backdrop-filter: blur(15px);
    border-bottom: 2px solid #ffff00;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 4px 16px rgba(255, 255, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 0, 0.1);
    overflow: hidden;
    height: 120px;
}

/* Animated background overlay */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

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

@keyframes shimmerGlow {
    0% { 
        background-position: 0% 50%;
        text-shadow: 0 0 10px rgba(255, 255, 0, 0.8), 
                     0 0 20px rgba(255, 215, 0, 0.6), 
                     0 0 30px rgba(255, 255, 255, 0.4);
    }
    50% { 
        background-position: 100% 50%;
        text-shadow: 0 0 15px rgba(255, 255, 0, 1), 
                     0 0 25px rgba(255, 215, 0, 0.8), 
                     0 0 35px rgba(255, 255, 255, 0.6),
                     0 0 45px rgba(255, 255, 0, 0.4);
    }
    100% { 
        background-position: 0% 50%;
        text-shadow: 0 0 10px rgba(255, 255, 0, 0.8), 
                     0 0 20px rgba(255, 215, 0, 0.6), 
                     0 0 30px rgba(255, 255, 255, 0.4);
    }
}

/* Scroll effect */
.navbar.scrolled {
    background: linear-gradient(135deg, 
        rgba(74, 124, 89, 0.98) 0%, 
        rgba(106, 156, 137, 0.95) 25%,
        rgba(138, 188, 169, 0.93) 50%,
        rgba(170, 220, 201, 0.91) 75%,
        rgba(202, 252, 233, 0.88) 100%);
    box-shadow: 
        0 12px 40px rgba(74, 124, 89, 0.4),
        0 6px 20px rgba(74, 124, 89, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Theme-specific navbar styles */
@media (prefers-color-scheme: dark) {
    .navbar {
        background: var(--bg-secondary, rgba(26, 26, 26, 0.98));
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 2px 20px rgba(255, 255, 255, 0.1);
    }
}

@media (prefers-contrast: high) {
    .navbar {
        background: var(--bg-secondary, #ffffff);
        border-bottom: 3px solid #000000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 180px;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
    justify-content: flex-start;
    position: relative;
    margin-right: auto;
    max-width: 55%;
    flex-wrap: nowrap;
    flex-shrink: 1;
}

.tagline {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #ffff00 20%, 
        #ffd700 40%, 
        #ffffff 60%, 
        #ffff00 80%, 
        #ffd700 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
    margin-top: 0;
    margin-bottom: 0;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.8), 
                 0 0 20px rgba(255, 215, 0, 0.6), 
                 0 0 30px rgba(255, 255, 255, 0.4);
    letter-spacing: 0.8px;
    opacity: 1;
    transition: all 0.4s ease;
    line-height: 1.3;
    animation: shimmerGlow 2s ease-in-out infinite alternate;
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.tagline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 0, 0.1) 0%, 
        rgba(255, 215, 0, 0.1) 25%, 
        rgba(74, 124, 89, 0.1) 50%, 
        rgba(45, 90, 61, 0.1) 75%, 
        rgba(26, 61, 38, 0.1) 100%);
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tagline:hover::before {
    opacity: 1;
}

.tagline:hover {
    transform: scale(1.08) translateY(-2px);
    letter-spacing: 1.2px;
    text-shadow: 0 0 20px rgba(255, 255, 0, 1), 
                 0 0 30px rgba(255, 215, 0, 0.9), 
                 0 0 40px rgba(255, 255, 255, 0.7),
                 0 0 50px rgba(255, 255, 0, 0.5),
                 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: shimmerGlow 1s ease-in-out infinite alternate;
}

.tagline-line1,
.tagline-line2,
.tagline-line3 {
    display: block;
    line-height: 1.1;
    background: inherit;
    background-size: inherit;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: inherit;
}

.tagline-line2 {
    font-size: 0.75rem;
    text-align: center;
    font-style: italic;
    opacity: 1;
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #ffff00 20%, 
        #ffd700 40%, 
        #ffffff 60%, 
        #ffff00 80%, 
        #ffd700 100%) !important;
    background-size: 300% 300% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.8), 
                 0 0 20px rgba(255, 215, 0, 0.6), 
                 0 0 30px rgba(255, 255, 255, 0.4) !important;
}

/* Responsive tagline styles */
@media (max-width: 768px) {
    .tagline {
        font-size: 0.75rem;
        letter-spacing: 0.3px;
        margin-top: 1px;
        /* Ensure visible text on mobile */
        color: #ffd700 !important;
        -webkit-text-fill-color: #ffd700 !important;
        /* Remove problematic gradient that causes invisible text */
        background: none !important;
        text-shadow: 0 0 8px rgba(255, 255, 0, 0.8), 
                     0 0 16px rgba(255, 215, 0, 0.6) !important;
    }
}

@media (max-width: 480px) {
    .tagline {
        font-size: 0.7rem;
        letter-spacing: 0.2px;
        margin-top: 0;
        line-height: 1.2;
        /* Ensure visible text on small mobile */
        color: #ffd700 !important;
        -webkit-text-fill-color: #ffd700 !important;
        /* Remove problematic gradient that causes invisible text */
        background: none !important;
        text-shadow: 0 0 8px rgba(255, 255, 0, 0.8), 
                     0 0 16px rgba(255, 215, 0, 0.6),
                     0 1px 2px rgba(0, 0, 0, 0.5) !important;
    }
}

/* ANIMATED LOGO WITH MOVEMENT, ROTATION AND FRAMES */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-3px) rotate(1deg);
    }
    50% {
        transform: translateY(-6px) rotate(0deg);
    }
    75% {
        transform: translateY(-3px) rotate(-1deg);
    }
}

@keyframes logoRotate {
    0% {
        transform: scale(1.05) rotate(0deg);
    }
    100% {
        transform: scale(1.05) rotate(360deg);
    }
}

@keyframes logoFrameGlow {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(74, 124, 89, 0.4),
            0 0 40px rgba(74, 124, 89, 0.2),
            inset 0 0 20px rgba(255, 255, 255, 0.1);
        border-color: rgba(74, 124, 89, 0.6);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(74, 124, 89, 0.6),
            0 0 60px rgba(74, 124, 89, 0.3),
            inset 0 0 30px rgba(255, 255, 255, 0.2);
        border-color: rgba(74, 124, 89, 0.8);
    }
}

@keyframes logoFramePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.02);
        opacity: 1;
    }
}

@keyframes cornerGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes fancyRainbowBorder {
    0% {
        border: 4px solid;
        border-image: linear-gradient(45deg, #ff9a9e, #fecfef, #fecfef) 1;
        box-shadow: 
            0 0 20px rgba(255, 154, 158, 0.6),
            0 0 40px rgba(255, 154, 158, 0.3),
            inset 0 0 20px rgba(255, 207, 239, 0.2);
    }
    14.28% {
        border: 4px solid;
        border-image: linear-gradient(45deg, #ffecd2, #fcb69f, #ff9a9e) 1;
        box-shadow: 
            0 0 20px rgba(255, 236, 210, 0.6),
            0 0 40px rgba(252, 182, 159, 0.3),
            inset 0 0 20px rgba(255, 154, 158, 0.2);
    }
    28.57% {
        border: 4px solid;
        border-image: linear-gradient(45deg, #a8edea, #fed6e3, #ffecd2) 1;
        box-shadow: 
            0 0 20px rgba(168, 237, 234, 0.6),
            0 0 40px rgba(254, 214, 227, 0.3),
            inset 0 0 20px rgba(255, 236, 210, 0.2);
    }
    42.86% {
        border: 4px solid;
        border-image: linear-gradient(45deg, #96fbc4, #f9f586, #a8edea) 1;
        box-shadow: 
            0 0 20px rgba(150, 251, 196, 0.6),
            0 0 40px rgba(249, 245, 134, 0.3),
            inset 0 0 20px rgba(168, 237, 234, 0.2);
    }
    57.14% {
        border: 4px solid;
        border-image: linear-gradient(45deg, #a8e6cf, #dcedc1, #96fbc4) 1;
        box-shadow: 
            0 0 20px rgba(168, 230, 207, 0.6),
            0 0 40px rgba(220, 237, 193, 0.3),
            inset 0 0 20px rgba(150, 251, 196, 0.2);
    }
    71.43% {
        border: 4px solid;
        border-image: linear-gradient(45deg, #a8c8ec, #c2e9fb, #a8e6cf) 1;
        box-shadow: 
            0 0 20px rgba(168, 200, 236, 0.6),
            0 0 40px rgba(194, 233, 251, 0.3),
            inset 0 0 20px rgba(168, 230, 207, 0.2);
    }
    85.71% {
        border: 4px solid;
        border-image: linear-gradient(45deg, #d299c2, #fef9d7, #a8c8ec) 1;
        box-shadow: 
            0 0 20px rgba(210, 153, 194, 0.6),
            0 0 40px rgba(254, 249, 215, 0.3),
            inset 0 0 20px rgba(168, 200, 236, 0.2);
    }
    100% {
        border: 4px solid;
        border-image: linear-gradient(45deg, #ff9a9e, #fecfef, #d299c2) 1;
        box-shadow: 
            0 0 20px rgba(255, 154, 158, 0.6),
            0 0 40px rgba(255, 154, 158, 0.3),
            inset 0 0 20px rgba(255, 207, 239, 0.2);
    }
}

@keyframes fancyRainbowGlow {
    0% {
        filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 12px #ff9a9e) drop-shadow(0 0 6px #fecfef);
    }
    14.28% {
        filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 12px #ffecd2) drop-shadow(0 0 6px #fcb69f);
    }
    28.57% {
        filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 12px #a8edea) drop-shadow(0 0 6px #fed6e3);
    }
    42.86% {
        filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 12px #96fbc4) drop-shadow(0 0 6px #f9f586);
    }
    57.14% {
        filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 12px #a8e6cf) drop-shadow(0 0 6px #dcedc1);
    }
    71.43% {
        filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 12px #a8c8ec) drop-shadow(0 0 6px #c2e9fb);
    }
    85.71% {
        filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 12px #d299c2) drop-shadow(0 0 6px #fef9d7);
    }
    100% {
        filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 12px #ff9a9e) drop-shadow(0 0 6px #fecfef);
    }
}

.logo-wrapper img {
    height: 120px;
    width: auto;
    max-width: 450px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
    animation: logoFloat 4s ease-in-out infinite, logoFrameGlow 3s ease-in-out infinite, fancyRainbowBorder 3s linear infinite, fancyRainbowGlow 3s linear infinite;
    transform-origin: center;
    
    /* DECORATIVE FRAME WITH CORNER DESIGN */
    border: 3px solid rgba(74, 124, 89, 0.6);
    border-radius: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 0 20px rgba(74, 124, 89, 0.4),
        0 0 40px rgba(74, 124, 89, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: visible;
}

/* DECORATIVE CORNER ELEMENTS FOR HEADER LOGO */
.logo-wrapper img::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    width: 20px;
    height: 20px;
    border-top: 4px solid rgba(244, 162, 97, 0.8);
    border-left: 4px solid rgba(244, 162, 97, 0.8);
    border-radius: 8px 0 0 0;
    animation: cornerGlow 2s ease-in-out infinite;
    z-index: 2;
}

.logo-wrapper img::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-bottom: 4px solid rgba(244, 162, 97, 0.8);
    border-right: 4px solid rgba(244, 162, 97, 0.8);
    border-radius: 0 0 8px 0;
    animation: cornerGlow 2s ease-in-out infinite 1s;
    z-index: 2;
}

.logo-wrapper:hover img {
    animation: logoRotate 1s linear infinite, logoFloat 4s ease-in-out infinite, logoFramePulse 0.6s ease-in-out infinite, fancyRainbowBorder 1.5s linear infinite, fancyRainbowGlow 1.5s linear infinite;
    filter: brightness(1.4) contrast(1.4) saturate(1.3);
    transform: scale(1.08);
    box-shadow: 
        0 0 50px rgba(255, 255, 255, 0.8),
        0 0 100px rgba(255, 255, 255, 0.4),
        inset 0 0 40px rgba(255, 255, 255, 0.3);
}

/* Fix for direct img tags in nav-logo */
.nav-logo img {
    height: 144px;
    width: auto;
    max-width: 405px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: contain;
    filter: brightness(1.2) contrast(1.2);
    animation: logoFloat 5s ease-in-out infinite, logoFrameGlow 4s ease-in-out infinite, fancyRainbowBorder 4s linear infinite, fancyRainbowGlow 4s linear infinite;
    transform-origin: center;
    
    /* DECORATIVE FRAME WITH CORNER DESIGN - Enhanced to match footer */
    border: 4px solid rgba(74, 124, 89, 0.7);
    border-radius: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 0 30px rgba(74, 124, 89, 0.5),
        0 0 60px rgba(74, 124, 89, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: visible;
}

/* DECORATIVE CORNER ELEMENTS FOR NAV LOGO - Enhanced to match footer */
.nav-logo img::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    width: 30px;
    height: 30px;
    border-top: 5px solid rgba(244, 162, 97, 0.9);
    border-left: 5px solid rgba(244, 162, 97, 0.9);
    border-radius: 12px 0 0 0;
    background: radial-gradient(circle at top left, rgba(244, 162, 97, 0.3), transparent 70%);
    animation: cornerGlow 3s ease-in-out infinite;
    z-index: 2;
}

.nav-logo img::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 30px;
    height: 30px;
    border-bottom: 5px solid rgba(244, 162, 97, 0.9);
    border-right: 5px solid rgba(244, 162, 97, 0.9);
    border-radius: 0 0 12px 0;
    background: radial-gradient(circle at bottom right, rgba(244, 162, 97, 0.3), transparent 70%);
    animation: cornerGlow 3s ease-in-out infinite 1.5s;
    z-index: 2;
}

/* ADDITIONAL CORNER ACCENTS FOR NAV LOGO - Match footer styling */
.nav-logo::before {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 16px;
    height: 16px;
    background: rgba(6, 214, 160, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(6, 214, 160, 0.5);
    animation: cornerGlow 2.5s ease-in-out infinite 0.5s;
    z-index: 3;
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: -8px;
    width: 16px;
    height: 16px;
    background: rgba(6, 214, 160, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(6, 214, 160, 0.5);
    animation: cornerGlow 2.5s ease-in-out infinite 2s;
    z-index: 3;
}

.nav-logo a:hover img {
    transform: scale(1.08);
    filter: brightness(1.4) contrast(1.4) drop-shadow(0 8px 16px rgba(74, 124, 89, 0.5));
    border-color: rgba(74, 124, 89, 1);
    box-shadow: 
        0 0 50px rgba(74, 124, 89, 0.7),
        0 0 100px rgba(74, 124, 89, 0.4),
        inset 0 0 40px rgba(255, 255, 255, 0.25),
        0 12px 35px rgba(0, 0, 0, 0.4);
    animation: logoFloat 5s ease-in-out infinite, logoFrameGlow 4s ease-in-out infinite, logoFramePulse 0.8s ease-in-out infinite, fancyRainbowBorder 2.5s linear infinite, fancyRainbowGlow 2.5s linear infinite;
}

.nav-logo h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffff00 !important;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-logo span {
    font-size: 1rem;
    color: #ffff00 !important;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    min-width: fit-content;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #ffff00 !important;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 10px 16px;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 0, 0.3);
    overflow: hidden;
}

.nav-link::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 ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, 
        rgba(255, 255, 0, 0.9) 0%,
        rgba(255, 215, 0, 0.8) 25%,
        rgba(255, 193, 7, 0.8) 50%,
        rgba(255, 235, 59, 0.8) 75%,
        rgba(255, 255, 0, 0.9) 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(255, 255, 0, 0.4),
        0 4px 15px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 0, 0.6);
}

.nav-link.active {
    background: linear-gradient(135deg, 
        rgba(255, 159, 243, 0.9) 0%,
        rgba(84, 160, 255, 0.9) 50%,
        rgba(150, 206, 180, 0.9) 100%);
    box-shadow: 
        0 6px 20px rgba(255, 159, 243, 0.5),
        0 3px 10px rgba(84, 160, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nav-link {
        color: var(--text-contrast, #000000);
        text-shadow: none;
        font-weight: 700;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-color);
        text-decoration: underline;
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .nav-link {
        color: var(--text-primary, #ffffff);
        text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
    }
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 1rem;
    min-width: 44px;
    min-height: 44px;
    background: transparent;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    position: relative;
    z-index: 1002;
}

.nav-toggle:hover {
    background: rgba(74, 124, 89, 0.1);
}

.nav-toggle:active {
    transform: scale(0.95);
    background: rgba(74, 124, 89, 0.2);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
    transform-origin: center;
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 1rem;
}

.language-dropdown {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-small);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: var(--shadow-light);
}

.language-btn:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.language-text {
    font-size: 0.9rem;
    font-weight: 600;
}

.language-btn i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.language-options.show .language-btn i {
    transform: rotate(180deg);
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-small);
    box-shadow: var(--shadow-medium);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
    margin-top: 0.5rem;
}

.language-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-light);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.language-option.active {
    background: var(--primary-color);
    color: var(--text-white);
}

/* Flag Icons */
.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    display: inline-block;
    background-size: cover;
    background-position: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.flag-icon-us {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAyMCAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjIwIiBoZWlnaHQ9IjE1IiBmaWxsPSIjQjIyMjM0Ii8+CjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIxLjE1IiBmaWxsPSJ3aGl0ZSIvPgo8cmVjdCB5PSIyLjMiIHdpZHRoPSIyMCIgaGVpZ2h0PSIxLjE1IiBmaWxsPSJ3aGl0ZSIvPgo8cmVjdCB5PSI0LjYiIHdpZHRoPSIyMCIgaGVpZ2h0PSIxLjE1IiBmaWxsPSJ3aGl0ZSIvPgo8cmVjdCB5PSI2LjkiIHdpZHRoPSIyMCIgaGVpZ2h0PSIxLjE1IiBmaWxsPSJ3aGl0ZSIvPgo8cmVjdCB5PSI5LjIiIHdpZHRoPSIyMCIgaGVpZ2h0PSIxLjE1IiBmaWxsPSJ3aGl0ZSIvPgo8cmVjdCB5PSIxMS41IiB3aWR0aD0iMjAiIGhlaWdodD0iMS4xNSIgZmlsbD0id2hpdGUiLz4KPHI+Y3QgeT0iMTMuOCIgd2lkdGg9IjIwIiBoZWlnaHQ9IjEuMTUiIGZpbGw9IndoaXRlIi8+CjxyZWN0IHdpZHRoPSI4IiBoZWlnaHQ9IjgiIGZpbGw9IiMzQzNDNkQiLz4KPC9zdmc+');
}

.flag-icon-sa {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAyMCAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjIwIiBoZWlnaHQ9IjE1IiBmaWxsPSIjMDA2QzM1Ii8+Cjx0ZXh0IHg9IjEwIiB5PSI5IiBmaWxsPSJ3aGl0ZSIgZm9udC1zaXplPSI4IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iQXJpYWwiPtmE2Kcg2KXZhNmHINil2YTYpyDYp9mE2YTZhzwvdGV4dD4KPC9zdmc+');
}

.flag-icon-ru {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAyMCAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjIwIiBoZWlnaHQ9IjUiIGZpbGw9IndoaXRlIi8+CjxyZWN0IHk9IjUiIHdpZHRoPSIyMCIgaGVpZ2h0PSI1IiBmaWxsPSIjMDA1MkE1Ii8+CjxyZWN0IHk9IjEwIiB3aWR0aD0iMjAiIGhlaWdodD0iNSIgZmlsbD0iI0Q1MjY4MSIvPgo8L3N2Zz4=');
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #2d5016 0%, #1a3009 30%, #0f1a05 70%, #2d5016 100%);
    padding-top: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.3);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* BULLETPROOF HERO TITLE STYLING - HIGHEST PRIORITY */
.hero-content h1,
.hero-content .hero-title,
.hero .hero-content h1,
.hero .hero-title {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 1.5rem !important;
    color: #fffbeb !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #fffbeb !important;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8), 
        0 0 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 251, 235, 0.3) !important;
    font-family: 'Inter', 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif !important;
    letter-spacing: -0.01em !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    font-feature-settings: 'kern' 1 !important;
}

/* BULLETPROOF HIGHLIGHT STYLING - HIGHEST PRIORITY */
.highlight,
.hero-content .highlight,
.hero .highlight,
.hero-title .highlight {
    color: #fbbf24 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #fbbf24 !important;
    position: relative !important;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.9), 
        0 0 20px rgba(251, 191, 36, 0.4),
        0 0 40px rgba(251, 191, 36, 0.2) !important;
    font-weight: 800 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #a7f3d0, #6ee7b7);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(167, 243, 208, 0.4);
}

/* ULTRA-SPECIFIC DESKTOP - Light Yellow Hero Description */
@media (min-width: 769px) {
    .hero .hero-content p,
    .hero .hero-description,
    section.hero .hero-content p,
    section.hero .hero-description,
    #hero .hero-content p,
    #hero .hero-description,
    .hero-content p,
    .hero-description {
        font-size: 1.2rem !important;
        margin-bottom: 2rem !important;
        color: #fffbeb !important;
        background: none !important;
        -webkit-text-fill-color: #fffbeb !important;
        line-height: 1.65 !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 0, 0, 0.3) !important;
        font-weight: 400 !important;
        font-family: 'Inter', 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        text-rendering: optimizeLegibility !important;
        letter-spacing: 0.02em !important;
        opacity: 0.95;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
        backdrop-filter: blur(10px);
        padding: 1.5rem 2rem;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

    .hero-description:hover {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

/* MOBILE - Keep existing ultra-bright white (below 768px) */
.hero-content p,
.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #e1f5fe;
    line-height: 1.65;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    font-family: 'Inter', 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: 0.02em;
    opacity: 0.95;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-description:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-countries {
    border-color: #4CAF50;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(139, 195, 74, 0.1));
}

.stat-countries:hover {
    border-color: #66BB6A;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(139, 195, 74, 0.2));
}

.stat-organic {
    border-color: #FF9800;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2), rgba(255, 193, 7, 0.1));
}

.stat-organic:hover {
    border-color: #FFB74D;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.3), rgba(255, 193, 7, 0.2));
}

.stat-quality {
    border-color: #E91E63;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.2), rgba(156, 39, 176, 0.1));
}

.stat-quality:hover {
    border-color: #F06292;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.3), rgba(156, 39, 176, 0.2));
}

.stat-emoji {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* HERO STATS - GOLDEN GRADIENT FOR LABELS, LIGHT YELLOW-WHITE FOR NUMBERS */
.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fffbeb !important;
    font-family: 'Inter', var(--font-heading), -apple-system, BlinkMacSystemFont, sans-serif;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8), 
        0 0 20px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(255, 251, 235, 0.3) !important;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: #fbbf24 !important;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) !important;
    font-weight: 700 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.floating-card {
    position: absolute;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
    padding: 2rem 1.5rem;
    border-radius: 25px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: heroCardFloat 4s ease-in-out infinite, heroCardGlow 3s ease-in-out infinite alternate;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(25px);
    min-width: 140px;
    max-width: 160px;
    z-index: 10;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
    overflow: hidden;
}

.floating-card:hover {
    transform: translateY(-30px) scale(1.2) rotateY(10deg);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.25),
        0 20px 40px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        0 0 60px rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
    z-index: 20;
    animation-play-state: paused;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 0.8rem;
    animation: heroIconSpin 3s ease-in-out infinite, heroIconGlow 2s ease-in-out infinite alternate;
    filter: drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.floating-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.floating-card p {
    font-size: 0.9rem;
    color: #4a5568;
    margin: 0;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.floating-card:hover h4 {
    color: #1a202c;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.floating-card:hover p {
    color: #2d3748;
    transform: translateY(-1px);
}

.floating-card:hover .card-icon {
    transform: scale(1.1);
    filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.4)) brightness(1.3);
}

/* Add particle effect */
.floating-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    animation: cardParticleRotate 6s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.floating-card:hover::before {
    opacity: 1;
}

/* GIF-like pulsing effect */
.floating-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: gifPulse 2s ease-in-out infinite;
    opacity: 0.7;
    pointer-events: none;
    z-index: 5;
}

@keyframes cardParticleRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes gifPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.8;
    }
}

/* Enhanced card shimmer effect */
.floating-card:nth-child(odd)::after {
    animation-delay: 0.5s;
}

.floating-card:nth-child(even)::after {
    animation-delay: 1s;
}

/* Grid-based layout for better space utilization */
.card-1 {
    top: 5%;
    left: 8%;
    animation-delay: 0s;
    background: linear-gradient(145deg, rgba(255, 248, 225, 0.3), rgba(255, 236, 179, 0.2));
    border-color: rgba(255, 167, 38, 0.6);
    box-shadow: 
        0 25px 50px rgba(255, 167, 38, 0.2),
        0 10px 25px rgba(255, 193, 7, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 40px rgba(255, 193, 7, 0.3);
}

.card-1 .card-icon {
    animation-delay: 0.5s;
}

.card-2 {
    top: 5%;
    right: 8%;
    animation-delay: 1.5s;
    background: linear-gradient(145deg, rgba(243, 229, 245, 0.3), rgba(225, 190, 231, 0.2));
    border-color: rgba(171, 71, 188, 0.6);
    box-shadow: 
        0 25px 50px rgba(171, 71, 188, 0.2),
        0 10px 25px rgba(156, 39, 176, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 40px rgba(156, 39, 176, 0.3);
}

.card-2 .card-icon {
    animation-delay: 2s;
}

.card-3 {
    top: 30%;
    left: 2%;
    animation-delay: 3s;
    background: linear-gradient(145deg, rgba(232, 245, 232, 0.3), rgba(200, 230, 201, 0.2));
    border-color: rgba(102, 187, 106, 0.6);
    box-shadow: 
        0 25px 50px rgba(102, 187, 106, 0.2),
        0 10px 25px rgba(76, 175, 80, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 40px rgba(76, 175, 80, 0.3);
}

.card-3 .card-icon {
    animation-delay: 3.5s;
}

.card-4 {
    top: 30%;
    right: 2%;
    animation-delay: 4.5s;
    background: linear-gradient(145deg, rgba(227, 242, 253, 0.3), rgba(187, 222, 251, 0.2));
    border-color: rgba(66, 165, 245, 0.6);
    box-shadow: 
        0 25px 50px rgba(66, 165, 245, 0.2),
        0 10px 25px rgba(33, 150, 243, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 40px rgba(33, 150, 243, 0.3);
}

.card-4 .card-icon {
    animation-delay: 5s;
}

.card-5 {
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1s;
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    border-color: #26a69a;
    box-shadow: 0 8px 32px rgba(38, 166, 154, 0.4), 0 0 20px rgba(0, 150, 136, 0.3);
}

.card-5 .card-icon {
    animation-delay: 1.5s;
}

.card-6 {
    top: 55%;
    left: 15%;
    animation-delay: 2s;
    background: linear-gradient(135deg, #f1f8e9 0%, #dcedc8 100%);
    border-color: #8bc34a;
    box-shadow: 0 8px 32px rgba(139, 195, 74, 0.4), 0 0 20px rgba(104, 159, 56, 0.3);
}

.card-6 .card-icon {
    animation-delay: 2.5s;
}

.card-7 {
    top: 55%;
    right: 15%;
    animation-delay: 3.5s;
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc80 100%);
    border-color: #ff9800;
    box-shadow: 0 8px 32px rgba(255, 152, 0, 0.4), 0 0 20px rgba(255, 111, 0, 0.3);
}

.card-7 .card-icon {
    animation-delay: 4s;
}

.card-8 {
    top: 80%;
    left: 8%;
    animation-delay: 4s;
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    border-color: #e91e63;
    box-shadow: 0 8px 32px rgba(233, 30, 99, 0.4), 0 0 20px rgba(194, 24, 91, 0.3);
}

.card-8 .card-icon {
    animation-delay: 4.5s;
}

.card-9 {
    top: 80%;
    right: 8%;
    animation-delay: 5.5s;
    background: linear-gradient(135deg, #f9fbe7 0%, #f0f4c3 100%);
    border-color: #cddc39;
    box-shadow: 0 8px 32px rgba(205, 220, 57, 0.4), 0 0 20px rgba(175, 180, 43, 0.3);
}

.card-9 .card-icon {
    animation-delay: 6s;
}

.card-10 {
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 6s;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 50%, #ffd54f 100%);
    border-color: #ff8f00;
    box-shadow: 0 8px 32px rgba(255, 143, 0, 0.4), 0 0 20px rgba(255, 152, 0, 0.3);
}

.card-10 .card-icon {
    animation-delay: 6.5s;
}

/* Hero Card Animations */
@keyframes heroCardFloat {
    0%, 100% { 
        transform: translateY(0px) rotateX(0deg) rotateY(0deg); 
    }
    25% { 
        transform: translateY(-20px) rotateX(5deg) rotateY(-3deg); 
    }
    50% { 
        transform: translateY(-35px) rotateX(0deg) rotateY(5deg); 
    }
    75% { 
        transform: translateY(-15px) rotateX(-3deg) rotateY(-2deg); 
    }
}

@keyframes heroCardGlow {
    0% { 
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.15),
            0 10px 25px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            0 0 30px rgba(255, 255, 255, 0.2);
    }
    100% { 
        box-shadow: 
            0 30px 60px rgba(0, 0, 0, 0.2),
            0 15px 35px rgba(0, 0, 0, 0.15),
            inset 0 2px 0 rgba(255, 255, 255, 0.4),
            0 0 50px rgba(255, 255, 255, 0.4);
    }
}

@keyframes heroIconSpin {
    0%, 100% { 
        transform: scale(1); 
    }
    25% { 
        transform: scale(1.05); 
    }
    50% { 
        transform: scale(1.02); 
    }
    75% { 
        transform: scale(1.03); 
    }
}

@keyframes heroIconGlow {
    0% { 
        filter: drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.3)) brightness(1);
    }
    100% { 
        filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.4)) brightness(1.2);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(2deg); }
    50% { transform: translateY(-25px) rotate(0deg); }
    75% { transform: translateY(-10px) rotate(-2deg); }
}

/* Responsive adjustments for floating cards */
@media (max-width: 1024px) {
    .hero-visual {
        height: 500px;
        padding: 1.5rem;
    }
    
    .floating-card {
        min-width: 120px;
        max-width: 140px;
        padding: 1.5rem 1.2rem;
    }
}

@media (max-width: 768px) {
    .floating-card {
        padding: 1rem 0.8rem;
        min-width: 100px;
        max-width: 110px;
        /* Disable heavy animations for mobile scroll performance */
        animation: none !important;
        transition: transform 0.2s ease !important;
        will-change: auto !important;
    }
    
    .card-icon {
        font-size: 1.8rem;
        /* Disable icon animations on mobile */
        animation: none !important;
        transition: none !important;
    }
    
    .floating-card h4 {
        font-size: 0.9rem;
    }
    
    .floating-card p {
        font-size: 0.7rem;
    }
    
    .card-1, .card-2, .card-3, .card-4, .card-5, .card-6, .card-7, .card-8, .card-9, .card-10 {
        position: relative;
        display: inline-block;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        transform: none !important;
        margin: 0.5rem;
        /* Ensure no floating animations on mobile */
        animation: none !important;
    }
    
    .hero-visual {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        height: auto;
        padding: 2rem 0;
        /* Enable hardware acceleration for better scroll performance */
        transform: translateZ(0);
        backface-visibility: hidden;
        perspective: 1000px;
    }
    
    /* Disable hover effects on mobile for better performance */
    .floating-card:hover {
        transform: none !important;
        animation-play-state: running !important;
    }
}

/* Additional mobile performance optimizations for very small screens */
@media (max-width: 480px) {
    /* Disable all animations and transitions for maximum scroll performance */
    *, *::before, *::after {
        animation-duration: 0s !important;
        animation-delay: 0s !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
    
    /* Optimize hero section for mobile scroll */
    .hero {
        overflow: hidden;
        transform: translateZ(0);
        will-change: auto;
    }
    
    .hero-visual {
        display: none !important; /* Hide floating cards completely on small mobile */
    }
    
    /* Ensure smooth scrolling */
    html {
        scroll-behavior: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    
    body {
        overflow-x: hidden;
        transform: translateZ(0);
    }
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(240, 248, 255, 0.8) 100%);
}

section:nth-child(even) {
    background: linear-gradient(135deg, rgba(255, 248, 225, 0.6) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(248, 255, 248, 0.6) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--tertiary-color));
    border-radius: 2px;
}

.section-header h2 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-family: var(--font-heading);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #e2e8f0 25%, 
        #cbd5e1 50%, 
        #94a3b8 75%, 
        #64748b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Override for products page - must come after general rule */
.products-section .section-header h2 {
    color: #000000 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #000000 !important;
    background-clip: unset !important;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8) !important;
    font-weight: 800 !important;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, 
        #8b5cf6, #ec4899, #3b82f6, #10b981);
    border-radius: 2px;
    animation: gradientShift 3s ease-in-out infinite;
}

/* Special styling for contact section header to ensure visibility */
.contact .section-header h2 {
    color: #ffd700 !important;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
}

.contact .section-header p {
    color: #ffd700 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4), 0 0 15px rgba(255, 215, 0, 0.2);
    font-weight: 500;
}

/* Shimmer animation for shining effect */
@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Contact Header Section Styling */
.contact-header h1 {
    color: #ffd700 !important;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
}

.contact-header p {
    color: #ffd700 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4), 0 0 15px rgba(255, 215, 0, 0.2);
    font-weight: 500;
}

/* Special styling for products section header to ensure visibility */
.products .section-header h2 {
    color: #000000 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #000000 !important;
    background-clip: unset !important;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8) !important;
    font-weight: 800 !important;
}

.products .section-header p {
    color: #1B4332 !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8) !important;
    font-weight: 700 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 10px !important;
    padding: 1.5rem 2rem !important;
}

/* Special styling for blog section header to remove shadows */
.blog-section .section-header h2 {
    color: #1a1a1a !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #1a1a1a !important;
    background-clip: unset !important;
    text-shadow: none !important;
    font-weight: 700 !important;
}

.blog-section .section-header p {
    color: #333333 !important;
    text-shadow: none !important;
    font-weight: 500 !important;
    background: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

/* Remove text shadows from page banner on blog page */
.page-banner h1 {
    text-shadow: none !important;
    color: #ffffff !important;
}

.page-banner p {
    text-shadow: none !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.section-header p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    padding: 1rem 2rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Override for products page paragraph - must come after general rule */
.products-section .section-header p {
    color: #1B4332 !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8) !important;
    font-weight: 700 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 10px !important;
    padding: 1.5rem 2rem !important;
    border: none !important;
    backdrop-filter: none !important;
}

/* Products Section - Premium Redesign */
.products {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.9) 25%, 
        rgba(51, 65, 85, 0.85) 50%, 
        rgba(71, 85, 105, 0.8) 75%, 
        rgba(100, 116, 139, 0.75) 100%
    );
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
    min-height: 100vh;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 40% 70%, rgba(59, 130, 246, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 60% 40%, rgba(16, 185, 129, 0.15) 0%, transparent 40%);
    animation: cosmicShift 15s ease-in-out infinite;
    pointer-events: none;
}

.products::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="%23ffffff" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    animation: starTwinkle 20s linear infinite;
    pointer-events: none;
}

@keyframes cosmicShift {
    0%, 100% { 
        opacity: 0.8; 
        transform: scale(1) rotate(0deg); 
        filter: hue-rotate(0deg);
    }
    33% { 
        opacity: 1; 
        transform: scale(1.1) rotate(120deg); 
        filter: hue-rotate(60deg);
    }
    66% { 
        opacity: 0.9; 
        transform: scale(0.95) rotate(240deg); 
        filter: hue-rotate(120deg);
    }
}

@keyframes starTwinkle {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

/* Sparkle effect timing for product cards */
.product-card:nth-child(odd)::before {
    animation-delay: 1s;
}

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

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: translateY(0px) rotate(0deg); }
    50% { opacity: 1; transform: translateY(-20px) rotate(180deg); }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3.5rem;
    max-width: 1500px;
    margin: 0 auto;
    padding: 5rem 2.5rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(30px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.3),
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: visible;
    z-index: 2;
    animation: gridFloat 8s ease-in-out infinite;
}

.products-grid::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #8b5cf6, #ec4899, #3b82f6, #10b981, 
        #f59e0b, #ef4444, #8b5cf6);
    background-size: 400% 400%;
    border-radius: 32px;
    z-index: -1;
    animation: gradientShift 8s ease-in-out infinite;
    filter: blur(2px);
}

.products-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    border-radius: 30px;
    pointer-events: none;
    animation: innerGlow 6s ease-in-out infinite alternate;
}

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

@keyframes innerGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

@keyframes gridFloat {
    0%, 100% { 
        transform: translateY(0px) rotateX(0deg);
    }
    50% { 
        transform: translateY(-10px) rotateX(1deg);
    }
}

.product-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(30px);
    padding: 3rem;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 15px 30px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: productCardFloat 6s ease-in-out infinite;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0.1) 100%);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, 
        transparent, 
        rgba(139, 92, 246, 0.3), 
        transparent, 
        rgba(236, 72, 153, 0.3), 
        transparent);
    animation: cardRotate 8s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

@keyframes cardRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes productCardFloat {
    0%, 100% { 
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }
    33% { 
        transform: translateY(-8px) rotateX(2deg) rotateY(-1deg);
    }
    66% { 
        transform: translateY(-5px) rotateX(-1deg) rotateY(2deg);
    }
}

@keyframes emojiFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(5deg); }
    50% { transform: translateY(-5px) rotate(-3deg); }
    75% { transform: translateY(-15px) rotate(3deg); }
}

@keyframes emojiSpin {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.1); }
    50% { transform: rotate(180deg) scale(1); }
    75% { transform: rotate(270deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes emojiBounce {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.2); }
}

@keyframes imageFloat {
    0%, 100% { 
        transform: translateY(0px) rotateZ(0deg);
    }
    25% { 
        transform: translateY(-5px) rotateZ(1deg);
    }
    50% { 
        transform: translateY(-8px) rotateZ(0deg);
    }
    75% { 
        transform: translateY(-3px) rotateZ(-1deg);
    }
}

/* COLORFUL PRODUCT CARDS - UNIQUE THEMES FOR EACH PRODUCT */

/* 1. Turmeric - Golden/Orange Theme */
.product-card:nth-child(1) {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #92400e 100%) !important;
    border: 2px solid rgba(245, 158, 11, 0.4) !important;
    animation-delay: 0s;
}

.product-card:nth-child(1):hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%) !important;
    box-shadow: 
        0 40px 80px rgba(245, 158, 11, 0.4),
        0 0 0 1px rgba(245, 158, 11, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 50px rgba(245, 158, 11, 0.5) !important;
    transform: translateY(-8px) !important;
}

/* 2. Ashwagandha - Forest Green Theme */
.product-card:nth-child(2) {
    background: linear-gradient(135deg, #059669 0%, #047857 50%, #065f46 100%) !important;
    border: 2px solid rgba(5, 150, 105, 0.4) !important;
    animation-delay: 0.5s;
}

.product-card:nth-child(2):hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%) !important;
    box-shadow: 
        0 40px 80px rgba(5, 150, 105, 0.4),
        0 0 0 1px rgba(5, 150, 105, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 50px rgba(5, 150, 105, 0.5) !important;
    transform: translateY(-8px) !important;
}

/* 3. Moringa - Bright Green Theme */
.product-card:nth-child(3) {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%) !important;
    border: 2px solid rgba(34, 197, 94, 0.4) !important;
    animation-delay: 1s;
}

.product-card:nth-child(3):hover {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #16a34a 100%) !important;
    box-shadow: 
        0 40px 80px rgba(34, 197, 94, 0.4),
        0 0 0 1px rgba(34, 197, 94, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 50px rgba(34, 197, 94, 0.5) !important;
    transform: translateY(-8px) !important;
}

/* 4. Neem - Dark Green Theme */
.product-card:nth-child(4) {
    background: linear-gradient(135deg, #166534 0%, #14532d 50%, #052e16 100%) !important;
    border: 2px solid rgba(22, 101, 52, 0.4) !important;
    animation-delay: 1.5s;
}

.product-card:nth-child(4):hover {
    background: linear-gradient(135deg, #15803d 0%, #166534 50%, #14532d 100%) !important;
    box-shadow: 
        0 40px 80px rgba(22, 101, 52, 0.4),
        0 0 0 1px rgba(22, 101, 52, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 50px rgba(22, 101, 52, 0.5) !important;
    transform: translateY(-8px) !important;
}

/* 5. Spirulina - Blue-Green Theme */
.product-card:nth-child(5) {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 50%, #164e63 100%) !important;
    border: 2px solid rgba(8, 145, 178, 0.4) !important;
    animation-delay: 2s;
}

.product-card:nth-child(5):hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #0891b2 50%, #0e7490 100%) !important;
    box-shadow: 
        0 40px 80px rgba(8, 145, 178, 0.4),
        0 0 0 1px rgba(8, 145, 178, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 50px rgba(8, 145, 178, 0.5) !important;
    transform: translateY(-8px) !important;
}

/* 6. Tulsi - Purple Theme */
.product-card:nth-child(6) {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 50%, #5b21b6 100%) !important;
    border: 2px solid rgba(124, 58, 237, 0.4) !important;
    animation-delay: 2.5s;
}

.product-card:nth-child(6):hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%) !important;
    box-shadow: 
        0 40px 80px rgba(124, 58, 237, 0.4),
        0 0 0 1px rgba(124, 58, 237, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 50px rgba(124, 58, 237, 0.5) !important;
    transform: translateY(-8px) !important;
}

/* 7. Ginger - Warm Orange Theme */
.product-card:nth-child(7) {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 50%, #b91c1c 100%) !important;
    border: 2px solid rgba(234, 88, 12, 0.4) !important;
    animation-delay: 3s;
}

.product-card:nth-child(7):hover {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #dc2626 100%) !important;
    box-shadow: 
        0 40px 80px rgba(234, 88, 12, 0.4),
        0 0 0 1px rgba(234, 88, 12, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 50px rgba(234, 88, 12, 0.5) !important;
    transform: translateY(-8px) !important;
}

/* 8. Beetroot - Pink/Red Theme */
.product-card:nth-child(8) {
    background: linear-gradient(135deg, #e11d48 0%, #be185d 50%, #9f1239 100%) !important;
    border: 2px solid rgba(225, 29, 72, 0.4) !important;
}

.product-card:nth-child(8):hover {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 50%, #be185d 100%) !important;
    box-shadow: 
        0 40px 80px rgba(225, 29, 72, 0.4),
        0 0 0 1px rgba(225, 29, 72, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 50px rgba(225, 29, 72, 0.5) !important;
    transform: translateY(-8px) !important;
}

/* Additional colorful product cards styling */

/* 9. Red Chilli - Bright Red Theme */
.product-card:nth-child(9) {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%) !important;
    border: 2px solid rgba(220, 38, 38, 0.4) !important;
}

.product-card:nth-child(9):hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%) !important;
    box-shadow: 
        0 40px 80px rgba(220, 38, 38, 0.4),
        0 0 0 1px rgba(220, 38, 38, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 50px rgba(220, 38, 38, 0.5) !important;
    transform: translateY(-8px) !important;
}

/* 10. Fox Nuts - Cyan Theme */
.product-card:nth-child(10) {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 50%, #155e75 100%) !important;
    border: 2px solid rgba(8, 145, 178, 0.4) !important;
}

.product-card:nth-child(10):hover {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 50%, #0e7490 100%) !important;
    box-shadow: 
        0 40px 80px rgba(8, 145, 178, 0.4),
        0 0 0 1px rgba(8, 145, 178, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 50px rgba(8, 145, 178, 0.5) !important;
    transform: translateY(-8px) !important;
}

/* 11. Natural Soap - Brown Theme */
.product-card:nth-child(11) {
    background: linear-gradient(135deg, #92400e 0%, #78350f 50%, #451a03 100%) !important;
    border: 2px solid rgba(146, 64, 14, 0.4) !important;
}

.product-card:nth-child(11):hover {
    background: linear-gradient(135deg, #a16207 0%, #92400e 50%, #78350f 100%) !important;
    box-shadow: 
        0 40px 80px rgba(146, 64, 14, 0.4),
        0 0 0 1px rgba(146, 64, 14, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 50px rgba(146, 64, 14, 0.5) !important;
    transform: translateY(-8px) !important;
}

/* 12. Herbal Spices - Amber Theme */
.product-card:nth-child(12) {
    background: linear-gradient(135deg, #d97706 0%, #b45309 50%, #92400e 100%) !important;
    border: 2px solid rgba(217, 119, 6, 0.4) !important;
}

.product-card:nth-child(12):hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%) !important;
    box-shadow: 
        0 40px 80px rgba(217, 119, 6, 0.4),
        0 0 0 1px rgba(217, 119, 6, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 50px rgba(217, 119, 6, 0.5) !important;
    transform: translateY(-8px) !important;
}

.product-card::before {
    content: '✨';
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 1rem;
    opacity: 0;
    animation: sparkle 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 10;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: var(--transition);
    z-index: 1;
}

.product-card:hover::after {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-25px) rotateX(8deg) rotateY(8deg) scale(1.08);
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.3),
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 0 0 2px rgba(255, 255, 255, 0.2),
        inset 0 3px 0 rgba(255, 255, 255, 0.4),
        0 0 80px rgba(139, 92, 246, 0.6),
        0 0 120px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    animation-play-state: paused;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover::after {
    opacity: 0.6;
}

.product-card:hover .product-image {
    transform: scale(1.1) rotateY(10deg);
}

.product-card:hover .product-image img {
    transform: scale(1.2);
    filter: brightness(1.1) saturate(1.2);
}

.product-card:hover h3 {
    transform: translateY(-5px);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.product-card:hover .product-features {
    transform: translateY(-10px);
}

/* Modern emoji styling for product cards */
.product-card .product-image::before {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.8rem;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: gentleFloat 4s ease-in-out infinite;
}

.product-card:nth-child(9) .product-image::before {
    content: '🌶️';
}

.product-card:nth-child(10) .product-image::before {
    content: '🧼';
}

.product-card:nth-child(11) .product-image::before {
    content: '🌿';
}

.product-card:nth-child(12) .product-image::before {
    content: '🥜';
}

/* Gentle float animation for emojis */
@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(2deg);
    }
}

.product-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* ULTRA-BULLETPROOF PRODUCT CARD TYPOGRAPHY - MAXIMUM SPECIFICITY */
.products .product-card h3,
.product-card h3,
#products .product-card h3,
section.products .product-card h3,
.products-grid .product-card h3 {
    margin-bottom: 1.2rem !important;
    color: #ffffff !important;
    background: none !important;
    background-color: transparent !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 1.9rem !important;
    font-weight: 700 !important;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(0, 0, 0, 0.3) !important;
    font-family: 'Inter', var(--font-heading), -apple-system, BlinkMacSystemFont, sans-serif !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    letter-spacing: 0.5px !important;
    line-height: 1.3 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}

.products .product-card p,
.product-card p,
#products .product-card p,
section.products .product-card p,
.products-grid .product-card p {
    margin-bottom: 2rem !important;
    font-size: 1.1rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
    background: none !important;
    background-color: transparent !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(0, 0, 0, 0.6),
        0 0 15px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    letter-spacing: 0.3px !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.product-features .feature {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

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

.product-features .feature:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-features .feature:hover::before {
    left: 100%;
}

.product-image {
    width: 100%;
    height: 240px;
    margin-bottom: 2.5rem;
    overflow: hidden;
    border-radius: 25px;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.15),
        0 8px 18px rgba(0, 0, 0, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        0 0 40px rgba(255, 255, 255, 0.2);
    animation: imageFloat 5s ease-in-out infinite;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(139, 92, 246, 0.1), 
        rgba(236, 72, 153, 0.1), 
        rgba(59, 130, 246, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.product-image:hover::before {
    opacity: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 18px;
    filter: brightness(1.05) contrast(1.1);
}

/* Special styling for soap product images to prevent cropping */
#soap .product-image img {
    object-fit: contain;
    object-position: center;
    background: #f8f9fa;
    padding: 10px;
}

/* Soap product card styling */
.product-card .soap-image {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%) !important;
    border: 2px solid #26c6da !important;
    box-shadow: 0 4px 15px rgba(38, 198, 218, 0.3) !important;
}

/* Soap product card (11th card) - align with existing nth-child styling */
.product-card:nth-child(11),
.product-card:has(.soap-image),
#soap.product-card {
    border-color: rgba(141, 110, 99, 0.3);
    background: rgba(141, 110, 99, 0.05);
}

.product-card:nth-child(11):hover,
.product-card:has(.soap-image):hover,
#soap.product-card:hover {
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(141, 110, 99, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 50px rgba(141, 110, 99, 0.4);
}

/* Herbal spices product card (12th card) - align with existing nth-child styling */
.product-card:nth-child(12),
.product-card:has(img[alt*="Herbal Spices"]),
#herbal-spices.product-card {
    border-color: rgba(255, 143, 0, 0.3);
    background: rgba(255, 143, 0, 0.05);
}

.product-card:nth-child(12):hover,
.product-card:has(img[alt*="Herbal Spices"]):hover,
#herbal-spices.product-card:hover {
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 143, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 50px rgba(255, 143, 0, 0.4);
}

/* Standardized button styling for all product cards */
.product-card .btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 1rem;
    min-width: 140px;
    border: 2px solid transparent;
}

.product-card .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.product-card .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Removed special button styling for soap and herbal spices cards - now using standard product card styling */

.soap-image img {
    object-fit: contain;
    object-position: center;
    background: #f8f9fa;
    padding: 10px;
}

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

.product-features {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.feature {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(45, 80, 22, 0.3);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 80, 22, 0.4);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text > p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-item h4 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

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

/* Blog Section */
.blog {
    padding: 3rem 0 6rem;
    background: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    border: 3px solid transparent;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Blog Post Styles */
.blog-post {
    padding: 8rem 0 4rem;
    background: var(--bg-white);
    min-height: 100vh;
    font-family: var(--font-primary);
}

/* Blog post container fix for fixed navbar */
.blog-post-container {
    padding-top: 120px !important; /* Account for 80px navbar + extra spacing */
}

body {
    padding-top: 100px; /* Account for fixed navbar */
}

/* Fix for blog post specific styles */
.blog-post-header h1 {
    color: #1a1a1a !important;
    font-weight: 800 !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.blog-post-content h2,
.blog-post-content h3 {
    color: #1a1a1a !important;
    font-weight: 700 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.blog-post-content p,
.blog-post-content li {
    color: #333333 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.blog-post .container {
    max-width: 900px;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-light);
}

.blog-header h1 {
    font-size: 3rem;
    color: #1a1a1a !important; /* Ensure dark, visible text */
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 800;
    font-family: var(--font-heading);
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    opacity: 1 !important;
    visibility: visible !important;
}

.blog-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
}

.blog-meta .date,
.blog-meta .author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-content {
    font-family: var(--font-primary);
    line-height: 1.8;
    color: var(--text-dark);
}

.blog-content h2 {
    font-size: 2.2rem;
    color: #1a1a1a !important; /* Ensure dark, visible text */
    margin: 2.5rem 0 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1.3;
    word-wrap: break-word;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    opacity: 1 !important;
    visibility: visible !important;
}

.blog-content h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1.4;
    word-wrap: break-word;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.blog-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #333333 !important; /* Ensure readable text color */
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-weight: 400;
    opacity: 1 !important;
    visibility: visible !important;
}

.blog-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-content ul li {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
    color: var(--text-light);
    word-wrap: break-word;
}

.blog-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

.featured-image {
    margin-bottom: 2rem;
    text-align: center;
}

.featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.content-image {
    text-align: center;
    margin: 2rem 0;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
}

.cta-section {
    background: var(--bg-gradient-primary);
    color: var(--text-white);
    padding: 3rem;
    border-radius: var(--border-radius-large);
    text-align: center;
    margin-top: 3rem;
}

.cta-section h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: var(--text-white);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Individual Blog Card Colors */
.blog-card:nth-child(1) {
    border-color: #ff6b6b;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.2);
}

.blog-card:nth-child(2) {
    border-color: #4ecdc4;
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.2);
}

.blog-card:nth-child(3) {
    border-color: #45b7d1;
    box-shadow: 0 8px 25px rgba(69, 183, 209, 0.2);
}

.blog-card:nth-child(4) {
    border-color: #f9ca24;
    box-shadow: 0 8px 25px rgba(249, 202, 36, 0.2);
}

.blog-card:nth-child(5) {
    border-color: #6c5ce7;
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.2);
}

.blog-card:nth-child(6) {
    border-color: #a29bfe;
    box-shadow: 0 8px 25px rgba(162, 155, 254, 0.2);
}

.blog-card:nth-child(7) {
    border-color: #fd79a8;
    box-shadow: 0 8px 25px rgba(253, 121, 168, 0.2);
}

.blog-card:nth-child(8) {
    border-color: #00b894;
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.2);
}

.blog-card:nth-child(9) {
    border-color: #e17055;
    box-shadow: 0 8px 25px rgba(225, 112, 85, 0.2);
}

.blog-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-heavy);
    border-width: 4px;
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
}

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

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

.blog-category {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.8rem;
}

.blog-date {
    color: var(--text-light);
    font-weight: 500;
}

.blog-content h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: none;
    font-family: var(--font-heading);
    line-height: 1.3;
}

.blog-content p {
    color: #333333;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    font-weight: 500;
    text-shadow: none;
    flex-grow: 1;
}

.blog-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: auto;
    text-shadow: none;
}

.blog-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* FAQ Section with Theme Support */
.faq {
    padding: 5rem 0;
    background: var(--bg-primary, var(--bg-light));
}

.faq-content {
    margin-top: 3rem;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h3 {
    color: var(--text-primary, var(--text-dark)) !important;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.faq-category h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.faq-grid {
    display: grid;
    gap: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-secondary, var(--bg-white));
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary, var(--bg-white));
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-primary, var(--bg-light));
}

.faq-question h4 {
    color: var(--text-primary, var(--text-dark)) !important;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition);
    min-width: 20px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--bg-primary, var(--bg-light));
}

.faq-item.active .faq-answer {
    padding: 1.25rem 2rem 2rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-primary, var(--text-light)) !important;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 1rem 0;
    padding-left: 1.25rem;
}

.faq-answer li {
    color: var(--text-primary, var(--text-light)) !important;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.faq-answer strong {
    color: var(--text-primary, var(--text-dark)) !important;
    font-weight: 600;
}

/* FAQ Theme-specific styles */
@media (prefers-color-scheme: dark) {
    .faq {
        background: var(--bg-primary, #1a1a1a);
    }
    
    .faq-category h3 {
        color: var(--text-primary, #ffffff) !important;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.1);
    }
    
    .faq-item {
        background: var(--bg-secondary, #2a2a2a);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .faq-question {
        background: var(--bg-secondary, #2a2a2a);
    }
    
    .faq-question:hover {
        background: var(--bg-primary, #333333);
    }
    
    .faq-question h4 {
        color: var(--text-primary, #ffffff) !important;
        text-shadow: 0 1px 1px rgba(255, 255, 255, 0.1);
    }
    
    .faq-answer {
        background: var(--bg-primary, #333333);
    }
    
    .faq-answer p,
    .faq-answer li {
        color: var(--text-primary, #ffffff) !important;
        text-shadow: 0 1px 1px rgba(255, 255, 255, 0.05);
    }
    
    .faq-answer strong {
        color: var(--text-primary, #ffffff) !important;
    }
}

@media (prefers-contrast: high) {
    .faq-category h3 {
        color: var(--text-contrast, #000000) !important;
        text-shadow: none;
        font-weight: 800;
    }
    
    .faq-question h4 {
        color: var(--text-contrast, #000000) !important;
        text-shadow: none;
        font-weight: 700;
    }
    
    .faq-answer p,
    .faq-answer li {
        color: var(--text-contrast, #000000) !important;
        text-shadow: none;
        font-weight: 500;
    }
    
    .faq-answer strong {
        color: var(--text-contrast, #000000) !important;
        font-weight: 700;
    }
    
    .faq-item {
        border: 2px solid #000000;
    }
}

@media (forced-colors: active) {
    .faq-category h3 {
        color: CanvasText !important;
        forced-color-adjust: none;
    }
    
    .faq-question h4 {
        color: CanvasText !important;
        forced-color-adjust: none;
    }
    
    .faq-answer p,
    .faq-answer li,
    .faq-answer strong {
        color: CanvasText !important;
        forced-color-adjust: none;
    }
    
    .faq-item {
        background: Canvas !important;
        border: 1px solid CanvasText !important;
    }
    
    .faq-question {
        background: Canvas !important;
    }
    
    .faq-answer {
        background: Canvas !important;
    }
}

.visual-element {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    animation: rotate 20s linear infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    animation: rotate 15s linear infinite reverse;
}

.circle-3 {
    width: 100px;
    height: 100px;
    background: var(--accent-color);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-height: 80px;
    padding: 1rem 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 5px;
}

.contact-item h4 {
    margin: 0 0 0.5rem 0;
    color: #000000 !important;
    font-weight: 600;
    text-shadow: none;
    line-height: 1.3;
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0;
    color: #000000 !important;
    font-weight: 500;
    font-size: 1rem;
    text-shadow: none;
    line-height: 1.5;
}

.contact-item p:not(:has(br)) {
    white-space: nowrap;
}

.contact-item > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    padding-top: 5px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form input,
.form textarea {
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.form input:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

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

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: var(--text-white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--primary-color);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

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

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    position: relative;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 1px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.3rem 0;
    display: block;
    font-weight: 500;
}

.footer-section ul li a:hover {
    color: var(--text-white);
    transform: translateX(5px);
    text-decoration: underline;
    font-weight: 600;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-info p {
    color: var(--text-white);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.footer-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-color));
    border-radius: 22px;
    z-index: -1;
    opacity: 0.3;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-logo img {
    width: auto;
    height: 120px;
    max-width: 350px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1rem;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.2);
    transform-origin: center;
    
    /* DECORATIVE FRAME WITH CORNER DESIGN */
    border: 4px solid rgba(74, 124, 89, 0.7);
    border-radius: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 0 30px rgba(74, 124, 89, 0.5),
        0 0 60px rgba(74, 124, 89, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: visible;
    
    /* FOOTER LOGO ANIMATIONS WITH FANCY RAINBOW BORDER */
    animation: logoFloat 5s ease-in-out infinite, logoFrameGlow 4s ease-in-out infinite, fancyRainbowBorder 4s linear infinite, fancyRainbowGlow 4s linear infinite;
}

/* DECORATIVE CORNER ELEMENTS FOR FOOTER LOGO */
.footer-logo img::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    width: 30px;
    height: 30px;
    border-top: 5px solid rgba(244, 162, 97, 0.9);
    border-left: 5px solid rgba(244, 162, 97, 0.9);
    border-radius: 12px 0 0 0;
    background: radial-gradient(circle at top left, rgba(244, 162, 97, 0.3), transparent 70%);
    animation: cornerGlow 3s ease-in-out infinite;
    z-index: 2;
}

.footer-logo img::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 30px;
    height: 30px;
    border-bottom: 5px solid rgba(244, 162, 97, 0.9);
    border-right: 5px solid rgba(244, 162, 97, 0.9);
    border-radius: 0 0 12px 0;
    background: radial-gradient(circle at bottom right, rgba(244, 162, 97, 0.3), transparent 70%);
    animation: cornerGlow 3s ease-in-out infinite 1.5s;
    z-index: 2;
}

/* ADDITIONAL CORNER ACCENTS FOR FOOTER */
.footer-logo::before {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 16px;
    height: 16px;
    background: rgba(6, 214, 160, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(6, 214, 160, 0.5);
    animation: cornerGlow 2.5s ease-in-out infinite 0.5s;
    z-index: 3;
}

.footer-logo::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: -8px;
    width: 16px;
    height: 16px;
    background: rgba(6, 214, 160, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(6, 214, 160, 0.5);
    animation: cornerGlow 2.5s ease-in-out infinite 2s;
    z-index: 3;
}

.footer-logo img:hover {
    transform: scale(1.08);
    filter: brightness(1.4) contrast(1.4) drop-shadow(0 8px 16px rgba(74, 124, 89, 0.5));
    border-color: rgba(74, 124, 89, 1);
    box-shadow: 
        0 0 50px rgba(74, 124, 89, 0.7),
        0 0 100px rgba(74, 124, 89, 0.4),
        inset 0 0 40px rgba(255, 255, 255, 0.25),
        0 12px 35px rgba(0, 0, 0, 0.4);
    animation: logoFloat 5s ease-in-out infinite, logoFrameGlow 4s ease-in-out infinite, logoFramePulse 0.8s ease-in-out infinite, fancyRainbowBorder 2.5s linear infinite, fancyRainbowGlow 2.5s linear infinite;
}

.footer-logo h3 {
    color: var(--text-white);
    margin: 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-logo p {
    color: var(--text-white);
    margin: 0.25rem 0;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-links,
.footer-products,
.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-links h3,
.footer-products h3,
.footer-contact h3 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after,
.footer-products h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 1px;
}

.footer-links ul,
.footer-products ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
}

.footer-links a,
.footer-products a {
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.3rem 0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.footer-links a::before,
.footer-products a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.footer-links a:hover,
.footer-products a:hover {
    color: var(--text-white);
    transform: translateX(5px);
}

.footer-links a:hover::before,
.footer-products a:hover::before {
    width: 100%;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-white);
    padding: 0.5rem 0;
}

.footer-contact ul li i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.footer-contact ul li a {
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact ul li a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    color: var(--text-white);
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-links a:hover::before {
    left: 100%;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-bottom p {
    color: var(--text-white);
    margin: 0;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* Visitor Counter Tab */
.visitor-counter-tab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 25%, #45b7d1 50%, #96ceb4 75%, #ffeaa7 100%);
    background-size: 300% 300%;
    animation: gradientAnimation 4s ease infinite;
    border-radius: 25px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    user-select: none;
    min-width: 140px;
}

.visitor-counter-tab:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2), 0 6px 15px rgba(0, 0, 0, 0.15);
    animation-duration: 2s;
}

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

.visitor-icon {
    font-size: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-3px); }
    60% { transform: translateY(-2px); }
}

.visitor-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.visitor-label {
    font-size: 11px;
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1px;
}

.visitor-count {
    font-size: 16px;
    font-weight: 800;
    color: #000000;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
    font-family: 'Inter', monospace;
}

/* Responsive Design for Visitor Counter */
@media (max-width: 768px) {
    .visitor-counter-tab {
        bottom: 15px;
        right: 15px;
        padding: 10px 14px;
        min-width: 120px;
    }
    
    .visitor-icon {
        font-size: 18px;
    }
    
    .visitor-label {
        font-size: 10px;
    }
    
    .visitor-count {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .visitor-counter-tab {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
        min-width: 100px;
    }
    
    .visitor-icon {
        font-size: 16px;
    }
    
    .visitor-label {
        font-size: 9px;
    }
    
    .visitor-count {
        font-size: 13px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed !important;
        top: 120px !important;
        left: -100% !important;
        width: 100% !important;
        height: calc(100vh - 120px) !important;
        background: linear-gradient(135deg, #000000 0%, #1a1a00 50%, #333300 100%) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding: 3rem 2rem !important;
        transition: left 0.3s ease !important;
        z-index: 1001 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8) !important;
        visibility: visible !important;
        opacity: 1 !important;
        overflow-y: auto !important;
        border-left: 4px solid #ffff00 !important;
    }
    
    .nav-menu.active {
        left: 0 !important;
        transform: translateX(0) !important;
        background: linear-gradient(135deg, #000000 0%, #1a1a00 50%, #333300 100%) !important;
        border: 3px solid #ffff00 !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8) !important;
    }
    
    .nav-menu.active {
        left: 0 !important;
        transform: translateX(0) !important;
    }
    
    /* Fallback for menu visibility */
    .nav-menu.active {
        animation: slideInFromLeft 0.3s ease-out forwards !important;
    }
    
    @keyframes slideInFromLeft {
        from {
            left: -100% !important;
            transform: translateX(-100%) !important;
        }
        to {
            left: 0 !important;
            transform: translateX(0) !important;
        }
    }
    
    .nav-menu li {
        margin: 0.8rem 0 !important;
        width: 90% !important;
        text-align: center !important;
        list-style: none !important;
        display: block !important;
        padding: 0 !important;
        background: linear-gradient(135deg, #1a1a00 0%, #333300 100%) !important;
        border: 2px solid #ffff00 !important;
        border-radius: 12px !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: 0 2px 8px rgba(255, 255, 0, 0.3) !important;
    }
    
    .nav-link {
        font-size: 1.3rem !important;
        padding: 1.2rem 2rem !important;
        display: block !important;
        width: 100% !important;
        border-radius: 10px !important;
        transition: all 0.3s ease !important;
        color: #ffff00 !important;
        text-decoration: none !important;
        font-weight: 700 !important;
        background: transparent !important;
        border: none !important;
        text-align: center !important;
        line-height: 1.4 !important;
        letter-spacing: 0.5px !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
    }
    
    .nav-link:hover {
        background: linear-gradient(135deg, #ffff00 0%, #ffd700 100%) !important;
        color: #000000 !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 4px 12px rgba(255, 255, 0, 0.5) !important;
        text-shadow: none !important;
    }
    
    .nav-link:active {
        background: #ffd700 !important;
        color: #000000 !important;
        transform: translateY(-1px) !important;
        text-shadow: none !important;
    }
    
    .nav-link.active {
        background: linear-gradient(135deg, #ffff00 0%, #ffd700 100%) !important;
        color: #000000 !important;
        font-weight: 800 !important;
        text-shadow: none !important;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1002;
        position: relative;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 25px; /* Increased padding for better mobile spacing */
        overflow-x: hidden; /* Prevent horizontal overflow */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap; /* Allow stats to wrap on very small screens */
    }
    
    /* Footer Responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .blog-header h1 {
        font-size: 2.5rem;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .footer-logo h3 {
        font-size: 1.5rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
    }
    
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .blog-post {
        padding: 6rem 0 2rem;
    }
    
    .cta-section {
        padding: 2rem;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .floating-card {
        padding: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px; /* Increased from 15px for better mobile spacing */
    }
    
    .hero-container {
        padding: 0 30px; /* Extra padding for hero section on very small screens */
        gap: 1.5rem; /* Reduced gap for better spacing */
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Modern Enhancements */
.card {
    background: var(--bg-white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.card:hover::before {
    transform: scaleX(1);
}

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

/* Animated Background Elements */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 193, 7, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(76, 175, 80, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 152, 0, 0.1) 0%, transparent 70%),
        radial-gradient(circle at 20% 60%, rgba(244, 162, 97, 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

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

/* Glowing Effects */
.glow {
    position: relative;
}

.glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(20px);
    opacity: 0.3;
    z-index: -1;
    transition: var(--transition);
}

.glow:hover::after {
    opacity: 0.6;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

/* Gradient Text */
.gradient-text {
    background: var(--bg-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Product Details Image Styling */
.product-details-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

/* Special styling for soap product details images to prevent cropping */
#soap-details .product-details-image img {
    object-fit: contain;
    object-position: center;
    background: #f8f9fa;
    padding: 15px;
}

.product-details-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-heavy);
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--bg-gradient-secondary);
}

/* Selection Styling */
::selection {
    background: var(--primary-color);
    color: var(--text-white);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--text-white);
}

/* Focus Visible */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: var(--border-radius);
}

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

/* Loading Animation */
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Neon Glow */
.neon {
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 15px currentColor,
        0 0 20px currentColor;
}

/* Modern Grid */
.modern-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Colorful Borders */
.border-gradient {
    border: 2px solid;
    border-image: var(--bg-gradient-primary) 1;
    border-radius: var(--border-radius);
}

/* Enhanced Shadows */
.shadow-colorful {
    box-shadow: 
        0 4px 15px rgba(45, 80, 22, 0.1),
        0 2px 8px rgba(255, 119, 198, 0.1),
        0 1px 4px rgba(120, 219, 226, 0.1);
}

/* Blog Post Specific Styles - Additional Classes - Updated */
.blog-post {
    padding-top: 200px !important;
    min-height: 100vh;
    background: var(--bg-white);
}

/* Force override for all blog post containers */
body .blog-post {
    padding-top: 200px !important;
}

/* Fix for blog posts using main tag */
main.blog-post {
    padding-top: 200px !important;
    min-height: 100vh;
    background: var(--bg-white);
}

/* Fix for blog posts using section tag */
section.blog-post {
    padding-top: 200px !important;
    min-height: 100vh;
    background: var(--bg-white);
}

/* Additional fix for any blog content that might be hidden */
.blog-post h1,
.blog-post h2,
.blog-post h3,
.blog-post h4,
.blog-post h5,
.blog-post h6,
.blog-post p,
.blog-post li,
.blog-post span,
.blog-post div {
    color: #1a1a1a !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.blog-post .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.blog-post article {
    background: var(--bg-white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.blog-post .blog-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    text-align: center;
}

.blog-post .blog-header h1 {
    color: #ffffff !important;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none;
}

.blog-post .blog-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.blog-post .blog-content {
    padding: 2rem;
    line-height: 1.8;
    color: #1a1a1a !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.blog-post .blog-content h2 {
    color: #1a1a1a !important;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    opacity: 1 !important;
    visibility: visible !important;
}

.blog-post .blog-content h3 {
    color: #333333 !important;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
    opacity: 1 !important;
    visibility: visible !important;
}

.blog-post .blog-content h4 {
    color: #333333 !important;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem 0;
    opacity: 1 !important;
    visibility: visible !important;
}

.blog-post .blog-content p {
    color: #1a1a1a !important;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
    opacity: 1 !important;
    visibility: visible !important;
}

.blog-post .blog-content ul,
.blog-post .blog-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
    color: #1a1a1a !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.blog-post .blog-content li {
    color: #1a1a1a !important;
    margin-bottom: 0.5rem;
    line-height: 1.7;
    opacity: 1 !important;
    visibility: visible !important;
}

.blog-post .blog-content strong {
    color: #1a1a1a !important;
    font-weight: 600;
    opacity: 1 !important;
    visibility: visible !important;
}

.blog-post .featured-image,
.blog-post .content-image {
    margin: 2rem 0;
    text-align: center;
}

.blog-post .featured-image img,
.blog-post .content-image img,
.blog-post .blog-featured-img,
.blog-post .blog-content-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.blog-post .featured-image img:hover,
.blog-post .content-image img:hover,
.blog-post .blog-featured-img:hover,
.blog-post .blog-content-img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-heavy);
}

/* Responsive Typography */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Blog Featured Image Styling */
.blog-featured-image {
    max-width: 100% !important;
    height: 400px !important;
    object-fit: cover !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    margin: 2rem 0 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* Special styling for soap blog images to prevent cropping */
.blog-featured-image.soap-image {
    object-fit: contain !important;
    object-position: center !important;
    background: #f8f9fa !important;
    padding: 20px !important;
}

.blog-featured-image:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
}

/* Responsive adjustments for blog featured image */
@media screen and (max-width: 768px) {
    .blog-featured-image {
        height: 250px !important;
        margin: 1.5rem 0 !important;
    }
}

@media screen and (max-width: 480px) {
    .blog-featured-image {
        height: 200px !important;
        border-radius: 10px !important;
    }
}

/* Enhanced Blog Author Section - Colorful Contact Tabs */
.blog-author {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 20px !important;
    padding: 40px !important;
    margin: 50px 0 !important;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3) !important;
    border: none !important;
    position: relative;
    overflow: hidden;
}

.blog-author::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    pointer-events: none;
}

.blog-author-image {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    border: 4px solid rgba(255,255,255,0.3) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2) !important;
    transition: transform 0.3s ease !important;
}

.blog-author-image:hover {
    transform: scale(1.1) rotate(5deg) !important;
}

.blog-author-info {
    flex: 1;
    position: relative;
    z-index: 2;
}

.blog-author-info h4 {
    color: #ffffff !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    font-family: var(--font-heading) !important;
}

.blog-author-info p {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
    margin-bottom: 25px !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
}

/* Enhanced Contact Button - Colorful Tab Style */
.blog-author .btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%) !important;
    color: #ffffff !important;
    padding: 15px 30px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4) !important;
    border: none !important;
}

/* Contact Page Text Visibility Fixes */
.contact-text h4,
.contact-text p,
.business-hours ul li,
.business-hours h3,
.social-connect h3,
.contact-info h3,
.form-group label {
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7) !important;
}

/* Ensure contact form labels and text are visible */
.contact-form h3,
.contact-info h3 {
    color: #ffffff !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8) !important;
}

/* Override any remaining black text in contact sections */
.contact-section h4,
.contact-section p,
.contact-section label,
.contact-section li {
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6) !important;
}

/* Hero section stat labels visibility */
.stat-label {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7) !important;
}

/* Hero section text visibility fixes - Light Yellow-White and Golden theme */
.hero-content h1,
.hero-title {
    color: #fffbeb !important;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8), 
        0 0 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 251, 235, 0.3) !important;
    font-weight: 700 !important;
}

.hero-content p,
.hero-description {
    color: #228B22 !important;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.6) !important;
    font-weight: 600 !important;
}

/* FAQ section text visibility fixes */
.faq .section-header h2 {
    color: #1a1a1a !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #1a1a1a !important;
    background-clip: unset !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.faq .section-header p {
    color: #333333 !important;
    text-shadow: none !important;
    font-weight: 500 !important;
}

.blog-author .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 ease;
}

.blog-author .btn:hover::before {
    left: 100%;
}

.blog-author .btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 12px 30px rgba(255, 107, 107, 0.6) !important;
    background: linear-gradient(135deg, #ee5a24 0%, #ff6b6b 100%) !important;
}

.blog-author .btn::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.blog-author .btn:hover::after {
    transform: translateX(5px);
}

/* Alternative colorful author sections for variety */
.blog-author:nth-of-type(even) {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%) !important;
    box-shadow: 0 15px 35px rgba(78, 205, 196, 0.3) !important;
}

.blog-author:nth-of-type(3n) {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%) !important;
    box-shadow: 0 15px 35px rgba(168, 237, 234, 0.3) !important;
}

.blog-author:nth-of-type(4n) {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%) !important;
    box-shadow: 0 15px 35px rgba(252, 182, 159, 0.3) !important;
}

.blog-author:nth-of-type(5n) {
    background: linear-gradient(135deg, #a8caba 0%, #5d4e75 100%) !important;
    box-shadow: 0 15px 35px rgba(168, 202, 186, 0.3) !important;
}

/* Standardized Blog Typography */
.blog-post-content,
.blog-content {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    line-height: 1.8 !important;
    color: #2c3e50 !important;
}

.blog-post-content h1,
.blog-content h1,
.blog-header h1 {
    font-family: 'Poppins', 'Arial', sans-serif !important;
    font-size: 3.2rem !important;
    font-weight: 800 !important;
    color: #2c3e50 !important;
    line-height: 1.2 !important;
    margin-bottom: 2rem !important;
    text-shadow: none !important;
}

.blog-post-content h2,
.blog-content h2 {
    font-family: 'Poppins', 'Arial', sans-serif !important;
    font-size: 2.4rem !important;
    font-weight: 700 !important;
    color: #34495e !important;
    margin: 3rem 0 1.5rem 0 !important;
    padding-bottom: 0.8rem !important;
    border-bottom: 3px solid #3498db !important;
    position: relative !important;
}

.blog-post-content h2::before,
.blog-content h2::before {
    content: '📋';
    margin-right: 10px;
    font-size: 0.8em;
}

.blog-post-content h3,
.blog-content h3 {
    font-family: 'Poppins', 'Arial', sans-serif !important;
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    margin: 2.5rem 0 1rem 0 !important;
    position: relative !important;
}

.blog-post-content h3::before,
.blog-content h3::before {
    content: '▶';
    color: #e74c3c;
    margin-right: 8px;
    font-size: 0.7em;
}

.blog-post-content h4,
.blog-content h4 {
    font-family: 'Poppins', 'Arial', sans-serif !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    color: #34495e !important;
    margin: 2rem 0 0.8rem 0 !important;
}

.blog-post-content p,
.blog-content p {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    color: #2c3e50 !important;
    margin-bottom: 1.5rem !important;
    text-align: justify !important;
}

.blog-post-content ul,
.blog-content ul,
.blog-post-content ol,
.blog-content ol {
    margin: 1.5rem 0 !important;
    padding-left: 2.5rem !important;
}

.blog-post-content li,
.blog-content li {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    color: #34495e !important;
    margin-bottom: 0.8rem !important;
    position: relative !important;
}

.blog-post-content ul li::before,
.blog-content ul li::before {
    content: '✓';
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

.blog-post-content strong,
.blog-content strong {
    color: #e74c3c !important;
    font-weight: 700 !important;
}

/* Enhanced highlight boxes */
.highlight-box {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%) !important;
    color: #ffffff !important;
    padding: 30px !important;
    border-radius: 15px !important;
    margin: 30px 0 !important;
    box-shadow: 0 10px 25px rgba(116, 185, 255, 0.3) !important;
    border-left: 5px solid #ffffff !important;
}

.highlight-box h4 {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    margin-bottom: 15px !important;
    font-weight: 600 !important;
}

.highlight-box p,
.highlight-box li {
    color: rgba(255,255,255,0.95) !important;
}

.highlight-box ul li::before {
    content: '⭐';
    color: #ffeaa7;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .blog-author {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 30px 20px !important;
    }
    
    .blog-author-image {
        margin-bottom: 20px !important;
    }
    
    .blog-post-content h1,
    .blog-content h1,
    .blog-header h1 {
        font-size: 2.5rem !important;
    }
    
    .blog-post-content h2,
    .blog-content h2 {
        font-size: 2rem !important;
    }
}

/* Colorful Blog Filter Tabs */
.blog-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid transparent;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 1rem;
    color: #495057;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

/* Individual Filter Button Colors */
.filter-btn[data-filter="all"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.filter-btn[data-filter="all"]:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}

.filter-btn[data-filter="medicinal"] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.filter-btn[data-filter="medicinal"]:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.6);
}

.filter-btn[data-filter="culinary"] {
    background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(253, 126, 20, 0.4);
}

.filter-btn[data-filter="culinary"]:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(253, 126, 20, 0.6);
}

.filter-btn[data-filter="nutritional"] {
    background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.4);
}

.filter-btn[data-filter="nutritional"]:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(111, 66, 193, 0.6);
}

.filter-btn[data-filter="export"] {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.4);
}

.filter-btn[data-filter="export"]:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(240, 147, 251, 0.6);
}

.filter-btn[data-filter="benefits"] {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

.filter-btn[data-filter="benefits"]:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(79, 172, 254, 0.6);
}

/* Active State for All Filter Buttons */
.filter-btn.active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.filter-btn[data-filter="all"].active {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 10px 30px rgba(118, 75, 162, 0.5);
}

.filter-btn[data-filter="medicinal"].active {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
    box-shadow: 0 10px 30px rgba(32, 201, 151, 0.5);
}

.filter-btn[data-filter="culinary"].active {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.5);
}

.filter-btn[data-filter="nutritional"].active {
    background: linear-gradient(135deg, #e83e8c 0%, #6f42c1 100%);
    box-shadow: 0 10px 30px rgba(232, 62, 140, 0.5);
}

.filter-btn[data-filter="export"].active {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.5);
}

.filter-btn[data-filter="benefits"].active {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.5);
}

/* Add sparkle animation for active buttons */
.filter-btn.active::after {
    content: '✨';
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.8rem;
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.7; transform: scale(1.2) rotate(180deg); }
}

/* Responsive Design for Filter Buttons */
@media (max-width: 768px) {
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .blog-filters {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .blog-filters {
        gap: 8px;
    }
}

/* Blog Filter Hidden Class */
.blog-post.hidden {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.blog-post {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-white: #1a1a1a;
        --bg-light: #2a2a2a;
        --text-dark: #ffffff;
        --text-light: #cccccc;
        --border-light: #404040;
    }
}

/* Sitemap Styles */
.sitemap {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.sitemap-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sitemap-header {
    text-align: center;
    margin-bottom: 60px;
}

.sitemap-header h1 {
    font-size: 3rem;
    color: #2c5530;
    margin-bottom: 20px;
    font-weight: 700;
}

.sitemap-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.sitemap-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sitemap-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.sitemap-section h2 {
    color: #2c5530;
    font-size: 1.5rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.sitemap-section h2 i {
    color: #4CAF50;
    font-size: 1.3rem;
}

.sitemap-subsection {
    margin-bottom: 30px;
}

.sitemap-subsection:last-child {
    margin-bottom: 0;
}

.sitemap-subsection h3 {
    color: #2c5530;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
}

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

.sitemap-list li {
    margin-bottom: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.sitemap-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.sitemap-list li:hover {
    background: #f8f9fa;
    padding-left: 10px;
    border-radius: 8px;
}

.sitemap-list a {
    color: #2c5530;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.sitemap-list a:hover {
    color: #4CAF50;
}

.page-desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    display: block;
}

.sitemap-footer {
    text-align: center;
    padding: 40px 0;
    border-top: 2px solid #e9ecef;
    margin-top: 60px;
}

.sitemap-footer h3 {
    color: #2c5530;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.sitemap-footer p {
    color: #666;
    margin-bottom: 20px;
}

.sitemap-footer a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
}

.sitemap-footer a:hover {
    text-decoration: underline;
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    display: block;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    margin-top: 5px;
}

.search-tip {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin: 40px 0;
}

.search-tip h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.search-tip p {
    margin: 0;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sitemap-header h1 {
        font-size: 2.5rem;
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sitemap-section {
        padding: 20px;
    }
    
    .sitemap-subsection h3 {
        font-size: 1.1rem;
    }
}

/* Audio controls removed for clean website */

/* ========================================
   COMPREHENSIVE BROWSER THEME SUPPORT
   ======================================== */

/* Ensure all text elements are visible in all browser themes */
* {
    /* Force color inheritance for better theme compatibility */
    color: inherit;
}

/* Override any hardcoded colors that might cause visibility issues */
.nav-link,
.nav-menu a,
.menu-item,
.header-link,
header a,
nav a {
    color: var(--text-primary, #1a1a1a) !important;
    text-decoration: none;
    font-weight: 600;
}

/* Dark theme overrides */
@media (prefers-color-scheme: dark) {
    .nav-link,
    .nav-menu a,
    .menu-item,
    .header-link,
    header a,
    nav a {
        color: var(--text-primary, #ffffff) !important;
        text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
    }
    
    /* Ensure all text is visible in dark mode */
    body, p, span, div, li, h1, h2, h3, h4, h5, h6 {
        color: var(--text-primary, #ffffff) !important;
    }
}

/* High contrast mode overrides */
@media (prefers-contrast: high) {
    .nav-link,
    .nav-menu a,
    .menu-item,
    .header-link,
    header a,
    nav a {
        color: var(--text-contrast, #000000) !important;
        font-weight: 700 !important;
        text-shadow: none !important;
    }
    
    .nav-link:hover,
    .nav-link.active {
        text-decoration: underline !important;
        background-color: var(--primary-color) !important;
        color: #ffffff !important;
    }
    
    /* High contrast text */
    body, p, span, div, li, h1, h2, h3, h4, h5, h6 {
        color: var(--text-contrast, #000000) !important;
        font-weight: 500 !important;
    }
}

/* Forced colors mode (Windows High Contrast) */
@media (forced-colors: active) {
    .nav-link,
    .nav-menu a,
    .menu-item,
    .header-link,
    header a,
    nav a {
        color: LinkText !important;
        forced-color-adjust: none;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: VisitedText !important;
        text-decoration: underline !important;
    }
    
    .navbar {
        background: ButtonFace !important;
        border-bottom: 2px solid ButtonText !important;
    }
}

/* Additional safety net for text visibility */
.text-invisible-fix {
    color: var(--text-primary, #1a1a1a) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Apply the fix to common problematic elements */
nav ul li a,
.navigation a,
.menu a,
.nav a {
    @extend .text-invisible-fix;
}

/* Ensure buttons and interactive elements are visible */
button, .btn, input[type="submit"], input[type="button"] {
    color: var(--text-primary, #1a1a1a) !important;
    background-color: var(--bg-secondary, #f8f9fa) !important;
    border: 1px solid var(--text-primary, #1a1a1a) !important;
}

@media (prefers-color-scheme: dark) {
    button, .btn, input[type="submit"], input[type="button"] {
        color: var(--text-primary, #ffffff) !important;
        background-color: var(--bg-secondary, #2a2a2a) !important;
        border: 1px solid var(--text-primary, #ffffff) !important;
    }
}

/* Form Input Visibility Fixes - About Section & All Forms */
input[type="text"], 
input[type="email"], 
input[type="tel"], 
input[type="password"], 
input[type="number"], 
input[type="url"], 
input[type="search"], 
textarea, 
select {
    color: var(--text-primary, #1a1a1a) !important;
    background-color: var(--bg-secondary, #ffffff) !important;
    border: 2px solid var(--border-light, #e5e7eb) !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-family: inherit !important;
    transition: all 0.3s ease !important;
}

input[type="text"]:focus, 
input[type="email"]:focus, 
input[type="tel"]:focus, 
input[type="password"]:focus, 
input[type="number"]:focus, 
input[type="url"]:focus, 
input[type="search"]:focus, 
textarea:focus, 
select:focus {
    outline: none !important;
    border-color: var(--primary-color, #4a7c59) !important;
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1) !important;
}

input::placeholder, 
textarea::placeholder, 
select::placeholder {
    color: var(--text-muted, #666666) !important;
    opacity: 0.7 !important;
}

/* Dark theme form inputs */
@media (prefers-color-scheme: dark) {
    input[type="text"], 
    input[type="email"], 
    input[type="tel"], 
    input[type="password"], 
    input[type="number"], 
    input[type="url"], 
    input[type="search"], 
    textarea, 
    select {
        color: var(--text-primary, #ffffff) !important;
        background-color: var(--bg-secondary, #2a2a2a) !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    input::placeholder, 
    textarea::placeholder, 
    select::placeholder {
        color: rgba(255, 255, 255, 0.6) !important;
    }
}

/* High contrast mode form inputs */
@media (prefers-contrast: high) {
    input[type="text"], 
    input[type="email"], 
    input[type="tel"], 
    input[type="password"], 
    input[type="number"], 
    input[type="url"], 
    input[type="search"], 
    textarea, 
    select {
        color: var(--text-contrast, #000000) !important;
        background-color: var(--bg-primary, #ffffff) !important;
        border: 3px solid #000000 !important;
        font-weight: 500 !important;
    }
    
    input::placeholder, 
    textarea::placeholder, 
    select::placeholder {
        color: #666666 !important;
        font-weight: 500 !important;
    }
}

/* Forced colors mode form inputs */
@media (forced-colors: active) {
    input[type="text"], 
    input[type="email"], 
    input[type="tel"], 
    input[type="password"], 
    input[type="number"], 
    input[type="url"], 
    input[type="search"], 
    textarea, 
    select {
        color: CanvasText !important;
        background-color: Canvas !important;
        border: 2px solid CanvasText !important;
        forced-color-adjust: none;
    }
    
    input::placeholder, 
    textarea::placeholder, 
    select::placeholder {
        color: GrayText !important;
    }
}

/* About section form specific fixes */
.contact-form input,
.contact-form textarea,
.form input,
.form textarea {
    color: var(--text-primary, #1a1a1a) !important;
    background-color: var(--bg-secondary, #ffffff) !important;
    border: 2px solid var(--border-light, #e5e7eb) !important;
}

@media (prefers-color-scheme: dark) {
    .contact-form input,
    .contact-form textarea,
    .form input,
    .form textarea {
        color: var(--text-primary, #ffffff) !important;
        background-color: var(--bg-secondary, #2a2a2a) !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
    }
}

/* Google Fonts Import moved to top of file for consistent loading */

/* ===== COMPLETELY NEW MOBILE NAVIGATION SYSTEM - OVERRIDE ALL ===== */

/* Hide desktop nav on mobile */
@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }
    
    /* Hide old nav-toggle */
    .nav-toggle {
        display: none !important;
    }
    
    /* Hide old nav-menu */
    .nav-menu {
        display: none !important;
    }
}

/* ===== FANCY MOBILE MENU BUTTON ===== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 60px;
    height: 60px;
    background: transparent !important;
    border: none !important;
    border-radius: 20px;
    cursor: pointer !important;
    padding: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    z-index: 9999;
    position: relative;
    overflow: hidden;
    animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 
            0 10px 30px rgba(255, 107, 107, 0.4),
            0 5px 15px rgba(78, 205, 196, 0.3),
            inset 0 2px 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 
            0 15px 40px rgba(255, 107, 107, 0.6),
            0 8px 20px rgba(78, 205, 196, 0.5),
            inset 0 2px 0 rgba(255, 255, 255, 0.6);
    }
}

.mobile-menu-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    animation: buttonShimmer 3s infinite;
    pointer-events: none;
}

@keyframes buttonShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.mobile-menu-btn:hover:not(.active) {
    background: rgba(255, 255, 0, 0.1) !important;
    transform: scale(1.05) translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 0, 0.3);
}

/* Prevent hamburger lines from transforming on hover when not active */
.mobile-menu-btn:not(.active):hover .hamburger-line:nth-child(1),
.mobile-menu-btn:not(.active):hover .hamburger-line:nth-child(2),
.mobile-menu-btn:not(.active):hover .hamburger-line:nth-child(3) {
    transform: none !important;
    opacity: 1 !important;
    background: #ffff00 !important;
}

/* Ensure hamburger lines only transform when button is active */
.mobile-menu-btn:not(.active) .hamburger-line:nth-child(1),
.mobile-menu-btn:not(.active) .hamburger-line:nth-child(2),
.mobile-menu-btn:not(.active) .hamburger-line:nth-child(3) {
    transform: none !important;
    opacity: 1 !important;
}

.mobile-menu-btn:active {
    transform: scale(1.02) translateY(0px);
    box-shadow: 0 4px 15px rgba(255, 255, 0, 0.3);
}

.mobile-menu-btn.active {
    background: rgba(255, 255, 0, 0.2) !important;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 255, 0, 0.4);
}

/* Hover state for active mobile menu button (when showing X icon) */
.mobile-menu-btn.active:hover {
    background: rgba(255, 255, 0, 0.4) !important;
    /* Using only background changes to avoid layout shifts */
    filter: brightness(1.2) saturate(1.3);
}

/* Enhanced hover effects for X icon lines */
.mobile-menu-btn.active:hover .hamburger-line:nth-child(1),
.mobile-menu-btn.active:hover .hamburger-line:nth-child(3) {
    background: linear-gradient(90deg, 
        #ff8a80 0%, 
        #ffff00 50%, 
        #ff8a80 100%) !important;
    /* Removed box-shadow to prevent content overlap */
    filter: brightness(1.3) saturate(1.2);
}

/* ===== FANCY HAMBURGER LINES ===== */
.hamburger-line {
    width: 100%;
    height: 4px;
    background: #ffff00 !important;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 8px rgba(255, 255, 0, 0.4),
        0 1px 4px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: lineGlow 2s ease-in-out infinite alternate;
}

@keyframes lineGlow {
    0% {
        box-shadow: 
            0 2px 8px rgba(255, 255, 0, 0.4),
            0 1px 4px rgba(255, 215, 0, 0.3);
    }
    100% {
        box-shadow: 
            0 4px 12px rgba(255, 255, 0, 0.6),
            0 2px 8px rgba(255, 215, 0, 0.5),
            0 0 16px rgba(255, 235, 59, 0.4);
    }
}

.hamburger-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.8), 
        transparent);
    animation: lineShimmer 2s infinite;
}

@keyframes lineShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
    background: linear-gradient(90deg, 
        #ff6b6b 0%, 
        #feca57 50%, 
        #ff9ff3 100%);
    animation: activeLineGlow 1s ease-in-out infinite alternate;
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0) rotate(180deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(10px, -10px);
    background: linear-gradient(90deg, 
        #ff6b6b 0%, 
        #feca57 50%, 
        #ff9ff3 100%);
    animation: activeLineGlow 1s ease-in-out infinite alternate;
}

@keyframes activeLineGlow {
    0% {
        box-shadow: 
            0 4px 12px rgba(255, 107, 107, 0.6),
            0 2px 8px rgba(254, 202, 87, 0.5);
    }
    100% {
        box-shadow: 
            0 6px 20px rgba(255, 107, 107, 0.8),
            0 3px 12px rgba(254, 202, 87, 0.7),
            0 0 24px rgba(255, 159, 243, 0.6);
    }
}

/* ===== FANCY MOBILE NAVIGATION OVERLAY ===== */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.8) 0%,
        rgba(51, 51, 0, 0.7) 25%,
        rgba(255, 255, 0, 0.3) 50%,
        rgba(51, 51, 0, 0.7) 75%,
        rgba(0, 0, 0, 0.8) 100%);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    /* Enhanced smooth animations */
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(0px) saturate(100%);
    animation: overlayShimmer 4s ease-in-out infinite;
    /* Initial transform for smooth entrance */
    transform: scale(1.1);
}

@keyframes overlayShimmer {
    0%, 100% {
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.8) 0%,
            rgba(51, 51, 0, 0.7) 25%,
            rgba(255, 255, 0, 0.3) 50%,
            rgba(51, 51, 0, 0.7) 75%,
            rgba(0, 0, 0, 0.8) 100%);
    }
    50% {
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.9) 0%,
            rgba(255, 255, 0, 0.4) 25%,
            rgba(255, 215, 0, 0.5) 50%,
            rgba(255, 255, 0, 0.4) 75%,
            rgba(0, 0, 0, 0.9) 100%);
    }
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
    /* Enhanced active state animations */
    backdrop-filter: blur(25px) saturate(180%);
    transform: scale(1);
}

.mobile-nav-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7) rotateY(15deg);
    width: 92%;
    max-width: 450px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.20) 100%);
    border-radius: 30px;
    box-shadow: 
        0 30px 100px rgba(255, 107, 107, 0.3),
        0 15px 50px rgba(78, 205, 196, 0.2),
        0 8px 25px rgba(69, 183, 209, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.4);
    /* Enhanced smooth container animations */
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(30px) saturate(200%);
    position: relative;
    /* Initial state for smooth entrance */
    opacity: 0;
}

.mobile-nav-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.1) 0%,
        rgba(78, 205, 196, 0.1) 25%,
        rgba(69, 183, 209, 0.1) 50%,
        rgba(150, 206, 180, 0.1) 75%,
        rgba(254, 202, 87, 0.1) 100%);
    animation: containerGlow 3s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes containerGlow {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.mobile-nav-overlay.active .mobile-nav-container {
    transform: translate(-50%, -50%) scale(1) rotateY(0deg);
    opacity: 1;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 32px;
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.9) 0%,
        rgba(78, 205, 196, 0.9) 25%,
        rgba(69, 183, 209, 0.9) 50%,
        rgba(150, 206, 180, 0.9) 75%,
        rgba(254, 202, 87, 0.9) 100%);
    color: white;
    position: relative;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
}

.mobile-nav-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    animation: headerShimmer 3s infinite;
    pointer-events: none;
}

@keyframes headerShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.mobile-nav-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.mobile-nav-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Inter', 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: white;
    font-size: 2.2rem;
    cursor: pointer;
    padding: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-weight: 300;
    line-height: 1;
}

.mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.mobile-nav-menu {
    display: grid;
    gap: 0;
    padding: 0;
    font-family: 'Inter', 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Mobile Back Button Styles */
.mobile-back-button {
    padding: 20px 32px;
    border-bottom: 3px solid rgba(255, 255, 0, 0.3);
    margin-bottom: 10px;
}

.mobile-back-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #1a202c;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 0, 0.1) 0%,
        rgba(255, 215, 0, 0.05) 50%,
        rgba(255, 255, 0, 0.1) 100%);
    border: 2px solid rgba(255, 255, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mobile-back-link:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 0, 0.2) 0%,
        rgba(255, 215, 0, 0.15) 50%,
        rgba(255, 255, 0, 0.2) 100%);
    border-color: rgba(255, 255, 0, 0.4);
    transform: translateX(-5px) scale(1.02);
    box-shadow: 
        0 4px 15px rgba(255, 255, 0, 0.3),
        0 2px 8px rgba(255, 215, 0, 0.2);
    color: #0f1419;
}

.mobile-back-link:active {
    transform: translateX(-3px) scale(0.98);
}

.mobile-back-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.mobile-back-link:hover i {
    transform: translateX(-3px);
}

.mobile-nav-link {
    /* Initial state for staggered animation */
    opacity: 0;
    transform: translateX(-30px);
    display: flex;
    align-items: center;
    padding: 25px 32px;
    text-decoration: none;
    color: rgba(26, 32, 44, 0.9);
    font-size: 1.3rem;
    font-weight: 700;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 20px;
    line-height: 1.4;
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
    /* Enhanced mobile hover preparation */
    background: linear-gradient(135deg, transparent 0%, transparent 100%);
    transform: translateX(0);
}

/* Enhanced mobile navigation hover effects */
.mobile-nav-link:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 0, 0.15) 0%,
        rgba(255, 215, 0, 0.1) 25%,
        rgba(255, 255, 0, 0.2) 50%,
        rgba(255, 215, 0, 0.1) 75%,
        rgba(255, 255, 0, 0.15) 100%) !important;
    color: #1a202c !important;
    transform: translateX(8px) scale(1.02) !important;
    border-bottom: 2px solid rgba(255, 255, 0, 0.6) !important;
    box-shadow: 
        0 4px 15px rgba(255, 255, 0, 0.3),
        0 2px 8px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-shadow: 0 1px 2px rgba(255, 255, 0, 0.3) !important;
}

/* Mobile navigation link active state */
.mobile-nav-link:active {
    transform: translateX(4px) scale(0.98) !important;
    background: linear-gradient(135deg, 
        rgba(255, 255, 0, 0.25) 0%,
        rgba(255, 215, 0, 0.2) 50%,
        rgba(255, 255, 0, 0.25) 100%) !important;
}

/* Enhanced mobile navigation link animations */
.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 0, 0.2), 
        transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.mobile-nav-link:hover::before {
    left: 100%;
}

/* Staggered animation states for mobile menu items */
.mobile-nav-overlay.active .mobile-nav-link {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered delay for each menu item */
.mobile-nav-overlay.active .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(5) { transition-delay: 0.5s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(6) { transition-delay: 0.6s; }
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 107, 107, 0.3) 0%,
        rgba(78, 205, 196, 0.3) 25%,
        rgba(69, 183, 209, 0.3) 50%,
        rgba(150, 206, 180, 0.3) 75%,
        rgba(254, 202, 87, 0.3) 100%);
    transition: left 0.5s ease;
    z-index: -1;
}

.mobile-nav-link:hover::before {
    left: 0;
}

.mobile-nav-link:hover {
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.2) 0%,
        rgba(78, 205, 196, 0.2) 25%,
        rgba(69, 183, 209, 0.2) 50%,
        rgba(150, 206, 180, 0.2) 75%,
        rgba(254, 202, 87, 0.2) 100%);
    color: rgba(26, 32, 44, 1);
    padding-left: 45px;
    transform: translateX(8px) scale(1.02);
    box-shadow: 
        inset 6px 0 0 rgba(255, 107, 107, 0.8),
        0 4px 15px rgba(78, 205, 196, 0.3);
    border-bottom: 2px solid rgba(255, 107, 107, 0.5);
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.mobile-nav-link:active {
    background: linear-gradient(135deg, 
        rgba(255, 159, 243, 0.3) 0%,
        rgba(84, 160, 255, 0.3) 50%,
        rgba(95, 39, 205, 0.3) 100%);
    transform: translateX(4px) scale(0.98);
    box-shadow: 
        inset 4px 0 0 rgba(255, 159, 243, 0.9),
        0 2px 8px rgba(84, 160, 255, 0.4);
}

.mobile-nav-link:last-child {
    border-bottom: none;
    border-radius: 0 0 28px 28px;
}

/* Show mobile button on mobile devices */
@media (max-width: 768px) {
    /* AI-Optimized Mobile Navbar - Modern Flexbox Layout */
    .navbar {
        background: linear-gradient(45deg, #000000, #1a1a00, #333300, #000000, #1a1a00) !important;
        background-size: 400% 400% !important;
        animation: gradientShift 3s ease infinite !important;
        backdrop-filter: blur(15px) !important;
        border-bottom: 2px solid #ffff00 !important;
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.5),
            0 4px 16px rgba(255, 255, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 0, 0.1) !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0.5rem 1rem !important;
        min-height: 70px !important;
    }
    
    /* Mobile Menu Button - Optimized Positioning */
    .mobile-menu-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        order: 3 !important;
        margin-left: auto !important;
        padding: 0.5rem !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }
    
    /* AI-Optimized Mobile Logo Container */
    .nav-logo {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0.75rem !important;
        flex: 1 !important;
        order: 1 !important;
        padding: 0.25rem !important;
        max-width: calc(100% - 60px) !important;
    }
    
    /* AI-Optimized Mobile Logo Image */
    .nav-logo img {
        height: 45px !important;
        width: auto !important;
        max-width: 45px !important;
        flex-shrink: 0 !important;
        animation: none !important;
        transform: none !important;
        border: 2px solid rgba(255, 255, 0, 0.6) !important;
        border-radius: 8px !important;
        padding: 4px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
        filter: brightness(1.1) !important;
        order: 1 !important;
    }
    
    .nav-logo img::before,
    .nav-logo img::after {
        display: none !important;
    }
    
    /* AI-Optimized Mobile Text Container */
    .nav-logo-text {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        flex: 1 !important;
        order: 2 !important;
        min-width: 0 !important;
    }
    
    .nav-logo h2 {
        font-size: 1.1rem !important;
        margin: 0 !important;
        color: #ffd700 !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .nav-logo span {
        font-size: 0.75rem !important;
        color: #ffd700 !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
        line-height: 1.1 !important;
        opacity: 0.9 !important;
    }
    
    /* AI-Optimized Mobile Tagline Styles */
    .tagline {
        font-size: 0.7rem !important;
        gap: 0.05rem !important;
        text-align: left !important;
        margin-top: 0.1rem !important;
        order: 3 !important;
        flex-shrink: 1 !important;
        min-width: 0 !important;
        background: linear-gradient(135deg, 
            #ffffff 0%, 
            #ffff00 30%, 
            #ffd700 70%, 
            #ffffff 100%) !important;
        background-size: 200% 200% !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        text-shadow: 0 0 8px rgba(255, 255, 0, 0.6), 
                     0 0 12px rgba(255, 215, 0, 0.4) !important;
        animation: shimmerGlow 3s ease-in-out infinite alternate !important;
    }
    
    .tagline-line1,
    .tagline-line3 {
        font-size: 0.7rem !important;
        line-height: 1.1 !important;
    }
    
    .tagline-line2 {
        font-size: 0.6rem !important;
        text-align: left !important;
        font-style: italic !important;
        opacity: 1 !important;
        line-height: 1.1 !important;
        background: linear-gradient(135deg, 
            #ffffff 0%, 
            #ffff00 20%, 
            #ffd700 40%, 
            #ffffff 60%, 
            #ffff00 80%, 
            #ffd700 100%) !important;
        background-size: 300% 300% !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        text-shadow: 0 0 8px rgba(255, 255, 0, 0.8), 
                     0 0 15px rgba(255, 215, 0, 0.6), 
                     0 0 20px rgba(255, 255, 255, 0.4) !important;
    }
    
    /* Ensure overlay works on mobile */
    .mobile-nav-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 9998 !important;
    }
    
    .mobile-nav-container {
        width: 95% !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
    }
    
    .mobile-nav-link {
        font-size: 1.3rem !important;
        padding: 25px !important;
    }
    
    /* Mobile Hero Section Layout Fixes */
    .hero-content {
        max-width: 100% !important;
        padding: 15px !important;
        margin: 0 !important;
        text-align: left !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
}

/* Critical Mobile Header Stability - Prevent Race Conditions */
@media (max-width: 768px) {
    /* Force stable header layout */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        min-height: 70px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 15px !important;
        background: linear-gradient(45deg, #000000, #1a1a00, #333300, #000000, #1a1a00) !important;
        backdrop-filter: blur(15px) !important;
        border-bottom: 2px solid #ffff00 !important;
    }
    
    /* Mobile tagline - ensure maximum visibility */
    .tagline {
        /* Primary solid color for maximum visibility */
        color: #ffff00 !important;
        /* Enhanced text shadow for better readability */
        text-shadow: 
            0 0 8px rgba(255, 255, 0, 0.9),
            0 0 16px rgba(255, 215, 0, 0.7),
            0 0 24px rgba(255, 255, 255, 0.5),
            0 2px 4px rgba(0, 0, 0, 0.8) !important;
        /* Gradient as enhancement, not primary color */
        background: linear-gradient(135deg, #ffff00 0%, #ffd700 30%, #ffff00 60%, #ffd700 100%) !important;
        background-size: 200% 200% !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        /* Use solid color as fallback, not transparent */
        -webkit-text-fill-color: #ffff00 !important;
        /* Enhanced mobile styling */
        font-size: 0.85rem !important;
        font-weight: 800 !important;
        letter-spacing: 0.5px !important;
        /* Better contrast background */
        background-color: rgba(0, 0, 0, 0.3) !important;
        padding: 4px 8px !important;
        border-radius: 6px !important;
        backdrop-filter: blur(5px) !important;
    }
    
    /* Enhanced tagline lines for mobile */
    .tagline-line1,
    .tagline-line2,
    .tagline-line3 {
        color: #ffff00 !important;
        -webkit-text-fill-color: #ffff00 !important;
        text-shadow: 
            0 0 8px rgba(255, 255, 0, 0.9),
            0 0 16px rgba(255, 215, 0, 0.7),
            0 2px 4px rgba(0, 0, 0, 0.8) !important;
    }
    
    /* Fallback for any gradient issues */
    .tagline:not([style*="background"]),
    .tagline * {
        color: #ffff00 !important;
        -webkit-text-fill-color: #ffff00 !important;
        background: none !important;
    }
    
    /* Ensure logo container is stable */
    .nav-logo {
        flex-shrink: 0 !important;
        min-width: 200px !important;
        text-align: center !important;
    }
    
    /* Mobile logo sizing - make it much larger and more visible */
    .logo-wrapper img,
    .nav-logo img {
        height: 180px !important;
        width: auto !important;
        max-width: 300px !important;
        min-height: 160px !important;
        object-fit: contain !important;
        /* Enhanced mobile visibility */
        filter: brightness(1.3) contrast(1.2) saturate(1.1) !important;
        /* Stronger border and shadow for mobile */
        border: 4px solid rgba(255, 255, 0, 0.8) !important;
        border-radius: 15px !important;
        padding: 12px !important;
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 
            0 0 25px rgba(255, 255, 0, 0.6),
            0 0 50px rgba(255, 255, 0, 0.3),
            0 4px 15px rgba(0, 0, 0, 0.2),
            inset 0 0 25px rgba(255, 255, 255, 0.2) !important;
        /* Mobile-specific animations */
        animation: logoFloat 3s ease-in-out infinite, mobileLogo Glow 2s ease-in-out infinite !important;
    }
    
    /* Mobile logo hover effects */
    .logo-wrapper:hover img,
    .nav-logo:hover img {
        transform: scale(1.1) !important;
        filter: brightness(1.5) contrast(1.3) saturate(1.2) !important;
        box-shadow: 
            0 0 35px rgba(255, 255, 0, 0.8),
            0 0 70px rgba(255, 255, 0, 0.4),
            0 6px 20px rgba(0, 0, 0, 0.3),
            inset 0 0 35px rgba(255, 255, 255, 0.3) !important;
    }
    
    /* Prevent layout shifts */
    body {
        padding-top: 70px !important;
    }
    
    /* Force repaint to prevent visual glitches */
    .navbar,
    .nav-logo,
    .tagline {
        will-change: auto !important;
        transform: translateZ(0) !important;
        backface-visibility: hidden !important;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        text-align: left !important;
    }
    
    /* Ultra bright font color for mobile hero description */
    .hero-content p,
    .hero-description {
        color: #ffffff !important;
        font-size: 1rem !important;
        line-height: 1.5 !important;
        padding: 1rem !important;
        margin: 1rem 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        text-align: left !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        text-shadow: 
            0 0 5px rgba(255, 255, 255, 0.8),
            0 0 10px rgba(255, 255, 255, 0.6),
            0 0 15px rgba(255, 255, 255, 0.4),
            0 2px 4px rgba(0, 0, 0, 0.9) !important;
        background: rgba(0, 0, 0, 0.3) !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        font-weight: 600 !important;
        letter-spacing: 0.03em !important;
        backdrop-filter: blur(5px) !important;
        box-shadow: 
            0 0 20px rgba(255, 255, 255, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
        border-radius: 12px !important;
    }
    
    .hero-description:hover {
        color: #ffffff !important;
        text-shadow: 
            0 0 8px rgba(255, 255, 255, 0.9),
            0 0 15px rgba(255, 255, 255, 0.7),
            0 0 20px rgba(255, 255, 255, 0.5),
            0 2px 4px rgba(0, 0, 0, 0.9) !important;
        background: rgba(0, 0, 0, 0.4) !important;
        transform: translateY(-1px) !important;
    }
    
    /* Mobile Hero Stats Layout */
    .hero-stats {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: flex-start !important;
        margin: 1rem 0 !important;
    }
    
    .stat {
        width: 100% !important;
        text-align: left !important;
    }
    
    /* Mobile Hero Buttons Layout */
    .hero-buttons {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: stretch !important;
        margin-top: 1.5rem !important;
    }
    
    .hero-buttons .btn {
        width: 100% !important;
        text-align: center !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }
}