/* ADC Engineers Enhanced Styles */
:root {
  /* Design Brief Color Tokens */
  --primary-color: #2589b4;
  --secondary-color: #1e6f8e;
  --accent-color: #3aa0ca;
  --dark-color: #2589b4;
  --gray-color: #6b7280;
  --light-color: #f9fafb;
  --white-color: #ffffff;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --white: #ffffff;
  --border-color: #2c5aa4;
  --warning-color: #f59e0b;
  --error-color: #e53e3e;
  --max-width: 1200px;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(220, 42, 42, 0.1);
  --transition: all 0.3s ease;

  /* Shadows */
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Border Radius */
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #6b7280;
  background-color: aliceblue;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-color);
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: var(--shadow-light);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-gray {
  color: var(--gray-color);
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin-left: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--secondary-color);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  margin: 3px 0;
  transition: var(--transition);
}

/* Enhanced Video Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.7);
}

/* Enhanced hero fallback image */
.hero-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.7);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 137, 180, 0.8), rgba(30, 111, 142, 0.6));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Added scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-arrow {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  animation: bounce 2s infinite;
  cursor: pointer;
  transition: var(--transition);
}

.scroll-arrow:hover {
  border-color: var(--white);
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Enhanced Page Header with Video Background */
.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 8rem 0 4rem;
  text-align: center;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

/* Added video background support for page headers */
.page-header-video {
  position: relative;
}

.page-header-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6);
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 137, 180, 0.8), rgba(30, 111, 142, 0.7));
  z-index: 2;
}

.page-header .container {
  position: relative;
  z-index: 3;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Enhanced section background patterns */
.section-bg-pattern {
  background-image: radial-gradient(circle at 20% 50%, rgba(37, 137, 180, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(30, 111, 142, 0.05) 0%, transparent 50%);
}


.section-bg-about {
  background: linear-gradient(135deg, rgba(37, 137, 180, 0.02) 0%, rgba(30, 111, 142, 0.02) 100%);
}

.section-bg-mission {
  background-image: radial-gradient(circle at 25% 25%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(37, 137, 180, 0.05) 0%, transparent 50%);
}

.section-bg-goal {
  background: linear-gradient(45deg, rgba(37, 137, 180, 0.02) 0%, transparent 100%);
}

.section-bg-competencies {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(37, 137, 180, 0.02) 2px,
    rgba(37, 137, 180, 0.02) 4px
  );
}

.section-bg-approach {
  background: radial-gradient(ellipse at center, rgba(37, 137, 180, 0.03) 0%, transparent 70%);
}

.section-bg-industries {
  background-size: 100px 100px;
}

.section-bg-choose {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.02) 0%, rgba(37, 137, 180, 0.03) 100%);
}

.section-bg-services-intro {
  background: linear-gradient(45deg, rgba(37, 137, 180, 0.03) 0%, transparent 100%);
}

.section-bg-ventilation {
  background-image: radial-gradient(circle at 30% 70%, rgba(37, 137, 180, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(30, 111, 142, 0.04) 0%, transparent 50%);
}

.section-bg-manufacturing {
  background: linear-gradient(135deg, rgba(37, 137, 180, 0.02) 0%, rgba(245, 158, 11, 0.02) 100%);
}

.section-bg-services {
  background-image: linear-gradient(60deg, rgba(37, 137, 180, 0.02) 25%, transparent 25%),
    linear-gradient(120deg, rgba(37, 137, 180, 0.02) 25%, transparent 25%);
  background-size: 80px 80px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #1a5f7a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.btn-light {
  background-color: var(--white);
  color: var(--primary-color);
}

.btn-light:hover {
  background-color: var(--light-color);
  transform: translateY(-2px);
}

/* Sections */
.section-padding {
  padding: 5rem 0;
}

.bg-light {
  background-color: aliceblue;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark-color);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(37, 137, 180, 0.05), transparent);
  transform: rotate(45deg);
  transition: var(--transition);
  opacity: 0;
}

.feature-card:hover::before {
  opacity: 1;
  animation: shimmer 0.8s ease-out;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
  font-size: 2rem;
  position: relative;
  z-index: 2;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
  position: relative;
  z-index: 2;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
}

.service-header {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-size: 2rem;
}

