/* ===== GLOBAL STYLES ===== */
:root {
  --primary-color: #002724;
  --secondary-color: #f9a800;
  --accent-color: #003d36;
  --light-bg: #f4f1ec;
  --text-dark: #333;
  --text-light: #666;
  --white: #ffffff;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--light-bg);
  color: var(--text-dark);
  font-family: "Titillium Web", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== LOADING SCREEN ===== */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  color: var(--white);
}

.loading-logo img {
  width: 200px;
  filter: brightness(0) invert(1);
  margin-bottom: 30px;
  animation: pulse 2s ease-in-out infinite;
}

.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.spinner-ring {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--secondary-color);
  animation: loading-bounce 1.4s ease-in-out infinite both;
}

.spinner-ring:nth-child(1) {
  animation-delay: -0.32s;
}

.spinner-ring:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes loading-bounce {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.loading-text {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 2px;
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 9999;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary-color), #ffb84d);
  width: 0%;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px rgba(249, 168, 0, 0.5);
}

/* ===== FONT STYLES ===== */
.titillium-web-black {
  font-family: "Titillium Web", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.titillium-web-regular {
  font-family: "Titillium Web", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.titillium-web-semibold {
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
  font-style: normal;
}

/* ===== MODERN FLOATING NAVBAR ===== */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 60px;
  margin: 20px 40px;
  padding: 8px 25px;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  border: none;
  max-width: calc(100% - 80px);
  left: 0;
  right: 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-nav {
  margin: 0 auto;
}

.navbar-contact {
  margin-left: auto;
  flex-shrink: 0;
}

.navbar-brand {
  flex-shrink: 0;
}


.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(30px);
  box-shadow:
    0 15px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
}

.navbar.navbar-dark {
  background: rgba(0, 39, 36, 0.95) !important;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.navbar.navbar-dark.scrolled {
  background: rgba(0, 39, 36, 0.98) !important;
  box-shadow:
    0 15px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* ===== NAVBAR BRAND ===== */
.navbar-brand {
  padding: 0;
  margin-right: 0;
  transition: var(--transition);
}

.navbar-brand:hover {
  transform: scale(1.05);
}

#navbar-logo {
  height: 32px;
  transition: var(--transition);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.navbar-brand:hover #navbar-logo {
  transform: rotate(5deg);
}

/* ===== NAVBAR NAVIGATION ===== */
.navbar-nav {
  gap: 5px;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--primary-color) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 18px !important;
  border-radius: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-transform: capitalize;
  letter-spacing: 0.3px;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color), #ffb84d);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 30px;
  z-index: -1;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 168, 0, 0.3);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.navbar.navbar-dark .nav-link {
  color: var(--white) !important;
}

.navbar.navbar-dark .nav-link:hover,
.navbar.navbar-dark .nav-link.active {
  color: var(--primary-color) !important;
}

/* ===== NAVBAR CONTACT BUTTON ===== */
.navbar-contact {
  margin-left: 20px;
}

