/* =====================================================
   CONTACT PAGE
===================================================== */

.contact-page {
  background: #ffffff;
}

/* =====================================================
   HERO
===================================================== */

.contact-hero {
  position: relative;
  overflow: hidden;
}

/* =====================================================
   CONTACT INFO
===================================================== */

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

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;

  margin-top: 45px;
}

.contact-info-card {
  padding: 28px;

  background: #ffffff;

  border: 1px solid #e4eef0;

  border-radius: 20px;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-7px);

  box-shadow: 0 20px 45px rgba(20, 70, 80, 0.1);
}

.contact-info-icon {
  width: 55px;
  height: 55px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 20px;

  background: rgba(32, 153, 184, 0.1);

  border-radius: 16px;

  font-size: 25px;
}

.contact-info-content > span {
  display: block;

  margin-bottom: 7px;

  color: var(--primary);

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 1px;
}

.contact-info-content h3 {
  margin-bottom: 10px;

  color: #183b45;

  font-size: 18px;
}

.contact-info-content p {
  min-height: 48px;

  margin-bottom: 15px;

  color: #6c7c82;

  font-size: 14px;

  line-height: 1.7;
}

.contact-info-content a {
  color: var(--primary);

  font-size: 14px;

  font-weight: 700;

  text-decoration: none;
}

/* =====================================================
   CONTACT MAIN
===================================================== */

.contact-main-section {
  padding: 100px 0;

  background: #f5fafb;
}

.contact-layout {
  display: grid;

  grid-template-columns: 0.9fr 1.1fr;

  gap: 70px;

  align-items: start;
}

/* =====================================================
   CONTACT DETAILS
===================================================== */

.contact-details h2 {
  margin: 14px 0 20px;

  color: #183b45;

  font-size: 42px;

  line-height: 1.2;
}

.contact-details h2 span {
  color: var(--primary);
}

.contact-details > p {
  max-width: 540px;

  color: #66777d;

  line-height: 1.8;
}

/* =====================================================
   SERVICE HOURS
===================================================== */

.service-hours {
  margin-top: 35px;

  display: flex;

  flex-direction: column;

  gap: 15px;
}

.service-hour-item {
  display: flex;

  align-items: center;

  gap: 17px;

  padding: 17px 20px;

  background: #ffffff;

  border-radius: 16px;

  border: 1px solid #e3ecee;
}

.service-hour-icon {
  width: 48px;
  height: 48px;

  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 14px;

  background: rgba(35, 159, 190, 0.1);

  font-size: 21px;
}

.service-hour-item h4 {
  margin: 0 0 4px;

  color: #183b45;
}

.service-hour-item p {
  margin: 0;

  color: #728087;

  font-size: 14px;
}

/* =====================================================
   EMERGENCY CONTACT
===================================================== */

.emergency-contact {
  display: flex;

  align-items: center;

  gap: 18px;

  margin-top: 30px;

  padding: 25px;

  border-radius: 20px;

  background: linear-gradient(135deg, #168fa9, #117a91);

  color: #ffffff;
}

.emergency-icon {
  width: 58px;
  height: 58px;

  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 16px;

  background: rgba(255, 255, 255, 0.15);

  font-size: 27px;
}

.emergency-contact span {
  display: block;

  margin-bottom: 5px;

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 1px;

  opacity: 0.8;
}

.emergency-contact h3 {
  margin: 0 0 5px;

  font-size: 18px;
}

.emergency-contact p {
  margin: 0;

  font-size: 13px;

  opacity: 0.85;
}

.emergency-contact a {
  margin-left: auto;

  padding: 11px 16px;

  background: #ffffff;

  border-radius: 10px;

  color: #168fa9;

  font-size: 13px;

  font-weight: 700;

  text-decoration: none;

  white-space: nowrap;
}

/* =====================================================
   CONTACT FORM
===================================================== */

.contact-form-wrapper {
  padding: 42px;

  background: #ffffff;

  border-radius: 26px;

  box-shadow: 0 20px 60px rgba(15, 65, 75, 0.09);
}

.contact-form-header {
  margin-bottom: 30px;
}

.contact-form-header h2 {
  margin: 12px 0;

  color: #183b45;

  font-size: 30px;
}

.contact-form-header h2 span {
  color: var(--primary);
}

.contact-form-header p {
  margin: 0;

  color: #718087;

  font-size: 14px;

  line-height: 1.7;
}

.contact-form {
  display: flex;

  flex-direction: column;

  gap: 18px;
}

.form-row {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 16px;
}

.form-group {
  display: flex;

  flex-direction: column;

  gap: 8px;
}

.form-group label {
  color: #38525b;

  font-size: 13px;

  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;

  padding: 14px 16px;

  border: 1px solid #dce8ea;

  border-radius: 12px;

  outline: none;

  background: #ffffff;

  color: #263f47;

  font-family: inherit;

  font-size: 14px;

  transition: all 0.25s ease;

  box-sizing: border-box;
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);

  box-shadow: 0 0 0 4px rgba(27, 156, 188, 0.1);
}

