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

:root {
    /* Dark Mode Color Palette (Default) */
    --primary-color: #00D4AA;
    --primary-dark: #00B894;
    --primary-light: #55E5C4;
    --secondary-color: #FF7675;
    --accent-color: #74B9FF;
    --dark-color: #0D1117;
    --dark-secondary: #161B22;
    --dark-tertiary: #21262D;
    --light-color: #0D1117;
    --text-primary: #F0F6FC;
    --text-secondary: #8B949E;
    --text-light: #6E7681;
    --white: #F0F6FC;
    --shadow-light: rgba(0, 212, 170, 0.15);
    --shadow-medium: rgba(0, 212, 170, 0.25);
    --shadow-dark: rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, #00D4AA 0%, #74B9FF 100%);
    --gradient-secondary: linear-gradient(135deg, #FF7675 0%, #FD79A8 100%);
    --gradient-hero: linear-gradient(135deg, #0D1117 0%, #161B22 50%, #21262D 100%);
    --gradient-card: linear-gradient(145deg, rgba(22, 27, 34, 0.8) 0%, rgba(33, 38, 45, 0.6) 100%);
    --gradient-dark: linear-gradient(135deg, #0D1117 0%, #161B22 100%);
}

/* Light Mode Color Palette */
[data-theme="light"] {
    /* Ana Renk – Lacivert (Güven & Kurumsallık) */
    --primary-color: #0F1A2E;
    --primary-dark: #0A1220;
    --primary-light: #1A2A3F;
    
    /* İkincil Renk – Zeytin Yeşili (Doğa & Sürdürülebilirlik) */
    --secondary-color: #708D57;
    --accent-color: #8BA06B;
    
    /* Vurgu Rengi – Açık Bej / Krem (Temizlik & Denge) */
    --dark-color: #F5F2E7;
    --dark-secondary: #F0EDE0;
    --dark-tertiary: #EBE7D8;
    --light-color: #F5F2E7;
    
    /* Text Colors */
    --text-primary: #0F1A2E;
    --text-secondary: #2A3B4F;
    --text-light: #3A4B5F;
    --white: #F5F2E7;
    
    /* Shadows */
    --shadow-light: rgba(15, 26, 46, 0.15);
    --shadow-medium: rgba(15, 26, 46, 0.25);
    --shadow-dark: rgba(0, 0, 0, 0.1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0F1A2E 0%, #708D57 100%);
    --gradient-secondary: linear-gradient(135deg, #708D57 0%, #8BA06B 100%);
    --gradient-hero: linear-gradient(135deg, #F5F2E7 0%, #F0EDE0 50%, #EBE7D8 100%);
    --gradient-card: linear-gradient(145deg, rgba(245, 242, 231, 0.9) 0%, rgba(240, 237, 224, 0.8) 100%);
    --gradient-dark: linear-gradient(135deg, #F5F2E7 0%, #F0EDE0 100%);
}

/* Light Mode Specific Adjustments */
[data-theme="light"] .navbar {
    background: rgba(245, 242, 231, 0.9);
    border-bottom: 1px solid rgba(15, 26, 46, 0.1);
    box-shadow: 0 8px 32px rgba(15, 26, 46, 0.1);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(245, 242, 231, 0.95);
    border-bottom: 1px solid rgba(15, 26, 46, 0.2);
    box-shadow: 0 12px 40px rgba(15, 26, 46, 0.15);
}

[data-theme="light"] .nav-menu {
    background: rgba(240, 237, 224, 0.8);
    border: 1px solid rgba(15, 26, 46, 0.1);
    box-shadow: 0 4px 20px rgba(15, 26, 46, 0.1);
}

[data-theme="light"] .nav-link:hover {
    background: rgba(15, 26, 46, 0.1);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(15, 26, 46, 0.15);
}

[data-theme="light"] .nav-link.active {
    background: rgba(15, 26, 46, 0.15);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(15, 26, 46, 0.2);
}

[data-theme="light"] .hero::before {
    background: 
        radial-gradient(circle at 20% 80%, rgba(15, 26, 46, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(112, 141, 87, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 160, 107, 0.06) 0%, transparent 50%);
}

[data-theme="light"] .about::before {
    background: 
        radial-gradient(circle at 10% 20%, rgba(15, 26, 46, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(112, 141, 87, 0.05) 0%, transparent 50%);
}

[data-theme="light"] .services::before {
    background: 
        radial-gradient(circle at 80% 20%, rgba(112, 141, 87, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(15, 26, 46, 0.05) 0%, transparent 50%);
}

[data-theme="light"] .footer::before {
    background: 
        radial-gradient(circle at 20% 20%, rgba(15, 26, 46, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(112, 141, 87, 0.05) 0%, transparent 50%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background: var(--dark-color);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 17, 23, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(240, 246, 252, 0.1);
}

.navbar.scrolled {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid rgba(0, 212, 170, 0.2);
}

.navbar.scrolled .nav-container {
    height: 70px;
}


/* Logo boyutu scroll durumunda değişmez - sabit kalır */

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-right: 2rem;
}

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

.logo-image {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 212, 170, 0.3));
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-image {
    filter: drop-shadow(0 4px 12px rgba(0, 212, 170, 0.5));
    transform: scale(1.1);
}



.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    background: rgba(22, 27, 34, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(240, 246, 252, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-left: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 12px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 170, 0.15);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.2);
}

.nav-link.active {
    color: var(--primary-color);
    background: rgba(0, 212, 170, 0.2);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    opacity: 0.1;
}

.nav-cta {
    margin-left: 1rem;
}

.cta-link {
    background: var(--gradient-primary) !important;
    color: var(--dark-color) !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3) !important;
    border: 1px solid rgba(0, 212, 170, 0.3) !important;
}

.cta-link:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.4) !important;
    background: var(--gradient-primary) !important;
    color: var(--dark-color) !important;
}

.cta-link::before {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    background: rgba(22, 27, 34, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(240, 246, 252, 0.1);
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(0, 212, 170, 0.15);
    transform: scale(1.05);
}

.hamburger.active {
    background: rgba(0, 212, 170, 0.2);
    border-color: rgba(0, 212, 170, 0.4);
    transform: scale(1.05);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.5);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.5);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 170, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 118, 117, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(116, 185, 255, 0.1) 0%, transparent 50%);
    opacity: 0.8;
}

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

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    letter-spacing: -1px;
}

/* Light mode hero title */
[data-theme="light"] .hero-title {
    color: var(--text-primary);
    text-shadow: 0 4px 20px rgba(15, 26, 46, 0.1);
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 200, 150, 0.3);
}

.hero-description {
    font-size: 1.3rem;
    color: rgba(240, 246, 252, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Light mode hero description */
[data-theme="light"] .hero-description {
    color: var(--text-secondary);
    text-shadow: 0 2px 10px rgba(15, 26, 46, 0.1);
}

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

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--dark-color);
    box-shadow: 0 8px 32px rgba(0, 212, 170, 0.4);
    border: 1px solid rgba(0, 212, 170, 0.3);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 212, 170, 0.5);
}

.btn-secondary {
    background: rgba(240, 246, 252, 0.1);
    color: var(--white);
    border: 2px solid rgba(240, 246, 252, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.btn-secondary:hover {
    background: rgba(240, 246, 252, 0.2);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(240, 246, 252, 0.2);
}

/* Light mode button adjustments */
[data-theme="light"] .btn-secondary {
    background: rgba(15, 26, 46, 0.1);
    color: var(--text-primary);
    border: 2px solid rgba(15, 26, 46, 0.2);
}

[data-theme="light"] .btn-secondary:hover {
    background: rgba(15, 26, 46, 0.2);
    box-shadow: 0 12px 40px rgba(15, 26, 46, 0.2);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
}

.hero-graphic {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.seed-icon {
    font-size: 8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0, 200, 150, 0.3));
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
    filter: blur(1px);
}

.element-1 {
    width: 100px;
    height: 100px;
    top: 15%;
    left: 5%;
    animation-delay: 0s;
    background: radial-gradient(circle, rgba(0, 200, 150, 0.3) 0%, transparent 70%);
}

.element-2 {
    width: 80px;
    height: 80px;
    top: 55%;
    right: 15%;
    animation-delay: 2s;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.3) 0%, transparent 70%);
}

