/* Seema Agro Oil and Foods - NinjaCoder Inspired Professional Design */

/* Modern Font Imports - NinjaCoder Style */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Page Loader Styles */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-animation {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.loader-ring {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 4px solid transparent;
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

.loader-ring:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
    border-top: 4px solid #f8fafc;
    animation-delay: -0.4s;
    animation-duration: 1.5s;
}

.loader-ring:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 20px;
    left: 20px;
    border-top: 4px solid #e2e8f0;
    animation-delay: -0.8s;
    animation-duration: 1.8s;
}

.loader-logo {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #6366f1;
}

.loader-text {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    animation: pulse 2s ease-in-out infinite;
}

.loader-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite reverse;
}

.loader-progress {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-top: 20px;
    overflow: hidden;
}

.loader-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ffffff, #f8fafc, #ffffff);
    border-radius: 2px;
    animation: loading-progress 3s ease-out forwards;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes loading-progress {
    0% { width: 0%; }
    20% { width: 30%; }
    50% { width: 60%; }
    80% { width: 85%; }
    95% { width: 95%; }
    100% { width: 100%; }
}

/* Hide body content initially */
body.loading {
    overflow: hidden;
}

body.loading .page-loader {
    display: flex;
}

body:not(.loading) .page-loader {
    display: none;
}

/* CSS Variables - NinjaCoder Theme System */
:root {
    /* Primary Colors - NinjaCoder Style */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;
    --bg-card: #ffffff;
    
    /* Border & Shadow */
    --border-color: #e2e8f0;
    --border-dark: #334155;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-hero: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
}

/* Dark Theme */
[data-theme="dark"] {
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --text-inverse: #0f172a;
    
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: #1e293b;
    
    --border-color: #334155;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

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

*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: var(--transition);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography - NinjaCoder Style */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; }
h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.875rem); font-weight: 600; }
h5 { font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 500; }
h6 { font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 500; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

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

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

/* Header - NinjaCoder Style */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

[data-theme="dark"] .header {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: var(--border-color);
}

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

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0;
    font-style: italic;
}

/* Logo text link styling */
.logo-text {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.logo-text:hover {
    color: inherit;
    text-decoration: none;
}

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

.logo-text:hover p {
    color: var(--text-secondary);
}

/* Desktop Navigation - NinjaCoder Style */
.desktop-nav {
    display: flex;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 6px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    font-size: 0.9rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-inverse);
    background: var(--primary);
    transform: translateY(-1px);
}

/* Right side navigation wrapper */
.nav-right-section {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Header Controls */
.header-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 60px;
    position: relative;
}

/* Floating Controls - Bottom Right */
.floating-controls {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

/* Scroll to Top Button */
.scroll-to-top {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary);
    color: var(--text-inverse);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Theme Toggle - Floating */
.theme-toggle-floating {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
}

.theme-toggle-floating:hover {
    background: var(--primary);
    color: var(--text-inverse);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    margin-left: auto;
}

.mobile-menu-toggle:hover {
    background: var(--bg-secondary);
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

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

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

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

/* Simple Mobile Dropdown Menu */
.mobile-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.mobile-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    padding: 12px 0;
    margin: 0;
}

.mobile-nav-links li {
    margin: 0;
}

.mobile-nav-link {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav-links li:last-child .mobile-nav-link {
    border-bottom: none;
}

.mobile-nav-link:hover {
    background: var(--bg-secondary);
    color: var(--primary);
    padding-left: 24px;
}

/* Hero Section - Enhanced Professional Design */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
    background: var(--bg-primary);
}


.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    animation: heroContentReveal 1.5s cubic-bezier(0.4, 0, 0.2, 1) both;
    padding: 3rem 2.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
}



