/* General Styles */
body {
  font-family: "Montserrat", sans-serif !important;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f8f8f8;
}

/* Navigation Bar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background-color: white;
  color: black;
}

.logo {
  color: #003366;
  font-size: 1.5rem;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  font-size: 1rem;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  color: #222;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #003366;
}

/* Hero Section */
.hero {
  background-color: #000000;
  background-size: cover;
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: black;
  padding: 20px;
  color: white;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}

.hero {
  animation: pulse 4.5s;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: white;
  justify-items: center;
}
.hero-text img {
  width: 400px;
  height: 400px;
}
.change {
  max-width: max-content;
  max-height: max-content;
  padding: 10px;
  margin-top: 20px;
  border-radius: 15px;
  background-color: #003366;
}

.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 50px;
  max-width: 1200px;
  margin: auto;
}
#about h2 {
  font-size: 2.5rem;
  padding-top: 40px;
}
.about-text {
  flex: 1;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  max-width: max-content;
  background-color: #003366;
  color: white;
  padding: 30px;
  margin: 0 auto;
}

.about-image {
  width: 40%;
  max-width: 480px;
  height: 440px;
  border-radius: 10px;
}
.Focus {
  line-height: 30px;
  max-width: 1200px;
  text-align: center;
  margin: 0 auto;
}

@keyframes slideIn {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.Focus {
  opacity: 0; /* Start hidden */
  transform: translateX(-100%); /* Start off-screen */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.Focus.active {
  animation: slideIn 3.8s ease-out forwards;
}

.Focus p {
  font-size: 30px;
  line-height: 50px;
}

#focus h2 {
  font-size: 2.5rem;
}
/* Sections */
.section {
  padding: 0px 2px;
  text-align: center;
}

.section h2 {
  color: #003366;
  margin-bottom: 10px;
}

/* Services */
#services {
  margin-top: 60px;
  background-color: #003366;
  max-height: max-content;
  padding-bottom: 40px;
}
#services h2 {
  padding-top: 60px;
  padding-bottom: 60px;
  font-size: 2.5rem;
}
.service-box {
  background: white;
  padding: 20px;
  margin: 15px auto;
  width: 60%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h3 {
  margin-bottom: 10px;
}

.toggle-btn {
  margin-top: 10px;
  padding: 8px 15px;
  border: none;
  background-color: #003366;
  color: white;
  cursor: pointer;
  border-radius: 5px;
}

.toggle-btn:hover {
  background-color: #0056b3;
}

.service-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 1s ease-out, opacity 1s ease-out;
}

.service-details.active {
  max-height: 500px; /* Adjust based on content */
  opacity: 1;
}

.service-box {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.service-box.active {
  opacity: 1;
  transform: translateY(0);
}

.service-box h3 {
  color: #003366;
}

#services h2 {
  color: white;
}

.header {
  background: url("header-bg.jpg") center/cover no-repeat;
  position: relative;
  text-align: center;
  color: #003366;
  padding-top: 30px;
}

.header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #000000;
}

.header h1 {
  position: relative;
  font-size: 42px;
  z-index: 2;
}

.header p {
  position: relative;
  font-size: 18px;
  z-index: 2;
}

/* Our People Section */
.people {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 10%;
  gap: 50px;
}

