@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  /* background: #f7f9fb; */
  background: #f2f6fb;
  /* color: #1a1a1a; */
  color: #002366; /* Royal Blue text */
}

header, footer {
  background: #002366; /* Royal Blue */
  color: #ffd700;       /* Gold */
  text-align: center;
}

footer {
  padding: 1rem;
}

nav a {
  color: #ffd700;       /* Gold */
  text-decoration: none;
  margin: 0 1rem;
  font-weight: bold;
}

.nav_1 {
  display: flex;
  justify-content: right;
  width: 100%;
  padding: 10px 0px;
}

.nav_2 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: #f2f6fb;
  padding: 10px 0px;
  flex-wrap: wrap;
}

.nav_2 a {
  color: #002366; /* Royal Blue text */
  font-size: 1.4rem;
  text-transform: uppercase;
}

.nav_2 a:hover {
  text-decoration: underline; 
}

.logo {
  max-height: 100px;
  height: 100%;
  padding: 0 20px;
}

.link_bar {
  padding: 0 20px;
/*   width: 100%; */
}

main {
  /* padding: 2rem 0; */
}

.intro {
  max-width: 800px;
  margin: 2rem auto;
  text-align: justify;
  padding: 2rem 2rem;
}

.swiper {
  width: 100%;
  /* height: 320px; */
  height: 60vh;
  background-image: url('/images/slider-background3.png');
  /* background-attachment: fixed; */
  background-size: cover;
  background-position: bottom left;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
}

.swiper-slide .overlay {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  padding: 0 100px;
  color: #002366; /* Royal Blue text */
  /* text-shadow: 1px 1px 2px rgba(204, 174, 98, 0.8); /1* subtle gold shadow *1/ */
  text-shadow: 0 0 8px rgba(255,255,255,0.9);
}

.swiper-slide img {
  display: block;
  width: 100%;
}

.slide-container {
  background-color: rgba(255, 255, 255, 0.4); /* White background, 20% opacity */
  margin-top: 80px;
  padding: 15px;
  border-radius: 12px;
  color: #001f4d;
}

/* Swiper Navigation Arrows */
.swiper .swiper-button-prev,
.swiper .swiper-button-next {
  color: #002366; /* Royal Blue */
  display: none;
}

/* Swiper Pagination Bullets */
.swiper .swiper-pagination-bullet {
  background: #ccc; /* Optional: lighter bullets by default */
  opacity: 1;
}

.swiper .swiper-pagination-bullet-active {
  background: #002366; /* Royal Blue for active bullet */
}

.slide1 {
  /* background-image: url('/images/slide1.jpg'); */
}

.slide2 {
  /* background-image: url('/images/slide2.jpg'); */
}

.slide3 {
  /* background-image: url('/images/slide3.jpg'); */
}

@media (max-width: 600px) {
  body {
    font-size: 1.5rem;
  }

  .intro {
    padding: 1.5rem 1rem;
    font-size: 1.05rem;
  }

  footer {
    font-size: 1.05rem;
  }

  /* .swiper { */
  /*   height: 400px; /1* taller slider on mobile *1/ */
  /*   background-position: top left; */
  /* } */

  .swiper-slide .overlay {
    padding: 0 1.5rem;
  }

  .slide-container h1 {
    font-size: 1.4rem;
  }

  .slide-container {
    padding: 1rem;
  }

  nav a {
    margin: 0 0.5rem;
    font-size: 1.05rem;
  }

  .swiper .swiper-button-prev,
  .swiper .swiper-button-next {
      display: none;
  }
}

.icon-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.icon-wrapper {
  flex: 0 0 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-icon {
  width: 100px;
  height: auto;
}

.icon-content {
  flex: 1;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.icon-wrapper {
  animation: slideInLeft 0.6s ease-out forwards;
  animation-play-state: paused; /* Prevent auto-play */
  opacity: 0; /* In case JS is needed for scroll-based animation later */
}

/* HAMBURGER BUTTON STYLING */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
  margin: 0.5rem;
}

.hamburger span {
  height: 4px;
  width: 100%;
  background-color: #ffd700;       /* Gold */
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

/* Animate to "X" */
.hamburger.active span:nth-child(1) {
  transform: translateY(12.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* NAV LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  transition: max-height 0.4s ease-in-out;
  background: #002366; /* Royal Blue */
    opacity: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #1f3c88;
  transition: color 0.3s;
}

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

/* Responsive – Mobile */
@media (max-width: 640px) {
  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 0;
    right: 0;
    background: #002366; /* Royal Blue */
    padding: 1rem;
    /* border: 1px solid #ccc; */
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .nav-links.active {
    max-height: 300px;
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }

  .hamburger {
    display: flex;
  }

  .nav-links-2 {
    display: none;
  }

  .logo {
    padding-top: 0.7rem;
  }
}
