/* Global Styles */

:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --white: #ffffff;
  --black: #000000;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;

  /* Background colors */
  --bg-primary: #62c1e5;
  /* Sky Blue background */
  --bg-secondary: #62c1e5;
  --text-primary: #2c3e50;
  --text-secondary: #7f8c8d;
  --card-bg: #ffffff;
  --header-bg: #ffffff;
  /* Keep navbar white */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* outline: solid 2px red; */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  min-height: 100vh;
}

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

section {
  padding: 80px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}

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

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.text-center {
  text-align: center;
}

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

.section-header h2 {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  transition: all 0.3s ease;
}

.section-header .underline {
  display: none;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: white;
  color: #026a3c;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
  border: 3px solid #00264d;
  margin-bottom: 1rem;
}

.btn-primary:hover {
  background-color: #2980b9;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.btn-secondary:hover {
  background-color: #27ae60;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(46, 204, 113, 0.4);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.btn-text {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  padding: 5px 0;
}

.btn-text i {
  margin-left: 5px;
  transition: var(--transition);
}

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

.btn-text:hover i {
  transform: translateX(5px);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.animate-fadeIn {
  animation: fadeIn 1s ease-out forwards;
}

.animate-slideUp {
  animation: slideUp 0.8s ease-out forwards;
  animation-delay: 0.3s;
  opacity: 0;
  font-size: 0.8rem;
}

/* Header & Navigation */
/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.theme-toggle:hover {
  background-color: var(--light-color);
  transform: rotate(30deg);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background-color: var(--header-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
  padding: 15px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0;
  /* let the container handle padding */
}

.logo {
  margin-left: 0;
  padding-left: 0;
}

.logo img {
  height: 80px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  gap: 35px;
  margin-left: auto;
  /* pushes links to the right */
  justify-content: flex-end;
  align-items: center;
}

.nav-links a {
  color: #026a3c;
  font-weight: 600;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #2980b9;
  /* Solid blue underline */
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
  background-color: #2980b9;
  /* Solid blue on hover and active */
}

.nav-links a.active {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  transition: var(--transition);
}

/* Hero Section – Full Background Carousel */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 120px 0 90px;
  /* top padding so hero clears fixed header */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background slider fills the whole hero */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Light overlay so text stays readable */
.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
}

.hero-overlay .container {
  width: 100%;
}

/* Centered hero text */
.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #016a3f;
  text-shadow: 0 3px 10px rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.5);
  display: inline-block;
  padding: 10px 22px;
  border-radius: 10px;
}

.hero-content p {
  max-width: 850px;
  margin: 20px auto 30px;
  font-size: 1.2rem;
  color: #001a33;
  line-height: 1.8;
}

/* keep scroll-down working above everything */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #001a33;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.7;
  transition: var(--transition);
  animation: bounce 2s infinite;
  z-index: 3;
}

.scroll-down i {
  margin-top: 10px;
  font-size: 1.2rem;
}

/* Responsive tweaks for hero */
@media (max-width: 992px) {
  .hero {
    padding: 120px 0 70px;
    min-height: 90vh;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 110px 0 60px;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 110px 0 55px;
  }

  .hero-content h1 {
    font-size: 2rem;
    padding: 8px 16px;
  }

  .hero-content p {
    font-size: 0.95rem;
  }
}

/* About Section */
.about {
  background-color: transparent;
}