.element-3 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    left: 15%;
    animation-delay: 4s;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.2) 0%, transparent 70%);
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
    letter-spacing: -1px;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 200, 150, 0.3);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

/* About Section */
.about {
    background: var(--gradient-dark);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 212, 170, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(116, 185, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.company-intro {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(240, 246, 252, 0.1);
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(240, 246, 252, 0.1);
}

.company-intro:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(240, 246, 252, 0.2);
}

.company-intro h3 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.5px;
}

.company-intro h3 i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.company-intro p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
    font-size: 1rem;
}

.company-intro p:last-child {
    margin-bottom: 0;
}

.company-intro strong {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.vision-mission {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.vision, .mission {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(240, 246, 252, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(240, 246, 252, 0.1);
}

.vision:hover, .mission:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(240, 246, 252, 0.2);
}

.vision h3, .mission h3 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.3px;
}

.vision h3 i, .mission h3 i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    min-width: 0; /* Allow grid items to shrink */
}

.stat-item {
    text-align: center;
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(240, 246, 252, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(240, 246, 252, 0.1);
    position: relative;
    overflow: hidden;
    min-width: 0; /* Allow content to overflow if needed */
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(240, 246, 252, 0.2);
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    white-space: nowrap; /* Prevent line breaks */
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(240, 246, 252, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(240, 246, 252, 0.1);
}

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

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

.product-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(240, 246, 252, 0.2);
}

.product-image {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

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

.product-card h3 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
}

.product-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.product-features {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature {
    background: rgba(0, 212, 170, 0.15);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 212, 170, 0.3);
    transition: all 0.3s ease;
}

.feature:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
}

