/* =============================================
   pages/contact.css — Contact Page Styles (both legacy form + full page)
   ============================================= */
/* contact page css */

/* Contact Section Wrapper */
.contact-section {
  margin-top: 10px; /* space below navbar */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.contact-wrapper {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Left Column (Orange background) */
.contact-info {
  background: #f08746;
  color: #fff;
  padding: 60px 40px;
  height: 100%;
}

/* Right Column (White background) */
.get-back {
  display: flex;
  justify-content: center;
  background: #ffffff;
  padding: 60px;
}

/* Contact items */
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: #fff;
}

/* Social links */
.social-links a {
  display: inline-block;
  margin-right: 10px;
  font-size: 18px;
  color: #fff;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #000;
}

/* Gradient Submit Button */
.contact-button-gradient {
  position: relative;
  display: inline-block;
  padding: 8px 16px;
  margin: 6px 10px 6px 0;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background-color: #8746f0;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  user-select: none;
}
.contact-button-gradient:hover {
  background-color: #46f087;
  outline: none;
  text-decoration: none;
}
/* contact-button-mail */
.contact-button-mail {
  position: relative;
  display: inline-block;
  padding: 8px 16px;
  margin: 6px 10px 6px 0;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background-color: #8746f0;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  user-select: none;
}
.contact-button-mail:hover {
  background-color: #46f087;
  outline: none;
  text-decoration: none;
}

/* Tooltip Button */
.contact-button {
  position: relative;
  display: inline-block;
  padding: 8px 16px;
  margin: 6px 10px 6px 0;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background-color: #8746f0;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  user-select: none;
}

.contact-button:hover,
.contact-button:focus {
  background-color: #46f087;
  outline: none;
  text-decoration: none;
}

/* Shared tooltip behavior */
.contact-button::before {
  content: attr(data-tooltip);
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #333;
  color: #fff;
  padding: 4px 8px;
  font-size: 12px;
  white-space: nowrap;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  z-index: 10;
}

.contact-button:hover::before,
.contact-button:focus::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive: stack vertically */
@media (max-width: 768px) {
  .contact-info,
  .get-back {
    padding: 30px 20px;
  }

  .contact-info {
    border-radius: 15px 15px 0 0;
  }

  .get-back {
    border-radius: 0 0 15px 15px;
  }
}

/* Typography tweaks */
.branch {
  font-weight: 700;
}

.branch-add {
  font-weight: 300;
  font-size: large;
}

/* Icons */
.address-icon,
.phone,
.email-icon {
  height: 1.5rem;
  width: 1.5rem;
}

/* socials */
/* General social icon styles */
.social-links a {
  display: inline-block;
  font-size: 1.2rem;
  margin-right: 12px;
  transition: transform 0.2s ease;
}

.social-links a:hover {
  transform: scale(1.2);
}

/* Brand-specific colors */
.social-links a.facebook {
  color: #1877f2;
} /* Facebook Blue */
.social-links a.twitter {
  color: #1da1f2;
} /* Twitter Blue */
.social-links a.linkedin {
  color: #0077b5;
} /* LinkedIn Blue */
.social-links a.instagram {
  color: #e4405f; /* Instagram Pink/Red */
}

/* Contact Page */

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

/* ── HERO ── */
.ct-hero {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0 70px;
  text-align: center;
}

.ct-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, #0a1228 0%, #122246 55%, #1a3060 100%);
}

.ct-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 52px 52px;
}

.ct-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 2;
  animation: ctOrbDrift 14s ease-in-out infinite;
}
.ct-orb-1 {
  width: 300px;
  height: 300px;
  background: #1e4fd8;
  opacity: 0.13;
  top: -80px;
  left: -60px;
}
.ct-orb-2 {
  width: 200px;
  height: 200px;
  background: #f19839;
  opacity: 0.1;
  bottom: -60px;
  right: -40px;
  animation-delay: -7s;
}
@keyframes ctOrbDrift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(16px, -12px);
  }
}

.ct-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 720px;
  margin: 0 auto;
}

/* Eyebrow */
.ct-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #f19839;
  margin-bottom: 18px;
  opacity: 0;
  animation: ctFadeUp 0.5s ease forwards;
  animation-delay: 0.1s;
}

.ct-eyebrow-dot {
  width: 10px;
  height: 10px;
  background: #f19839;
  border-radius: 50%;
  flex-shrink: 0;
  animation: ctBlink 1.6s ease-in-out infinite;
}

@keyframes ctBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}

/* Title */
.ct-hero-title {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin-bottom: 18px;
  opacity: 0;
  animation: ctFadeUp 0.55s ease forwards;
  animation-delay: 0.2s;
}
.ct-hero-title span {
  color: #f19839;
}

/* Subtitle */
.ct-hero-sub {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 36px;
  opacity: 0;
  animation: ctFadeUp 0.55s ease forwards;
  animation-delay: 0.3s;
}

/* Trust strip */
.ct-trust-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  opacity: 0;
  animation: ctFadeUp 0.5s ease forwards;
  animation-delay: 0.42s;
}

.ct-trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}
.ct-trust-item:last-child {
  border-right: none;
}

