/* ============================================================
   Penta Tech — contact.css  (Figma frame 1:1956 CONTACTnew)
   ============================================================ */

/* ---------- heading ---------- */
.ct-details { position: relative; }
.ct-heading {
  margin-top: 7.1875rem;         /* 749-634 = 115 */
  text-align: center;
}
.ct-heading__title {
  margin-top: 1.25rem;           /* 20 */
  font-size: 2.125rem;           /* 34 */
  line-height: 3.125rem;         /* 50 */
  font-weight: 500;
  color: #0a1821;
  text-transform: uppercase;
}
.ct-heading__sub {
  margin-top: 1.25rem;
  font-size: 1.5rem;             /* 24 */
  line-height: 2.5rem;           /* 40 */
  font-weight: 500;
  color: var(--green-panel);
}
.ct-heading__lorem {
  margin: 1.25rem auto 0;
  width: 74.0625rem;             /* 1185 */
  font-size: 1.25rem;            /* 20 */
  line-height: 2.5rem;           /* 40 */
  font-weight: 500;
  color: #999;
}

/* ---------- dark card ---------- */
.ct-card {
  position: relative;
  width: 102.5rem;               /* 1640 */
  height: 62.0625rem;            /* 993 */
  margin: 3.6875rem auto 0;      /* y1066 */
  background: #0f212d;
  border-radius: 1.875rem;       /* 30 */
  overflow: hidden;
}
.ct-card::before {
  content: "";
  position: absolute;
  left: 0; top: 5.875rem;        /* 1160-1066 = 94 */
  width: 100%;
  height: 56.25rem;              /* 900 */
  background: url("../assets/images/banner-texture.png") center / cover no-repeat;
  mix-blend-mode: soft-light;
  opacity: 0.6;
  pointer-events: none;
}
.ct-card__tabs {
  position: relative;
  height: 6.25rem;               /* 100 */
  z-index: 2;
}
/* highlight follows whichever tab is active, instead of always sitting on UAE */
.ct-card__tabs-half {
  position: absolute;
  top: 0;
  height: 100%;
  background: transparent;
  transition: background-color 0.25s ease;
  cursor: pointer;
}
.ct-card__tabs-half--india {
  left: 0;
  width: 51.1875rem;              /* 819 */
  border-radius: 1.875rem 0 0 0;
}
.ct-card__tabs-half--uae {
  left: 51.1875rem;               /* 959-140 = 819 */
  width: 51.3125rem;              /* 821 */
  border-radius: 0 1.875rem 0 0;
}
.ct-card__tabs-half.is-active { background: #162e3e; }
.ct-tab {
  position: absolute;
  top: 1.625rem;                 /* 26 */
  display: flex;
  align-items: center;
  gap: 1.875rem;                 /* 30 */
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.3s ease;
}
.ct-tab:hover { opacity: 0.8; }
.ct-tab--india { left: 19.875rem; }  /* 458-140 = 318 */
.ct-tab--uae { left: 72rem; }        /* 1292-140 = 1152 */
.ct-tab img {
  width: 3.125rem; height: 3.125rem;   /* 50 */
  border-radius: 0.625rem;             /* 10 */
  object-fit: cover;
}
.ct-tab span {
  font-size: 2.125rem;           /* 34 */
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

/* ---------- panels ---------- */
.ct-panel {
  display: none;
  position: relative;
  height: 55.8125rem;            /* 893 */
  z-index: 1;
}
.ct-panel.is-active { display: block; }

.ct-info {
  position: absolute;
  left: 7.125rem;                /* 254-140 = 114 */
  top: 0;
  width: 33.1875rem;             /* 531 */
}
.ct-info__block { position: absolute; left: 0; }
.ct-info__block:nth-child(1) { top: 2.5rem; }      /* 1206-1166 = 40 */
.ct-info__block--contact { top: 20.5625rem; }      /* 1495-1166 = 329 */
.ct-info__block--hours { top: 38.875rem; }         /* 1788-1166 = 622 */
.ct-info__tile {
  position: absolute;
  left: 0; top: 0;
  width: 5rem; height: 5rem;     /* 80 */
  background: rgba(7, 114, 91, 0.4);
  border-radius: 1.25rem;        /* 20 */
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.ct-info__block:hover .ct-info__tile {
  background: rgba(7, 114, 91, 0.7);
  transform: scale(1.05);
}
.ct-info__pin {
  position: absolute;
  left: 1.1875rem;               /* 19 */
  top: 0.9375rem;                /* 15 */
  width: 2.6183rem;              /* 41.89 */
  height: 3.125rem;              /* 50 */
}
.ct-info__icon {
  position: absolute;
  left: 0; top: 0;
  width: 5rem; height: 5rem;     /* 80 */
  transition: transform 0.3s ease, filter 0.3s ease;
}
.ct-info__block:hover .ct-info__icon {
  transform: scale(1.08);
  filter: brightness(1.2);
}
.ct-info__block h3 {
  margin: 1.625rem 0 0 6.875rem; /* title at +110, +26 */
  font-size: 2.125rem;           /* 34 */
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}
.ct-info__block p {
  position: absolute;
  left: 0;
  top: 6.875rem;                 /* 110 */
  width: 33.1875rem;             /* 531 */
  font-size: 1.25rem;            /* 20 */
  line-height: 2.5625rem;        /* 41 */
  font-weight: 400;
  color: #fff;
}
.ct-info__block:nth-child(1) p { width: 26.25rem; }  /* 420 */
.ct-info__block p .indent { padding-left: 5.8125rem; }
.ct-info__block { min-height: 5rem; width: 33.1875rem; }

.ct-map-link {
  position: absolute;
  left: 53.1875rem;              /* 991-140 = 851 */
  top: 2.5rem;                   /* 40 */
  width: 42.25rem;               /* 676 */
  height: 48.25rem;              /* 772 */
  border-radius: 1.875rem;       /* 30 */
  overflow: hidden;
  display: block;
  transition: box-shadow 0.3s ease;
}
.ct-map-link:hover {
  box-shadow: 0 0 0 0.25rem var(--green-light);
}
/* live Google Maps embed (iframe) */
.ct-map {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- footer offset ---------- */
.ct-footer { margin-top: 9.375rem; }   /* 2209-2059 = 150 */

/* ============================================================
   RESPONSIVE — tablet & mobile
   ============================================================ */
@media (max-width: 1024px) {
  .ct-heading { margin-top: 48px; padding: 0 24px; }
  .ct-heading__title { font-size: 26px; line-height: 36px; }
  .ct-heading__sub { font-size: 18px; line-height: 28px; }
  .ct-heading__lorem { width: 100%; font-size: 16px; line-height: 28px; }

  .ct-card { width: calc(100% - 48px); height: auto; margin-top: 32px; }
  .ct-card::before { top: 0; height: 100%; }
  .ct-card__tabs { height: 72px; }
  .ct-card__tabs-half--india { width: 50%; border-radius: 24px 0 0 0; }
  .ct-card__tabs-half--uae { left: 50%; width: 50%; border-radius: 0 24px 0 0; }
  .ct-tab { top: 14px; gap: 14px; }
  .ct-tab--india { left: 24px; }
  .ct-tab--uae { left: calc(50% + 24px); }
  .ct-tab img { width: 40px; height: 40px; }
  .ct-tab span { font-size: 22px; }

  .ct-panel { height: auto; padding: 24px; }
  .ct-panel.is-active { display: flex; flex-direction: column; gap: 28px; }
  .ct-info { position: static; width: 100%; display: flex; flex-direction: column; gap: 28px; }
  .ct-info__block {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    min-height: 0;
    padding-left: 100px;
    margin-top: 0;
  }
  .ct-info__block--contact,
  .ct-info__block--hours {
    top: auto;
  }
  .ct-info__block:nth-child(1) { top: auto; margin-top: 0; }
  .ct-info__tile, .ct-info__icon { left: 0; top: 0; }
  .ct-info__block h3 { margin: 8px 0 0 0; font-size: 24px; }
  .ct-info__block p {
    position: static;
    width: 100%;
    margin-top: 10px;
    font-size: 16px;
    line-height: 28px;
    overflow-wrap: anywhere;
  }
  .ct-info__block:nth-child(1) p {
    width: 100%;
  }
  .ct-map-link { position: static; width: 100%; height: 380px; }

  .ct-footer { margin-top: 60px; }
}

@media (max-width: 767px) {
  .ct-heading { padding: 0 16px; margin-top: 34px; }
  .ct-heading__title { font-size: 22px; line-height: 29px; }
  .ct-heading__sub { font-size: 14px; line-height: 22px; }
  .ct-heading__lorem { font-size: 12px; line-height: 20px; }
  .ct-card { width: calc(100% - 64px); max-width: 326px; border-radius: 16px; }
  .ct-card__tabs { height: 52px; }
  .ct-tab { top: 11px; gap: 7px; }
  .ct-tab--india { left: 14px; }
  .ct-tab--uae { left: calc(50% + 14px); }
  .ct-tab img { width: 30px; height: 30px; border-radius: 8px; }
  .ct-tab span { font-size: 13px; }
  .ct-panel { padding: 16px; }
  .ct-panel.is-active { gap: 18px; }
  .ct-info { gap: 18px; }
  .ct-info__block {
    padding-left: 0;
    padding-top: 0;
    top: auto;
  }
  .ct-info__tile, .ct-info__icon {
    position: relative;
    display: block;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    margin-bottom: 8px;
  }
  .ct-info__pin { width: 24px; height: 30px; left: 11px; top: 8px; }
  .ct-info__block h3 { font-size: 17px; line-height: 22px; }
  .ct-info__block p {
    width: 100%;
    font-size: 11px;
    line-height: 18px;
    overflow-wrap: break-word;
  }
  .ct-info__block:nth-child(1) p { width: 100%; }
  .ct-info__block p .indent { padding-left: 0; display: block; }
  .ct-map-link { height: 188px; border-radius: 14px; }
}

/* Responsive type, card, and spacing polish */
@media (max-width: 1024px) {
  .ct-heading__title {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
  }
  .ct-heading__sub {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
  }
  .ct-heading__lorem {
    font-size: 14px;
    line-height: 23px;
    font-weight: 400;
  }
  .ct-card {
    /* was capped at 780px, leaving big side gutters on tablet — trim to a 24px
       gutter each side so the card uses the available width */
    width: calc(100% - 48px);
  }
  .ct-info__block {
    padding-left: 84px;
  }
  .ct-info__block h3 {
    font-size: 21px;
    line-height: 28px;
    font-weight: 500;
  }
  .ct-info__block p {
    font-size: 14px;
    line-height: 23px;
    font-weight: 400;
  }
  .ct-map-link {
    height: 320px;
  }
}

@media (max-width: 767px) {
  .ct-heading__title {
    font-size: 21px;
    line-height: 27px;
  }
  .ct-heading__sub {
    font-size: 13px;
    line-height: 20px;
  }
  .ct-heading__lorem {
    font-size: 12px;
    line-height: 19px;
  }
  .ct-info__block {
    padding-left: 0;
  }
  .ct-info__block h3 {
    font-size: 16px;
    line-height: 21px;
  }
  .ct-info__block p {
    font-size: 12px;
    line-height: 18px;
  }
  .ct-map-link {
    height: 180px;
  }
  /* the card was capped at max-width:326px, leaving ~50px of white space each
     side — widen it to a 16px gutter so it fills the phone width */
  .ct-card { width: calc(100% - 32px); max-width: none; }
  /* the map is a live interactive iframe now — no zoom transform */
  .ct-map { transform: none; }
}