.contact-btn {
  background: linear-gradient(135deg, var(--secondary-color), #ffb84d);
  color: var(--primary-color) !important;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 30px;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(249, 168, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.contact-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.contact-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(249, 168, 0, 0.5);
  background: linear-gradient(135deg, #ffb84d, var(--secondary-color));
  color: var(--primary-color) !important;
}

.contact-btn:hover::before {
  left: 100%;
}

.contact-btn i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.contact-btn:hover i {
  transform: rotate(15deg) scale(1.2);
}

/* ===== MOBILE NAVBAR TOGGLE ===== */
.navbar-toggler {
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(249, 168, 0, 0.1);
  transition: var(--transition);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler:hover {
  background: rgba(249, 168, 0, 0.2);
  transform: scale(1.1);
}

.navbar-toggler-icon {
  background-image: none;
  width: 24px;
  height: 18px;
  position: relative;
  transition: var(--transition);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon {
  background: var(--primary-color);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  transition: var(--transition);
}

.navbar-toggler-icon::before {
  top: -6px;
}

.navbar-toggler-icon::after {
  bottom: -6px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  top: 0;
  transform: rotate(90deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  bottom: 0;
  transform: rotate(90deg);
}

/* ===== MOBILE MENU ===== */
.navbar-collapse {
  padding: 25px;
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, #f8f6f1 0%, #ffffff 25%, #f4f1ec 50%, #ffffff 75%, #f0ede8 100%);
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* Modern geometric shapes */
.hero-shape {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.06;
  animation: heroFloat 25s ease-in-out infinite;
  filter: blur(1px);
}

.hero-shape-1 {
  width: 500px;
  height: 400px;
  background: linear-gradient(45deg, var(--secondary-color), #ffb84d, var(--primary-color));
  top: 5%;
  right: -5%;
  animation-delay: 0s;
  transform: rotate(15deg);
}

.hero-shape-2 {
  width: 350px;
  height: 300px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--secondary-color));
  bottom: 10%;
  left: -8%;
  animation-delay: 8s;
  transform: rotate(-20deg);
}

.hero-shape-3 {
  width: 280px;
  height: 220px;
  background: linear-gradient(225deg, var(--secondary-color), #ffb84d, var(--primary-color));
  top: 40%;
  right: 20%;
  animation-delay: 16s;
  transform: rotate(45deg);
}

/* Additional decorative elements */
.hero-shape::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 20%;
  width: 60%;
  height: 60%;
  background: inherit;
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(2px);
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.06;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }

  25% {
    transform: translateY(-40px) rotate(90deg) scale(1.1);
    opacity: 0.1;
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }

  50% {
    transform: translateY(-20px) rotate(180deg) scale(0.9);
    opacity: 0.08;
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
  }

  75% {
    transform: translateY(20px) rotate(270deg) scale(1.05);
    opacity: 0.04;
    border-radius: 40% 60% 60% 40% / 60% 40% 40% 60%;
  }
}

/* Enhanced particles system */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(249, 168, 0, 0.04) 2px, transparent 2px),
    radial-gradient(circle at 85% 75%, rgba(0, 39, 36, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 45% 15%, rgba(249, 168, 0, 0.02) 3px, transparent 3px),
    radial-gradient(circle at 75% 85%, rgba(0, 39, 36, 0.02) 2px, transparent 2px),
    radial-gradient(circle at 25% 65%, rgba(249, 168, 0, 0.03) 1px, transparent 1px);
  background-size: 80px 80px, 120px 120px, 60px 60px, 100px 100px, 140px 140px;
  animation: particleMove 40s linear infinite;
}

@keyframes particleMove {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
    opacity: 1;
  }

  50% {
    transform: translateX(-30px) translateY(-40px) rotate(180deg);
    opacity: 0.7;
  }

  100% {
    transform: translateX(-60px) translateY(-80px) rotate(360deg);
    opacity: 1;
  }
}

/* Gradient overlay for depth */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at top left, rgba(249, 168, 0, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(0, 39, 36, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* ===== HERO CONTENT ===== */
.hero-content {
  padding: 40px 0;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(249, 168, 0, 0.1), rgba(249, 168, 0, 0.05));
  border: 1px solid rgba(249, 168, 0, 0.3);
  color: var(--primary-color);
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(249, 168, 0, 0.1), transparent);
  transition: left 0.8s ease;
}

.hero-badge:hover::before {
  left: 100%;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 25px;
  line-height: 1.1;
  font-weight: 900;
  position: relative;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 120px;
  height: 6px;
  background: linear-gradient(90deg, var(--secondary-color), #ffb84d);
  border-radius: 3px;
  box-shadow: 0 2px 15px rgba(249, 168, 0, 0.4);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--text-light);
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.6;
  max-width: 90%;
}

/* ===== HERO BUTTONS ===== */
.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-hero {
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-hero::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;
}

.btn-hero:hover::before {
  left: 100%;
}

.btn-hero.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(0, 39, 36, 0.3);
}

.btn-hero.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #ffb84d 100%);
  color: var(--primary-color);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(249, 168, 0, 0.4);
}

.btn-hero.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 8px 25px rgba(0, 39, 36, 0.1);
}

.btn-hero.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 39, 36, 0.3);
}

.btn-hero i {
  transition: transform 0.3s ease;
}

.btn-hero:hover i {
  transform: translateX(5px);
}

/* ===== HERO IMAGE ===== */
.hero-image-container {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Push to the right side of container */
    position: relative;
    overflow: visible; /* Allow overflow */
    padding-right: 0; /* Remove right padding */
}

.hero-image-wrapper {
    position: relative;
    width: auto; /* Changed from 100% */
    max-width: 1400px;
    display: flex;
    justify-content: flex-end; /* Align to right */
    align-items: center;
    margin-right: -200px; /* Push image to overflow LEFT */
    transform: translateX(-50px); /* Additional push left */
}

.hero-image {
  width: 100%;
  max-width: 1400px;
  height: auto;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.15));
  transition: var(--transition);
  border-radius: 20px;
}

.hero-image:hover {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 35px 70px rgba(0, 0, 0, 0.2));
}

.hero-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(249, 168, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: glow 4s ease-in-out infinite alternate;
}

@keyframes glow {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }
}

/* ===== SECTION STYLES ===== */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary-color), #ffb84d);
  color: var(--primary-color);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  background: linear-gradient(135deg, var(--white) 50%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 30px;
  line-height: 1.2;
}

.section-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), #ffb84d);
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(249, 168, 0, 0.3);
}

/* ===== HAKKIMIZDA SECTION ===== */
#hakkimizda {
  background: linear-gradient(135deg, var(--primary-color) 0%, #001b18 50%, #001a18 100%);
  position: relative;
  padding: 120px 0;
  color: var(--white);
  overflow: hidden;
}

#hakkimizda::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  z-index: 1;
}

#hakkimizda .container {
  position: relative;
  z-index: 2;
}

.about-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 60px 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 80px;
}

.about-text {
  color: #f0f0f0;
  line-height: 1.8;
  font-size: 18px;
  margin-bottom: 25px;
  text-align: justify;
}

/* ===== VIDEO SECTION ===== */
.video-section {
  position: relative;
  z-index: 2;
  margin-top: 60px;
}

.video-header {
  text-align: center;
  margin-bottom: 50px;
}

