* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

.navbar {
  position: fixed;
  width: 100%;
  background-color: #003399;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 30px;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #aaddff;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

.nav-logo {
  height: 70px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0.95);
}

.nav-logo:hover {
  transform: scale(1.05) rotate(-2deg);
  filter: brightness(1.2);
}

.hero-logo {
  max-width: 700px;
  width: 100%;
  animation: pulsePop 2s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
  transition: transform 0.4s ease;
}

.hero-logo:hover {
  transform: scale(1.1) rotate(1deg);
}

/* Keyframe animation */
@keyframes pulsePop {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.05);
    filter: brightness(1.1);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}


/* Sections */
.home-section {
  height: 100vh;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  text-align: center;
}

.home-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-image {
  max-width: 500px;
  width: 60%;
  height: auto;
  margin-bottom: 2px;
}

.text-container h1 {
  font-size: 2rem;
  color: #003399;
}

.text-container p {
  font-size: 1.2rem;
  color: #003399;
  margin-top: 10px;
}

.section {
  min-height: 100vh;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.royal-blue-section {
  background-color: #003399;
  color: white;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section p {
  font-size: 1.5rem;
  max-width: 1250px;
  padding-bottom: 30px;
  padding-left: 50px;
}

#services {
  padding: 4rem 2rem;
  background-color: #003399;
  color: #fff;
}

.service-block {
  margin-bottom: 2.5rem;
  border-left: 4px solid #00bfff;
  padding-left: 1.5rem;
}

.service-block h3 {
  margin-bottom: 0.5rem;
  color: #ffffff;
  font-size: 1.5rem;
}

.service-block p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}


/* General Section Styles */
.contact-cta {
  background: linear-gradient(135deg, #003399, #002080);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  border-radius: 16px;
  max-width: 650px;
  margin: 60px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Container Within the Contact Box */
.contact-container h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-container h3 {
  margin-top: 10px;
  margin-bottom: 20px;
}

.contact-container p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: center
}

/* List Styling */
.contact-container ul {
  list-style-type: none;
  padding: 0;
  margin-bottom: 25px;
  text-align: left;
}

.contact-container li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  padding-left: 1em;
  position: relative;
}

/* Contact Button */
.contact-button {
  display: inline-block;
  padding: 10px 24px;
  background-color: #fff;
  color: #003399;
  font-weight: bold;
  border-radius: 40px;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.contact-button:hover {
  background-color: #e6f0ff;
  color: #0066ff;
}

/* Optional: Pulse animation for button */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* About */
.about-top-section {
  padding: 100px 40px 60px;
  background-color: white;
  color: #003399;
  text-align: center;
}

.about-top-section h1 {
  font-size: 3rem;
  margin-bottom: 40px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.about-image {
  width: 300px;
  border-radius: 10px;
}

.about-text {
  max-width: 600px;
  text-align: left;
  font-size: 1.1rem;
}

.about-btn {
  background-color: #003399;
  color: white;
  padding: 10px 20px;
  border: solid 2px #fff;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 20px;
}

.about-btn:hover {
  background-color: #0055cc;
}

.american-dream-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background-color: #003399;
  color: #f1f5f9;
  font-family: 'Inter', sans-serif;
  gap: 40px;
  flex-wrap: wrap;
}

.american-dream-content {
  max-width: 600px;
  flex: 1;
  text-align: left;
}

.dream-title {
  font-size: 2.5rem;
  color: #f1f5f9;
  margin-bottom: 20px;
}

.dream-message {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.dream-signoff {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.dream-faith {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f1f5f9;
}

.dream-faith em {
  display: block;
  margin-top: 5px;
  font-style: italic;
  font-weight: normal;
  color: #f1f5f9;
}

.dream-flag {
  background-color: #f1f5f9;
  flex: 1;
  max-width: 500px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .american-dream-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .dream-title {
    font-size: 2rem;
  }

  .dream-message,
  .dream-signoff,
  .dream-faith {
    font-size: 1rem;
  }

  .dream-flag {
    margin-top: 30px;
  }
}

/* Team */
.team-section {
  background-color: #003399;
  color: white;
  padding: 80px 40px;
  text-align: center;
}

.team-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.team-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.team-card {
  background-color: white;
  color: #003399;
  padding: 20px;
  border-radius: 10px;
  width: 260px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.team-card h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.title {
  font-weight: bold;
  margin: 10px 0 5px;
}

.description {
  font-size: 0.95rem;
  color: #333366;
  line-height: 1.4;
  margin-top: 10px;
  text-align: left;
}

.description.hidden {
  display: none;
}

.toggle-bio {
  margin-top: 10px;
  padding: 8px 16px;
  font-size: 0.9rem;
  color: white;
  background-color: #003399;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-bio:hover {
  background-color: #0055cc;
}

/* Carousel */
.carousel {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 450px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 10px;
  background-color: #003399;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.carousel-slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Equipment */
.equipment-section {
  padding: 60px 20px;
  text-align: center;
}

.equipment-section h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.equipment-nav {
  margin-top: 20px;
}

.equip-link {
  background-color: white;
  color: #003399;
  padding: 10px 20px;
  margin: 5px;
  border: 2px solid #003399;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.equip-link:hover {
  background-color: #003399;
  color: white;
}

.equipment-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.equipment-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  width: 490px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.equipment-item img {
  max-width: 100%;
  height: 160px;
  object-fit: contain;
  margin-bottom: 10px;
}

.equipment-item h4 {
  margin: 10px 0 5px;
  color: #003399;
}

.see-more-btn {
  background-color: #003399;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 8px;
}

.see-more-btn:hover {
  background-color: #0055cc;
}

/* Contact Form */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 500px;
  margin-top: 20px;
}

form input,
form textarea,
form select {
  padding: 10px;
  border-radius: 5px;
  border: none;
  font-size: 1rem;
}

form button {
  padding: 10px;
  border: none;
  background-color: #0055cc;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
}

form button:hover {
  background-color: #0077ff;
}

/* Footer */
footer {
  background-color: #002266;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #cccccc;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.message-box {
  margin-top: 1em;
  padding: 1em;
  border-radius: 6px;
  display: none;
  font-weight: bold;
  text-align: center;
}

.message-box.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message-box.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}


.contact-info-section {
  background: #003399;
  padding: 60px 20px;
  text-align: center;
}

.contact-info-section .container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-info-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #222;
}

.contact-info-section p {
  font-size: 1.1rem;
  margin: 10px 0;
}

.contact-info-section a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.contact-info-section a:hover {
  text-decoration: underline;
}

.services-list, .project ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.project {
  margin-bottom: 2rem;
}


/* Responsive */
@media (max-width: 1024px) {
  .carousel {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    flex-direction: column;
    background-color: #003399;
    width: 200px;
    padding: 10px 20px;
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .text-container h1 {
    font-size: 1.8rem;
  }

  .text-container p {
    font-size: 1rem;
  }

  .logo-image {
    max-width: 300px;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    text-align: center;
  }

  .team-card {
    width: 90%;
  }

  .carousel {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 5px 15px;
  }

  .logo {
    font-size: 1.4rem;
  }

  .text-container h1 {
    font-size: 1.4rem;
  }

  .section h2 {
    font-size: 2rem;
  }

  .section p {
    font-size: 1rem;
    padding-left: 20px;
    padding-right: 20px;
  }

  .equipment-item {
    width: 90%;
  }

  form input,
  form textarea {
    font-size: 0.95rem;
  }

  form button {
    font-size: 0.95rem;
  }
}