@keyframes heroContentReveal {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
        filter: blur(10px);
    }
    60% {
        opacity: 0.8;
        transform: translateY(20px) scale(0.95);
        filter: blur(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

.hero-content h2 {
    margin-bottom: 2rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    line-height: 1.1;
    position: relative;
}



.hero-content p {
    color: var(--text-secondary);
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.01em;
}

/* CTA Button - Professional Theme Adaptive Design */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #ffffff;
    padding: 18px 36px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.25), 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    transition: all 0.3s ease;
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    color: #ffffff;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(22, 163, 74, 0.35), 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-button i {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.cta-button:hover i {
    transform: translateX(6px) rotate(10deg);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: var(--transition);
}

.scroll-arrow:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

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

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-header h3 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section - NinjaCoder Style */
.about {
    background: var(--bg-secondary);
}

.about-content {
    max-width: 100%;
    margin: 0 auto;
}

.about-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.about-card h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.certifications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.cert-badge {
    background: var(--bg-card);
    padding: 30px 20px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.cert-badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.cert-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--text-inverse);
    font-size: 1.5rem;
}

.cert-badge h5 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.cert-badge p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Products Section - NinjaCoder Style */
.products {
    background: var(--bg-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

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

.product-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-inverse);
    font-size: 1.8rem;
}

.product-info h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.product-info p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.product-features i {
    color: var(--success);
    font-size: 0.8rem;
}

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

#contact {
    padding-top: 48px;
    padding-bottom: 48px;
}

#contact .section-header {
    margin-bottom: 28px;
}

#contact .section-header h3 {
    margin-bottom: 8px;
}

#contact .section-header p {
    margin-bottom: 0;
    font-size: 0.96rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 34px;
    align-items: start;
}

#contact .contact-content {
    grid-template-columns: minmax(0, 1fr);
    max-width: 860px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
    padding: 14px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-inverse);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--primary);
    margin-bottom: 0.2rem;
    font-size: 0.94rem;
}

.contact-details p {
    margin-bottom: 0;
    line-height: 1.4;
    font-size: 0.84rem;
}

/* Form Styles - NinjaCoder Style */
.contact-form {
    background: var(--bg-card);
    padding: 22px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.86rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
    font-size: 0.92rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: var(--bg-primary);
}

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

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--text-secondary) 50%), linear-gradient(135deg, var(--text-secondary) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(1em + 2px), calc(100% - 13px) calc(1em + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 36px;
}

.submit-btn {
    background: var(--gradient-primary);
    color: var(--text-inverse);
    border: none;
    padding: 11px 22px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    min-height: 42px;
    justify-content: center;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.submit-btn i {
    transition: var(--transition);
}

.submit-btn:hover i {
    transform: translateX(4px);
}

.submit-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .submit-btn {
        width: 100%;
    }
}

/* Footer - Modern Professional Design */
.footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

[data-theme="dark"] .footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.footer-top {
    padding: 40px 0 20px;
    position: relative;
    z-index: 1;
}

.footer-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: start;
}

/* Footer Brand Section */
.footer-brand {
    max-width: 500px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.footer-brand-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-family: 'Poppins', sans-serif;
}

.footer-brand-text p {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 0;
    font-style: italic;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Certification Badges */
.certification-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 10px 16px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

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

.badge i {
    font-size: 1.5rem;
    color: var(--accent);
    width: 24px;
}

.badge-info {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.badge-number {
    font-size: 0.8rem;
    color: #94a3b8;
    font-family: 'JetBrains Mono', monospace;
}

/* Contact Information Section in Footer Brand */
.contact-info-section,
.contact-info-desktop-section {
    margin-top: 30px;
}

.contact-info-section h4,
.contact-info-desktop-section h4 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 1rem;
    position: relative;
    padding-bottom: 6px;
}

.contact-info-section h4::after,
.contact-info-desktop-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Mobile contact section - hidden by default */
.contact-info-mobile-section {
    display: none;
    margin-top: 0px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.contact-info-mobile-section h4 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 1rem;
    position: relative;
    padding-bottom: 6px;
}

.contact-info-mobile-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Footer Links Grid */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 1rem;
    position: relative;
    padding-bottom: 6px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.9rem;
    width: 16px;
    color: var(--primary);
}

