/* General Styles */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  max-width: 100%;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

/* Header */
header {
  background: #fff;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #0d2c4e;
}

.btn-outline {
  border: 2px solid #3498db;
  padding: 8px 18px;
  border-radius: 4px;
  color: #3498db;
}

.btn-outline:hover {
  background: #3498db;
  color: #fff;
}
.logo {
  width: 40px;
}
.logo img {
  width: 100%;
  cursor: pointer;
}
/* Hero Section */
.hero {
  background: url(sky1.jpg) no-repeat center center/cover;
  height: 80vh;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-overlay {
  background: rgba(13, 44, 78, 0.7); /* Dark blue overlay matching the design */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.btn-primary {
  background: #3498db;
  color: #fff;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: bold;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: #f9f9f9;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  color: #0d2c4e;
  font-size: 2rem;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service-card {
  background: #fff;
  padding: 40px 20px;
  width: calc(20% - 20px); /* 5 columns */
  min-width: 220px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card i {
  font-size: 2.5rem;
  color: #3498db;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #0d2c4e;
}

.service-card p {
  font-size: 0.85rem;
  color: #666;
}

/* About Section */
.about {
  padding: 80px 0;
}

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

.about-image img {
  width: 100%;
  border-radius: 8px;
}

.about-text h2 {
  color: #0d2c4e;
  margin-bottom: 20px;
}

/* Footer */
footer {
  background: #0d2c4e;
  color: #fff;
  padding: 50px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-grid h4 {
  margin-bottom: 20px;
  font-size: 1rem;
  border-bottom: 2px solid #3498db;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-contact p {
  margin-bottom: 10px;
  opacity: 0.8;
}

.footer-map ul li {
  margin-bottom: 10px;
}

.footer-map ul li a:hover {
  color: #3498db;
}

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

.footer-social a {
  font-size: 1.2rem;
  opacity: 0.8;
}

/* Responsiveness */
@media (max-width: 992px) {
  .services-grid {
    gap: 15px;
  }
  .service-card {
    width: calc(33.33% - 20px);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* In a real app, you'd add a hamburger menu here */
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .about-flex {
    flex-direction: column-reverse;
  }
  .service-card {
    width: calc(50% - 20px);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .service-card {
    width: 100%;
  }
}
/* Contact Section Styles */
.contact-section {
  padding: 100px 0;
  background-color: #fff;
}

.contact-wrapper {
  display: flex;
  gap: 80px;
  align-items: center;
}

/* Left Side Styling */
.contact-content {
  flex: 1;
}

.contact-description {
  color: #666;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.contact-info-list {
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  color: #0d2c4e;
  font-weight: 600;
}

.info-item i {
  color: #3498db;
  font-size: 1.2rem;
}

.contact-side-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Right Side Styling (Form) */
.contact-form-container {
  flex: 1;
}

.contact-form {
  background: #f9f9f9;
  padding: 40px;
  border-radius: 12px;
  border-top: 5px solid #3498db;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
  color: #0d2c4e;
  margin-bottom: 25px;
  font-size: 1.5rem;
}

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

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 8px rgba(52, 152, 219, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .contact-wrapper {
    flex-direction: column;
    gap: 50px;
  }

  .contact-content,
  .contact-form-container {
    width: 100%;
  }
}
/* Testimonials Styling */
.testimonials-section {
  padding: 100px 0;
  background-color: #f4f7f9;
  text-align: center;
}

.slider-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-card {
  min-width: 100%;
  background: #fff;
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(13, 44, 78, 0.08);
  box-sizing: border-box;
}

.quote-icon {
  font-size: 2.5rem;
  color: #3498db;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.2rem;
  color: #444;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 30px;
}

.client-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-align: left;
}

.client-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #3498db;
}

.client-info h4 {
  color: #0d2c4e;
  margin: 0;
  font-size: 1.1rem;
}

.client-info span {
  font-size: 0.85rem;
  color: #777;
}

/* Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.control-btn {
  background: #0d2c4e;
  color: #fff;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.control-btn:hover {
  background: #3498db;
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: #3498db;
  width: 25px;
  border-radius: 10px;
}
/* Team Section Styles */
.team-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-top: -40px;
  margin-bottom: 50px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.team-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-bottom: 4px solid #3498db; /* Signature Sky Blue */
}

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

.member-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

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

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

.member-info {
  padding: 20px;
  text-align: center;
}

.member-info h3 {
  color: #0d2c4e;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.member-info .position {
  color: #3498db;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.member-remark {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  line-height: 1.4;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

/* Responsive Team Grid */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
/* --- Hamburger Menu Logic --- */

/* Hide checkbox/toggle by default on desktop */
.menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #0d2c4e; /* Your Navy Theme Color */
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}

/* Mobile View (Below 768px) */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  /* Transform Bars to 'X' when active */
  .menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: -1000px; /* Hidden off-screen */
    left: 0;
    opacity: 0;
    transition: all 0.5s ease;
    background-color: #ffffff;
    padding: 40px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  /* When mobile menu is active */
  .nav-menu.active {
    top: 80px; /* Slides down below the header */
    opacity: 1;
  }

  .nav-links li {
    text-align: center;
    margin: 15px 0;
  }

  .nav-links li a {
    font-size: 1.2rem;
    width: 100%;
    display: block;
  }
}
.clients-slider {
  padding: 60px 0;
  background: #fff;
  overflow: hidden; /* Critical for X-axis lock */
}

.logo-track-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

/* The actual moving strip */
.logo-track {
  display: flex;
  width: calc(
    250px * 8
  ); /* Width of one logo * total number of logos (including duplicates) */
  animation: scrollLogos 25s linear infinite;
}

.client-logo {
  width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  text-align: center;
}

.client-logo img {
  height: 60px; /* Adjust height based on your logo shapes */
  width: auto;
  filter: grayscale(100%); /* Optional: makes logos look professional */
  opacity: 0.7;
  transition: 0.3s;
  margin-bottom: 10px;
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.client-logo span {
  font-size: 0.8rem;
  color: #888;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Animation Keyframes */
@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(
      calc(-250px * 4)
    ); /* Move by exactly half the total width */
  }
}

/* Pause on hover so people can read the text */
.logo-track:hover {
  animation-play-state: paused;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .logo-track {
    animation-duration: 15s; /* Faster scroll for small screens */
  }
}
/* Subsidiaries Section Styles */
.subsidiaries {
    padding: 100px 0;
    background-color: #fcfcfc;
}

.subsidiary-grid {
    display: flex;
    flex-wrap: wrap; /* Essential to prevent X-axis overflow */
    gap: 30px;
    justify-content: center;
}

.subsidiary-card {
    background: #ffffff;
    padding: 40px 30px;
    flex: 1;
    min-width: 300px; /* Ensures cards are readable */
    max-width: 380px; /* Prevents cards from getting too wide on desktop */
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.subsidiary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(13, 44, 78, 0.07);
    border-color: #3498db;
}

.sub-icon {
    width: 60px;
    height: 60px;
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border-radius: 10px;
    margin-bottom: 25px;
}

.subsidiary-card h3 {
    color: #0d2c4e;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.subsidiary-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.sub-features {
    margin-top: auto; /* Pushes features to bottom of card */
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.sub-features li {
    list-style: none;
    font-size: 0.85rem;
    color: #444;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-features li i {
    color: #27ae60; /* Success Green */
    font-size: 0.8rem;
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .subsidiary-card {
        min-width: 100%; /* Forces cards to stack on mobile */
    }
}