.video-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(249, 168, 0, 0.2), rgba(249, 168, 0, 0.1));
  border: 1px solid rgba(249, 168, 0, 0.3);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.video-title {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 900;
}

.video-subtitle {
  color: #ccc;
  font-size: 16px;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
}

.video-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.1);
  position: relative;
  transition: var(--transition);
}

.video-wrapper::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, var(--secondary-color), #ffb84d, var(--secondary-color));
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.5);
}

.video-wrapper:hover::before {
  opacity: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.video-wrapper:hover .video-overlay {
  opacity: 0;
}

.play-button {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-color), #ffb84d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 30px;
  box-shadow: 0 10px 30px rgba(249, 168, 0, 0.4);
  animation: playPulse 2s ease-in-out infinite;
}

@keyframes playPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* ===== MACHINE SECTION ===== */
.machine-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}

.machine-section .row {
  align-items: center;
  min-height: 70vh;
}

.machine-section .col-lg-6 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.machine-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 15% 25%, rgba(0, 39, 36, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(249, 168, 0, 0.03) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.machine-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 246, 241, 0.8) 100%);
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.machine-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--white);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.machine-title {
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 30px;
  line-height: 1.1;
}

.machine-description {
  color: var(--text-light);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
}

.machine-cta {
  font-size: 16px;
  padding: 15px 30px;
}

.machine-image-wrapper {
    position: relative;
    z-index: 2;
    text-align: right; /* Changed from center */
    padding: 60px 20px 60px 80px; /* More padding on left, less on right */
    display: flex;
    justify-content: flex-end; /* Push to right side */
    align-items: center; /* Keep vertical centering */
    width: 100%;
    min-height: 70vh; /* Ensure full vertical centering */
}


.machine-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
  transition: var(--transition);
  border-radius: 15px;
}

.machine-image:hover {
  transform: scale(1.05) rotate(-2deg);
}

/* ===== BUTTON STYLES ===== */
.btn-custom {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: var(--white);
  border: none;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 50px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 39, 36, 0.3);
}

.btn-custom::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;
}

.btn-custom:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #ffb84d 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(249, 168, 0, 0.4);
  color: var(--primary-color);
}

.btn-custom:hover::before {
  left: 100%;
}

.btn-custom i {
  transition: transform 0.3s ease;
}

.btn-custom:hover i {
  transform: translateX(5px);
}

/* ===== SPECS SECTION ===== */
.specs-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #001a18 100%);
  min-height: 100vh;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.specs-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 70%, rgba(249, 168, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.specs-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  z-index: 2;
}

.specs-image {
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.3));
  transition: var(--transition);
  border-radius: 20px;
}

.specs-image:hover {
  transform: scale(1.08) rotate(1deg);
}

.specs-table {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 25px;
  padding: 50px 45px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 40px 0 20px;
  max-width: calc(100% - 60px);
  position: relative;
  z-index: 2;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.specs-header {
  text-align: center;
  margin-bottom: 40px;
}

.specs-title {
  color: var(--white);
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 15px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.specs-subtitle {
  color: #ccc;
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
}

.specs-grid {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-radius: 15px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.spec-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(249, 168, 0, 0.1), transparent);
  transition: left 0.6s ease;
}

.spec-row:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.spec-row:hover::before {
  left: 100%;
}

.spec-label {
  color: #ccc;
  font-size: 16px;
  font-weight: 400;
  flex: 1;
}

.spec-value {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  text-align: right;
  background: linear-gradient(135deg, var(--secondary-color), #ffb84d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== COMPONENTS SECTION ===== */
.components-section {
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 25%, #f8f6f1 50%, #ffffff 75%, #f4f1ec 100%);
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.components-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(45deg, rgba(0, 39, 36, 0.02) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0, 39, 36, 0.02) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(249, 168, 0, 0.02) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(249, 168, 0, 0.02) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.3;
  animation: patternMove 60s linear infinite;
}

@keyframes patternMove {
  0% {
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    opacity: 0.3;
  }

  50% {
    background-position: 30px 30px, 30px 60px, 60px 0px, 0px 30px;
    opacity: 0.2;
  }

  100% {
    background-position: 60px 60px, 60px 90px, 90px 30px, 30px 60px;
    opacity: 0.3;
  }
}

.components-section::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 8%;
  width: 300px;
  height: 250px;
  background: linear-gradient(135deg,
      rgba(249, 168, 0, 0.08) 0%,
      rgba(0, 39, 36, 0.04) 25%,
      rgba(249, 168, 0, 0.06) 50%,
      rgba(0, 39, 36, 0.03) 75%,
      rgba(249, 168, 0, 0.05) 100%);
  border-radius: 40% 60% 70% 30% / 50% 60% 40% 50%;
  animation: floatComponents 30s ease-in-out infinite;
  z-index: 1;
  filter: blur(1px);
}

/* Additional floating element */
.components-section .container::before {
  content: '';
  position: absolute;
  top: 60%;
  left: 5%;
  width: 200px;
  height: 180px;
  background: linear-gradient(225deg,
      rgba(0, 39, 36, 0.06) 0%,
      rgba(249, 168, 0, 0.04) 50%,
      rgba(0, 39, 36, 0.03) 100%);
  border-radius: 60% 40% 30% 70% / 40% 50% 50% 60%;
  animation: floatComponents 25s ease-in-out infinite reverse;
  z-index: 1;
  filter: blur(0.5px);
}

@keyframes floatComponents {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.6;
    border-radius: 40% 60% 70% 30% / 50% 60% 40% 50%;
  }

  25% {
    transform: translateY(-30px) rotate(90deg) scale(1.1);
    opacity: 0.8;
    border-radius: 60% 40% 30% 70% / 40% 50% 60% 40%;
  }

  50% {
    transform: translateY(-15px) rotate(180deg) scale(0.95);
    opacity: 0.4;
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
  }

  75% {
    transform: translateY(15px) rotate(270deg) scale(1.05);
    opacity: 0.7;
    border-radius: 70% 30% 40% 60% / 60% 40% 50% 50%;
  }
}

/* Subtle grid overlay */
.components-section .container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 39, 36, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 39, 36, 0.01) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}

