* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

/*
.container {
  width: 90%;
  outline: solid red 2px;
  max-width: 1200px;
  margin: 0 auto;
}
*/



:root {
  --dark-gray: #333;
}

/* Navigation */
header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px); /* small side margins */
  max-width: 1800px;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(96, 95, 95, 0.734);
  border-radius: 16px;
  padding: 20px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.183);
}
.nav-container {
  max-width: 1800px;
  position: relative;
  margin: 0 auto;
  display: flex;
  left: 0;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.nav-menu {
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  left: 0;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.nav-left, .nav-right {
  display: flex;
  gap: 1.5rem;
}
.nav-link {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
  text-transform: uppercase;
}
.nav-link.active, .nav-link:hover {
  color: #1a6d5b;
}
.nav-center {
  position: absolute;
  transform: translateX(-50%);
  display: flex;
  left: 50%;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  height: 60%;
  width: 40%;
  margin: 0 auto;
  object-fit: contain;
}


.nav-toggle-label {
  display: none;
  cursor: pointer;
  z-index: 1000;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .nav-container {
    display: flex;
    padding: 0.7rem 1.2rem;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    flex-direction: row;
  }
 

  .nav-toggle-label {
    display: block;
    position: relative;
    width: 30px;
    height: 11px;
    margin-left: auto;
    z-index: 1001;
    transform: translateY(-5px);
  }

  .nav-toggle-label span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--dark-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
  }

  .nav-toggle-label span:nth-child(1) {
    top: 0;
  }

  .nav-toggle-label span:nth-child(2) {
    top: 9px;
  }

  .nav-toggle-label span:nth-child(3) {
    top: 18px;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
  }

  .nav-center {
      position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -12px;    
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 70%;
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: right 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
  }

  .nav-toggle:checked ~ .nav-menu {
    right: 20px;
    gap: 1.5rem;
    opacity: 1;
    visibility: visible;
  }
  .nav-left,
  .nav-right {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.5rem 0;
  }

  .logo {
    width: 180px;
    height: auto;
  }
}



/* About Hero Banner */
.about-hero {
    height: 40vh;
    background-image: url('../assets/images/contact.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    max-width: 95%;
    margin: 100px auto 1rem;
    border-radius: 26px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.295);
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.about-hero .hero-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem 4rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 700;
}


/*Contact*/
.contact-section {
    padding: 2rem 0;
}

.contact-section h2 {
    text-align: center;
    font-size: 38px;
    color: #1a6d5b;
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-card {
      position: relative;
    display: flex;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    gap: 30px;
}

.contact-info, .contact-hours {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item, .hour-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item i, .hour-item i {
    color: #555;
    font-size: 16px;
    margin-top: 5px;
}

.info-item div, .hour-item div {
    display: flex;
    flex-direction: column;
}

.title {
    font-size: 14px;
    color: #888;
    margin-bottom: 4px;
}

.detail {
    font-size: 16px;
    color: #008080; /* Teal color for details */
    font-weight: 600;
}

.contact-hours .detail {
     color: #333; /* Darker color for hours */
}

.contact-card::before{
content: "";
  position: absolute;
  left: 44%; 
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 80%; /* or any value that works */
  background-color: #ccc;
}

.contact-image {
    flex-shrink: 0;
}

.contact-image img {
    max-width: 300px;
    height: auto;
    border-radius: 15px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .contact-card {
        flex-direction: column;
        align-items: center;
    }
    .contact-card::before {
        display: none; /* Hide separator on smaller screens */
    }
    .contact-image {
        margin-top: 20px;
    }
}

/* Main Container */
.contact-container {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    max-width: 1100px;
    width: 100%;
    gap: 30px; /* Space between image and form */
    padding: 40px;
    border-radius: 25px;
}

/* Left Side - Image */
.image-container {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Side - Form */
.form-container h2 {
    color: #1a6d5b;
    font-size: 2.5rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 25px;
    line-height: 1.2;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.456);
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    color: #d0d0d0;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #9ab0b0;
}

input, textarea {
    width: 100%;
    padding: 15px 40px 15px 20px; /* Make space for icon on the right */
    background-color: rgba(226, 232, 240, 0.8);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    color: #333;
    box-sizing: border-box; /* Important for padding and width calculation */
}

input::placeholder, textarea::placeholder {
    color: #1a6d5b;
}

textarea {
    resize: vertical;
    font-family: inherit;
}

button[type="submit"] {
    width: 100%;
    padding: 16px;
    background-color: #4a7c7c;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #5a8c8c;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .image-container {
        display: none; /* Hide image on small screens to focus on form */
    }
    .form-container h2 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.map {
    border-radius: 20px;
    display: flex;
    margin: 0 auto;
}

.footer-top, .footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
}


/* Responsive Styles */
@media (max-width: 900px) {
  .nav-container, .facilities-list {
    flex-direction: column;
    align-items: stretch;
  }
  .about-hero {
    padding: 1.5rem 0.5rem;
  }
  .mission-overlay, .vision-overlay, .approach-overlay {
    padding: 1.2rem 0.7rem;
  }
  .facilities-list {
    gap: 0.7rem;
  }
}
@media (max-width: 600px) {
  .container {
    width: 98%;
    padding: 0 0.5rem;
  }
  .about-hero {
    padding: 1rem 0.2rem;
    border-radius: 12px;
  }
  .mission-bg, .vision-bg, .approach-bg {
    height: 180px;
  }
  .mission-overlay, .vision-overlay, .approach-overlay {
    padding: 0.7rem 0.2rem;
    font-size: 0.98rem;
    border-radius: 12px;
  }
  .facility-card {
    width: 100%;
    min-width: unset;
    max-width: unset;
  }
  .facility-card img {
    height: 90px;
  }
}

/* Dropdown Styling */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown .nav-link {
    display: flex;
    align-items: center;
}

.dropdown .nav-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-content {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 8px;
    padding: 12px 0;
    margin-top: 0;
    top: 100%;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #1a6d5b;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.get-in-touch-container {
    text-align: center;
    margin: 2rem auto;
    max-width: 800px;
}

.get-in-touch-container h1 {
    font-size: 2.5rem;
    color: #004D40;
    margin-bottom: 0.5rem;
}

.get-in-touch-container p {
    font-size: 1.1rem;
    color: #555;
}

.contact-container {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    align-items: flex-start;
}

.form-container {
    flex: 1.5;
    background-color: #f0f5f0;
    padding: 2.5rem;
    border-radius: 20px;
}

.info-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    gap: 2rem;
}

.follow-us-card {
  transform: translatey(-20px);
    background-color: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-hours, .contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-details {
    padding-left: 2rem;
    border-left: 1px solid #e0e0e0;
}

.hour-item, .info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hour-item i, .info-item i {
    font-size: 1.2rem;
    color: #555;
}

.hour-item div, .info-item div {
    display: flex;
    flex-direction: column;
}

.hour-item span, .info-item span {
    font-size: 0.95rem;
    color: #555;
}

.hour-item .detail, .info-item .detail {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.info-item .detail b {
    font-weight: 600;
}

.follow-us {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.follow-us h4 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.social-icons-follow {
    display: flex;
    gap: 1rem;
}

.social-icons-follow a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #f0f0f0;
    border-radius: 10px;
    color: #333;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icons-follow a:hover {
    background-color: #004D40;
    color: #fff;
}

/* Form Styles from ref */
.form-container h2 {
    display: none;
}
input, textarea {
    border-radius: 20px !important;
    padding-left: 20px !important;
}

button[type="submit"] {
    background-color: #4a7c75 !important;
    border-radius: 50px !important;
}

@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
    }
    .info-card {
        flex-direction: column;
    }
    .contact-details {
        padding-left: 0;
        border-left: none;
        padding-top: 2rem;
        border-top: 1px solid #e0e0e0;
    }
}