/* ============================================================
   contact.css — Contact Page Styles
   ECOG Core Technologies — Authorized Zoho Partner
   ============================================================ */

.ct-page {
  min-height: calc(100vh - 62px);
  display: flex;
  flex-direction: column;
  background: var(--z-bg);
}

/* ══════════════════════════════════════
   PAGE HEADER — mirrors use-cases.html
══════════════════════════════════════ */
.ct-ph {
  background: white;
  border-bottom: 1px solid var(--z-border);
  position: relative;
  overflow: hidden;
}

/* 4-color stripe at bottom (same as use-cases) */
.ct-ph::after {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--zr) 25%, var(--zg) 25% 50%, var(--zb) 50% 75%, var(--zy) 75%);
}

/* Faded Zoho logo watermark */
.ct-ph::before {
  content: '';
  position: absolute;
  top: 50%; right: 40px;
  transform: translateY(-50%);
  width: 220px; height: 180px;
  background: url('../img/zoho-logo.png') center/contain no-repeat;
  opacity: .04;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.ct-ph-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 40px 32px;
}

.ct-ph-label {
  font-size: 9.5px; font-weight: 800;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--zr); margin-bottom: 10px;
}

.ct-ph-title {
  font-size: 34px; font-weight: 800;
  color: var(--z-text); letter-spacing: -1px;
  line-height: 1.1; margin: 0 0 14px;
}

.ct-ph-title span { color: var(--zr); }

.ct-ph-desc {
  font-size: 14.5px; color: var(--z-body);
  line-height: 1.6; max-width: 600px;
  margin: 0;
}

/* ══════════════════════════════════════
   BODY LAYOUT
══════════════════════════════════════ */
.ct-body {
  flex: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 40px 56px;
  width: 100%;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  align-items: start;
}

/* ══════════════════════════════════════
   LEFT COLUMN
══════════════════════════════════════ */
.ct-left { display: flex; flex-direction: column; gap: 20px; }

/* ── Shared section label ── */
.ct-info-section-label {
  font-size: 9.5px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--z-muted); margin-bottom: 14px;
}

/* ══ 1. BOOK A SLOT CARD ══ */
.ct-book-card {
  background: white;
  border: 1px solid var(--z-border);
  border-radius: 16px;
  padding: 26px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
}

/* Green top accent */
.ct-book-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: #1AB16D;
}

.ct-book-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #e8f5e9; color: #1AB16D;
  font-size: 10.5px; font-weight: 800;
  padding: 4px 12px; border-radius: 20px;
  letter-spacing: 0.5px; text-transform: uppercase;
  margin-bottom: 14px;
}

.ct-book-title {
  font-size: 17px; font-weight: 800;
  color: var(--z-text); letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.ct-book-desc {
  font-size: 12.5px; color: var(--z-muted);
  line-height: 1.55; margin-bottom: 16px;
}

.ct-book-features {
  display: flex; flex-direction: column; gap: 7px;
  margin-bottom: 20px;
}

.ct-book-feature {
  display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 500; color: var(--z-body);
}

.ct-book-feature i { color: #1AB16D; font-size: 11px; flex-shrink: 0; }

.ct-book-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  background: #1AB16D; color: white;
  font-size: 13.5px; font-weight: 700;
  padding: 13px 20px; border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
}

.ct-book-btn:hover {
  opacity: .9; transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(26,177,109,.38);
}

/* ══ 2. CONTACT INFO CARD ══ */
.ct-info-card {
  background: white;
  border: 1px solid var(--z-border);
  border-radius: 16px;
  padding: 24px 24px 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}

.ct-info-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--z-border);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s;
  margin: 0 -6px;
  padding-left: 6px; padding-right: 6px;
}

.ct-info-row:last-child { border-bottom: none; }

a.ct-info-row:hover { background: var(--z-bg); }

.ct-info-ico {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}

.ct-info-text { flex: 1; padding-top: 2px; }

.ct-info-label {
  font-size: 10px; font-weight: 800;
  color: var(--z-muted); text-transform: uppercase;
  letter-spacing: 0.8px; margin-bottom: 3px;
}

.ct-info-val {
  font-size: 12.5px; font-weight: 600;
  color: var(--z-text); line-height: 1.45;
}

.ct-info-arrow {
  font-size: 10px; color: var(--z-muted);
  margin-top: 14px; flex-shrink: 0;
  transition: color 0.15s, transform 0.15s;
}

a.ct-info-row:hover .ct-info-arrow {
  color: var(--zr); transform: translateX(3px);
}

/* Headquarters row — visually distinct mini-card */
.ct-info-addr {
  cursor: default;
  background: var(--zb-bg);
  border-radius: 12px;
  border: 1px solid rgba(21,101,192,.15);
  margin-top: 6px;
  padding: 14px 12px;
}

.ct-info-addr:hover { background: var(--zb-bg); }

.ct-info-addr .ct-info-label { color: var(--zb); }
.ct-info-addr .ct-info-val   { line-height: 1.65; color: var(--z-body); }

/* ══ 3. SOCIAL MEDIA CARD ══ */
.ct-social-card {
  background: white;
  border: 1px solid var(--z-border);
  border-radius: 16px;
  padding: 22px 22px 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}

/* Card header row: icon + title + sub */
.ct-social-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.ct-social-card-ico {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--zb-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--zb);
  flex-shrink: 0;
}