.ct-trust-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(241, 152, 57, 0.15);
  border: 1px solid rgba(241, 152, 57, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

@keyframes ctFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── CONTACT OPTIONS ── */
.ct-options {
  background: #0d1f45;
  padding: 52px 0;
}

.ct-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ct-opt {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 30px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.ct-opt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f19839, #f58220);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.ct-opt:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(241, 152, 57, 0.3);
  transform: translateY(-5px);
}
.ct-opt:hover::before {
  transform: scaleX(1);
}

.ct-opt-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: rgba(241, 152, 57, 0.12);
  border: 1px solid rgba(241, 152, 57, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 16px;
}

.ct-opt-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.ct-opt-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-bottom: 18px;
}

.ct-opt-btn {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 20px;
  text-decoration: none;
  background: rgba(241, 152, 57, 0.15);
  border: 1px solid rgba(241, 152, 57, 0.4);
  color: #f19839;
  transition: all 0.2s ease;
}
.ct-opt-btn:hover {
  background: #f19839;
  color: #fff;
}

/* ── FORM + LOCATIONS ── */
.ct-main {
  background: #f1f5f9;
  padding: 70px 0;
}

.ct-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}

/* Form card */
.ct-form-wrap {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
}

.ct-form-head {
  background: linear-gradient(135deg, #0a1228, #122246);
  padding: 24px 30px;
}
.ct-form-head h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}
.ct-form-head p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.ct-form-body {
  padding: 28px 30px;
}

.ct-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.ct-field label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #374151;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 0.85rem;
  color: #1e293b;
  font-family: inherit;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  width: 100%;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-color: #0d3b88;
  box-shadow: 0 0 0 3px rgba(13, 59, 136, 0.08);
}

.ct-privacy {
  font-size: 0.72rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
}

.ct-submit {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #0d3b88, #1a5cc8);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: all 0.25s ease;
}
.ct-submit:hover {
  background: linear-gradient(135deg, #f19839, #f58220);
  transform: translateY(-2px);
}

/* ── FORM SUCCESS STATE ── */
.ct-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  min-height: 360px;
}

.ct-success.visible {
  display: flex;
}

.ct-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d3b88, #1a5cc8);
  color: #fff;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  animation: ctSuccessPop 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes ctSuccessPop {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.ct-success h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f1c3f;
  margin-bottom: 10px;
}

.ct-success p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 24px;
}

.ct-success p strong {
  color: #0d3b88;
}

.ct-success-reset {
  font-size: 0.78rem;
  font-weight: 700;
  color: #f19839;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
}

.ct-success-reset:hover {
  color: #c47a10;
}

/* Locations */
.ct-locs-wrap {
  padding-top: 4px;
}

.ct-locs-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f1c3f;
  margin-bottom: 6px;
}

.ct-locs-sub {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 22px;
}

.ct-locs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ct-loc-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 18px 20px 18px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}
.ct-loc-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #f19839, #f58220);
  border-radius: 4px 0 0 4px;
}
.ct-loc-card:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}

.ct-loc-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.ct-loc-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.ct-loc-city {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f1c3f;
  margin-bottom: 3px;
}

.ct-loc-badge {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(13, 59, 136, 0.08);
  color: #0d3b88;
}
.ct-badge-primary {
  background: rgba(241, 152, 57, 0.12);
  color: #c47a10;
}

.ct-loc-addr {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 10px;
}

.ct-loc-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.7rem;
  color: #94a3b8;
}
.ct-loc-meta a {
  color: #0d3b88;
  text-decoration: none;
  font-weight: 600;
}
.ct-loc-meta a:hover {
  color: #f19839;
}
.ct-loc-meta i {
  margin-right: 4px;
}

/* ── MAP ── */
.ct-map-section {
  background: #fff;
  padding: 70px 0;
  border-top: 1px solid #e2e8f0;
}

.ct-map-header {
  text-align: center;
  margin-bottom: 36px;
}

.ct-map-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #0f1c3f;
  margin-bottom: 10px;
}

.ct-map-sub {
  font-size: 0.9rem;
  color: #64748b;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* Map tabs */
.ct-map-tabs {
  display: inline-flex;
  gap: 8px;
  background: #f1f5f9;
  border-radius: 40px;
  padding: 5px;
  border: 1px solid #e2e8f0;
}

.ct-map-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: 30px;
  border: none;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: inherit;
}

.ct-map-tab .ct-tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: background 0.2s;
  flex-shrink: 0;
}

.ct-map-tab.active {
  background: #fff;
  color: #0f1c3f;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ct-map-tab.active .ct-tab-dot {
  background: #f19839;
}

/* Map frame */
.ct-map-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
  height: 420px;
}

.ct-map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.ct-map-frame.active {
  opacity: 1;
  pointer-events: auto;
}

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

@media (max-width: 992px) {
  .ct-main-grid {
    grid-template-columns: 1fr;
  }
  .ct-options-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .ct-trust-strip {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .ct-trust-item {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .ct-field-row {
    grid-template-columns: 1fr;
  }
  .ct-map-wrap {
    height: 320px;
  }
  .ct-map-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }
  .ct-form-body {
    padding: 22px 20px;
  }
}

@media (max-width: 480px) {
  .ct-map-wrap {
    height: 260px;
  }
}
