/* ===================================
   CONTACT PAGE | BLUE THEME
   =================================== */

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  color: #002855;
  margin: 0;
  padding: 0;
}

/* Top contact bar */
.top-contact {
  text-align: center;
  background-color: #0a1f3d;
  color: #fff;
  padding: 6px 0;
  font-size: 14px;
}

/* Navbar (same layout as homepage) */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #002855;
  padding: 15px 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
   height: 110px;
  width: 200px;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: #89CFF0;
}

/* Contact Header */
.contact-header {
  text-align: center;
  padding: 80px 20px 50px;
  background: #f5f9ff;
  color: white;
}

.contact-header h1 {
  font-size: 2.4rem;
  color: #002855;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.contact-header p {
  max-width: 800px;
  margin: 0 auto;
  color: #002855;
  font-size: 1.1rem;
}

/* Contact Info */
.contact-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 60px 10%;
  background-color: #FFD770;

}

.info-box {
  background-color: #002855;
  border: 1px solid rgba(0, 40, 85, 0.2);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(137, 207, 240, 0.5);
}

.info-box i {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 10px;
}

.info-box h3 {
  color: #002855;
  margin-bottom: 8px;
}

.info-box p {
  color: #fff;
}
.contact-form-section {
  background-color: #f4f9ff;
  padding: 50px 10%;
  text-align: center;
}

.contact-form-section h2 {
  color: #002855;
  font-size: 2rem;
  margin-bottom: 30px;
}

form {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
  text-align: left;
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 6px;
  color: #002855;
  font-weight: 600;
}

input, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.submit-btn {
  background-color: #002855;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background-color: #00b3b3;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-form-section {
    padding: 30px 5%;
  }
  form {
    padding: 20px;
  }
}




/* Testimonials */
.testimonials {
  text-align: center;
  padding: 80px 20px;
  background-color: #f5f9ff;
}

.testimonials h2 {
  color: #002855;
  font-size: 2.2rem;
  margin-bottom: 50px;
}

.testimonial-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.testimonial {
  background-color: #ffffff;
  border: 1px solid rgba(0, 40, 85, 0.15);
  border-radius: 15px;
  padding: 25px;
  max-width: 300px;
  font-style: italic;
  color: #333;
  box-shadow: 0 4px 15px rgba(0, 40, 85, 0.15);
  transition: transform 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
}

.testimonial h4 {
  margin-top: 15px;
  color: #002855;
  font-weight: 600;
}

/* Footer */
footer {
  background-color: #002855;
  color: #ffffff;
  text-align: center;
  padding: 25px;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    
  /* Keep navbar row, logo left, links on right stacked vertically */
  header {
    flex-direction: row !important;       /* ensures logo + links remain in one row */
    justify-content: space-between !important; /* space between logo and links */
    align-items: flex-start;
  }

   nav ul {
    flex-direction: column !important;    /* links stacked vertically */
    align-items: flex-end !important;     /* align links to right */
    gap: 10px;
    margin: 0;
    padding: 0;
  }

   nav a {
    text-align: right !important;
    width: auto;
}

  .info-box {
    width: 100%;
    max-width: 320px;
  }

  .form-group {
    flex-direction: column;
  }

  .contact-header h1 {
    font-size: 2.2rem;
  }

  .contact-header p {
    font-size: 1rem;
  }
}