/* Enhanced depth with multiple layers */
.components-section .header::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: calc(100% + 100px);
  height: calc(100% + 100px);
  background:
    radial-gradient(ellipse at top, rgba(249, 168, 0, 0.03) 0%, transparent 60%),
    radial-gradient(ellipse at bottom, rgba(0, 39, 36, 0.02) 0%, transparent 60%);
  z-index: -1;
  border-radius: 20px;
  filter: blur(2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-shape-1 {
    width: 300px;
    height: 250px;
    right: -10%;
  }

  .hero-shape-2 {
    width: 200px;
    height: 180px;
    left: -15%;
  }

  .hero-shape-3 {
    width: 150px;
    height: 120px;
    right: 15%;
  }

  .components-section::after {
    width: 200px;
    height: 150px;
    right: 5%;
  }

  .components-section .container::before {
    width: 120px;
    height: 100px;
    left: 2%;
  }
}

@media (max-width: 576px) {
  .hero-particles {
    background-size: 40px 40px, 60px 60px, 30px 30px, 50px 50px, 70px 70px;
  }

  .components-section::before {
    background-size: 30px 30px;
    background-position: 0 0, 0 15px, 15px -15px, -15px 0px;
  }

  .hero-shape-1,
  .hero-shape-2,
  .hero-shape-3 {
    opacity: 0.03;
  }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {

  .hero-shape,
  .hero-particles,
  .components-section::before,
  .components-section::after,
  .components-section .container::before {
    animation: none !important;
  }
}

/* High contrast mode adjustments */
@media (prefers-contrast: high) {
  .hero-section {
    background: #ffffff;
  }

  .components-section {
    background: #f8f8f8;
  }

  .hero-shape,
  .components-section::after,
  .components-section .container::before {
    opacity: 0.1;
  }
}

.components-section .back-text {
  color: #999;
  font-size: 14px;
  margin-bottom: 15px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  position: relative;
  padding-left: 30px;
}

.components-section .back-text::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary-color), transparent);
  transform: translateY(-50%);
}

.components-section .main-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color) 0%, #004d47 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0;
  line-height: 1.1;
  position: relative;
}

.components-section .main-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), #ffb84d);
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(249, 168, 0, 0.3);
}

.components-section .content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  margin-bottom: 100px;
  align-items: start;
}

.components-section .left-column {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.components-section .right-column {
  display: flex;
  flex-direction: column;
  gap: 50px;
  position: sticky;
  top: 120px;
}

.components-section .machine-image-comp {
  background: linear-gradient(145deg, var(--white) 0%, #fafafa 100%);
  border-radius: 25px;
  overflow: hidden;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.08),
    0 10px 20px rgba(0, 0, 0, 0.04);
  padding: 35px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  transition: var(--transition);
}

.components-section .machine-image-comp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(145deg, transparent 0%, rgba(249, 168, 0, 0.02) 100%);
  border-radius: 25px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.components-section .machine-image-comp:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.12),
    0 15px 30px rgba(0, 0, 0, 0.08);
}

.components-section .machine-image-comp:hover::before {
  opacity: 1;
}

.components-section .machine-image-comp img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  transition: var(--transition);
  filter: contrast(1.1) saturate(1.1);
}

.components-section .machine-image-comp:hover img {
  transform: scale(1.08);
  filter: contrast(1.2) saturate(1.2);
}

.components-section .control-system,
.components-section .feature-section {
  background: linear-gradient(145deg, var(--white) 0%, #fafafa 100%);
  padding: 50px 45px;
  border-radius: 25px;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.08),
    0 10px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  transition: var(--transition);
}

.components-section .control-system::before,
.components-section .feature-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(145deg, transparent 0%, rgba(0, 39, 36, 0.02) 100%);
  border-radius: 25px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.components-section .control-system:hover,
.components-section .feature-section:hover {
  transform: translateY(-5px);
  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.12),
    0 15px 30px rgba(0, 0, 0, 0.08);
}

.components-section .control-system:hover::before,
.components-section .feature-section:hover::before {
  opacity: 1;
}

.components-section .section-title {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color) 0%, #004d47 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 30px;
  position: relative;
  line-height: 1.3;
}

.components-section .section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), #ffb84d);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(249, 168, 0, 0.3);
}

.components-section .section-text {
  color: #444;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 0;
  font-weight: 400;
  text-align: justify;
}

