/* =========================================================
   PAGE WRAPPER
   Push content below sticky header & standardize typography
   ========================================================= */
.contact-page-wrapper {
  padding-top: 120px; /* space under sticky header */
  padding-bottom: 4rem;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;

  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: #0f172a;
  background-color: #fff;
}

/* Flash success (after submit) */
.contact-flash-success {
  max-width: 900px;
  margin: 0 auto 1rem auto;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 0.75rem;
  font-size: 0.8rem;
  line-height: 1.4;
  padding: 0.75rem 1rem;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.15);
}

/* =========================================================
   PAGE HEADING + BREADCRUMB
   ========================================================= */
.contact-heading-block {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.contact-page-title {
  margin: 0;
  line-height: 1.2;
  color: #0f172a;
  font-size: 2rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .contact-page-title {
    font-size: 2.5rem;
  }
}

.contact-breadcrumb {
  list-style: none;
  padding: 0;
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;

  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.4;
}
.contact-breadcrumb li a {
  color: #6366f1;
  text-decoration: none;
}

/* =========================================================
   MAIN 2-COLUMN LAYOUT
   Left: info + video
   Right: contact form
   ========================================================= */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0 1rem;
  max-width: 1280px;
  margin: 0 auto 3rem auto;
}
@media (min-width: 992px) {
  .contact-layout-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* -------------------------
   LEFT COLUMN
-------------------------- */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Contact info cards (phone, email, location) */
.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  padding: 1rem 1rem 1rem 0.75rem;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  overflow: hidden;
}

.contact-info-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.contact-info-content {
  flex: 1;
  min-width: 0;
}

.contact-info-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-size: 1rem;
  line-height: 1.4;
  color: #111827;
  font-weight: 600;
  word-break: break-word;
}
.contact-info-value a {
  color: inherit;
  text-decoration: none;
}
.contact-info-value a:hover {
  text-decoration: underline;
}

/* =========================================================
   YOUTUBE THUMBNAIL + MODAL
   (This replaces the old promo/visual block)
   ========================================================= */

/* Thumbnail container */
.contact-video-block {
  text-align: center;
}

/* Clickable preview card */
.contact-video-thumb {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #f8f9ff;
  border-radius: 1rem;
  overflow: hidden;

  width: 100%;
  max-width: 420px;
  aspect-ratio: 16 / 9;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-video-thumb:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Your logo (or thumbnail art) inside the preview */
.contact-video-logo {
  width: 45%;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.contact-video-thumb:hover .contact-video-logo {
  opacity: 1;
}

/* Play button overlaid on thumbnail */
.contact-video-play-btn {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #5b21b6, #7c3aed);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.4);
}
.contact-video-play-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 12px 24px rgba(124, 58, 237, 0.5);
}

/* Fullscreen-ish modal overlay */
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  padding: 1rem;
}
.video-modal.active {
  display: flex;
}

/* Modal content card */
.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  background: #000;
}

/* Close button (X) */
.video-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  color: #fff;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 2;
  line-height: 1;
}
.video-modal-close:hover {
  transform: scale(1.2);
}

/* Responsive iframe wrapper */
.video-modal-iframe-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-modal-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* =========================================================
   RIGHT COLUMN (CONTACT FORM)
   ========================================================= */
.contact-form-col {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.contact-form-card {
  width: 100%;
  max-width: 500px;
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);

  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08),
    0 0 0 4px rgba(99, 102, 241, 0.05);

  padding: 1.5rem 1.5rem 1.25rem;
}

.contact-form-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}

.contact-form-desc {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0 0 1.5rem;
}

/* Form layout */
.contact-form-body {
  width: 100%;
}

.contact-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-field {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.contact-field-full {
  flex: 1 1 100%;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: #374151;
  margin-bottom: 0.4rem;
}

.contact-input {
  width: 100%;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #111827;
  background: #fff;
  border-radius: 0.6rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.7rem 0.8rem;
  outline: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.contact-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25),
    0 1px 2px rgba(15, 23, 42, 0.08);
}

.contact-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit */
.contact-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-start;
}

.contact-submit-btn {
  appearance: none;
  border: 0;
  border-radius: 0.6rem;
  /* background: linear-gradient(90deg, #5b21b6 0%, #7c3aed 50%, #a21caf 100%); */
  /* background: linear-gradient(90deg, #7341f1 0%, #2eb67d 100%); */
  background: linear-gradient(135deg, #0072ff 0%, #00c6ff 40%, #00ff99 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  box-shadow: 0 20px 30px rgba(124, 58, 237, 0.35);
  transition: all 0.2s ease;
}
.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 44px rgba(124, 58, 237, 0.45);
}

/* =========================================================
   MAP
   ========================================================= */
.contact-map-block {
  max-width: 1280px;
  margin: 2rem auto 0 auto;
  padding: 0 1rem;
}

