/* =========================================================
   CONTACT SECTION
========================================================= */
.contact-section {
  position: relative;
  min-height: 100vh;
  padding: 120px 8% 0;
  background: #e3e9ec;
  overflow: hidden;
}

/* =========================================================
 TECHNICAL GRID
========================================================= */

.contact-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(38, 123, 180, 0.18) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(38, 123, 180, 0.18) 1px, transparent 1px);
  background-size: 70px 70px;
  opacity: 0.22;
  pointer-events: none;
}

/* =========================================================
 ATMOSPHERIC GLOW
========================================================= */

.contact-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  right: -250px;
  top: -250px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(169, 220, 248, 0.45),
    transparent 70%
  );
  pointer-events: none;
}

/* =========================================================
 CONTAINER
========================================================= */

.contact-container {
  position: relative;
  z-index: 2;
  max-width: 1500px;
  margin: 0, auto;
}

/* =========================================================
 CONTACT HEADING
========================================================= */

.contact-heading {
  max-width: 750px;
  margin-bottom: 65px;
}

.contact-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-left: 42px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #267bb4;
}

.contact-label::before {
  content: '';
  position: absolute;
  left: 0;
  width: 30px;
  height: 2px;
  background: #267bb4;
}

.contact-heading h1 {
  margin: 0 0 25px;
  font-size: clamp(52px, 5vw, 78px);
  line-height: 0.98;
  letter-spacing: -2.5px;
  color: #102f4a;
}

.contact-heading h1 span {
  display: block;
  color: #267bb4;
}

.contact-heading p {
  max-width: 650px;
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  color: #637687;
}

/* =========================================================
 MAIN CONTACT CARD
========================================================= */

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  min-height: 650px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid #e1ebf1;
  box-shadow: 0 25px 70px rgba(16, 47, 74, 0.1);
  overflow: hidden;
}

/* =========================================================
 LEFT CONTACT INFORMATION
========================================================= */

.contact-info {
  position: relative;
  display: flex;
  align-items: center;
  padding: 60px 50px;
  background: linear-gradient(145deg, #062058, #0c3ca5 60%, #174f73);
  color: #ffffff;
  overflow: hidden;
}

/* Decorative glow inside panel */

.contact-info::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  right: -180px;
  top: -150px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(38, 123, 180, 0.45),
    transparent 70%
  );
}

.contact-info-content {
  position: relative;
  z-index: 2;
  max-width: 430px;
}

.contact-info-label {
  display: block;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #a9dcf8;
}

.contact-info h2 {
  margin: 0 0 20px;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.05;
  letter-spacing: -1px;
  color: #ffffff;
}

.contact-info > .contact-info-content > p {
  margin: 0 0 45px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.68);
}

/* =========================================================
 CONTACT DETAILS
========================================================= */

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(169, 220, 248, 0.25);
  border-radius: 12px;
  background: rgba(169, 220, 248, 0.08);
  font-size: 17px;
  color: #a9dcf8;
}

.contact-detail div:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-detail span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.4);
}

.contact-detail strong {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
}

/* =========================================================
 DECORATIVE NUMBER
========================================================= */

.contact-info-number {
  position: absolute;
  right: -15px;
  bottom: -30px;
  font-size: 170px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -12px;
  color: rgba(169, 220, 248, 0.06);
  user-select: none;
  pointer-events: none;
}

/* =========================================================
 FORM SIDE
========================================================= */

.contact-form-wrapper {
  padding: 60px 65px;
  background: #ffffff;
}

.contact-form-heading {
  margin-bottom: 35px;
}

.contact-form-heading span {
  display: block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #267bb4;
}

.contact-form-heading h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  color: #102f4a;
}

/* =========================================================
 FORM LAYOUT
========================================================= */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: #102f4a;
}

/* =========================================================
 INPUTS
========================================================= */

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dbe7ee;
  border-radius: 10px;
  background: #f8fbfd;
  font-family: inherit;
  font-size: 14px;
  color: #102f4a;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9aabb6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #267bb4;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(38, 123, 180, 0.1);
}

.form-group textarea {
  min-height: 125px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
}

/* =========================================================
 SUBMIT BUTTON
========================================================= */

.contact-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 25px;
  border: none;
  border-radius: 50px;
  background: #267bb4;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.contact-submit span {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.contact-submit:hover {
  transform: translateY(-3px);
  background: #1f6f9f;
  box-shadow: 0 10px 25px rgba(38, 123, 180, 0.25);
}

.contact-submit:hover span {
  transform: translateX(5px);
}

/* =========================================================
 BOTTOM SERVICE STRIP
========================================================= */

.contact-services {
  position: relative;
  z-index: 2;
  margin-top: 0;
  margin-bottom: 80px;
  border-top: 1px solid #dce8ef;
  background: transparent;
}

.contact-services-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.contact-services-inner span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #8a9aa7;
  transition: color 0.3s ease;
}

.contact-services-inner span:hover {
  color: #267bb4;
}

/* =========================================================
 LAPTOP
========================================================= */