.about-content {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.about-text {
  flex: 1;
  min-width: 0;
  padding-right: 40px;
}

.about-text h3 {
  font-size: 2rem;
  color: var(--dark-color);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-image {
  flex: 0 0 40%;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-sizing: border-box;
  margin-left: auto;
}

.about-image img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  width: 100%;

  transition: transform 0.4s ease;
  will-change: transform;
}

.about-image:hover img {
  transform: scale(1.13);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
  box-sizing: border-box;
}

.feature {
  text-align: center;
  padding: 30px 20px;
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: var(--transition);
}

.feature:hover i {
  transform: scale(1.2);
  color: var(--secondary-color);
}

.feature h4 {
  color: var(--dark-color);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.feature p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

/* Services Section */
.services {
  background-color: transparent;
}

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

.service-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
  padding: 40px 30px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: rotateY(180deg);
}

.service-icon i {
  font-size: 2rem;
  color: var(--white);
}

.service-card h3 {
  color: var(--dark-color);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Products Section */
.products {
  background-color: transparent;
  padding: 100px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.product-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 0 0 25px 0;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-top: 4px solid var(--primary-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* First product image specific styling */
.products-grid .product-card:first-child .product-image {
  width: 85%;
  height: 160px;
  margin: 10px auto;
}

.product-image {
  width: 90%;
  height: 160px;
  overflow: hidden;
  margin: 10px auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

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

.product-card h3 {
  color: #026a41;
  margin: 0 20px 12px;
  font-size: 1.1rem;
  min-height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
  text-align: center;
}

.product-card p {
  color: var(--text-light);
  line-height: 1.5;
  margin: 0 20px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  max-width: 300px;
  margin-bottom: 15px;
  transition: var(--transition);
  text-align: justify;
  text-justify: inter-word;
}

/* Slider wrapper inside product card */
.product-image.product-slider {
  position: relative;
  overflow: hidden;
}

/* Make sure images fill the area nicely */
.product-image.product-slider .slider-images {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-image.product-slider .slider-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* or 'cover' if you want full cover */
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-image.product-slider .slider-slide.active {
  opacity: 1;
}

/* Arrows */
.product-image.product-slider .slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.product-image.product-slider .slider-prev {
  left: 8px;
}

.product-image.product-slider .slider-next {
  right: 8px;
}

.product-image.product-slider .slider-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

.industry-item:hover i {
  color: #026a41 !important;
  /* Deep green hover color */
  transform: scale(1.2);
}

.industry-item span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-color);
  display: block;
  margin-top: 10px;
}

/* Values Section */
.values {
  padding: 100px 0;
  background-color: transparent;
  position: relative;
  overflow: hidden;
}

.values::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(52, 152, 219, 0.05) 0%,
      rgba(46, 204, 113, 0.05) 100%);
  z-index: 1;
}

.values .container {
  position: relative;
  z-index: 2;
}

.values-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.values-text {
  flex: 1;
  padding-right: 30px;
}

.values-text h2 {
  color: var(--dark-color);
  font-size: 2.2rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.values-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.values-text p:last-child {
  margin-bottom: 0;
}

.values-image {
  flex: 0 1 auto;
  /* Allow container to shrink to fit image width */
  max-width: 50%;
  /* Prevent it from getting too large relative to text */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-sizing: border-box;
}

.values-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.values-image img {
  width: auto;
  /* Let image determine width based on height */
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  display: block;
  transition: var(--transition);
  border-radius: 8px;
}

.values-image:hover img {
  transform: scale(1.2);
}

/* Global Product Page Intro Text Justification */
.product-page .product-intro p {
  text-align: justify;
}

/* CTA Section */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" fill-opacity="1" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom/cover no-repeat;
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  line-height: 1.3;
  font-weight: 700;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cta-text {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-text:last-of-type {
  margin-bottom: 40px;
}

.cta-section .btn-primary {
  background-color: var(--white);
  color: var(--primary-color);
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: inline-block;
  border: 2px solid transparent;
}

.cta-section .btn-primary:hover {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 100px 0;
  background-color: transparent;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

/* Adjust the grid layout for the last two cards */
.reason-card:nth-last-child(2) {
  grid-column: 2;
  margin: 0 auto;
}

.reason-card:last-child {
  grid-column: 2;
  margin: 0 auto;
}

/* Create a flex container for the last two cards */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

/* Adjust the last two cards to be in the same row */
.reason-card:nth-last-child(2),
.reason-card:last-child {
  grid-column: span 1;
  width: 100%;
  max-width: 300px;
  display: inline-block;
  vertical-align: top;
}

/* Center the last two cards */
.reason-card:nth-last-child(2) {
  margin-left: auto;
  margin-right: 12.5px;
}

.reason-card:last-child {
  margin-right: auto;
  margin-left: 12.5px;
}

.reason-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 25px 20px;
  text-align: center;
  transition: var(--transition);
  border-left: 4px solid var(--primary-color);
  box-shadow: var(--box-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  max-width: 100%;
  margin: 0 auto;
}

.reason-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #f8f9fa, #fff);
}

.reason-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.reason-card:hover .reason-icon {
  transform: rotateY(180deg);
  background: linear-gradient(135deg,
      var(--secondary-color),
      var(--primary-color));
}

.reason-icon i {
  font-size: 1.8rem;
  color: var(--white);
}

.reason-card h3 {
  color: var(--dark-color);
  margin-bottom: 12px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 12px;
  line-height: 1.3;
}

.reason-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: #2980b9;
  /* Solid blue underline */
  transition: var(--transition);
}

.reason-card:hover h3::after {
  width: 80px;
}

.reason-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
  max-width: 300px;
  text-align: justify;
  text-justify: inter-word;
}

/* Industries Section */
.industries {
  padding: 100px 0;
  background-color: transparent;
}

.industries-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.7;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 30px;
}

.industry-item {
  background: #fff;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-top: 3px solid var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.industry-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
  border-top-color: var(--secondary-color);
}

.industry-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  transition: var(--transition);
}