.components-section .bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.components-section .feature-with-image {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.components-section .highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.components-section .highlight-item {
  padding: 30px 35px;
  background: linear-gradient(135deg, rgba(249, 168, 0, 0.08) 0%, rgba(249, 168, 0, 0.04) 100%);
  border-radius: 20px;
  border-left: 5px solid var(--secondary-color);
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.components-section .highlight-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.components-section .highlight-item:hover {
  background: linear-gradient(135deg, rgba(249, 168, 0, 0.12) 0%, rgba(249, 168, 0, 0.06) 100%);
  transform: translateX(8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(249, 168, 0, 0.15);
}

.components-section .highlight-item:hover::before {
  left: 100%;
}

.components-section .highlight-text {
  color: #333;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.components-section .highlight-item::after {
  content: '→';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary-color);
  font-size: 18px;
  font-weight: bold;
  opacity: 0;
  transition: all 0.3s ease;
}

.components-section .highlight-item:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(5px);
}

/* ===== FOOTER STYLES ===== */
.footer-section {
  background: linear-gradient(135deg, #001a18 0%, var(--primary-color) 50%, var(--accent-color) 100%);
  position: relative;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 20%, rgba(249, 168, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 255, 234, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.footer-section::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 8%;
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, rgba(249, 168, 0, 0.1), rgba(0, 255, 234, 0.05));
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  animation: floatFooter 25s ease-in-out infinite;
  z-index: 1;
}

@keyframes floatFooter {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.6;
  }

  33% {
    transform: translateY(-20px) rotate(120deg) scale(1.1);
    opacity: 0.8;
  }

  66% {
    transform: translateY(10px) rotate(240deg) scale(0.9);
    opacity: 0.4;
  }
}

.footer-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 0 0;
}

.footer-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.footer-header::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.footer-title {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--white) 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  position: relative;
  font-weight: 900;
}

.footer-subtitle {
  color: #b0b0b0;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.contact-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: 25px;
  padding: 40px 35px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(249, 168, 0, 0.1), transparent);
  transition: left 0.8s ease;
}

.contact-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(249, 168, 0, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.contact-card:hover::before {
  left: 100%;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #ffb84d 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
  box-shadow: 0 10px 30px rgba(249, 168, 0, 0.3);
}

.contact-icon::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--secondary-color), #ffb84d);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-card:hover .contact-icon::after {
  opacity: 0.5;
}

.contact-icon i {
  font-size: 24px;
  color: var(--primary-color);
}

.contact-title {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 20px;
  position: relative;
  font-weight: 600;
}

.contact-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary-color);
  border-radius: 1px;
}

.contact-info {
  color: #b0b0b0;
  line-height: 1.8;
  font-size: 15px;
}

.contact-info a {
  color: #e0e0e0;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.contact-info a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.social-section {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
  border-radius: 25px;
  padding: 50px;
  margin: 60px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.social-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 48%, rgba(249, 168, 0, 0.05) 49%, rgba(249, 168, 0, 0.05) 51%, transparent 52%);
  animation: socialShimmer 3s ease-in-out infinite;
}

@keyframes socialShimmer {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

.social-title {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  font-weight: 600;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  position: relative;
  z-index: 2;
}

.social-link {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--secondary-color), #ffb84d);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link i {
  font-size: 24px;
  color: #e0e0e0;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 40px rgba(249, 168, 0, 0.3);
}

.social-link:hover::before {
  transform: scale(1);
}

.social-link:hover i {
  color: var(--primary-color);
}

