/*contact css*/

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #FFF5F0;
  color: #111;
}
 
.navbar {
  background: linear-gradient(to right, #804fb3 0%, #ff99cc 100%);
  padding: 5px 0;
}

.navbar h1 {
 font-size: 35px;
  font-weight: bold;
  margin-right: -10%;
  width: 50%;
  line-height: 2.5rem;
  color: white;;
}

.navbar h1 span {
  display: block;
  font-weight: 100;
  font-size: 15px;
  text-align: center;
  margin-right: 40%;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
 
.navbar .container {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
 
.logo img {
 padding: 2px 3px;
  height: 140px;
  width: 140px;
  margin-left: 10px;
  border-radius: 70px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu li {
  position: relative;
}

.menu li a {
  display: block;
  padding: 10px 10px;
  font-size: 23px;
  justify-content: space-between;
  text-decoration: none;
  color: white;
}

/* Dropdown menu hidden by defualt */

.dropdown-content {
  display: none;
  position: absolute;
  list-style: none;
  text-align: justify;
  top: 100%;
  left: 0;
  background-color: #ff99cc;
  min-width: 120px;
  box-shadow: 0 2px 6px rgba(0 0 0 0.2);
}

.dropdown-content li a {
  font-size: 15px;
  margin-left: -5%;
  text-align: justify;
  font-weight: bold;
}

/*Reveal dropdown on hover*/

.dropdown:hover .dropdown-content{
  display: block;
}

.don {
  padding: 15px;
  border-radius: 50px;
  color: white;
  margin-left: 5%;
  font-size: 30px;
  font-family: 'Playfair Display', serif;;
  text-decoration: none;
  background-color: #ca32cd;
  box-shadow: 5px 5px 5px lightblue;
}

.don:hover {
    background-color: white;
  color: black;
} 
.page-banner {
  background-image: url(images/contactbanner.png);
  background-repeat: no-repeat;
  background-size: 70% 100%;
  background-position: center;
  padding: 140px 20px;
  margin-top: 0.2%;
  color: #111;
  text-align: center;
}
 
.page-banner h1 {
  text-align: center;
  margin-top: -7%;
  font-size: 80px;
  color: white;
  font-family: 'Abril Fatface', cursive;
}
.page-banner p {
  font-size: 18px;
  margin-top: -3%;
  color: white;
}
 
.contact-section {
  display: flex;
  flex-wrap: wrap;
  margin-top: -10%;
  padding: 60px 0;
  gap: 40px;
}
 
.contact-form {
  flex: 1;
  min-width: 300px;
  padding: 50px;
}
 
.contact-form form {
  display: flex;
  flex-direction: column;
}
 
.contact-form label {
  margin: 10px 0 5px;
}
 
.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}
 
.contact-form button {
  margin-top: 40px;
  padding: 12px;
  background: linear-gradient(to right, #804fb3 0%, #ff99cc 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}
 
.contact-form button:hover {
  background-color: #333;
}
 
.contact-info {
  flex: 1;
  min-width: 250px;
  padding: 30px 40px;
}
 
.contact-info h3 {
  margin-top: 20px;
  font-size: 18px;
}

.icon {
  display: flex;
  width: 50%;
  height: 50%;
  padding: 20px;
  margin-left: -10%;
  justify-content: space-evenly;
}

.icon img {
  height: 40px;
  transition: transform 0.3s ease;
}

.icon img:hover {
  transform: translateY(-5px);
}

footer {
  background-color: #fff;
  text-align: center;
  padding: 20px;
  border-top: 1px solid #ccc;
}

/* ======= Responsive CSS for All Devices ======= */

/* Large Desktops (optional, usually 1200px+) */
@media (max-width: 1400px) {
  /* Example: reduce extra-wide spacing */
}

/* Medium Laptops & Desktops */
@media (max-width: 1024px) {
  .navbar .container {
    flex-direction: column;
    align-items: center;
  }

  .navbar h1 {
    font-size: 28px;
    margin: 10px 0;
  }

  nav a {
    margin: 8px;
    font-size: 16px;
  }

  .hero h2 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .navbar h1 {
    font-size: 24px;
  }

  .logo img {
    width: 60px;
    height: auto;
    margin: 0 auto;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .section {
    padding: 20px 10px;
  }

  .section h2 {
    font-size: 22px;
    text-align: center;
  }

  .section p {
    font-size: 14px;
    text-align: justify;
  }

  nav a {
    display: block;
    text-align: center;
    margin: 10px 0;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .hero h2 {
    font-size: 22px;
  }

  .hero p,
  .section p {
    font-size: 13px;
  }

  .navbar h1 {
    font-size: 20px;
  }

  nav a {
    font-size: 14px;
  }
}