.industry-item:hover i {
  color: #026a41 !important;
  /* Deep green hover color */
  transform: scale(1.2);
}

.industry-item span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-color);
  display: block;
  margin-top: 10px;
}

/* Responsive styles */
@media (max-width: 992px) {
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }

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

@media (max-width: 768px) {

  .why-choose-us,
  .industries {
    padding: 70px 0;
  }

  .reason-card,
  .industry-item {
    padding: 20px 15px;
  }

  .reason-icon {
    width: 60px;
    height: 60px;
  }

  .reason-icon i {
    font-size: 1.5rem;
  }

  .industry-item i {
    font-size: 2rem;
  }

  .industry-item span {
    font-size: 1rem;
  }
}

/* Responsive styles for CTA section */
@media (max-width: 992px) {
  .cta-section {
    padding: 100px 0;
  }

  .cta-section h2 {
    font-size: 2.2rem;
  }
}

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

  .cta-section h2 {
    font-size: 2rem;
  }

  .cta-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .cta-section {
    padding: 70px 20px;
  }

  .cta-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .cta-text {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .cta-section .btn-primary {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

/* Responsive styles for values section */
@media (max-width: 992px) {
  .values-content {
    flex-direction: column;
    gap: 30px;
  }

  .values-text {
    padding-right: 0;
    text-align: center;
  }

  .values-text .underline {
    margin-left: auto;
    margin-right: auto;
  }

  .values-image {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .values {
    padding: 70px 0;
  }

  .values-text h2 {
    font-size: 1.8rem;
  }

  .values-text p {
    font-size: 1rem;
  }
}

/* Responsive styles for industries */
@media (max-width: 992px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }
}

@media (max-width: 768px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 100%;
    padding: 0 15px;
  }

  .industry-item {
    padding: 25px 15px;
  }

  .industry-item i {
    font-size: 2.2rem;
  }

  .industry-item span {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 10px;
  }

  .industry-item {
    min-height: 130px;
  }
}

/* Responsive styles for why choose us */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .product-image {
    width: 90%;
    height: 140px;
  }

  .product-card h3 {
    font-size: 1rem;
    min-height: auto;
    margin: 0 15px 10px;
  }

  .product-card p {
    font-size: 0.85rem;
    margin: 0 15px;
    text-align: justify;
    text-justify: inter-word;
  }
}

