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

:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --dark-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #4facfe;
  --text-dark: #2d3436;
  --text-light: #636e72;
  --text-gray: #b2bec3;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.2);
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --dark-gradient: linear-gradient(135deg, #0f2027 0%, #203a43 100%);
  --primary-color: #7c8ff0;
  --secondary-color: #8b68c4;
  --accent-color: #5fb9ff;
  --text-dark: #e4e6eb;
  --text-light: #b0b3b8;
  --text-gray: #8a8d91;
  --bg-light: #18191a;
  --bg-white: #242526;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%) !important;
}

[data-theme="dark"] .navbar {
  background: rgba(36, 37, 38, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(36, 37, 38, 0.98) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .intro-box,
[data-theme="dark"] .contact-form-wrapper,
[data-theme="dark"] .company-details,
[data-theme="dark"] .contact-details,
[data-theme="dark"] .material-specs,
[data-theme="dark"] .machinery-section,
[data-theme="dark"] .achievements {
  background: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .product-card,
[data-theme="dark"] .facility-card,
[data-theme="dark"] .client-card,
[data-theme="dark"] .feature-item {
  background: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
  background: var(--bg-light);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-dark);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
  background: var(--bg-white);
  border-color: var(--primary-color);
}

[data-theme="dark"] section {
  background-color: var(--bg-light);
}

[data-theme="dark"] section:nth-child(even) {
  background-color: #0d0d0d;
}

[data-theme="dark"] .spec-box {
  background: rgba(102, 126, 234, 0.15);
  border-color: rgba(102, 126, 234, 0.3);
}

[data-theme="dark"] .machinery-item {
  background: rgba(79, 172, 254, 0.1);
  border-color: rgba(79, 172, 254, 0.3);
}

[data-theme="dark"] .achievement-card {
  background: var(--secondary-gradient);
}

[data-theme="dark"] .quality-policy {
  background: var(--primary-gradient);
}

[data-theme="dark"] .footer {
  background: linear-gradient(135deg, #0f2027 0%, #203a43 100%);
}

/* Additional dark mode specific styling */
[data-theme="dark"] .section-title {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] .facility-header {
  background: var(--accent-gradient);
}

[data-theme="dark"] body {
  background-color: var(--bg-light);
}

[data-theme="dark"] .hero-scroll {
  color: white;
}

[data-theme="dark"] .scroll-indicator {
  border-color: white;
}

[data-theme="dark"] .scroll-indicator::before {
  background: white;
}

/* Ensure products and facilities sections are dark */
[data-theme="dark"] .products,
[data-theme="dark"] .facilities,
[data-theme="dark"] .clients,
[data-theme="dark"] .contact {
  background: var(--bg-light);
}

[data-theme="dark"] .about {
  background-color: #0d0d0d;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Navigation - Modern Glassmorphism */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.logo-icon svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.3));
}

.logo-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.company-name {
  font-size: 20px;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.tagline {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 28px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-menu li a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu li a:not(.btn-login):hover {
  color: var(--primary-color);
  background: rgba(102, 126, 234, 0.1);
}

.nav-menu li a.active:not(.btn-login) {
  color: var(--primary-color);
}

.btn-login {
  background: var(--primary-gradient);
  color: white !important;
  padding: 12px 28px !important;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(102, 126, 234, 0.4);
}

/* Theme Toggle Button */
.theme-toggle {
  background: rgba(102, 126, 234, 0.1);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 0;
}

.theme-toggle:hover {
  background: rgba(102, 126, 234, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.theme-icon {
  position: absolute;
  font-size: 20px;
  transition: all 0.3s ease;
}

.theme-icon.sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-icon.moon {
  opacity: 0;
  transform: rotate(180deg) scale(0);
}

[data-theme="dark"] .theme-icon.sun {
  opacity: 0;
  transform: rotate(-180deg) scale(0);
}

[data-theme="dark"] .theme-icon.moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-toggle {
  border-color: var(--accent-color);
  background: rgba(79, 172, 254, 0.1);
}

[data-theme="dark"] .theme-toggle:hover {
  background: rgba(79, 172, 254, 0.2);
  box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

/* Hero Section - Modern with Background */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1a2e;
  background-image:
    linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231a1a2e" width="1200" height="600"/><g fill="%23667eea" opacity="0.1"><circle cx="100" cy="100" r="80"/><circle cx="300" cy="200" r="60"/><circle cx="500" cy="150" r="90"/><circle cx="700" cy="250" r="70"/><circle cx="900" cy="180" r="85"/><circle cx="1100" cy="220" r="75"/><rect x="150" y="350" width="120" height="120" transform="rotate(45 210 410)"/><rect x="450" y="400" width="100" height="100" transform="rotate(30 500 450)"/><rect x="750" y="370" width="110" height="110" transform="rotate(60 805 425)"/></g></svg>');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0px, transparent 1px, transparent 40px, rgba(255,255,255,.03) 41px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0px, transparent 1px, transparent 40px, rgba(255,255,255,.03) 41px);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  top: -300px;
  right: -300px;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white !important;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out;
}

.hero-content * {
  color: #ffffff !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

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

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.title-main {
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.title-sub {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 600;
  opacity: 0.95;
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 48px;
  opacity: 0.9;
  font-weight: 500;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin: 48px 0;
}

.stat {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 28px 20px;
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 40px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-4px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.8;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-indicator {
  width: 24px;
  height: 36px;
  border: 2px solid white;
  border-radius: 12px;
  position: relative;
}

.scroll-indicator::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: white;
  border-radius: 2px;
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* Section Styles */
section {
  padding: 100px 0;
  position: relative;
}

section:nth-child(even) {
  background: var(--bg-light);
}

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

.section-title {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 900;
  margin-bottom: 16px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
  font-weight: 500;
}

/* About Section - Modern Card Layout */
.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

.intro-box {
  background: white;
  padding: 48px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 48px;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.intro-box h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.intro-box p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.feature-item {
  background: white;
  padding: 32px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
  filter: grayscale(0.2);
}

.feature-item h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.feature-item p {
  font-size: 15px;
  color: var(--text-light);
}

.quality-policy {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 48px;
  border-radius: 24px;
  color: white;
  box-shadow: var(--shadow-lg);
}

.quality-policy h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
}

.quality-policy h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 24px 0 16px;
}

.quality-policy p {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.95;
}

.quality-policy ul {
  list-style: none;
  margin-top: 16px;
}

.quality-policy li {
  padding: 12px 0 12px 32px;
  position: relative;
  font-size: 16px;
  opacity: 0.95;
}

.quality-policy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 20px;
}

/* Products Section - Modern Grid with Images */
.products {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: var(--primary-gradient);
  opacity: 0.1;
  transition: opacity 0.3s ease;
}

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

.product-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.product-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-icon {
  font-size: 64px;
  text-align: center;
  padding: 32px 0 16px;
  filter: grayscale(0.3);
  position: relative;
  z-index: 1;
}

.product-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 24px 12px;
  color: var(--text-dark);
  position: relative;
  z-index: 1;
}

.weight-range {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 24px 12px;
  display: inline-block;
  background: rgba(102, 126, 234, 0.1);
  padding: 4px 12px;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.product-card p:last-child {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
  padding: 0 24px 28px;
  position: relative;
  z-index: 1;
}

/* Material Specs - Modern Design */
.material-specs {
  background: white;
  padding: 48px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.material-specs h3 {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 32px;
  color: var(--text-dark);
}

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

.spec-box {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  padding: 24px;
  border-radius: 16px;
  border: 2px solid rgba(102, 126, 234, 0.2);
  transition: all 0.3s ease;
}

.spec-box:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.spec-box h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-box p {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

/* Facilities Section - Modern Cards */
.facilities {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}

.facility-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-color);
}

.facility-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.facility-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.facility-header {
  background: var(--accent-gradient);
  padding: 28px 24px;
  color: white;
  position: relative;
}

.facility-header h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.year {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.facility-details {
  padding: 24px;
}

.facility-details p {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
  color: var(--text-light);
}

.facility-details p:last-child {
  border-bottom: none;
}

.facility-details strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* Machinery Section */
.machinery-section {
  background: white;
  padding: 48px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.machinery-section h3 {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-dark);
}

.machinery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.machinery-item {
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.05) 0%, rgba(0, 242, 254, 0.05) 100%);
  padding: 32px;
  border-radius: 16px;
  border: 2px solid rgba(79, 172, 254, 0.2);
  transition: all 0.3s ease;
}

.machinery-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent-color);
  box-shadow: var(--shadow-md);
}

.machinery-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent-color);
}

.machinery-item ul {
  list-style: none;
}

.machinery-item li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14px;
  color: var(--text-light);
}

.machinery-item li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* Clients Section - Modern Grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.client-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
}

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

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

.client-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

/* Achievements */
.achievements {
  background: white;
  padding: 48px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.achievements h3 {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 32px;
  color: var(--text-dark);
}

.achievement-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.achievement-card {
  background: var(--secondary-gradient);
  padding: 40px;
  border-radius: 20px;
  color: white;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  opacity: 1;
  transform: translateY(0);
}

.achievement-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.achievement-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.achievement-card p {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

/* Contact Section - Modern Form */
.contact {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

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

.company-details {
  background: var(--primary-gradient);
  padding: 40px;
  border-radius: 20px;
  color: white;
  box-shadow: var(--shadow-lg);
  margin-bottom: 32px;
}

.company-details h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
}

.address {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.95;
}

.contact-details {
  background: white;
  padding: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.contact-item {
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item p {
  font-size: 15px;
  color: var(--text-dark);
  margin: 4px 0;
}

.contact-item a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.contact-form-wrapper {
  background: white;
  padding: 48px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: all 0.3s ease;
  background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

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

.btn-full {
  width: 100%;
  padding: 18px;
  font-size: 16px;
  cursor: pointer;
}

/* Footer - Modern Design */
.footer {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 64px 0 24px;
}

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

.footer-section h4 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.9;
}

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

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
  padding-left: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.8;
  font-size: 14px;
}

.footer-bottom p {
  margin: 8px 0;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: var(--primary-gradient);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Responsive Design */
@media (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 40px;
    gap: 0;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu li a {
    display: block;
    padding: 16px;
    font-size: 18px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }

  .hero-content {
    padding: 0 20px;
  }

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

  .btn {
    width: 100%;
    text-align: center;
  }

  .products-grid,
  .facilities-grid,
  .clients-grid {
    grid-template-columns: 1fr;
  }

  .intro-box,
  .quality-policy,
  .contact-form-wrapper {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Loading Animation */
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

/* Utility Classes */
.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