.ct-social-card-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--z-text);
  margin-bottom: 2px;
}

.ct-social-sub {
  font-size: 11.5px;
  color: var(--z-muted);
  line-height: 1.45;
  margin: 0;
}

/* 3-column circle + label grid */
.ct-social-circles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 10px;
}

.ct-soc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

/* Circle button */
.ct-soc-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  text-decoration: none;
  border: 1.5px solid var(--z-border);
  background: white;
  transition: transform .28s cubic-bezier(.34,1.56,.64,1),
              box-shadow .22s ease,
              background .18s ease,
              border-color .18s ease;
}

.ct-soc-circle:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
}

/* Resting icon tints */
.ct-soc-ig i { color: #e4405f; }
.ct-soc-fb i { color: #1877F2; }
.ct-soc-yt i { color: #FF0000; }
.ct-soc-x  i { color: #333;    }
.ct-soc-li i { color: #0A66C2; }
.ct-soc-wa i { color: #25D366; }

/* Brand fill on hover */
.ct-soc-ig:hover { background: #e4405f; border-color: #e4405f; }
.ct-soc-fb:hover { background: #1877F2; border-color: #1877F2; }
.ct-soc-yt:hover { background: #FF0000; border-color: #FF0000; }
.ct-soc-x:hover  { background: #000;    border-color: #000;    }
.ct-soc-li:hover { background: #0A66C2; border-color: #0A66C2; }
.ct-soc-wa:hover { background: #25D366; border-color: #25D366; }

.ct-soc-circle:hover i { color: white; }

/* Platform label below circle */
.ct-soc-name {
  font-size: 10px;
  font-weight: 700;
  color: var(--z-muted);
  text-align: center;
  letter-spacing: .2px;
  transition: color .18s ease;
}

.ct-soc-item:hover .ct-soc-name { color: var(--z-text); }

/* ══════════════════════════════════════
   RIGHT COLUMN — BIGIN FORM
══════════════════════════════════════ */
.ct-right { display: flex; flex-direction: column; }

.ct-form-card {
  background: white;
  border: 1px solid var(--z-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  flex: 1;
}

.ct-form-header {
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--z-border);
  display: flex; align-items: center; gap: 14px;
}

.ct-form-header-ico {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--zr-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--zr); font-size: 18px; flex-shrink: 0;
}

.ct-form-header-text { flex: 1; }

.ct-form-title {
  font-size: 16px; font-weight: 800;
  color: var(--z-text); letter-spacing: -0.2px;
  margin-bottom: 3px;
}

.ct-form-sub { font-size: 12px; color: var(--z-muted); }

.ct-form-powered {
  display: flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 600;
  color: var(--z-muted); flex-shrink: 0;
}

.ct-form-powered img { height: 16px; width: auto; opacity: .7; }



/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

/* ── Tablet: switch to 1-col ── */
@media (max-width: 960px) {
  .ct-body {
    grid-template-columns: 1fr;
    padding: 28px 24px 40px;
    gap: 24px;
  }
  .ct-ph-inner { padding: 28px 24px 24px; }
  .ct-ph-title { font-size: 26px; }
  .ct-ph-desc  { font-size: 14px; }

  /* Form header: allow wrap so "Powered by" drops below on narrow tablets */
  .ct-form-header { flex-wrap: wrap; gap: 10px; }
  .ct-form-powered { width: 100%; justify-content: flex-start; margin-top: 2px; }
}

/* ── Mobile ── */
@media (max-width: 580px) {
  /* Page header */
  .ct-ph-inner  { padding: 20px 16px 18px; }
  .ct-ph-title  { font-size: 21px; letter-spacing: -.3px; }
  .ct-ph-desc   { font-size: 13px; }

  /* Layout */
  .ct-body { padding: 16px 14px 28px; gap: 16px; }

  /* Book card */
  .ct-book-card   { padding: 20px 18px; }
  .ct-book-badge  { font-size: 10px; padding: 4px 10px; margin-bottom: 12px; }
  .ct-book-title  { font-size: 15px; }
  .ct-book-desc   { font-size: 12px; }
  .ct-book-feature { font-size: 12px; }
  .ct-book-btn    { font-size: 13px; padding: 12px 16px; }

  /* Contact info card */
  .ct-info-card { padding: 18px 16px 4px; }
  .ct-info-val  { font-size: 12px; }

  /* Social card */
  .ct-social-card { padding: 18px 16px 20px; }
  .ct-social-circles { gap: 16px 8px; }
  .ct-soc-circle { width: 48px; height: 48px; font-size: 19px; }
  .ct-soc-name   { font-size: 9.5px; }

  /* Form */
  .ct-form-header { padding: 16px 18px 14px; }
  .ct-form-title  { font-size: 14px; }
}

/* ── Very small phones (≤ 380px) ── */
@media (max-width: 380px) {
  .ct-ph-title  { font-size: 18px; }
  .ct-body      { padding: 12px 10px 22px; }
  .ct-book-card { padding: 16px 14px; }
  .ct-info-card { padding: 14px 12px 2px; }
  .ct-social-card { padding: 14px 12px 16px; }
  .ct-social-circles { gap: 12px 6px; }
  .ct-soc-circle { width: 44px; height: 44px; font-size: 17px; }
  .ct-soc-name   { font-size: 9px; }
}
