/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family:Georgia, 'Times New Roman', Times, serif;
  height: 100%;
}
body{
  /* Full-page background */
  background: url("../Image/contactiamgepage/background.png") center / cover
              no-repeat fixed;   /* shorthand for the 3 lines below           */
  /* background-position: center;
     background-size: cover;
     background-repeat: no-repeat; */
}

/* Header */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  width: 100%;
  z-index: 10;
  background-color: #9ba09b49;
}

.logo {
  height: 80px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-weight: bold;
  padding-bottom: 5px;
  transition: 0.3s ease;
  
}

.nav-links li a:hover,
.nav-links li.active a {
  color: #376847;
  border-bottom: 2px solid #4CAF50;
}

.user-icon {
  height: 50px;
  cursor: pointer;
}

/* Main content for the Contact Page */
.contact-page {
  padding: 20px;
  text-align: center;
}

/* Hero Section */
.contact-hero {
  margin-bottom: 30px;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #222;
  margin-top: 20px;
  font-family: 'Georgia', serif;
}

.contact-hero h1 {
  font-size: 2.5rem;
  color: #333;
}

/* Contact Cards Section */
.contact-cards {
  display: flex;
  flex-wrap: wrap; /* Allow cards to wrap on smaller screens */
  justify-content: center; /* Center the cards */
  gap: 20px; /* Space between cards */
  max-width: 1200px; /* Limit max width */
  margin: 0 auto; /* Center the card section */
}

/* Individual Contact Card */
.contact-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: left;
  width: 300px; /* Fixed width */
}

.contact-card img {
  display: block;
  width: 100px; /* Set icon size */
  height: auto; /* Maintain aspect ratio */
  margin-bottom: 10px; /* Space between icon and text */
  margin: 0 auto 10px auto; /* Top: 0, auto left/right, bottom: 10px */
}


.contact-card h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5; /* Improve readability */
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-cards {
      flex-direction: column; /* Stack cards vertically on small screens */
      align-items: center; /* Center cards */
  }

  .contact-card {
      width: 90%; /* Full width on small screens */
  }
 


/* General Form Styles */
#contact-form {
  background: rgba(255, 255, 255, 0.95);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: 0 auto;
}

/* Labels */
label {
  font-weight: bold;
  display: block;
  margin: 15px 0 5px;
  color: #333;
}

/* Input and Textarea */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #fff;
  color: #333;
  margin-bottom: 10px;
}

/* Button */
button {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  color: white;
  background-color: #4CAF50;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #45a049;
}

/* Response Message */
#response-message {
  margin-top: 20px;
  font-size: 1rem;
  color: green;
  text-align: center;
}
}
.goals-icon {
  width: 50px;
  height: 50px;
  vertical-align: middle;
  margin: 0 5px;
}

/* Contact Form Styles */
#contact-form {
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: black;
  max-width: 500px;
  margin: 0 auto;  /* centers the form */
  padding: 20px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
}

#contact-form h2 {
  text-align: center;
  margin-bottom: 20px;
}

#contact-form form {
  display: flex;
  flex-direction: column;
}

#contact-form label {
  margin-top: 10px;
  font-weight: bold;
}

#contact-form input,
#contact-form textarea {
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: black;
  background-color: #fff;
  border-radius: 4px;
}

#contact-form button[type="submit"] {
  margin-top: 15px;
  padding: 10px;
  background-color: #4CAF50;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 4px;
  font-size: 16px;
}

#contact-form button[type="submit"]:hover {
  background-color: #45a049;
}

#contact-form #response-message {
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
}