.contact-submit {
  margin-top: 5px;

  border: none;

  cursor: pointer;

  justify-content: center;
}

/* =====================================================
   MAP
===================================================== */

.map-section {
  padding: 100px 0;
}

.map-wrapper {
  overflow: hidden;

  border-radius: 26px;

  background: #f4f9fa;
}

.map-content {
  display: grid;

  grid-template-columns: 0.8fr 1.2fr;

  min-height: 460px;
}

.map-info {
  padding: 60px;

  display: flex;

  flex-direction: column;

  justify-content: center;
}

.map-info h2 {
  margin: 15px 0;

  color: #183b45;

  font-size: 36px;

  line-height: 1.25;
}

.map-info h2 span {
  color: var(--primary);
}

.map-info p {
  margin-bottom: 30px;

  color: #6b7c82;

  line-height: 1.8;
}

.map-info .btn {
  align-self: flex-start;
}

.map-frame {
  min-height: 460px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
}

/* =====================================================
   CONTACT CTA
===================================================== */

.contact-cta {
  padding: 75px 0;

  background: linear-gradient(135deg, #168da7, #126f83);

  color: #ffffff;
}

.contact-cta-content {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 40px;
}

.contact-cta-content > div:first-child {
  max-width: 650px;
}

.contact-cta-content > div:first-child > span {
  font-size: 11px;

  font-weight: 800;

  letter-spacing: 1.5px;

  opacity: 0.8;
}

.contact-cta h2 {
  margin: 12px 0;

  font-size: 38px;
}

.contact-cta p {
  margin: 0;

  line-height: 1.7;

  opacity: 0.85;
}

.contact-cta-buttons {
  display: flex;

  gap: 12px;

  flex-wrap: wrap;
}

.btn-outline-light {
  padding: 13px 22px;

  border: 1px solid rgba(255, 255, 255, 0.6);

  border-radius: 10px;

  color: #ffffff;

  text-decoration: none;

  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* =====================================================
   TOAST
===================================================== */

.toast {
  position: fixed;

  right: 25px;
  bottom: 25px;

  z-index: 9999;

  display: flex;

  align-items: center;

  gap: 14px;

  width: min(380px, calc(100% - 40px));

  padding: 18px 20px;

  border-radius: 16px;

  background: #ffffff;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);

  transform: translateY(130px);

  opacity: 0;

  pointer-events: none;

  transition: all 0.35s ease;
}

.toast.show {
  transform: translateY(0);

  opacity: 1;
}

.toast > span {
  width: 38px;
  height: 38px;

  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 50%;

  background: #2d9c58;

  color: #ffffff;

  font-weight: bold;
}

.toast strong {
  display: block;

  color: #23404a;

  font-size: 14px;
}

.toast p {
  margin: 4px 0 0;

  color: #718087;

  font-size: 12px;
}

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

@media (max-width: 1100px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .contact-layout,
  .map-content {
    grid-template-columns: 1fr;
  }

  .contact-details {
    max-width: 700px;
  }

  .map-frame {
    min-height: 400px;
  }

  .contact-cta-content {
    flex-direction: column;

    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .contact-info-section,
  .contact-main-section,
  .map-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-details h2 {
    font-size: 32px;
  }

  .contact-form-wrapper {
    padding: 28px 20px;
  }

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

  .emergency-contact {
    flex-wrap: wrap;
  }

  .emergency-contact a {
    margin-left: 76px;
  }

  .map-info {
    padding: 40px 25px;
  }

  .map-info h2 {
    font-size: 30px;
  }

  .contact-cta h2 {
    font-size: 30px;
  }
}