.contact-map-iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 1rem;
  background: #000;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* =========================================================
   CONTACT INFO GRADIENT CARD (left column top)
   Matches purple block from template screenshot
   ========================================================= */

.contact-info-card {
  /* background: radial-gradient(
      circle at 0% 0%,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0) 60%
    ),
    linear-gradient(135deg, #4f1dd3 0%, #7a1fd3 50%, #8a24c8 100%); */
  /* ^ deep violet → magenta-ish, tweak if you want closer to template */
  background: radial-gradient(
      circle at 0% 0%,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0) 60%
    ),
    linear-gradient(90deg, #7341f1 0%, #2eb67d 100%);

  border-radius: 1.75rem;
  padding: 2rem 1.5rem;

  color: #fff;
  box-shadow: 0 30px 60px rgba(79, 29, 211, 0.4), 0 2px 4px rgba(0, 0, 0, 0.4);

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

  /* keep it from blowing edge-to-edge on mobile */
  width: 100%;
}

@media (min-width: 480px) {
  .contact-info-card {
    padding: 2rem;
  }
}

.contact-info-biglist {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* each row = icon + text block */
.contact-info-bigrow {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1.5rem;
}

@media (min-width: 480px) {
  .contact-info-bigrow {
    gap: 1.25rem;
  }
}

/* dashed circle icon style */
.contact-info-bigicon {
  width: 82px;
  height: 82px;
  min-width: 82px;
  min-height: 82px;

  border-radius: 1000px;
  border: 2px dashed rgba(255, 255, 255, 0.8);

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

  color: #fff;
}
.contact-info-bigicon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(100%) invert(0) saturate(0) sepia(0) hue-rotate(0deg)
    brightness(10);
  /* we basically force it to render as white-ish even if SVG is dark */
  /* If your icons are already white SVGs, you can remove filter */
}

/* right side text block */
.contact-info-bigtext {
  min-width: 0;
  color: #fff;
}

/* small label (Call Us 7/24 / Email / Location) */
.contact-info-biglabel {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

/* main value (big bold phone/email/address) */
/* .contact-info-bigvalue {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
  word-break: break-word;
  text-decoration: none;
}

@media (min-width: 480px) {
  .contact-info-bigvalue {
    font-size: 1.75rem;
  }
}

.contact-info-bigvalue a {
  color: inherit;
  text-decoration: none;
}
.contact-info-bigvalue a:hover {
  text-decoration: underline;
} */

/* horizontal rule between rows */
.contact-info-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 1.5rem;
}

/* kill bottom padding/divider on the last row */
.contact-info-biglist .contact-info-bigrow:last-of-type {
  padding-bottom: 0;
}
.contact-info-biglist .contact-info-divider:last-of-type {
  display: none;
}

/* ========= ICON RING ANIMATION FROM THEME ========= */

/* container on each row (we still keep our layout styles) */
.contact-info-bigrow .cs_iconbox {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* the round icon holder */
.cs_iconbox.cs_style_6 .cs_iconbox_icon {
  width: 82px;
  height: 82px;
  min-width: 82px;
  min-height: 82px;

  border-radius: 1000px;
  background: transparent;

  /* We fake the dashed circle using a pseudo element so we can spin it */
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* actual icon inside */
.cs_iconbox.cs_style_6 .cs_iconbox_icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(100%) invert(0) saturate(0) sepia(0) hue-rotate(0deg)
    brightness(10);
  /* makes dark SVG look white; remove if your icons are already white */
  z-index: 2;
  position: relative;
}

/*
   spinning dashed ring
   we draw a circle ring with border and spin that ring on hover
*/
.cs_iconbox.cs_style_6 .cs_iconbox_icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1000px;
  border: 2px dashed rgba(255, 255, 255, 0.8);

  /* animation setup but paused by default */
  animation: contact-ring-spin 2s linear infinite;
  animation-play-state: paused;
}

/* when you hover the WHOLE row, start spinning */
.contact-info-bigrow:hover .cs_iconbox_icon::after {
  animation-play-state: running;
}

/* spin keyframes */
@keyframes contact-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

/* text block next to icon */
.cs_iconbox.cs_style_6 .cs_iconbox_info {
  color: #fff;
  min-width: 0;
}

/* we already defined these but let's ensure they render white in this card */
.contact-info-biglabel {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 500;
  color: #fff;
  margin: 0 0 0.5rem 0;
  opacity: 0.9;
}

.contact-info-bigvalue {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
  word-break: break-word;
  text-decoration: none;
}

@media (min-width: 480px) {
  .contact-info-bigvalue {
    font-size: 1.75rem;
  }
}

.contact-info-bigvalue a {
  color: #fff;

  text-decoration: none;
}
.contact-info-bigvalue a:hover {
  text-decoration: underline;
  color: #fff;
}
