/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
}

/* Logo Styling */
.logo {
  float: left;
  margin-left: 30px;
}

.logo img {
  height: 50px; /* Adjust based on your logo size */
  width: auto;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1); /* Slight hover effect for logo */
}

/* Navbar Styling */
header {
  background-color: #204051;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav {
  flex-grow: 1;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  z-index: 10; /* Ensure nav stays on top */
  margin-right: 30px; /* Add space to the right */
}

nav ul li {
  margin: 0 20px;
  position: relative;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 5px;
}

nav ul li a:hover {
  background-color: #85c1e9;
  color: #fff;
}

nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1f1e1edd;
  border-radius: 5px;
}

nav ul li:hover ul {
  display: block;
}

nav ul li ul li a {
  padding: 10px;
  display: block;
  white-space: nowrap;
}

nav ul li ul li a:hover {
  background-color: #85c1e9;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    margin-right: 0;
  }

  .logo {
    margin-left: 0;
    margin-bottom: 10px;
  }

  nav ul li {
    margin: 10px 0;
  }
}

.contact {
  /* background: url("images/header-background.jpg") no-repeat center center/cover; */
  background-color: #333;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

h1 {
  font-size: 3em;
  margin: 0;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* Contact Page Layout */
.contact-container {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background: #f9f9f9;
}

/* Form Section */
.form-section {
  flex: 1;
  max-width: 60%;
  margin-right: 20px;
  background: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px;
}

/* Contact Details Section */
.contact-details {
  flex: 0.4;
  padding: 20px;
  background-color: #f0f4f8;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.contact-details:hover {
  transform: scale(1.02);
}

.contact-details h2 {
  margin-top: 0;
  text-align: center;
  color: #333;
}

/* Contact Items Styling */
.contact-item {
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.contact-item img {
  width: 30px;
  height: 30px;
  margin-right: 15px;
}

.contact-item p {
  margin: 0;
  font-size: 1.1em;
  color: #555;
}

.contact-item a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Hover Effects */
.contact-item:hover img {
  transform: rotate(10deg);
  transition: transform 0.3s;
}

/* Styling for the additional "Join Us" section */
.join-us {
  margin-top: 30px;
  background-color: #e8f0fe;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.join-us h3 {
  margin-top: 0;
  color: #333;
}

.join-us .contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
}

.join-us .contact-item img {
  width: 25px;
  height: 25px;
  margin-right: 10px;
}

.join-us .contact-item p {
  font-size: 1em;
  color: #555;
}

/* Footer */
footer {
  background-color: #204051;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  height: 60px;
}
