* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f2f6fc;
}

.navbar {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ---------------- HERO ---------------- */
.hero {
  height: 70vh;
  background: linear-gradient(rgba(0, 40, 80, 0.6), rgba(0, 40, 80, 0.6)),
    url("../images/contact-hero.jpeg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  color: #fff;
  font-size: 44px;
  font-weight: 600;
}

/* ---------------- CONTACT SECTION ---------------- */
.contact-section {
  max-width: 1100px;
  margin: -120px auto 80px;
  background: #fff;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* LEFT */
.contact-left {
  background: #f9fbff;
  padding: 40px;
}

.contact-left h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #0b2e59;
}

.contact-left p {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
}

.info-box {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.info-box i {
  background: #1e3361;
  color: #fff;
  font-size: 18px;
  padding: 14px;
  border-radius: 50%;
}

.info-box h4 {
  font-size: 15px;
  margin-bottom: 4px;
  color: #1e3361;
}

.info-box span {
  font-size: 13px;
  color: #555;
  display: block;
}

.social-icons {
  margin-top: 30px;
}

.social-icons i {
  font-size: 18px;
  color: #1e3361;
  margin-right: 15px;
  cursor: pointer;
}

.social-icons a {
  text-decoration: none;
}

/* RIGHT */
.contact-right {
  padding: 40px;
}

.contact-right h2 {
  font-size: 24px;
  margin-bottom: 25px;
  color: #1e3361;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: span 2;
}

.form-group input,
.form-group textarea {
  padding: 14px;
  border-radius: 25px;
  border: none;
  background: #f1f4f9;
  font-size: 14px;
  outline: none;
}

textarea {
  resize: none;
  height: 120px;
  border-radius: 15px;
}

.submit-btn {
  grid-column: span 2;
  background: #1e3361;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 15px;
  border-radius: 25px;
  cursor: pointer;
  margin-top: 10px;
}

.submit-btn:hover {
  background: #1e3361;
}

.navbar {
  width: 1240px;
  height: 80px;
  padding: 0px 30px;
  margin: auto;
  background: #fff;
  color: #1c222b;
  border-radius: 16px;
  /* margin-top: 20px; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.logo {
  font-weight: 700;
  width: 162px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 22px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #111;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}

.nav-links a:hover {
  color: #0fb9e2;
}

.navbar button {
  background: #111;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.navbar button:hover {
  background: #0fb9e2;
  font-size: 13.5px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 250px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px 0;
  z-index: 1000;
  list-style: none;
  text-align: left;
  transition: all 0.3s ease-in;
}

.dropdown-content li a {
  color: #333;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease-in;
  white-space: nowrap;
}

.dropdown-content li a:hover {
  background-color: #f0f6fa;
  color: #0da8d1;
}

.dropdown:hover .dropdown-content {
  display: block;
}
/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 900px) {
  .contact-section {
    grid-template-columns: 1fr;
  }
}
#main-footer {
  background: #f9fbfd;
  /* padding: 70px 9% 30px; */
  color: #111;
  /*margin-top: 160px;*/
  margin-bottom: 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col li:hover {
  color: #0fb9e2;
}

.footer-col p,
.footer-col li {
  font-size: 15px;
  line-height: 26px;
  color: #000000;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
  cursor: pointer;
}

.footer-logo {
  width: 160px;
  margin-bottom: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-item p:hover {
  color: #0fb9e2;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-links img {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.social-links img:hover {
  width: 36px;
  height: 36px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 16px;
  text-align: center;
  font-size: 13px;
  color: #252525;
}

@keyframes scrollRightToLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes scrollLeftToRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .navbar,
  .section-header,
  .scroll-container {
    width: 100%;
    padding: 0 20px;
  }
  .card {
    width: 320px;
    height: 420px;
  }
}

.error {
  font-size: 12px;
  color: red;
  min-height: 14px;
}
