/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  background: #f8f9fa;
  color: #333;
  overflow-x: hidden;
}

/* ===== HEADER / NAVBAR ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;
  background: #2c2c54;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo img {
  max-height: 55px;
}

/* Navbar toggle button for mobile */
.navbar-toggle {
  display: none;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  font-size: 28px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 1100;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

nav ul li a {
  text-decoration: none;
  font-size: 1rem;
  color: #fff;
  transition: color 0.3s ease;
  position: relative;
}

nav ul li a:hover,
nav ul li a.active {
  color: #ff9f1c;
}

nav ul li a.active::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: #ff9f1c;
  left: 0;
  bottom: -5px;
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 90px 8%;
  text-align: center;
}

.contact h2 {
  font-size: 2.3rem;
  color: #2c2c54;
  margin-bottom: 20px;
  position: relative;
}

.contact h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: #ff9f1c;
  margin: 10px auto 0;
  border-radius: 2px;
}

.contact form {
  max-width: 600px;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact form input,
.contact form textarea {
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact form input:focus,
.contact form textarea:focus {
  border-color: #ff9f1c;
  box-shadow: 0 0 8px rgba(255, 159, 28, 0.3);
}

.contact form textarea {
  resize: none;
  min-height: 120px;
}

.contact form button {
  background: #2c2c54;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact form button:hover {
  background: #ff9f1c;
  transform: scale(1.05);
}

/* ===== CONTACT INFO ===== */
.contact p {
  margin-top: 20px;
  font-size: 1rem;
  color: #555;
}

/* ===== FOOTER ===== */
footer {
  background: #2c2c54;
  color: #fff;
  text-align: center;
  padding: 18px 8%;
  margin-top: 50px;
  font-size: 0.95rem;
}

/* ===== RESPONSIVE ===== */

/* Tablets */
@media (max-width: 992px) {
  .contact {
    padding: 70px 5%;
  }
  .contact h2 {
    font-size: 2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .navbar-toggle {
    display: block;
  }

  nav ul {
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -250px; /* hidden initially */
    width: 220px;
    height: 100vh;
    padding-top: 80px;
    background: #2c2c54;
    gap: 20px;
    display: flex;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  nav ul.show {
    right: 0; /* slide in menu */
  }

  nav ul li {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .contact {
    padding: 60px 5%;
  }
  .contact h2 {
    font-size: 1.8rem;
  }
  .contact form input,
  .contact form textarea {
    font-size: 0.95rem;
  }
}