/* Projects Section */
.projects {
  background-color: transparent;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.project-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(46, 204, 113, 0.9),
      rgba(52, 152, 219, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  color: var(--white);
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay h3 {
  color: var(--white);
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: var(--transition);
}

.project-overlay p {
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  transition-delay: 0.1s;
}

.project-overlay .btn {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  transition-delay: 0.2s;
}

.project-card:hover .project-overlay h3,
.project-card:hover .project-overlay p,
.project-card:hover .project-overlay .btn {
  opacity: 1;
  transform: translateY(0);
}

/* Contact Section */
.contact {
  background-color: transparent;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-top: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* Contact icons – solid blue circle, white icon */
.info-item i {
  width: 50px;
  height: 50px;
  background: #026a41 !important;
  /* solid blue outer circle */
  color: #ffffff !important;
  /* keep inner icon white */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.info-item:hover i {
  transform: rotateY(180deg);
}

.info-item h4 {
  color: var(--dark-color);
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.info-item p {
  color: var(--text-light);
  margin: 0;
}

.contact-form {
  background-color: #2c3e50 !important;
  /* Dark blue-gray background */
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.contact-form input,
.contact-form textarea {
  background-color: #556b82;
  /* slightly lighter dark background */
  color: #ffffff;
  /* white text */
  border: 1px solid #556b82;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #b0bec5;
  /* soft grey placeholders */
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

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

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 80px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  margin-bottom: 60px;
}

.footer-about h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-about p {
  margin-bottom: 20px;
  opacity: 0.8;
  line-height: 1.8;
}

.social-links {
  display: flex;
  gap: 15px;
}

/* === Social Icon Hover Color Update === */
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  /* Keep inner icon white */
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #2980b9 !important;
  /* Blue on hover */
  transform: translateY(-5px);
  color: #ffffff;
  /* Ensure inner icon remains white */
}

.footer-links h4,
.footer-newsletter h4 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after,
.footer-newsletter h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: #2980b9;
}

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

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

.footer-links a {
  color: var(--light-color);
  opacity: 0.8;
  transition: var(--transition);
  display: inline-block;
}

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

.footer-newsletter p {
  margin-bottom: 20px;
  opacity: 0.8;
  line-height: 1.8;
}

.newsletter-form {
  display: flex;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  overflow: hidden;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  background: transparent;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
  outline: none;
}

/* === Newsletter Button Icon Color Update === */
.newsletter-form button {
  background: #2980b9 !important;
  /* Solid blue outer color */
  color: #ffffff !important;
  /* Keep inner icon white */
  border: none;
  padding: 0 25px;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: #1f6695 !important;
  /* Slightly darker on hover */
  transform: scale(1.05);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--light-color);
  opacity: 0.7;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--primary-color);
  opacity: 1;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #026a41;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

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

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .about-content {
    flex-direction: column;
    text-align: left;
    gap: 30px;
  }

  .about-text {
    padding-right: 0;
    width: 100%;
  }

  .about-content {
    flex-direction: column;
    padding: 30px 15px;
    gap: 30px;
  }

  .about-text {
    padding-right: 0;
    width: 100%;
    order: 2;
  }

  .about-image {
    width: 80%;
    max-width: 400px;
    margin: 0 auto 20px;
    order: 1;
    padding: 10px;
  }

  .about-image img {
    max-height: 400px;
  }

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

  .project-overlay h3 {
    font-size: 1.3rem;
  }

  .project-overlay p {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #026a3c;
  }

  .hamburger {
    display: flex;
  }

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

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

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

  /* 🔹 Hero tweaks for tablets / small screens */
  .hero {
    padding: 120px 0 70px;
  }

  .hero-layout {
    gap: 25px;
    /* tighter gap between text and carousel */
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-slider {
    height: 210px;
    /* slightly smaller slider */
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    margin-top: 10px;
  }
}

@media (max-width: 576px) {
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* 🔹 Hero mobile spacing + carousel tweaks */
  .hero {
    padding: 110px 0 60px;
  }

  .hero-carousel {
    padding: 14px 14px 18px;
  }

  .hero-slider {
    height: 190px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .service-card {
    padding: 30px 20px;
  }

  .project-overlay h3 {
    font-size: 1.2rem;
  }

  .project-overlay p {
    font-size: 0.8rem;
  }

  .contact-form {
    padding: 30px 20px;
  }
}

/* Custom Animations */
@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* === Custom Scrollbar Solid Blue === */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background-color: #00264d;
  /* Solid dark blue */
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #001a33;
  /* Slightly darker on hover */
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition:
    opacity 0.5s,
    visibility 0.5s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

  100% {
    transform: rotate(360deg);
  }
}

/* === CUSTOM HEADING & PARAGRAPH COLORS === */

.section-header h2,
.about-text h3,
.values-text h2,
.contact h2 {
  color: #026a41 !important;
  /* Pitch black headings */
}

.about-text p,
.products p,
.why-choose-us p,
.industries-intro,
.values-text p,
.contact p {
  color: black !important;
  /* Pitch white paragraphs */
}

/* === Fullscreen Video Section === */
/* === Video Section with Controls === */
.video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-section video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* === Values Section Icon Hover Color === */
.reason-card:hover i,
.feature:hover i {
  color: #026a41 !important;
  transform: scale(1.2);
}

/* === Values Section Headings Color === */
.reason-card h3,
.feature h4 {
  color: #026a41 !important;
  /* Deep Green Headings */
}

/* === Values Section Paragraph Text Color === */
.reason-card p,
.feature p {
  color: #000000 !important;
  /* Pitch black text */
}

/* === Why Choose Us Icon Hover Fix === */
.reason-icon {
  background: #3498db;
  /* Default blue */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  transition: background 0.3s ease;
}

.reason-icon i {
  color: #ffffff !important;
  /* Always white icon */
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

.reason-card:hover .reason-icon {
  background: #016a3e !important;
  /* Only background turns green on hover */
}

.reason-card:hover .reason-icon i {
  color: #ffffff !important;
  /* Stay white even on hover */
  transform: scale(1.1);
}

.footer-logo {
  width: 180px;
  /* adjust as needed */
  height: auto;
  display: block;
  margin-bottom: 15px;
}

/* === Fix for Underline Gradient on Reliability, Quality, and Innovation === */
.reason-card h3::after {
  background: none !important;
  background-color: #2980b9 !important;
  /* Solid blue underline */
}

/* === Reliability/Values underline solid blue === */
.values-text .underline {
  background: #2980b9 !important;
  /* solid blue */
  background-image: none !important;
}

/* === Underline Animation on Hover for About Heading === */

/* === Global Heading Size Upgrade === */
h1 {
  font-size: 3.4rem;
}

h2 {
  font-size: 2.6rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  h3 {
    font-size: 1.7rem;
  }
}

/* === Framed Headings Style (Solid Dark Blue Border) === */
.section-header h2,
.about-text h3,
.values-text h2,
.contact h2 {
  position: relative;
  display: inline-block;
  padding: 12px 28px;
  border-radius: 14px;
  background: white;

  border: 3px solid #00264d;
  /* solid dark blue border */
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
  color: #026a41 !important;
  /* deep green heading color */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.section-header h2:hover,
.about-text h3:hover,
.values-text h2:hover,
.contact h2:hover {
  transform: translateY(-4px);
  border-color: #004080;
  /* slightly lighter on hover */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* === Enhanced Paragraph Styling for All Sections === */
.about-text p,
.values-text p,
.products p,
.why-choose-us p,
.industries-intro,
.contact p,
.section-header p {
  font-size: 1.1rem;
  /* slightly larger for readability */
  line-height: 1.9;
  font-family: "Nunito Sans", "Poppins", sans-serif;
  /* clean, modern font */
  font-weight: 400;
  color: #001a33;
  /* dark navy tone for contrast */
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}

/* Subtle hover or focus color change for interactivity */
.about-text p:hover,
.values-text p:hover,
.products p:hover,
.contact p:hover {
  color: #004080;
  /* dark blue hover color */
}

/* === Slightly bold all paragraphs under headings === */
.about-text p,
.values-text p,
.products p,
.why-choose-us p,
.industries-intro,
.contact p,
.section-header p {
  font-weight: 500 !important;
  /* subtle boldness */
}

/* === Decrease font size of product card descriptions === */
.product-card p {
  font-size: 0.85rem !important;
  /* smaller text */
  line-height: 1.5;
  color: #0a0a0a;
  /* keeps it readable */
}

/* === Decrease font size of paragraphs inside "Why Choose Us" cards === */
.reason-card p {
  font-size: 0.85rem !important;
  /* smaller font for cleaner layout */
  line-height: 1.5;
  color: #0a0a0a;
  /* keep text readable */
}

/* === Navbar color tweak === */
.header,
.header.scrolled {
  background-color: #62c1e5 !important;
  /* navbar background */
}

/* Navbar links white */
.nav-links a {
  color: #026a3c !important;
}

.nav-links a.active {
  color: #026a3c !important;
}

/* Underline also white so it pops on blue */
.nav-links a::after {
  background-color: #ffffff !important;
}

/* Hamburger lines white on mobile */
.hamburger span {
  background-color: #ffffff !important;
}

/* Mobile menu background same as navbar */
@media (max-width: 768px) {
  .nav-links {
    background-color: #62c1e5 !important;
  }
}

/* Make header container full width */
.header .container {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0 40px;
  /* adjust this if you want less/more gap from edges */
}

/* === PRODUCT CARD IMAGE SLIDER === */
.product-image.product-slider {
  position: relative;
  overflow: hidden;
  width: 90%;
  height: 180px;
  margin: 10px auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Container for images */
.product-image.product-slider .slider-images {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Each image (slide) */
.product-image.product-slider .slider-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

/* Show active image */
.product-image.product-slider .slider-slide.active {
  opacity: 1;
}

/* Arrows */
.product-image.product-slider .slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    background 0.3s ease;
}

/* Show arrows on hover */
.product-image.product-slider:hover .slider-arrow {
  opacity: 1;
}

.product-image.product-slider .slider-prev {
  left: 8px;
}

.product-image.product-slider .slider-next {
  right: 8px;
}

.product-image.product-slider .slider-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* Hover zoom for smooth feel */
.product-card:hover .product-image img {
  transform: scale(1.05);
  transition: transform 0.6s ease;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .product-image.product-slider {
    height: 160px;
  }
}

@media (max-width: 768px) {
  .product-image.product-slider {
    height: 140px;
  }

  .product-image.product-slider .slider-arrow {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .product-image.product-slider {
    height: 120px;
  }
}

.about-text p {
  text-align: justify;
  text-justify: inter-word;
  max-width: 600px;
}

.about-text {
  max-width: 650px;
}

.values-text {
  max-width: 600px;
}

.values-text p {
  text-align: justify;
  text-justify: inter-word;
}

@media (max-width: 768px) {
  .values-text p {
    text-align: left;
  }
}

/* ===============================
   FINAL STABLE PRODUCTS DROPDOWN
   =============================== */

/* parent */
.dropdown {
  position: relative;
}

/* button (span) */
.drop-btn {
  cursor: pointer;
  font-size: inherit;
  font-weight: bold;
  color: #026a3c;
}

/* ---------- DESKTOP ---------- */
@media (min-width: 769px) {
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;

    width: 240px;
    max-height: 460px;
    overflow-y: auto;

    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 6px;

    display: none;
    flex-direction: column;

    z-index: 9999;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    display: block;
    padding: 10px 14px;

    font-size: 14px;
    color: #026a3c !important;
    white-space: nowrap;

    border-bottom: 1px solid #eee;
  }

  .dropdown-menu a:last-child {
    border-bottom: none;
  }

  .dropdown-menu a:hover {
    background: #f5f5f5;
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {

  /* keep dropdown inside menu flow */
  .dropdown {
    width: 100%;
    text-align: center;
  }

  .drop-btn {
    font-size: 1.2rem;
  }

  .dropdown-menu {
    position: relative;

    width: 90%;
    margin: 8px auto;
    margin-right: 10px;
    max-height: 280px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 6px;
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    display: block;
    padding: 12px;

    font-size: 15px;
    color: #026a3c !important;

    border-bottom: 1px solid #eee;
  }

  .dropdown-menu a:last-child {
    border-bottom: none;
  }
}

/* scrollbar */
.dropdown-menu::-webkit-scrollbar {
  width: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: #026a3c;
  border-radius: 10px;
}

/* =========================================
   MOVED FROM HEADER.PHP (Floating Icons)
   ========================================= */
/* Floating Contact Section */
.floating-contact-icons {
  position: fixed;
  right: 30px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

/* Common Icon Style */
.floating-contact-icons a {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(80px);
  animation: popIn 0.5s forwards;
}

/* Sequential Pop-in Animation Delay */
.floating-contact-icons a:nth-child(1) {
  animation-delay: 0.2s;
}

.floating-contact-icons a:nth-child(2) {
  animation-delay: 0.4s;
}

.floating-contact-icons a:nth-child(3) {
  animation-delay: 0.6s;
}

.floating-contact-icons a:nth-child(4) {
  animation-delay: 0.8s;
}

.floating-contact-icons a:nth-child(5) {
  animation-delay: 1s;
}

/* Pop-in Animation Keyframes */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: translateX(80px) scale(0.8);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Default Brand Colors */
.icon-facebook {
  background: #1877f2;
}

.icon-instagram {
  background: linear-gradient(45deg,
      #feda75,
      #fa7e1e,
      #d62976,
      #962fbf,
      #4f5bd5);
}

.icon-whatsapp {
  background: #026a41;
}

.icon-mail {
  background: #026a41;
}

.icon-phone {
  background: #026a41;
}

/* Hover Effects */
.floating-contact-icons a:hover {
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.35);
}

/* =========================================
   COMPREHENSIVE RESPONSIVE FIXES (320px - 2560px)
   ========================================= */

/* --- LARGE SCREENS (2K / 4K) --- */
@media (min-width: 1600px) {
  .container {
    max-width: 1550px;
    padding: 0 40px;
  }

  .hero-content h1 {
    font-size: 4rem;
  }

  .hero-content p {
    font-size: 1.3rem;
    max-width: 1000px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

/* --- TABLET LANDSCAPE (768px - 1024px) --- */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .container {
    padding: 0 30px;
  }
}

/* --- MOBILE LANDSCAPE / LARGE PHONES (480px - 768px) --- */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  /* Ensure logo matches header height */
  .logo img {
    height: 60px;
    max-width: 160px;
  }

  /* Adjust header padding */
  .header {
    padding: 15px 0;
  }
}

/* --- SMALL MOBILES (320px - 480px) --- */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
    /* Critical for small screens */
  }

  h1,
  .hero h1 {
    font-size: 1.8rem;
  }

  h2,
  .section-header h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  /* Hero Adjustments */
  .hero {
    padding: 100px 0 50px;
    min-height: auto;
    /* Allow content to dictate height */
  }

  .hero-content h1 {
    padding: 8px 12px;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* Grid Fixes */
  .industries-grid {
    gap: 10px;
    padding: 0;
  }

  .industry-item {
    padding: 15px 5px;
    min-height: 110px;
  }

  .industry-item i {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .industry-item span {
    font-size: 0.85rem;
    margin-top: 5px;
  }

  /* Force single column for reasons if cramped */
  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reason-card {
    max-width: 100%;
    /* Full width */
  }

  /* Footer */
  .footer-content {
    column-gap: 0;
    row-gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  /* Floating Icons - scale down */
  .floating-contact-icons {
    bottom: 70px;
    right: 10px;
    gap: 10px;
  }

  .floating-contact-icons a {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  /* Back to Top */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .btn {
    width: 100%;
    margin-bottom: 15px;
  }
}

/* --- SUPER SMALL SCREENS (< 350px) --- */
@media (max-width: 350px) {
  .industries-grid {
    grid-template-columns: 1fr;
    /* Switch to 1 column */
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .logo img {
    height: 45px;
  }
}

/* =================================================================
   FINAL RESPONSIVE OVERRIDES (Ensure 320px - 2560px Perfection)
   ================================================================= */

/* --- 1. Fix Hero Background on Mobile (Prevent cutoff) --- */
@media (max-width: 768px) {
  .hero-slider {
    height: 100% !important;
    /* Force cover full height of text */
    min-height: 100%;
  }
}

/* --- 2. Safe Grids for Mobile (320px - 576px) --- */
@media (max-width: 576px) {

  /* Force single column to prevent overflow on small screens */
  .services-grid,
  .projects-grid,
  .contact-content,
  .products-grid,
  .footer-content,
  .reasons-grid,
  .industries-grid {
    grid-template-columns: 100% !important;
    gap: 25px;
  }

  /* Ensure correct padding */
  .container {
    padding: 0 20px !important;
  }

  .hero-content h1 {
    font-size: 2rem !important;
  }
}

/* --- 3. Extra Small Screen Tweaks (320px specific) --- */
@media (max-width: 360px) {
  .container {
    padding: 0 15px !important;
  }

  h1,
  .hero h1 {
    font-size: 1.6rem !important;
  }

  h2,
  .section-header h2 {
    font-size: 1.4rem !important;
  }

  /* Prevent horizontal scroll from long words */
  p,
  h1,
  h2,
  h3,
  a {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* --- 4. Massive Screens (2560px+) --- */
@media (min-width: 2000px) {
  .container {
    max-width: 1800px !important;
  }

  html {
    font-size: 18px;
    /* Scale text slightly */
  }
}

@media (min-width: 2500px) {
  .container {
    max-width: 2200px !important;
  }

  html {
    font-size: 20px;
    /* Scale text more */
  }
}

@media (max-width: 576px) {
  .info-item p {
    font-size: 1rem;
  }
}

@media (max-width: 425px) {
  .info-item p {
    font-size: 0.8rem;
  }
}

@media (max-width: 320px) {
  .info-item p {
    font-size: 0.6rem;
  }
}


        /* Center section */
        .hero1 {
            width: 100%;;
            height:30vh; /* Full screen height */
            display: flex;
            justify-content: center;  /* Horizontal center */
            align-items: center;      /* Vertical center */
            text-align: center;
            padding: 20px;
            background-color: #f4f6f9;
        }

        .hero1 h1 {
            font-size: 2.5rem;
            max-width: 900px;
            color: #222;
        }

        /* Mobile responsive */
        @media (max-width: 768px) {
            .hero1 h1 {
                font-size: 1.6rem;
            }
        }