/* Contact Info Footer */
.contact-info-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item-footer {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-item-footer i {
    font-size: 1.2rem;
    color: var(--accent);
    margin-top: 2px;
    width: 20px;
}

.contact-item-footer div {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-value {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer Bottom */
.footer-bottom {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid var(--border-color);
    padding: 16px 0;
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .footer-bottom {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-copyright .tagline {
    color: var(--accent);
    font-style: italic;
    font-size: 0.85rem;
    margin-top: 4px;
}

.footer-quality {
    display: flex;
    align-items: center;
}

.quality-badges {
    display: flex;
    gap: 16px;
}

.quality-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-tertiary);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.quality-badge i {
    color: var(--success);
    font-size: 0.9rem;
}

/* Social Media Links - Professional Dynamic Design */
.social-media-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.social-media-section h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-media-section h4::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 400px;
}

.social-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    min-width: 120px;
    justify-content: center;
}

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

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

.social-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 14px;
}

.social-text {
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Instagram Styling */
.social-link.instagram:hover {
    background: linear-gradient(135deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.3);
    border-color: #e1306c;
}

.social-link.instagram:hover .social-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(360deg) scale(1.1);
}

/* Facebook Styling */
.social-link.facebook:hover {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.3);
    border-color: #1877f2;
}

.social-link.facebook:hover .social-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(-360deg) scale(1.1);
}

/* YouTube Styling */
.social-link.youtube:hover {
    background: linear-gradient(135deg, #ff0000, #ff4444);
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3);
    border-color: #ff0000;
}

.social-link.youtube:hover .social-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.2);
}

/* Gmail/Email Styling */
.social-link.gmail:hover {
    background: linear-gradient(135deg, #ea4335, #fbbc04, #34a853, #4285f4);
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(234, 67, 53, 0.3);
    border-color: #ea4335;
}

.social-link.gmail:hover .social-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(360deg) scale(1.1);
}

/* Twitter Styling */
.social-link.twitter:hover {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(29, 161, 242, 0.3);
    border-color: #1da1f2;
}

.social-link.twitter:hover .social-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(360deg) scale(1.1);
}

/* Active states for better mobile experience */
.social-link:active {
    transform: translateY(-1px) scale(1.02);
}

/* Dark theme adaptations for social links */
[data-theme="dark"] .social-media-section {
    border-top-color: var(--border-color);
}

[data-theme="dark"] .social-link {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

[data-theme="dark"] .social-icon {
    background: rgba(255, 255, 255, 0.05);
}

/* Pulse animation for social links */
@keyframes socialPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.social-link:hover {
    animation: socialPulse 2s ease-in-out infinite;
}

/* Smooth loading animation */
.social-links {
    animation: socialLinksLoad 0.8s ease-out;
}

@keyframes socialLinksLoad {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Responsive Design */
/* Mobile Navigation for tablets and large phones */
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .desktop-nav {
        display: none;
    }
}

@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    /* Social media tablet styles */
    .social-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        max-width: 350px;
    }
    
    .social-link {
        min-width: 100px;
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    /* Footer links two-column layout for tablet */
    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 16px;
    }
}