@media (max-width: 1100px) {
  .contact-section {
    padding: 100px 6% 0;
  }

  .contact-card {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .contact-info {
    padding: 50px 40px;
  }

  .contact-form-wrapper {
    padding: 50px 45px;
  }
}

/* =========================================================
 TABLET
========================================================= */

@media (max-width: 850px) {
  .contact-section {
    padding: 90px 6% 0;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-info {
    min-height: 500px;
    padding: 50px 45px;
  }

  .contact-form-wrapper {
    padding: 50px 45px;
  }

  .contact-services-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 0;
  }
  .contact-location {
    padding: 40px;
  }

  .contact-location-map {
    height: 400px;
  }
}

/* =========================================================
 LARGE PHONE
========================================================= */
@media (max-width: 700px) {
  .contact-section {
    padding: 75px 5% 0;
  }

  .contact-heading {
    margin-bottom: 45px;
  }

  .contact-heading h1 {
    font-size: 46px;
    letter-spacing: -1.5px;
  }

  .contact-heading p {
    font-size: 15px;
  }

  .contact-card {
    border-radius: 22px;
  }

  .contact-info {
    min-height: auto;
    padding: 40px 30px;
  }

  .contact-info h2 {
    font-size: 34px;
  }

  .contact-info > .contact-info-content > p {
    margin-bottom: 35px;
  }

  .contact-form-wrapper {
    padding: 40px 30px;
  }

  .contact-form-row {
    flex-direction: column;
    gap: 22px;
  }

  .contact-form-heading h3 {
    font-size: 27px;
  }

  .contact-submit {
    width: 100%;
  }

  .contact-services {
    margin-top: 60px;
  }

  .contact-services-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    gap: 18px;
  }

  .contact-location {
    margin-top: 50px;
    padding: 30px;
    border-radius: 22px;
  }

  .contact-location-map {
    height: 350px;
    border-radius: 18px;
  }

  .contact-location-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-directions {
    width: 100%;
  }
}

/* =========================================================
   LOCATION
========================================================= */

.contact-location {
  margin-top: 70px;

  padding: 45px;

  border: 1px solid #e1ebf1;

  border-radius: 30px;

  background: #ffffff;

  box-shadow: 0 20px 60px rgba(16, 47, 74, 0.08);
}

.contact-location-heading {
  max-width: 650px;

  margin-bottom: 30px;
}

.contact-location-heading span {
  display: block;

  margin-bottom: 10px;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 2px;

  color: #267bb4;
}

.contact-location-heading h2 {
  margin: 0 0 12px;

  font-size: clamp(32px, 3vw, 44px);

  line-height: 1.1;

  color: #102f4a;
}

.contact-location-heading p {
  margin: 0;

  font-size: 15px;

  line-height: 1.7;

  color: #637687;
}

/* =========================================================
   MAP
========================================================= */

.contact-location-map {
  position: relative;

  width: 100%;

  height: 450px;

  overflow: hidden;

  border-radius: 22px;

  border: 1px solid #dbe7ee;

  background: #e8eef2;
}

.contact-location-map iframe {
  display: block;

  width: 100%;

  height: 100%;

  border: 0;
}

/* =========================================================
   LOCATION BOTTOM
========================================================= */

.contact-location-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 25px;
}

.contact-location-bottom > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-location-bottom span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #8a9aa7;
}

.contact-location-bottom strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: #102f4a;
}

/* =========================================================
   GOOGLE MAPS BUTTON
========================================================= */

.contact-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid #d5e3eb;
  border-radius: 50px;
  background: #f5f9fc;
  color: #267bb4;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease,
    color 0.3s ease, box-shadow 0.3s ease;
}

.contact-directions span {
  font-size: 18px;

  transition: transform 0.3s ease;
}

.contact-directions:hover {
  transform: translateY(-3px);

  background: #267bb4;

  border-color: #267bb4;

  color: #ffffff;

  box-shadow: 0 10px 25px rgba(38, 123, 180, 0.2);
}

.contact-directions:hover span {
  transform: translate(3px, -3px);
}

/* =========================================================
 SMALL PHONE
========================================================= */

@media (max-width: 480px) {
  .contact-section {
    padding: 65px 20px 0;
  }

  .contact-heading h1 {
    font-size: 40px;
  }

  .contact-label {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .contact-info {
    padding: 35px 24px;
  }

  .contact-info h2 {
    font-size: 30px;
  }

  .contact-detail strong {
    font-size: 13px;
  }

  .contact-form-wrapper {
    padding: 35px 24px;
  }

  .contact-form-heading h3 {
    font-size: 25px;
  }

  .contact-services-inner span {
    font-size: 8px;

    letter-spacing: 1.2px;
  }

  .contact-info-number {
    font-size: 120px;
  }
  .contact-location {
    padding: 24px;
  }

  .contact-location-heading h2 {
    font-size: 30px;
  }

  .contact-location-heading p {
    font-size: 14px;
  }

  .contact-location-map {
    height: 300px;
  }

  .contact-location-bottom strong {
    font-size: 13px;
  }
}