/* Services Section */
.services {
    background: var(--gradient-dark);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(255, 118, 117, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(116, 185, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(240, 246, 252, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(240, 246, 252, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(240, 246, 252, 0.2);
}

.service-icon {
    font-size: 3.5rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(240, 246, 252, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(240, 246, 252, 0.1);
    width: 100%;
}

.contact-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(240, 246, 252, 0.2);
}

.contact-item i {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: 40px;
    text-align: center;
}

.contact-item h4 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-secondary);
    font-weight: 500;
}

.contact-form {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(240, 246, 252, 0.1);
    border: 1px solid rgba(240, 246, 252, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid rgba(0, 212, 170, 0.3);
    border-radius: 16px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Poppins', sans-serif;
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.15);
    transform: translateY(-2px);
}

/* Light mode form adjustments */
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    border: 2px solid rgba(15, 26, 46, 0.3);
    background: rgba(245, 242, 231, 0.8);
    color: var(--text-primary);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(15, 26, 46, 0.15);
}

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

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-secondary) 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 212, 170, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(116, 185, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.footer-logo {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.footer-logo-image {
    height: 100px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 212, 170, 0.3));
    transition: all 0.3s ease;
}

.footer-logo:hover .footer-logo-image {
    filter: drop-shadow(0 4px 12px rgba(0, 212, 170, 0.5));
    transform: scale(1.05);
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 212, 170, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(240, 246, 252, 0.1);
    color: var(--text-secondary);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-80px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(80px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 200, 150, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 200, 150, 0.6);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 80px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
        visibility: hidden;
        z-index: 1001;
        padding: 2rem;
        box-sizing: border-box;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }


    .nav-menu ul {
        background: var(--dark-secondary);
        border-radius: 20px;
        padding: 2rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        border: 1px solid rgba(240, 246, 252, 0.1);
        max-width: 300px;
        width: 100%;
        list-style: none;
        margin: 0;
        gap: 1rem;
        display: flex;
        flex-direction: column;
    }

    .nav-menu li {
        margin: 0;
    }

    .nav-link {
        padding: 15px 20px;
        margin: 0;
        border-radius: 15px;
        font-size: 1.1rem;
        background: rgba(0, 212, 170, 0.1);
        border: 1px solid rgba(0, 212, 170, 0.2);
        transition: all 0.3s ease;
        display: block;
        text-align: center;
    }

    .nav-link:hover {
        background: rgba(0, 212, 170, 0.2);
        border-color: rgba(0, 212, 170, 0.4);
        transform: translateY(-2px);
    }

    .logo-image {
        height: 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .company-intro {
        padding: 1.5rem;
    }
    
    .company-intro h3 {
        font-size: 1.3rem;
    }
    
    .company-intro p {
        text-align: left;
    }

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

    .contact-content {
        max-width: 100%;
        padding: 0 1rem;
    }

    .hero-graphic {
        width: 300px;
        height: 300px;
    }

    .seed-icon {
        font-size: 6rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

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

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

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Loading animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2d5a27;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Theme Toggle Styles */
.theme-toggle {
    position: relative;
    margin-left: 1rem;
}

.theme-btn {
    background: var(--dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    padding: 0.8rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 48px;
    height: 48px;
}

.theme-btn:hover {
    background: var(--dark-tertiary);
    border-color: rgba(0, 212, 170, 0.5);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.theme-btn i {
    transition: all 0.3s ease;
}

.theme-btn:hover i {
    transform: rotate(15deg);
}

/* Light mode theme button adjustments */
[data-theme="light"] .theme-btn {
    background: var(--dark-secondary);
    border: 1px solid rgba(15, 26, 46, 0.2);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(15, 26, 46, 0.2);
}

[data-theme="light"] .theme-btn:hover {
    background: var(--dark-tertiary);
    border-color: rgba(15, 26, 46, 0.4);
    box-shadow: 0 6px 20px rgba(15, 26, 46, 0.3);
}

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

.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-btn {
    background: var(--dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.language-btn:hover {
    background: var(--dark-tertiary);
    border-color: rgba(0, 212, 170, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.language-btn i.fa-chevron-down {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.language-dropdown.active .language-btn i.fa-chevron-down {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 0.5rem 0;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.language-option:hover {
    background: rgba(0, 212, 170, 0.1);
    color: var(--primary-color);
}

.language-option.active {
    background: rgba(0, 212, 170, 0.2);
    color: var(--primary-color);
    font-weight: 600;
}

.language-option .flag {
    font-size: 1.2rem;
}

.current-lang {
    font-weight: 600;
    color: var(--primary-color);
}

/* RTL Support for Arabic */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .language-menu {
    right: auto;
    left: 0;
}

[dir="rtl"] .language-option {
    text-align: right;
}

/* Mobile Theme Toggle and Language Selector */
@media (max-width: 768px) {
    .theme-toggle {
        position: static;
        margin-left: 0;
        margin-right: 1rem;
    }
    
    .theme-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        padding: 0.6rem;
    }
    
    .language-selector {
        position: static;
        transform: none;
        margin-top: 1rem;
        margin-left: 0;
    }
    
    .language-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .language-menu {
        min-width: 160px;
    }
}

/* X (Twitter) Icon Custom Styling */
.fa-x-icon {
    font-family: 'Font Awesome 6 Brands';
    font-weight: 900;
}

.fa-x-icon::before {
    content: "𝕏";
    font-size: 1.2em;
    font-weight: bold;
    color: var(--white);
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-button a:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button a {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}
