/* =====================================
   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;
  }
}


/* =====================================
   VIDEO BACKGROUND SECTION
===================================== */
.video-section {
  position: relative;
  margin-top: 70px; /* Space for fixed navbar */
  height: calc(100vh - 70px); /* Full viewport height minus navbar */
  overflow: hidden;
}

/* Background video styling */
.video-section video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover; /* Ensures video fills area without distortion */
  z-index: 0;
}

/* Dark overlay for better text visibility */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1;
}

/* Text content on top of video */
.video-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 20px; /* Space for smaller screens */
}

/* Heading text styling */
.video-content h1 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Subtext styling */
.video-content p {
  font-size: 1.2rem;
  letter-spacing: 1px;
}

/* =====================================
   RESPONSIVE DESIGN
===================================== */

/* ====== For Tablets (max-width: 992px) ====== */
@media (max-width: 992px) {
  .video-section {
    height: 80vh; /* Reduce height for better layout on tablets */
  }

  .video-content h1 {
    font-size: 2.2rem; /* Smaller text for tablets */
  }

  .video-content p {
    font-size: 1rem;
  }
}

/* ====== For Mobile Devices (max-width: 600px) ====== */
@media (max-width: 600px) {
  .video-section {
    height: 70vh; /* Reduce section height for mobile */
  }

  /* Ensure video fits narrow screens */
  .video-section video {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  .video-content {
    top: 50%;
    transform: translateY(-50%);
    padding: 0 10px; /* Extra padding for narrow screens */
  }

  .video-content h1 {
    font-size: 1.8rem; /* Smaller font for mobiles */
    line-height: 1.3;
  }

  .video-content p {
    font-size: 0.95rem;
  }
}



/* ===========================
   INDUSTRIES WE SERVE SECTION
   =========================== */
.industry-serve-section {
  background: #ffffff;
  padding: 80px 0;
  
  margin-top: -40px;
   
 
}

/* ----------- CONTAINER ----------- */
.industry-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;

}

/* ----------- HEADER ----------- */
.industry-header h2 {
  
  color: #0f4c81;
  margin-bottom: 15px;
  font-size: 20PX;
  font-weight: 800;
}

/*.industry-header p {
  font-size: 16px;
  color: #555;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.6;
}
*/
/* ----------- GRID LAYOUT ----------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 cards per row */
  gap: 30px;
  justify-items: center;
}

/* ----------- CARD STYLE ----------- */
.industry-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  cursor: pointer;
  max-width: 270px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s forwards;
  margin-top: 20px;
}

