:root {
  --primary: #004E89;
  --secondary: #FFA630;
  --dark: #2D3142;
  --white: #F8F9FA;
  --background: #F8F9FA;  /* Using white as background */
  --neutral: #2D3142;     /* Using dark for neutral text */
}

html {
  scroll-behavior: smooth;
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.hero-section {
  background-image: url('/img/3.webp');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.785);
}

@media (max-width: 1023px) {
  .hero-section {
    padding: 4rem 0;
  }
}
body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--neutral);
  background-color: var(--background);
  padding-top: 4rem; /* Adjust if navbar height changes */
}




/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: block;
  opacity: 1;
}

.modal-content {
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 320px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
  background-color: var(--white);
  color: var(--dark);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-modal {
  color: var(--primary);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
  color: var(--primary);
  text-decoration: none;
}

/* Responsive Heading for Hero Section (if needed) */
.responsive-heading {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--white);
  position: relative;
  display: none;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 768px) {
  .responsive-heading {
    display: block;
  }
}

@media (min-width: 768px) {
  #footer {
    background-image: linear-gradient(to bottom right, var(--primary) 60%, var(--dark));
  }
}

/*@keyframes sway {*/
/*  0% {*/
/*    transform: translateX(0) rotate(0deg) scale(1);*/
/*  }*/
/*  25% {*/
/*    transform: translateX(10px) rotate(-2deg) scale(1.02);*/
/*  }*/
/*  50% {*/
/*    transform: translateX(30px) rotate(1deg) scale(1.05);*/
/*  }*/
/*  75% {*/
/*    transform: translateX(60px) rotate(-2deg) scale(1.02);*/
/*  }*/
/*  100% {*/
/*    transform: translateX(100px) rotate(0deg) scale(1);*/
/*  }*/
/*}*/

/*.tulipimg {*/
  animation: sway 4s infinite ease-in-out; /* Shorter duration for dynamic feel */
  display: inline-block; /* Ensure it's animatable */
  transform-origin: center; /* Smooth rotation and scaling */
  will-change: transform; /* Optimize for performance */
/*}*/