/* =====================================
   GLOBAL STYLES
   ===================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f9f9f9;
  color: #fff;
}

/* =====================================
   NAVIGATION BAR (STICKY + RESPONSIVE)
===================================== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 80px;
  background-color: #0f4c81;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  /*font-family: "Poppins", sans-serif;*/
}

/* ---------- LOGO ---------- */
.logo img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

/* ---------- NAV LINKS ---------- */
.nav-links {
  display: flex;
  gap: 35px;
  list-style: none;
  align-items: center;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.nav-links li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.8px;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #cde7ff;
  opacity: 0.85;
}

/* ---------- BUTTON ---------- */
.btn-outline {
  border: 1px solid #ffffff;
  padding: 6px 16px;
  border-radius: 3px;
  text-decoration: none;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0.8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-outline:hover {
  background-color: #ffffff;
  color: #0f4c81;
}

/* ---------- NAV BUTTON ---------- */
.nav-button {
  text-align: right;
}

/* ---------- HAMBURGER ---------- */
.hamburger {
  display: none; /* hidden by default for desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  cursor: pointer;
  margin-left: auto;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 22px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* Hamburger animation */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}

/* =====================================
   RESPONSIVE DESIGN
===================================== */
@media (max-width: 950px) {
  .navbar {
    padding: 14px 30px;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #0f4c81;
    flex-direction: column;
    align-items: flex-start;
    width: 220px;
    padding: 20px;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  .hamburger {
    display: flex; /* show hamburger on small screens */
    margin-left: auto; /* push to right edge */
  }

  .nav-button {
    display: none; /* hide desktop button */
  }

  /* Button inside dropdown */
  .mobile-btn {
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 12px 20px;
  }

  .logo img {
    height: 35px;
  }
}

/* Hide mobile quote on desktop */
@media (min-width: 951px) {
  .mobile-btn {
    display: none !important;
  }
}

/* ==========================
   ABOUT US HERO SECTION STYLE
========================== */
.about-hero {
  position: relative;
  width: 100%;
  height: 50vh; /* Half of the desktop screen height */
  background: url("environmental-pollution-factory-exterior-night.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Optional overlay to darken the image for better text visibility */
.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 76, 129, 0.5); /* semi-transparent blue overlay */
  z-index: 1;
}

/* Text styling */
.about-overlay {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
}

.about-overlay h1 {
  font-size: 3rem;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .about-hero {
    height: 40vh; /* slightly smaller for tablets */
  }

  .about-overlay h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .about-hero {
    height: 35vh; /* smaller for mobile */
  }

  .about-overlay h1 {
    font-size: 1.8rem;
  }
}





/* ==========================
   About company section
========================== */

/* Section layout */
.about-company {
  padding: 80px 10%;
  display: flex;
  justify-content: center;
  background-color: #ffffff;
  font-family: 'Poppins', sans-serif;
  margin-top: -10px;
}

.about-company .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}

/* Left side images */
.about-images {
  position: relative;
  flex: 1;
  min-width: 300px;
  }
  .about-video {
  /*width: 100%;
  max-width: 320px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border: 3px solid #7b3ff3;  purple border for video frame */
  width: 800px;
 
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


.img-main img {
  width: 900px;
  height: 400px;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.img-overlay {
  position: absolute;
  bottom: -80px;
  left: -40px;
}

.img-overlay img {
  width: 200px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(42, 41, 41, 0.1);
  background-color: #ffffff;
  padding: 15px;
}

.badge {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0f4c81, #2874b6);
  color: white;
  text-align: center;
  padding: 20px 40px;
  border-radius: 50px;
  box-shadow: 0 5px 15px #0f4c81;
}

.badge h3 {
  margin: 0;
  font-size: 20px;
}

.badge p {
  margin: 0;
  font-size: 12px;
}

/* Right side content */
.about-content {
  flex: 1;
  min-width: 320px;
}

.about-content .subtitle {
  color: #108fff;
  font-weight: 600;
  margin-bottom: 10px;
}

.about-content h2 {
  font-size: 28px;
  color: #0f4c81;
  line-height: 1.3;
  margin-bottom: 20px;
}

.about-content .description {
  color: #000000;
  margin-bottom: 30px;
  font-size: 15px;
  line-height: 1.7;
}

/* Features list */
.features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.feature-item .icon {
  background: #f3ecff;
  color: #7b3ff3;
  padding: 12px;
  border-radius: 50%;
  font-size: 20px;
}

.feature-item h4 {
  margin: 0;
  font-size: 16px;
  color: #2a2a2a;
}

.feature-item p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #666;
}

/* Responsive design */
@media (max-width: 992px) {
  .about-company .container {
    flex-direction: column;
  }

  .img-overlay {
    position: absolute;
    bottom: -30px;
    left: 20px;
  }
}




/* ============================= */
/* OUR SERVICES SECTION STYLING  */
/* ============================= */
/* Main Section */
.services-section {
  background: #f9fbfd;
  padding: 100px 60px;
  font-family: "Poppins", sans-serif;
}

/* Container width increased */
.services-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header Section */
.services-header {
  position: relative;
  margin-bottom: 50px;
}

.services-header .small-title {
  color: #6b7cfc;
  font-weight: 500;
  margin-bottom: 8px;
}

.services-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
}

.services-header h2 span {
  color: #3b6dfc;
}

/* Button */
.view-all-btn {
  position: absolute;
  right: 0;
  top: 15px;
  background: #3b6dfc;
  color: #fff;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s ease;
}

.view-all-btn:hover {
  background: #2348c7;
}

/* Grid Layout (5 Cards in One Row) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* Service Card Styling */
.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-align: left;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Icon Box */
.service-card .icon {
  width: 60px;
  height: 60px;
  background: #eef3ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.service-card .icon img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

/* Text Styling */
.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.service-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

/* Learn More Link */
.learn-more {
  color: #3b6dfc;
  text-decoration: none;
  font-weight: 500;
}

.learn-more:hover {
  text-decoration: underline;
}

/* ========== Responsive ========== */

/* Medium screens (3 cards per row) */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet (2 cards per row) */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .view-all-btn {
    position: static;
    margin-top: 15px;
    display: inline-block;
  }
}

/* Mobile (1 card per row) */
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================
   VALUES SECTION STYLE
========================== */
.values-section {
  background:  #f9fbfd;
  padding: 100px 0;
  font-family: "Poppins", sans-serif;
  margin-top: -120px;
  
}

.values-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* ----- Card ----- */
.value-card {
  background: #0f4c81;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding: 10px 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Icon Circle */
.icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  background: #ffffff;
  overflow: hidden;
}

.icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Colors */
.red-bg {
  background-color: #FFFFFF;
}

.dark-bg {
  background-color: #FFFFFF;
}

/* Text */
.value-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.value-card p {
  color: #c0c0c0;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .values-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}












/* =========================
   FOOTER SECTION STYLE
========================= */

.footer {
  background: linear-gradient(135deg, #0a3b66 0%, #0f4c81 100%);
  color: #d4e1f5;
  padding: 60px 100px 20px;
  /*font-family: 'Poppins', sans-serif;*/
  overflow: hidden;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer h2 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 700;
}

.footer h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
}

.footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 50px;
  height: 2px;
  background: #4dd1f9;
  border-radius: 2px;
}

.footer p {
  font-size: 14px;
  line-height: 1.8;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin: 8px 0;
  font-size: 14px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-col ul li a {
  color: #c6d4e9;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-col ul li a:hover,
.footer-col ul li:hover {
  color: #4dd1f9;
  transform: translateX(3px);
}

.footer-line {
  margin-top: 20px;
  width: 60px;
  height: 3px;
  background: #4dd1f9;
  border-radius: 2px;
}

.social-icons {
  margin-top: 30px;
}

.social-icons a {
  display: inline-block;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  margin-right: 10px;
  transition: all 0.3s;
}

.social-icons a:hover {
  background:#4dd1f9 ;
  color: #fff;
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #b8c8dd;
}

.footer-bottom span {
  color: #4dd1f9;
  font-weight: 600;
}

/* ===== Scroll Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons a {
    margin: 8px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}



/* ============================================
   ADDITIONAL RESPONSIVE FIXES BY CHATGPT
============================================ */

/* ---------- About Company Section Fix ---------- */
@media (max-width: 992px) {
  .about-company {
    padding: 60px 6%;
  }

  .about-company .container {
    flex-direction: column; /* Stack video & text */
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .about-images,
  .about-content {
    width: 100%;
    max-width: 650px;
  }

  .about-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
  }

  .img-overlay {
    position: static;
    margin-top: 20px;
  }
}

@media (max-width: 600px) {
  .about-company {
    padding: 50px 20px;
  }

  .about-content h2 {
    font-size: 22px;
  }

  .about-content .description {
    font-size: 14px;
  }

  .about-video {
    border-radius: 12px;
  }
}

/* ---------- Navbar Minor Adjustments ---------- */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 25px;
  }

  .nav-links {
    width: 100%;
    right: 0;
  }

  .nav-links li a {
    padding: 12px 15px;
    font-size: 14px;
  }

  .hamburger {
    margin-left: auto;
  }
}

/* ---------- Footer Spacing and Font Fix ---------- */
@media (max-width: 992px) {
  .footer {
    padding: 50px 40px 20px;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 40px 20px 10px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer h2 {
    font-size: 20px;
  }

  .footer p,
  .footer-col ul li {
    font-size: 13px;
  }

  .social-icons a {
    margin: 5px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}


