

/* Automatically hides vision statement */
#div2 { /*Div is mission statement and div2 is vision statement*/
    display: none; /* Initially hide Div 2 */
}

/* --- Layout container --- */
.indexScreen {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;   /* logo left, nav right */
  align-items: center;              /* vertical centering */
  padding: 1rem 4%;
  opacity: 1;
  position: relative;
  background-color: #fff;           /* white header background */
}

.web-1920-1 {
  background-color: #ffffff;
  height: 6407px;
  overflow: hidden;
  overflow-x: hidden;
  width: 1920px;
}

/* --- Logo icon --- */
.logo-icon {
  height: 50px;
  width: auto;
  display: block;
}

/* --- Logo text --- */
.logo-text h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1d1d1d;
  margin: 0;
  letter-spacing: 2px;
}

.logo-text p {
  font-size: 0.8rem;
  color: #555;
  letter-spacing: 5px;
  margin: 0;
  text-transform: uppercase;
}

/* --- Navigation wrapper --- */

.main-nav {
  display: flex;
  gap: 68px; /* Already set based on previous inspection */
  justify-content: space-between; /* Add this line */
  list-style: none;
  
}

.main-nav a {
  text-decoration: none;
  color: #111;
  font-size: 1rem;
  font-weight: 400;
  position: relative;
}

/* --- Active / hover underline --- */
.main-nav a:hover,
.main-nav .activeBtn a {
  color: #1a5d52;                  /* teal accent */
}

.main-nav .activeBtn a::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background-color: #1a5d52;
  border-radius: 2px;
}

/* --- Responsive adjustments --- */
@media (max-width: 768px) {
  .indexScreen {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .main-nav {
    flex-direction: column;
    gap: 1rem;
  }

  
.main-nav a{
  color:var(--text);
  text-decoration:none;
  padding:.5rem .6rem;
  border-radius:8px;
  font-weight:600;
  font-size:.95rem;
}
.main-nav a.active{background:rgba(14,165,164,0.08); color:var(--accent-dark)}

}


.screen a {
  display: contents;
  text-decoration: none;
}

img, .background-image { 
  max-width: 100%; 
  height: auto; 
  display: block;
  object-fit: cover;
}

.container-center-horizontal {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;          /* ✅ allows children to wrap on small screens */
  gap: 1.5rem;              /* ✅ consistent spacing between children */
  width: 100%;
  margin: 0 auto;           /* ✅ centers container on large screens */
  padding: 0 1rem;          /* ✅ side padding for smaller devices */
  box-sizing: border-box;
}

/* --- Responsive --- */

/* Tablet adjustments */
@media (max-width: 1485px) {
  .container-center-horizontal {
  display: flex;
  flex-direction: row;
  justify-content: center;
  }
}

@media (max-width: 992px) {
  .container-center-horizontal {
    flex-direction: column; /* ✅ stack items vertically on smaller screens */
    gap: 1rem;
    padding: 0 5%;
  }
  .indexScreen {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

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

  .mv-image img {
    width: 100%;
    max-width: 600px;
  }

  .mv-content {
    width: 100%;
  }

  .mission-vision-section {
    padding: 2rem;
  }
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .container-center-horizontal {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 8%;
  }
  .indexScreen {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.auto-animated div {
  --z-index: -1;
  opacity: 0;
  position: absolute;
}

.auto-animated input {
  --z-index: -1;
  opacity: 0;
  position: absolute;
}

.auto-animated .container-center-vertical,
.auto-animated .container-center-horizontal {
  opacity: 1;
}

.listeners-active,
.listeners-active * {
  pointer-events: auto;
}

.hidden,
.hidden * {
  pointer-events: none;
  visibility: hidden;
}

.listeners-active-click,
.listeners-active-click * {
  cursor: pointer;
}

* {
  box-sizing: border-box;
}