.social-link.whatsapp:hover::before {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.social-link.instagram:hover::before {
  background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
}

.social-link.youtube:hover::before {
  background: linear-gradient(135deg, #FF0000, #CC0000);
}

.footer-bottom {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.footer-logo {
  max-width: 200px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: var(--transition);
}

.footer-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.copyright {
  color: #888;
  font-size: 14px;
  margin: 0;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--secondary-color), #ffb84d);
  color: var(--primary-color);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
  box-shadow: 0 8px 25px rgba(249, 168, 0, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 40px rgba(249, 168, 0, 0.4);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .components-section .content-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .components-section .right-column {
    position: static;
  }

  .navbar {
    margin: 15px 20px;
    max-width: calc(100% - 40px);
  }
}

@media (max-width: 992px) {
  .navbar {
    border-radius: 40px;
    margin: 10px 15px;
    padding: 8px 20px;
    max-width: calc(100% - 30px);
  }

  .machine-section {
    padding: 100px 0;
  }

  .hero-section {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-hero {
    width: 100%;
    justify-content: center;
  }

  .specs-table {
    margin: 0 20px;
    padding: 40px 30px;
  }

  .specs-title {
    font-size: 2.5rem;
  }

  .components-section .bottom-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .social-links {
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .navbar {
    border-radius: 25px;
    margin: 8px 10px;
    padding: 6px 15px;
    max-width: calc(100% - 20px);
  }

  #navbar-logo {
    height: 35px;
  }

  .navbar-nav {
    margin-top: 15px;
    gap: 10px;
  }

  .nav-link {
    padding: 15px 20px !important;
    text-align: center;
    border-radius: 15px;
  }

  .navbar-contact {
    margin-left: 0;
    margin-top: 15px;
  }

  .machine-section {
    padding: 80px 0;
  }

  .about-content {
    padding: 50px 35px;
  }

  .about-text {
    font-size: 17px;
    text-align: left;
  }

  .contact-btn {
    width: 100%;
    justify-content: center;
    padding: 15px 25px;
  }

  .hero-section {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .hero-content {
    text-align: center;
    padding: 20px 0;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin-bottom: 20px;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 100%;
  }

  .hero-buttons {
    gap: 15px;
  }

  .btn-hero {
    padding: 14px 28px;
    font-size: 15px;
  }

  .hero-image {
    max-width: 100%;
    margin-top: 30px;
  }

  .about-content {
    padding: 40px 30px;
    margin-bottom: 60px;
  }

  .about-text {
    font-size: 16px;
    text-align: left;
  }

  .video-title {
    font-size: 2rem;
  }

  .machine-content {
    padding: 30px 25px;
  }

  .machine-title {
    font-size: 2.5rem;
  }

  .machine-description {
    font-size: 16px;
    text-align: left;
  }

  .specs-section {
    padding: 60px 0;
  }

  .specs-table {
    margin: 0 10px;
    padding: 30px 25px;
  }

  .specs-title {
    font-size: 2rem;
  }

  .spec-row {
    padding: 15px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .spec-value {
    text-align: left;
    font-size: 16px;
  }

  .components-section {
    padding: 80px 0;
  }

  .components-section .header {
    margin-bottom: 60px;
  }

  .components-section .main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .components-section .control-system,
  .components-section .feature-section {
    padding: 35px 25px;
  }

  .components-section .section-title {
    font-size: 1.5rem;
  }

  .components-section .section-text {
    font-size: 15px;
    text-align: left;
  }

  .components-section .machine-image-comp {
    padding: 25px;
  }

  .components-section .machine-image-comp img {
    height: 250px;
  }

  .components-section .highlight-item {
    padding: 25px 20px;
  }

  .components-section .highlight-text {
    font-size: 15px;
  }

  .footer-content {
    padding: 60px 0 0 0;
  }

  .footer-title {
    font-size: 2rem;
  }

  .footer-subtitle {
    font-size: 1rem;
  }

  .contact-card {
    padding: 30px 25px;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
  }

  .contact-icon i {
    font-size: 20px;
  }

  .contact-title {
    font-size: 1.2rem;
  }

  .social-section {
    padding: 35px 25px;
    margin: 40px 0;
  }

  .social-title {
    font-size: 1.5rem;
  }

  .social-link {
    width: 50px;
    height: 50px;
  }

  .social-link i {
    font-size: 20px;
  }

  .back-to-top {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .navbar {
    border-radius: 20px;
    margin: 5px;
    padding: 5px 12px;
    max-width: calc(100% - 10px);
  }

  .machine-section {
    padding: 60px 0;
  }

  .about-text {
    font-size: 16px;
    line-height: 1.7;
  }

  .navbar-collapse {
    padding: 20px;
    margin-top: 10px;
  }

  .hero-section {
    padding-top: 70px;
    padding-bottom: 30px;
  }

  .hero-badge {
    padding: 8px 20px;
    font-size: 12px;
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
    margin-bottom: 15px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .btn-hero {
    padding: 12px 24px;
    font-size: 14px;
  }

  .section-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .section-badge {
    padding: 6px 15px;
    font-size: 12px;
  }

  .about-content {
    padding: 25px 20px;
  }

  .about-text {
    font-size: 15px;
  }

  .video-title {
    font-size: 1.5rem;
  }

  .video-badge {
    padding: 6px 15px;
    font-size: 12px;
  }

  .play-button {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .machine-content {
    padding: 25px 20px;
  }

  .machine-title {
    font-size: 2rem;
  }

  .machine-badge {
    padding: 6px 15px;
    font-size: 12px;
  }

  .specs-table {
    margin: 0 5px;
    padding: 25px 20px;
  }

  .specs-title {
    font-size: 1.8rem;
  }

  .spec-row {
    padding: 12px 15px;
  }

  .spec-label {
    font-size: 14px;
  }

  .spec-value {
    font-size: 15px;
  }

  .components-section {
    padding: 60px 0;
  }

  .components-section .back-text {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .components-section .main-title {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }

  .components-section .control-system,
  .components-section .feature-section {
    padding: 25px 20px;
  }

  .components-section .section-title {
    font-size: 1.3rem;
  }

  .components-section .section-text {
    font-size: 14px;
  }

  .components-section .machine-image-comp {
    padding: 20px;
  }

  .components-section .machine-image-comp img {
    height: 200px;
  }

  .components-section .highlight-item {
    padding: 20px 15px;
  }

  .components-section .highlight-text {
    font-size: 14px;
  }

  .footer-title {
    font-size: 1.8rem;
  }

  .contact-card {
    padding: 25px 20px;
  }

  .contact-title {
    font-size: 1.1rem;
  }

  .contact-info {
    font-size: 14px;
  }

  .social-section {
    padding: 25px 20px;
  }

  .social-title {
    font-size: 1.3rem;
  }

  .social-links {
    gap: 15px;
  }

  .social-link {
    width: 45px;
    height: 45px;
  }

  .social-link i {
    font-size: 18px;
  }

  .footer-bottom {
    padding: 30px 0;
  }

  .footer-logo {
    max-width: 150px;
  }

  .copyright {
    font-size: 13px;
  }
}

/* ===== ANIMATION UTILITIES ===== */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.animate {
  opacity: 1;
  transform: scale(1);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--secondary-color), #ffb84d);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #ffb84d, var(--secondary-color));
}

/* ===== SELECTION STYLES ===== */
::selection {
  background: rgba(249, 168, 0, 0.3);
  color: var(--primary-color);
}

::-moz-selection {
  background: rgba(249, 168, 0, 0.3);
  color: var(--primary-color);
}

/* ===== FOCUS STYLES ===== */
*:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

button:focus,
.btn:focus,
.btn-custom:focus,
.btn-hero:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(249, 168, 0, 0.3);
}

/* ===== PRINT STYLES ===== */
@media print {

  .navbar,
  .back-to-top,
  .social-section {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .hero-section,
  #hakkimizda,
  .specs-section,
  .footer-section {
    background: white !important;
    color: black !important;
  }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --light-bg: #1a1a1a;
    --text-dark: #e0e0e0;
    --text-light: #b0b0b0;
  }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000000;
    --secondary-color: #ffff00;
    --text-dark: #000000;
    --text-light: #333333;
    --white: #ffffff;
  }
}

/* ===== MOBILE NAVBAR TOGGLE FIX ===== */
@media (max-width: 991px) {
    .navbar-toggler {
        border: 2px solid var(--primary-color);
        padding: 8px 10px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.9);
        transition: var(--transition);
        width: 45px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(0, 39, 36, 0.2);
        border-color: var(--primary-color);
        outline: none;
    }

    .navbar-toggler:hover {
        background: rgba(0, 39, 36, 0.1);
        transform: scale(1.05);
        border-color: var(--secondary-color);
    }

    /* Hamburger icon styling */
    .navbar-toggler-icon {
        width: 22px;
        height: 16px;
        position: relative;
        background: none !important;
        border: none;
    }

    .navbar-toggler-icon,
    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        display: block;
        height: 2px;
        background: var(--primary-color);
        border-radius: 1px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        content: '';
        position: absolute;
        width: 100%;
        left: 0;
    }

    .navbar-toggler-icon::before {
        top: -6px;
    }

    .navbar-toggler-icon::after {
        bottom: -6px;
    }

    /* Active state animation - X şekli */
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background: transparent !important;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
        top: 0;
        transform: rotate(45deg);
        background: var(--secondary-color);
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
        bottom: 0;
        transform: rotate(-45deg);
        background: var(--secondary-color);
    }

    /* Active button state */
    .navbar-toggler[aria-expanded="true"] {
        background: rgba(249, 168, 0, 0.1);
        border-color: var(--secondary-color);
        transform: scale(1.1);
    }
}

/* ===== SPECS TABLE MOBILE CENTER FIX ===== */
@media (max-width: 991px) {
    .specs-section .row {
        justify-content: center;
        align-items: center;
    }

    .specs-section .col-lg-6 {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .specs-table {
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .specs-table {
        margin: 20px auto;
        padding: 30px 20px;
        max-width: 95%;
    }

    .specs-header {
        text-align: center;
        margin-bottom: 30px;
    }

    .specs-title {
        font-size: 2.2rem;
        text-align: center;
    }

    .specs-subtitle {
        text-align: center;
        font-size: 16px;
    }

    .spec-row {
        justify-content: center;
        text-align: center;
        padding: 15px 20px;
    }

    .spec-label {
        text-align: center;
        margin-bottom: 5px;
    }

    .spec-value {
        text-align: center;
        font-size: 17px;
    }
}

/* ===== MACHINE IMAGE MOBILE OPTIMIZATION ===== */
@media (max-width: 991px) {
    .machine-image-wrapper {
        text-align: center;
        padding: 40px 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: auto;
    }

    .machine-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    .machine-image-wrapper {
        padding: 30px 15px;
    }

    .machine-image {
        width: 100%;
        max-width: 95%;
        height: auto;
        min-height: 300px;
        object-fit: contain;
    }
}

@media (max-width: 576px) {
    .machine-image-wrapper {
        padding: 20px 10px;
    }

    .machine-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 250px;
        object-fit: contain;
    }
}

/* Ensure machine section layout works well on mobile */
@media (max-width: 991px) {
    .machine-section .row {
        flex-direction: column;
    }
    
    .machine-section .col-lg-6 {
        width: 100%;
        max-width: 100%;
    }
    
    .machine-section .col-lg-6:last-child {
        margin-top: 40px;
    }
}

/* ===== HERO FEATURES ===== */
.hero-features {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(249, 168, 0, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid rgba(249, 168, 0, 0.3);
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 16px;
}

.feature-item span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

/* ===== MACHINE ADVANTAGES ===== */
.machine-advantages {
    display: flex;
    gap: 25px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(0, 39, 36, 0.1), rgba(0, 39, 36, 0.05));
    padding: 12px 20px;
    border-radius: 20px;
    border: 1px solid rgba(0, 39, 36, 0.2);
}

.advantage-item i {
    color: var(--primary-color);
    font-size: 18px;
}

.advantage-item span {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== SECTORS SECTION ===== */
.sectors-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.sectors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 25%, rgba(0, 39, 36, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(249, 168, 0, 0.03) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.sectors-section .section-title {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-color) 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    line-height: 1.2;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.sector-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 39, 36, 0.1);
    transition: var(--transition);
}

.sector-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.sector-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), #ffb84d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.sector-icon i {
    font-size: 35px;
    color: var(--primary-color);
}

.sector-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.sector-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 15px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-features {
        justify-content: center;
        gap: 15px;
    }
    
    .feature-item {
        padding: 8px 15px;
    }
    
    .machine-advantages {
        justify-content: center;
        gap: 15px;
    }
    
    .sectors-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sector-card {
        padding: 30px 25px;
    }
    
    .sector-icon {
        width: 70px;
        height: 70px;
    }
    
    .sector-icon i {
        font-size: 30px;
    }
}

/* ===== SERVICES INFO ===== */
.services-info {
    background: rgba(0, 0, 0, 0.2);
    padding: 60px 0;
    margin-bottom: 40px;
}

.services-title {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: var(--transition);
}

.service-item:hover {
    background: rgba(249, 168, 0, 0.2);
    transform: translateY(-5px);
}

.service-item i {
    font-size: 30px;
    color: var(--secondary-color);
}

.service-item span {
    color: var(--white);
    font-weight: 600;
    text-align: center;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .service-item {
        padding: 15px 10px;
    }
    
    .service-item i {
        font-size: 24px;
    }
    
    .service-item span {
        font-size: 14px;
    }
}


/* ===== SECTORS CONTENT IN MACHINE SECTION ===== */
.sectors-content {
    position: relative;
    z-index: 2;
}

.sectors-content .section-title {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.sector-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 246, 241, 0.9) 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 39, 36, 0.1);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.sector-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, rgba(255, 255, 255, 1) 0%, rgba(248, 246, 241, 1) 100%);
}

