/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-image: url("https://t3.ftcdn.net/jpg/02/97/01/96/360_F_297019634_vErqaI5PqCGfvThJlZZirfTaprPKDPqy.jpg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.85);
  color: white;
  z-index: 100;
}

.logo span {
  color: #f9c74f;
}

.navbar a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
}

.navbar a:hover {
  color: #f9c74f;
}

/* ================= CONTACT SECTION ================= */
.contact-section {
  padding: 140px 80px 100px;
}

.section-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 10px;
  color: white;
}

.section-subtitle {
  text-align: center;
  color: #f0e7e7;
  margin-bottom: 60px;
}

/* ================= CONTAINER ================= */
.contact-container {
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================= INFO ================= */
.contact-info {
  width: 40%;
  background: #111;
  color: white;
  padding: 40px;
  border-radius: 20px;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* ================= FORM ================= */
.contact-form {
  width: 45%;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}

.contact-form h2 {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.contact-form textarea {
  height: 120px;
  resize: none;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  background: #f9c74f;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #ffd166;
}

/* ================= ERROR ================= */
.error {
  color: red;
  font-size: 13px;
  margin-bottom: 10px;
}

/* ================= ANIMATIONS ================= */
.fade-left {
  animation: fadeLeft 1s ease;
}

.fade-right {
  animation: fadeRight 1s ease;
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* RESPONSIVE DESIGN */

/* Tablets */
@media (max-width: 900px) {
  .navbar {
    padding: 15px 30px;
  }

  .contact-section {
    padding: 120px 40px 80px;
  }

  .section-title {
    font-size: 34px;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .navbar {
    padding: 12px 20px;
  }

  .navbar a {
    margin-left: 12px;
    font-size: 14px;
  }

  .contact-section {
    padding: 110px 20px 60px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 14px;
    margin-bottom: 40px;
  }

  .contact-container {
    gap: 30px;
  }

  .contact-info,
  .contact-form {
    padding: 25px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
  }

  .contact-form button {
    font-size: 15px;
  }
}

/* Small Phones */
@media (max-width: 400px) {
  .section-title {
    font-size: 24px;
  }

  .navbar a {
    font-size: 13px;
  }
}
