:root {
  --primary: #0066A6;
  --secondary: #FFDE59;
  --neutral: #F5F5F5;
  --accent: #333333;
}

.contact-page {
  background: #fdf9f4;
  font-family: 'Oswald', sans-serif;
}

.contact-info-section {
  padding: 80px 20px 40px;
}

@media (max-width: 600px) {
  .contact-info-section {
    padding: 60px 16px 30px;
  }
}

.contact-info-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.info-card {
  flex: 1 1 260px;
  max-width: 360px;
  height: 322px;
  background: #fff;
  border-radius: 20px;
  padding: 40px 35px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: 0.35s ease;
  overflow: hidden;
}

.info-card-icon {
  width: 73px;
  height: 73px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  background: rgba(0, 102, 166, 0.08);
}

.info-card-icon i {
  font-size: 56px;
  color: var(--primary);
}

.info-card-title {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}

.info-card-text {
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  color: #555;
  line-height: 1.6;
}

.info-card:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-8px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.15);
}

.info-card:hover .info-card-title,
.info-card:hover .info-card-text {
  color: #fff;
}

.info-card:hover .info-card-icon {
  background: rgba(255, 255, 255, 0.2);
}

.info-card:hover .info-card-icon i {
  color: #fff;
}

.contact-main-section {
  padding: 40px 20px 100px;
}

@media (max-width: 600px) {
  .contact-main-section {
    padding: 30px 16px 80px;
  }
}

.contact-main-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
}

.contact-left,
.contact-right {
  flex: 1 1 50%;
}

.contact-heading {
  font-size: 36px;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
}

.contact-desc {
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  color: #555;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 28px;
}

.contact-note {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #777;
  margin-bottom: 26px;
}

.contact-map-wrapper {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 340px;
  border: 0;
}

.location-box {
  width: 100%;
  background: #fff;
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.07);
  gap: 10px;
}

.premium-form {
  background: #ffffff;
  padding: 45px 55px;
  border-radius: 26px;
  width: 100%;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.10);
}

.form-row {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr;
  gap: 22px 32px;
  margin-bottom: 26px;
}

.input-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f9fafb;
  padding: 12px 16px 12px 18px;
  border-radius: 12px;
  height: 54px;
  border: 1px solid #dcdcdc;
  overflow: hidden;
  transition: 0.25s ease;
}

.input-box i {
  font-size: 15px;
  color: #0066A6;
  opacity: 0.85;
  flex-shrink: 0;
}

.input-box input,
.input-box textarea {
  width: 100%;
  font-size: 15px;
  font-family: "Roboto", sans-serif;
  border: none;
  background: transparent;
  color: #333;
}

.input-box textarea {
  min-height: 130px;
  height: auto;
  line-height: 1.45;
  padding-top: 4px;
  resize: vertical;
}

.input-box input:focus,
.input-box textarea:focus {
  outline: none;
}

.input-box:hover {
  border-color: #0090d6;
}

.input-box:focus-within {
  border-color: #0090d6;
  background: #f2f9ff;
}

.textarea-box {
  height: auto;
  padding: 16px 18px;
  align-items: flex-start;
}

.contact-btn {
  width: 100%;
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 44px;
  border-radius: 12px;
  font-size: 18px;
  background: linear-gradient(160deg, #007ac3, #00558c);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: 0.3s ease;
  justify-content: center;
}

.contact-btn:hover {
  background: linear-gradient(160deg, #0090dc, #00619f);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

@media (max-width: 900px) {
  .contact-main-grid {
    flex-direction: column;
    text-align: center;
  }

  .premium-form {
    width: 100%;
    padding: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .input-box {
    height: auto;
  }
}

@media (max-width: 600px) {
  .premium-form {
    padding: 24px 20px;
  }

  .contact-heading {
    font-size: 28px;
  }

  .contact-desc {
    font-size: 15px;
  }
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .info-card {
    padding: 20px;
  }
  .contact-map-wrapper {
    margin-bottom: 20px;
  }
  .contact-map-wrapper iframe {
    width: 100%;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .contact-heading {
    font-size: 24px;
  }
  .premium-form {
    padding: 20px 16px;
  }
  .form-row {
    gap: 15px;
  }
  .input-box input,
  .input-box textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .info-card {
    max-width: 100%;
    padding: 30px 24px;
    height: auto;
    min-height: 280px;
  }

  .info-card-title {
    font-size: 24px;
  }

  .info-card-text {
    font-size: 15px;
  }
}