.text {
  width: 50%;
}
@keyframes fadeInUp {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.text h2.active {
  opacity: 1;
  transform: translateY(0);
}

.text h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  opacity: 0; /* Initially hidden */
  transform: translateY(50px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.text p {
  font-size: 18px;
  line-height: 1.8;
}

.image img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.image img:hover {
  transform: scale(1.05);
}
.who {
  max-height: 0; /* Initially hidden */
  overflow: hidden; /* Prevents content from being visible */
  margin-top: 10px;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 1s ease-out, opacity 1s ease-out, transform 1s ease-out;
}

.who.active {
  max-height: 500px; /* Adjust this value based on content */
  opacity: 1;
  transform: translateY(0);
}

/* Careers Section */
.careers {
  background: linear-gradient(to bottom, #00365f, #005ca8);
  color: white;
  text-align: center;
  padding: 60px 10%;
  border-radius: 0px 0px 60px 60px;
}

.careers h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

.careers p {
  font-size: 15px;
  max-width: 1000px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  margin: 0 auto;
}

/* Career Cards */
.cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.card {
  background: white;
  color: #00365f;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0px 4px 20px rgba(255, 255, 255, 0.2);
  text-align: center;
  width: 250px;
  transition: transform 0.3s ease-in-out;
}

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

.card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.card p {
  font-size: 16px;
}

/* Apply Button */
.apply-btn {
  background: white;
  color: #00365f;
  padding: 15px 25px;
  font-size: 18px;
  border: none;
  border-radius: 10px;
  margin-top: 30px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.apply-btn:hover {
  background: #f0f0f0;
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 900px) {
  .people {
    flex-direction: column;
    text-align: center;
  }

  .text,
  .image {
    width: 100%;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 80%;
  }
}

/* Contact Section */
.contact-section {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

/* Section Title */
.section-title {
  font-size: 34px;
  font-weight: 700;
  color: #003366;
  margin-bottom: 15px;
}

.intro {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 40px;
}

.highlight {
  font-size: 22px;
  font-weight: bold;
  color: #0055a4;
}

/* Contact Grid */
.contact-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Contact Cards */
.contact-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 350px;
  text-align: center;
}

.contact-card h3 {
  font-size: 22px;
  color: #003366;
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 16px;
  color: #444;
  margin: 5px 0;
}

/* Hover Effect */
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Email Link */
.contact-card a {
  color: #0055a4;
  text-decoration: none;
  font-weight: bold;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: 50px;
}
/* General Styles */
body {
  font-family: "Montserrat", sans-serif !important;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f8f8f8;
  overflow-x: hidden;
}

/* Navigation Bar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background-color: white;
  color: black;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  font-size: 1rem;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  color: #222;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #003366;
}

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

.burger div {
  width: 30px;
  height: 4px;
  background-color: black;
  margin: 5px;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: white;
    text-align: center;
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }
}

/* Hero Section */
.hero {
  background-color: #000000;
  background-size: cover;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 40px 5%;
  width: 100%;
  box-sizing: border-box;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: white;
  max-width: 100%;
  line-height: 1.3;
}

.hero-text img {
  width: 80%;
  max-width: 400px;
  height: auto;
}

.change {
  max-width: max-content;
  max-height: max-content;
  padding: 5px;
  margin-top: 20px;
  border-radius: 15px;
  background-color: #003366;
}

.change {
  font-size: 2.5rem;
  color: white;
}

/* About Section */
.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 50px 5%;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
  text-align: justify;
  width: 100%;
  box-sizing: border-box;
}

.about-text {
  flex: 1;
  font-size: 18px;
  line-height: 1.6;
  color: white;
  background-color: #003366;
  padding: 30px;
  border-radius: 10px;
  max-width: 100%;
  text-align: justify;
}

.about-image {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 10px;
}

/* Focus Section */
.Focus {
  line-height: 30px;
  max-width: 1200px;
  text-align: center;
  margin: 0 auto;
  padding: 30px 5%;
  width: 100%;
  box-sizing: border-box;
}

.Focus p {
  font-size: 24px;
  line-height: 40px;
  max-width: 100%;
  text-align: justify;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .about {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .change {
    font-size: 1.8rem;
    margin: auto;
    text-align: center;
  }

  .about-text {
    font-size: 16px;
    padding: 20px;
    text-align: center;
  }

  .Focus p {
    font-size: 20px;
    line-height: 36px;
    text-align: left;
  }

  .about {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.6rem;
  }

  .change {
    margin-top: 10px;
    text-align: center;
    font-size: 1.5rem;
    .centered-div {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      width: 100%;
    }
  }

  .about-text {
    font-size: 14px;
    padding: 15px;
  }

  .Focus p {
    font-size: 18px;
    line-height: 32px;
  }

  .about {
    text-align: justify;
  }
  .logo {
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: white;
    text-align: center;
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .burger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
  }

  .burger div {
    width: 30px;
    height: 4px;
    background-color: black;
    margin: 5px;
    transition: 0.3s;
  }

  .burger.toggle div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .burger.toggle div:nth-child(2) {
    opacity: 0;
  }

  .burger.toggle div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}