@media (max-width: 768px) {
    /* Show mobile menu and hide desktop nav */
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .desktop-nav {
        display: none !important;
    }
    
    /* Hero adjustments */
    .hero {
        padding-top: 100px;
        min-height: 90vh;
    }
    
    /* Section padding */
    section {
        padding: 60px 0;
    }

    #contact {
        padding-top: 42px;
        padding-bottom: 42px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    /* Form adjustments */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form {
        padding: 16px 14px;
    }
    
    /* Products grid */
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    /* Certifications */
    .certifications {
        grid-template-columns: 1fr;
    }
    
    /* Mobile nav width */
    .mobile-nav {
        width: min(320px, 90vw);
    }
    
    /* Footer adjustments */
    .footer-hero {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-brand {
        order: 1;
        display: flex;
        flex-direction: column;
    }
    
    .footer-links-grid {
        order: 2;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Hide desktop contact info and show mobile contact info */
    .contact-info-desktop-section {
        display: none !important;
    }
    
    .contact-info-mobile-section {
        display: block;
        order: 3;
        margin-top: 0px !important;
        padding-top: 8px !important;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .quality-badges {
        flex-direction: row;
        gap: 15px;
        justify-content: center;
    }
    
    /* Social media responsive */
    .social-links {
        grid-template-columns: repeat(3, 1fr);
        justify-items: right;
        gap: 20px;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .social-link {
        min-width: 110px;
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    .social-icon {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
    
    /* Footer links two-column layout for mobile */
    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 12px;
    }
    
    /* Floating controls */
    .floating-controls {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .scroll-to-top,
    .theme-toggle-floating {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .product-card {
        padding: 30px 20px;
    }
    
    .about-card {
        padding: 30px 20px;
    }
    
    .floating-controls {
        bottom: 15px;
        right: 15px;
    }
    
    .scroll-to-top,
    .theme-toggle-floating {
        width: 42px;
        height: 42px;
        font-size: 0.9rem;
    }
    
    .certification-badges {
        gap: 12px;
    }
    
    .badge {
        padding: 12px 16px;
    }
    
    /* Social media extra small screens */
    .social-links {
        gap: 8px;
    }
    
    .social-link {
        min-width: 100px;
        padding: 8px 12px;
        font-size: 0.8rem;
        gap: 8px;
    }
    
    .social-media-section h4 {
        font-size: 1rem;
        text-align: center;
    }
}

/* Smooth transitions for theme changes */
* {
    transition-property: background-color, border-color, color, box-shadow;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

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

/* Animation for elements coming into view */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: slideInUp 0.6s ease-out forwards;
}

/* Utility classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }

.hidden { display: none !important; }
.visible { display: block !important; }

/* Form Message Styles */
.form-message {
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    border: 1px solid;
    animation: slideIn 0.3s ease-out;
}

.form-message.success {
    background-color: #d1fae5;
    border-color: #10b981;
    color: #047857;
}

[data-theme="dark"] .form-message.success {
    background-color: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    color: #34d399;
}

.form-message.error {
    background-color: #fee2e2;
    border-color: #ef4444;
    color: #dc2626;
}

[data-theme="dark"] .form-message.error {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #f87171;
}

.message-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.message-content i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Submit Button Loading State */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

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



/* Enhanced CTA button for dark theme - same as light theme */
[data-theme="dark"] .cta-button {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.25), 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .cta-button::before {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

[data-theme="dark"] .cta-button:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(22, 163, 74, 0.35), 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px) scale(1.02);
}

[data-theme="dark"] .cta-button i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

[data-theme="dark"] .cta-button:hover i {
    transform: translateX(6px) rotate(10deg);
}



/* Enhanced CTA button for dark theme - Professional Design */
[data-theme="dark"] .cta-button {
    background: linear-gradient(135deg, #065f46 0%, #047857 50%, #059669 100%);
    color: #ffffff;
    border: 2px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 12px 30px rgba(6, 95, 70, 0.3), 
                0 4px 15px rgba(16, 185, 129, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
}

[data-theme="dark"] .cta-button::before {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
}

[data-theme="dark"] .cta-button:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 50%, #10b981 100%);
    border-color: rgba(52, 211, 153, 0.6);
    box-shadow: 0 18px 40px rgba(16, 185, 129, 0.4), 
                0 8px 25px rgba(6, 95, 70, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-4px) scale(1.02);
}

[data-theme="dark"] .cta-button i {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

[data-theme="dark"] .cta-button:hover i {
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.4));
    transform: translateX(6px) rotate(10deg);
}

/* Active state for better mobile experience */
[data-theme="dark"] .cta-button:active {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3), 
                0 4px 15px rgba(6, 95, 70, 0.2);
}
