/* Contact Page CSS */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  animation: fadeInPage 0.8s ease-in-out;
}

@keyframes fadeInPage {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* Header */
header {
  background-color: #000;
  color: #fff;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-toggle::before {
  content: '\2630';
  display: inline-block;
  transition: transform 0.3s ease;
}

.menu-toggle.active::before {
  content: '\2715';
}

/* .menu-toggle {
  display: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease;
} */

/* .menu-toggle.active {
  transform: rotate(90deg);
} */

nav {
  display: flex;
  gap: 1rem;
  transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

nav a:hover,
nav a.active {
  color: #ccc;
}

/* Hamburger Responsive */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    flex-direction: column;
    gap: 1rem;
    background: #000;
    width: 100%;
    padding: 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    animation: slideUp 0.3s ease forwards;
  }

  nav.active {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    animation: slideDown 0.3s ease forwards;
  }

  .menu-toggle::before {
    content: '\2715'; /* Unicode for ✕ */
  }

  .menu-toggle:not(.active)::before {
    content: '\2630'; /* Unicode for ☰ */
  }
}

/* Contact Section */
.contact-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 3rem 5%;
}

.contact-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-heading h1 {
  font-size: 2.5rem;
  color: #000;
}

.contact-heading p {
  font-size: 1.1rem;
  color: #555;
}

/* Contact Layout */
.contact-container {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact-form {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 2rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  animation: fadeInPage 1s ease-in-out;
}

.contact-form:hover {
  transform: translateY(-4px);
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  background-color: #f0f0f0;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #000;
  background-color: #fff;
  outline: none;
}

.contact-form button {
  padding: 14px;
  background-color: #000;
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  animation: fadeInPage 1.2s ease-in-out;
}

.contact-form button:hover {
  background-color: #333;
  transform: translateY(-2px);
}

/* Contact Info */
.contact-info {
  flex: 1 1 40%;
  padding: 2rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  animation: fadeInPage 1.4s ease-in-out;
}

.contact-info h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  margin: 0.5rem 0;
  color: #444;
}

.contact-info i {
  color: #000;
  margin-right: 0.6rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  font-size: 1.5rem;
  color: #555;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #000;
}

/* Footer */
footer {
  background-color: #000;
  color: #ccc;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  margin-top: 3rem;
  animation: fadeInPage 1.6s ease-in-out;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-heading h1 {
    font-size: 2rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
  }

  .contact-form button {
    font-size: 1rem;
  }
}
