/* =====================================
   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;
  }
}

/* =========================
      Career Intro
========================= */
/* ====== CAREER SECTION ====== */
.career-section {
  padding: 80px 8%;
  background: #f9f9f9;
  font-family: "Poppins", sans-serif;
}

.career-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* ====== RIGHT SIDE (TEXT) ====== */
.career-content {
  flex: 1;
  order: 1;
}

.career-content h2 {
  font-size: 38px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #222;
}

.career-content p {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 18px;
}



/* ============================================================ */
/* =========================
  Job Application
========================= */

/* FORM CONTAINER */
.quote-section02 {
  /*order: 2;*/
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  background: #ffffff;
}

.quote-form02 {
  width: 100%;
  max-width: 900px;
}

/* FORM ROWS */
.form-row02 {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group02 {
  width: 100%;
}

.full02 {
  width: 100%;
  margin-bottom: 20px;
}

/* LABEL */
.form-group02 label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
}

/* INPUTS */
input, select, textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
  font-size: 15px;
  outline: none;
  transition: all 0.3s;
}

input:focus, select:focus, textarea:focus {
  border-color: #8b8bff;
  background: #fff;
}

textarea {
  height: 130px;
  resize: none;
}

/* UPLOAD FILE BOX */
.upload-box02 {
  border: 2px dashed #d8d8ff;
  padding: 40px;
  text-align: center;
  border-radius: 10px;
  background: #f5f7ff;
}

.upload-box02 p {
  color: #6a6a6a;
  margin-bottom: 15px;
}

.upload-btn02 {
  padding: 10px 20px;
  background: #5a4bff;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
}

/* SUBMIT BUTTON */
.submit-btn02 {
  width: 100%;
  padding: 15px;
  font-size: 17px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: linear-gradient(90deg, #6a4fff, #b66dff);
  color: #fff;
  margin-top: 10px;
  transition: 0.3s;
}

.submit-btn02:hover {
  opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .form-row02 {
    flex-direction: column;
  }
}


/* =========================
   Job Application New Layout
========================= */

.job-apply-container02 {
  padding: 10px 10px 30px;
  display: flex;
  justify-content: flex-start;
  
  background: transparent;
  margin-top:0px;
}

.job-apply-box02 {
  width: 100%;
  max-width: 520px;   /* ✔ fits nicely under the hero title */
  padding: 30px 25px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  margin-left: 8%;
}

.job-apply-title02 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: left;
  color: #1f2937;
}

/* Slightly reduce spacing to match hero style */
.quote-form02 .form-row02 {
  margin-bottom: 16px;
}

.upload-box02 {
  margin-top: 6px;
}

/* On mobile, center the form */
@media (max-width: 768px) {
  .job-apply-container02 {
    justify-content: center;
  }
  
  .job-apply-box02 {
    margin-left: 0;
    max-width: 100%;
  }
}




/* =========================
   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;
  }
}


