/* Basic CSS reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: linear-gradient(to bottom right, #f0f4f8, #e7f0fc); /* Soft, light gradient for continuity */
  color: #333;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: linear-gradient(45deg, #36d1dc, #5b86e5); /* Gradient matching home page */
  color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo img {
  max-height: 50px;
  background-color: transparent;
  mix-blend-mode: multiply;
  width: 130px;
  height: 120px;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px; /* Adjusted spacing */
}

nav ul li a {
  color: #ffffff; /* White text */
  text-decoration: none;
  font-weight: bold;
  padding: 8px 14px;
  border: 2px solid transparent;
  border-radius: 25px; /* Consistent rounded buttons */
  background: #ff6b6b; /* Coral red matching buttons on home */
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

nav ul li a:hover {
  background: #e63946; /* Darker coral on hover */
  transform: translateY(-3px); 
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Enhanced hover effect */
}

/* Contact Information Section */
.contact-info {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  background: #e3f2fd; /* Light blue to match overall theme */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-info h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #36d1dc; /* Consistent with theme */
}

.contact-info p {
  font-size: 1.1rem;
  color: #555;
}

.contact-details {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-item {
  background: #ffffff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 200px;
  text-align: center;
}

.contact-item img {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
}

.contact-item p {
  font-size: 0.9rem;
  color: #555;
}

/* Contact Form Section */
.contact-form-section {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  background: #e3f2fd; /* Light blue matching the overall design */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #36d1dc; /* Consistent with theme */
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #36d1dc; /* Matching the site's color scheme */
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
  transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border: 1px solid #36d1dc;
  outline: none;
}

.contact-form button {
  padding: 12px 20px;
  border-radius: 5px;
  background: #36d1dc; /* Button color matching the theme */
  color: #fff;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #5b86e5; /* Slight color shift on hover */
}

/* Social Media Section */
.social-media {
  text-align: center;
  padding: 20px;
}

.social-media h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #36d1dc; /* Consistent with overall theme */
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons a img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s;
}

.social-icons a img:hover {
  transform: scale(1.1); /* Slight enlargement on hover */
}

/* Footer Styles */
footer {
  background: linear-gradient(135deg, #36d1dc, #5b86e5); /* Matching home page footer */
  color: #ffffff; /* Light text color */
  display: flex;
  justify-content: space-around; /* Spread items for balanced layout */
  flex-wrap: wrap;
  padding: 15px 20px;
  border-top: 4px solid #5b86e5; /* Clear separation with a border */
  gap: 20px;
}

footer address {
  flex: 1;
  text-align: center;
  min-width: 200px;
  margin-bottom: 10px; /* Extra spacing for separation */
}

.footer-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px; /* Consistent spacing for links */
  flex-wrap: wrap;
}

.footer-nav ul li a {
  color: #ffffff; /* White text */
  text-decoration: none;
  font-weight: bold;
  padding: 8px 10px;
  background: transparent; /* Transparent background */
  transition: color 0.3s, border-bottom 0.3s, background 0.3s;
  border-bottom: 2px solid transparent;
  display: inline-block; /* Ensures spacing looks balanced */
}

.footer-nav ul li a:hover {
  color: #5b86e5; /* Consistent hover color */
  background: #ffffff; /* White background on hover */
  border-bottom: 2px solid #ffffff; /* Underline on hover */
}

footer p {
  text-align: center;
  width: 100%;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #e0f7fa; /* Light text color */
}

/* Responsive Styles */
@media (max-width: 768px) {
  header,
  nav ul {
    flex-direction: column;
    text-align: center;
    padding: 10px 0; /* Reduced padding for header */
  }

  nav ul li a {
    padding: 6px 10px; /* Reduced padding for mobile */
    margin-bottom: 6px; /* Space between buttons */
    font-size: 0.9rem; /* Slightly smaller font for buttons */
  }

  .contact-details,
  .contact-form,
  .social-icons {
    flex-direction: column;
    align-items: center;
  }

  .contact-item,
  .form-group,
  .social-icons a {
    width: 80%; /* Adjusted width for mobile */
  }

  footer {
    padding: 10px 10px; /* Compact footer padding */
    flex-direction: column; /* Stack footer items vertically */
    text-align: center;
  }

  .footer-nav ul {
    gap: 8px; /* Reduce gap on mobile */
  }
}