.sector-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), #ffb84d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.sector-icon i {
    font-size: 35px;
    color: var(--primary-color);
}

.sector-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.sector-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 15px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .sectors-content {
        margin-top: 3rem !important;
        padding-top: 3rem !important;
    }
    
    .sectors-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sector-card {
        padding: 30px 25px;
    }
}


/* ===== ENHANCED SERVICES INFO ===== */
.services-info-enhanced {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.services-info-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.services-info-enhanced .container {
    position: relative;
    z-index: 2;
}

/* ===== SERVICES HEADER ===== */
.services-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--secondary-color), #ffb84d);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(249, 168, 0, 0.3);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.services-main-title {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--white) 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.services-subtitle {
    color: #b0b0b0;
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== ENHANCED SERVICES GRID ===== */
.services-enhanced-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.service-item-enhanced {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 40px 30px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    cursor: pointer;
}

.service-item-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(249, 168, 0, 0.1), 
        transparent);
    transition: left 0.8s ease;
}

.service-item-enhanced:hover {
    transform: translateY(-10px) scale(1.02);
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(249, 168, 0, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.service-item-enhanced:hover::before {
    left: 100%;
}

/* ===== SERVICE ICON ===== */
.service-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), #ffb84d);
    border-radius: 50%;
    opacity: 0.2;
    transition: var(--transition);
}