/* Fade-up animation timing */
.industry-card:nth-child(1) { animation-delay: 0.1s; }
.industry-card:nth-child(2) { animation-delay: 0.3s; }
.industry-card:nth-child(3) { animation-delay: 0.5s; }
.industry-card:nth-child(4) { animation-delay: 0.7s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----------- ICON AREA ----------- */
.icon {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: #e8f1fb;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Keeps both images aligned perfectly */
  transition: all 0.3s ease;
}

/* Default image (visible initially) */
.icon-default {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: opacity 0.4s ease;
}

/* Hover image (hidden initially) */
.icon-hover {
  position: absolute;
  width: 80%;
  height: 80%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* ----------- IMAGE SWAP ON HOVER ----------- */
.industry-card:hover .icon-default {
  opacity: 0;
}

.industry-card:hover .icon-hover {
  opacity: 1;
}

/* ----------- TEXT STYLE ----------- */
.industry-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.industry-card p {
  font-size: 14px;
  color: #555;
  transition: color 0.3s ease;
}

/* ----------- HOVER EFFECTS ----------- */
.industry-card:hover {
  background: #0a3d62;
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(10, 61, 98, 0.25);
}

.industry-card:hover .icon {
  background: rgba(255, 255, 255, 0.15);
}

.industry-card:hover h3,
.industry-card:hover p {
  color: #fff;
}

/* ----------- RESPONSIVE DESIGN ----------- */
@media (max-width: 992px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .industry-header h2 {
    font-size: 26px;
  }
}

/* =========================
   WHY US SECTION STYLES
========================= */
.why-us-section {
  background: #f9fbfd;
  padding: 80px 0;
  margin-top: -50px;
}

/* ----------- CONTAINER ----------- */
.why-us-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* ----------- LEFT SIDE IMAGE ----------- */
.why-us-left {
  flex: 1 1 45%;
}

.why-us-image {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

/* ----------- RIGHT SIDE CONTENT ----------- */
.why-us-right {
  flex: 1 1 50%;
  padding-left: 50px;
}

.section-subtitle {
  color: #0f4c81;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: 32px;
  color: #0c6bbf;
  margin-bottom: 20px;
  line-height: 1.3;
}

.section-text {
  color: #3b3b3b;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* ----------- STATS BOXES ----------- */
.why-us-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.stat-box {
  text-align: center;
}

.stat-box i {
  color: #1abc9c;
  font-size: 28px;
  margin-bottom: 10px;
}

.stat-box h3 {
  font-size: 24px;
  margin: 5px 0;
  color: #0f4c81;
}

.stat-box p {
  font-size: 14px;
  color: #3b3b3b;
}



/* ----------- RESPONSIVE DESIGN ----------- */
@media (max-width: 992px) {
  .why-us-container {
    flex-direction: column;
    text-align: center;
  }

  .why-us-right {
    padding-left: 0;
    margin-top: 40px;
  }

  .why-us-stats {
    justify-content: center;
  }
}






/* =========================================================
   ABOUT US SECTION (with Background Image & Responsive Alignment)
   ========================================================= */
.about-us-section {
  position: relative;
  padding: 100px 8%;
  display: flex;
  justify-content: center;
  align-items: center;
  background:
    linear-gradient(rgba(15, 76, 129, 0.75), rgba(15, 76, 129, 0.75)),
    url("AboutUS.jpg") center/cover no-repeat;
  overflow: hidden;
  
}

/* ---------- CONTAINER ---------- */
.about-us-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  max-width: 1200px;
  width: 100%;
  flex-wrap: wrap;
}

/* ---------- LEFT SIDE (Hex Images) ---------- */
/*
.about-us-left {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 450px;
  order: 2;
}

/* Hexagonal Image Shapes */
/*
.hex-img {
  width: 260px;
  height: 300px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  overflow: hidden;
  position: absolute;
  border: 5px solid #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.hex-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hex positions */
/*
.hex-img.img1 {
  top: -60px;
  right: 80px;
  z-index: 3;
}

.hex-img.img2 {
  bottom: -60px;
  left: 70px;
  z-index: 2;
  transform: translateX(-5%);
}

.hex-img.img3 {
  bottom: -80px;
  right: -60px;
  z-index: 1;
  opacity: 0.9;
  transform: translateX(-10%) scale(0.95);
}

.hex-img:hover {
  transform: scale(1.05);
}
 */

/* ---------- RIGHT SIDE (Text Content) ---------- */
.about-us-right {
  flex: 1;
  max-width: 550px;
  order: 1;
}

.about-us-right h5 {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.about-us-right h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 20px;
}

.about-us-right p {
  color: #f0f0f0;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 35px;
}

/* ---------- Feature Cards ---------- */
.about-us-features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.about-us-feature {
  background-color: #ffffff;
  padding: 10px 15px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(192, 217, 239, 0.15);
  flex: 1;
  min-width: 240px;
  position: relative;
  transition: all 0.3s ease;
  
}

.about-us-feature::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #0f4c81;
  border-radius: 50%;
  top: 20px;
  left: 20px;
}

.about-us-feature p {
  margin-left: 20px;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

.about-us-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(15, 76, 129, 0.25);
}

/* ---------- Learn More Button ---------- */
.about-us-btn {
  display: inline-block;
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.about-us-btn:hover {
  background-color: #ffffff;
  color: #0f4c81;
  transform: scale(1.05);
}

/* ---------- RESPONSIVE: ABOUT US SECTION ---------- */

/* ---------- Tablet View (up to 992px) ---------- */
@media (max-width: 992px) {
  .about-us-container {
    flex-direction: column;         /* Stack content vertically */
    text-align: center;             /* Center align text */
    align-items: center;
  }

  .about-us-left {
    order: 1;                       /* Image section first */
    margin-bottom: 50px;
    min-height: auto;
    display: flex;
    flex-wrap: wrap;                /* Allow hex images to wrap */
    justify-content: center;
    gap: 15px;
  }

  .about-us-right {
    order: 2;                       /* Text section second */
    max-width: 100%;
    padding: 0 20px;
  }

  /* Adjust hexagon images */
  .hex-img {
    position: relative;
    width: 180px;
    height: 200px;
    margin: 10px;
    transform: none !important;
  }

  .hex-img.img1,
  .hex-img.img2,
  .hex-img.img3 {
    position: static;
  }

  .about-us-features {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ---------- Mobile View (up to 600px) ---------- */
@media (max-width: 600px) {
  .about-us-section {
    padding: 50px 5%;
  }

  .about-us-right h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .about-us-right p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .about-us-feature {
    min-width: 100%;
    margin-bottom: 15px;
  }

  /* Smaller hex images for mobile */
  .hex-img {
    width: 140px;
    height: 160px;
    margin: 8px;
  }

  .about-us-left {
    margin-bottom: 40px;
  }
}



/* =============== CONTACT SECTION =============== */
/* =============== CONTACT SECTION =============== */
.contact-section {
  /*font-family: "Poppins", sans-serif;*/
  background: #f8f9fa; /* Light grey background */
  padding: 80px 0;
  overflow-x: hidden;
}

/* ---------- FLEX CONTAINER ---------- */
.contact-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  gap: 40px;
}

/* ---------- LEFT INFO BOX ---------- */
.contact-info {
  background: #0f4c81; /* Deep blue tone */
  color: #fff;
  padding: 40px;
  border-radius: 16px;
  width: 35%;
  background-size: cover;
}

.contact-info h3 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 18px;
  color: #ffffff;
}

.contact-info p {
  font-size: 15px;
  line-height: 1.8;
  color: #cfd8e3;
}

/* ---------- SOCIAL ICONS ---------- */
.social-icons {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1e2b56;
  color: #fff;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #007bff; /* Blue hover color */
}

/* ---------- RIGHT FORM BOX ---------- */
.contact-form {
  background: #fff;
  flex: 1;
  border-radius: 16px;
  padding: 40px 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-form .section-subtitle {
  font-size: 14px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-form h2 {
  font-size: 28px;
  color: #000000;
  margin: 10px 0 30px;
}

.contact-form h2 span {
  color: #0f4c81; /* Highlighted keyword color */
}

/* ---------- FORM ELEMENTS ---------- */
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #007bff; /* Blue border on focus */
}

.contact-form textarea {
  resize: none;
  height: 120px;
}

/* ---------- BUTTON ---------- */
.btn {
  background: #0f4c81;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: #072947; /* Darker shade on hover */
}

/* ---------- SCROLL ANIMATION ---------- */
.fade-slide {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-slide.appear {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }
}


/* =========================
   MAP SECTION STYLING
========================= */
.map-section {
  background-color: #f9f9f9;
  padding: 80px 0;
  /*font-family: "Poppins", sans-serif;*/
  text-align: center;
}

.map-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.map-section h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 30px;
  font-weight: 600;
}

.map-box {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-box iframe {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 15px;
}
/* =========================
   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;
  }
}