.blue-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.orange-gradient {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.green-gradient {
  background: linear-gradient(135deg, var(--success-color), #059669);
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-card li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  color: var(--gray-color);
}

.service-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

/*.read-more {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--primary-color);
}*/
.read-more {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #e7ecf2, #2589b4); /* default blue */
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.read-more i {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.read-more:hover {
  background: linear-gradient(135deg, #0056b3, #003f80);
  box-shadow: 0px 4px 12px rgba(0,0,0,0.3);
}

.read-more:hover i {
  transform: translateX(4px); /* little arrow animation */
}
/* Ventilation card button */
.service-card .blue-gradient + h3 + p + ul + .read-more {
  background: linear-gradient(135deg, #1e90ff, #0056b3);
}

/* Power Engineering card button */
.service-card .orange-gradient + h3 + p + ul + .read-more {
  background: linear-gradient(135deg, #ff8c00, #cc5200);
}

/* Environmental Solutions card button */
.service-card .green-gradient + h3 + p + ul + .read-more {
  background: linear-gradient(135deg, #28a745, #1e7e34);
}


/* Enhanced Swiper.js Integration */
.swiper {
  width: 100%;
  height: 100%;
}

.services-swiper {
  padding-bottom: 50px;
}

.product-swiper {
  padding-bottom: 50px;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color);
  background: rgba(255, 255, 255, 0.9);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-top: -25px;
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--white);
  transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(37, 137, 180, 0.3);
  opacity: 1;
  transition: var(--transition);
}

.swiper-pagination-bullet-active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* Enhanced Image Carousel */
.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
  box-shadow: var(--shadow-medium);
}

.carousel-slide {
  position: relative;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.carousel-slide:hover img {
  transform: scale(1.05);
}

.carousel-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: 2rem;
  transform: translateY(20px);
  transition: var(--transition);
}

.carousel-slide:hover .carousel-content {
  transform: translateY(0);
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* Enhanced Product Gallery Carousel */
.product-gallery-carousel {
  margin: 2rem 0;
}

.product-gallery-carousel .swiper-slide {
  height: auto;
}

.product-item {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.product-item:hover .product-image {
  transform: scale(1.05);
}

.product-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.product-description {
  color: var(--gray-color);
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.product-features {
  list-style: none;
  padding: 0;
}

.product-features li {
  padding: 5px 0;
  color: var(--dark-color);
  position: relative;
  padding-left: 20px;
}

.product-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  margin-bottom: 2rem;
}

.cta-contact {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item i {
  font-size: 1.5rem;
}

.contact-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.contact-value {
  font-weight: 600;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-contact i {
  margin-top: 0.2rem;
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
  opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

/* Scroll Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: var(--transition-slow);
}

.animate-slide-left.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: var(--transition-slow);
}

.animate-slide-right.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.animate-fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.animate-fade-in.animate-in {
  opacity: 1;
}

.animate-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s ease;
}

.animate-scale.animate-in {
  opacity: 1;
  transform: scale(1);
}

.animate-on-scroll:nth-child(1) {
  transition-delay: 0.1s;
}
.animate-on-scroll:nth-child(2) {
  transition-delay: 0.2s;
}
.animate-on-scroll:nth-child(3) {
  transition-delay: 0.3s;
}
.animate-on-scroll:nth-child(4) {
  transition-delay: 0.4s;
}
.animate-on-scroll:nth-child(5) {
  transition-delay: 0.5s;
}
.animate-on-scroll:nth-child(6) {
  transition-delay: 0.6s;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .cta-contact {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .section-padding {
    padding: 3rem 0;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}

/* Additional styles for enhanced services page */
.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.section-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.section-intro p {
  font-size: 1.1rem;
  color: var(--gray-color);
  line-height: 1.7;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.capability-card {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 30px 25px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

.capability-card:hover {
  transform: translateY(-5px);
}

.capability-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.capability-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.manufacturing-process {
  background-color: var(--light-color);
  padding: 60px 0;
  margin: 60px 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.process-step {
  text-align: center;
  padding: 20px;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 20px;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
}

.lightbox img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.image-placeholder {
  width: 100%;
  height: 250px;
  background-color: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-color);
  font-size: 1.1rem;
  border: 2px dashed var(--gray-color);
}
/* Slideshow wrapper */
.slideshow {
    position: relative;
    height: 100vh; /* full screen effect, adjust if needed */
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
}

/* Background images */
.slideshow-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.slideshow-container .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: index 1;
}

.slideshow-container .slide.active {
    opacity: 1;
}

/* Overlay to improve readability */
.slideshow .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2;
}

/* Content always on top */
.slideshow .container {
    position: relative;
    z-index: 3;
    color:#6b7280;
}
.page-header-video {
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-header-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-header-overlay,
.page-header .container {
  position: relative;
  z-index: 2;
}