.service-item-enhanced:hover .service-icon-bg {
    opacity: 1;
    transform: scale(1.1);
}

.service-icon-wrapper i {
    font-size: 35px;
    color: var(--secondary-color);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.service-item-enhanced:hover .service-icon-wrapper i {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* ===== SERVICE CONTENT ===== */
.service-content h4 {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.service-content p {
    color: #b0b0b0;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

/* ===== SERVICE NUMBER ===== */
.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary-color), #ffb84d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.7;
    transition: var(--transition);
}

.service-item-enhanced:hover .service-number {
    opacity: 1;
    transform: scale(1.1);
}

/* ===== STATS SECTION ===== */
.services-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--secondary-color), #ffb84d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    color: #b0b0b0;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== CTA BUTTON ===== */
.services-cta {
    text-align: center;
}

.services-cta-btn {
    background: linear-gradient(135deg, var(--secondary-color), #ffb84d);
    color: var(--primary-color);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 40px rgba(249, 168, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.services-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.services-cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 50px rgba(249, 168, 0, 0.4);
    background: linear-gradient(135deg, #ffb84d, var(--secondary-color));
}

.services-cta-btn:hover::before {
    left: 100%;
}

.services-cta-btn i {
    transition: transform 0.3s ease;
}

.services-cta-btn:hover i {
    transform: translateX(5px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .services-enhanced-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-item-enhanced {
        padding: 30px 25px;
    }
    
    .services-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 40px 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .services-main-title {
        font-size: 2.5rem;
    }
    
    .services-cta-btn {
        padding: 15px 30px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .services-info-enhanced {
        padding: 60px 0;
    }
    
    .services-header {
        margin-bottom: 50px;
    }
    
    .services-stats {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .service-icon-wrapper i {
        font-size: 28px;
    }
}
