/*
Theme Name: indiatutorsonline-theme
Theme URI: https://indiatutorsonline.com
Author: Auto Generated
Version: 1.0.11
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
Text Domain: indiatutorsonline-theme
*/

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------
   Booking form — premium layout (scoped)
   ------------------------------------------------------------------ */

.booking-form-page {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  padding: clamp(32px, 6vw, 72px) 16px;
  background: #f5f5f5;
}

.booking-form-shell {
  max-width: 920px;
  margin: 0 auto;
}

.booking-form-card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 24px 48px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.booking-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #c0a060;
  opacity: 0.95;
}

.booking-form-head {
  margin-bottom: clamp(20px, 3vw, 28px);
  padding-bottom: clamp(18px, 2.5vw, 24px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.booking-form-eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1f1f1f;
}

.booking-form-title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.booking-form-lead {
  margin: 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.65;
  color: #64748b;
}

.booking-form-alert {
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.booking-form-alert-success {
  background: #f8f8f8;
  color: #1a1a1a;
  border: 1px solid #e5e5e5;
}

.booking-form-alert-error {
  background: #f8f8f8;
  color: #1a1a1a;
  border: 1px solid #d8d8d8;
}

.booking-form-wrapper {
  margin-top: 8px;
  padding: clamp(20px, 3vw, 28px);
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.booking-form {
  margin: 0;
}

.booking-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
}

.booking-form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-form-field-full {
  grid-column: 1 / -1;
}

.booking-form-field label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  letter-spacing: 0.01em;
}

.booking-form-field input,
.booking-form-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.45;
  padding: 14px 16px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.booking-form-field input::placeholder,
.booking-form-field textarea::placeholder {
  color: #94a3b8;
}

.booking-form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.booking-form-field input:hover,
.booking-form-field textarea:hover {
  border-color: #cbd5e1;
}

.booking-form-field input:focus,
.booking-form-field textarea:focus {
  border-color: #1f1f1f;
  box-shadow:
    0 0 0 1px rgba(31, 31, 31, 0.24),
    0 0 0 4px rgba(31, 31, 31, 0.12);
}

.booking-form-field input:focus-visible,
.booking-form-field textarea:focus-visible {
  outline: none;
}

.booking-form-field input:user-invalid:not(:placeholder-shown),
.booking-form-field textarea:user-invalid:not(:placeholder-shown) {
  border-color: #f87171;
}

.booking-form-actions {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.booking-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  border: 0;
  border-radius: 6px;
  padding: 15px 28px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
  cursor: pointer;
  background: #1f1f1f;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition:
    transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.22s ease,
    background 0.25s ease;
}

.booking-form-submit:hover {
  transform: translateY(-2px);
  background: #3a3a3a;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.booking-form-submit:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .booking-form-card {
    border-radius: 18px;
    padding: 22px 18px;
  }

  .booking-form-wrapper {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .booking-form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .booking-form-actions {
    margin-top: 22px;
    padding-top: 20px;
  }

  .booking-form-submit {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .booking-form-field input {
    min-height: 48px;
  }

  .booking-form-field textarea {
    min-height: 140px;
  }
}

/* ------------------------------------------------------------------
   Book demo — multi-section form (v2)
   ------------------------------------------------------------------ */

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.ito-demo-booking-page {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  padding: clamp(28px, 5vw, 56px) 16px 64px;
  background: #0b1120;
  color: rgba(255,255,255,.88);
  width: 100%;
  max-width: 100%;
  clear: both;
  display: flow-root;
  box-sizing: border-box;
}

.ito-demo-booking-shell {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  display: flow-root;
}

/* ── 5-form tabbed switcher (CSS-only, radio-driven) ───────────────────── */
.ito-bk { width: 100%; }

.ito-bk-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ito-bk-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 6px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
}

.ito-bk-tab {
  flex: 1 1 auto;
  text-align: center;
  white-space: nowrap;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  padding: 11px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .18s, color .18s;
  user-select: none;
}

.ito-bk-tab:hover { color: rgba(255,255,255,.85); }

.ito-bk-panel { display: none; }

/* Show the panel + highlight the tab for the checked radio. */
.ito-bk-radio--demo:checked     ~ .ito-bk-panels .ito-bk-panel--demo,
.ito-bk-radio--group:checked    ~ .ito-bk-panels .ito-bk-panel--group,
.ito-bk-radio--workshop:checked ~ .ito-bk-panels .ito-bk-panel--workshop,
.ito-bk-radio--free:checked     ~ .ito-bk-panels .ito-bk-panel--free,
.ito-bk-radio--physical:checked ~ .ito-bk-panels .ito-bk-panel--physical {
  display: block;
}

.ito-bk-radio--demo:checked     ~ .ito-bk-tabs .ito-bk-tab--demo,
.ito-bk-radio--group:checked    ~ .ito-bk-tabs .ito-bk-tab--group,
.ito-bk-radio--workshop:checked ~ .ito-bk-tabs .ito-bk-tab--workshop,
.ito-bk-radio--free:checked     ~ .ito-bk-tabs .ito-bk-tab--free,
.ito-bk-radio--physical:checked ~ .ito-bk-tabs .ito-bk-tab--physical {
  background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(30,64,175,.40);
}

/* Keyboard focus ring on the active tab. */
.ito-bk-radio:focus-visible ~ .ito-bk-tabs .ito-bk-tab {
  outline: none;
}

@media (max-width: 680px) {
  .ito-bk-tabs { gap: 6px; }
  .ito-bk-tab { flex: 1 1 40%; font-size: 12px; padding: 10px 8px; }
}
@media (max-width: 420px) {
  .ito-bk-tab { flex: 1 1 100%; }
}

.ito-demo-booking-card {
  background: #0f172a;
  border-radius: 20px;
  padding: clamp(22px, 4vw, 36px);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.3),
    0 20px 56px rgba(30,64,175, 0.18);
  border: 1px solid rgba(30,64,175, 0.22);
  width: 100%;
  max-width: 100%;
  display: flow-root;
  position: relative;
}

.ito-demo-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  width: 100%;
  clear: both;
}

.ito-demo-perk {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 14px 8px;
  background: rgba(30,64,175, 0.12);
  border-radius: 14px;
  border: 1px solid rgba(30,64,175, 0.28);
}

.ito-demo-perk-icon {
  font-size: 1.35rem;
  color: #9DB4D8;
}

.ito-demo-perk-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.80);
}

.ito-demo-booking-head {
  text-align: center;
  margin-bottom: 28px;
  width: 100%;
  max-width: 100%;
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  float: none;
  clear: both;
  transform: none;
  box-sizing: border-box;
}

.ito-demo-booking-title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  width: 100%;
  max-width: 100%;
  float: none;
}

.ito-demo-booking-subtitle {
  margin: 0;
  font-size: 15px;
  color: rgba(255,255,255,.52);
  max-width: 100%;
}

.ito-demo-alert {
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  margin-bottom: 20px;
}

.ito-demo-alert-success {
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.ito-demo-alert-error {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.30);
}

.ito-demo-booking-form {
  margin: 0;
}

.ito-demo-section {
  margin-bottom: 28px;
}

.ito-demo-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.05);
  border-radius: 12px;
  border-left: 4px solid #1E40AF;
}

.ito-demo-section-title .fa {
  opacity: 0.9;
}

.ito-demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.ito-demo-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ito-demo-field-full {
  grid-column: 1 / -1;
}

.ito-demo-field label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.65);
}

.ito-demo-req {
  color: #f87171;
  font-weight: 700;
}

.ito-demo-field-hint {
  margin: -4px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,.35);
}

.ito-demo-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  padding: 0 14px;
  background: rgba(255,255,255,.05);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.ito-demo-input-wrap:focus-within {
  border-color: #1E40AF;
  box-shadow: 0 0 0 3px rgba(30,64,175, 0.18);
}

.ito-demo-input-wrap .fa {
  color: #1E40AF;
  font-size: 16px;
  flex-shrink: 0;
}

.ito-demo-input-wrap input,
.ito-demo-select {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  padding: 14px 0;
  color: rgba(255,255,255,.88);
  outline: none;
}

.ito-demo-input-wrap input::placeholder {
  color: rgba(255,255,255,.28);
}

.ito-demo-select option {
  background: #1e293b;
  color: rgba(255,255,255,.88);
}

.ito-demo-select-wrap {
  padding: 0 10px 0 14px;
}

.ito-demo-select-wrap .ito-demo-select {
  padding: 14px 8px 14px 0;
  cursor: pointer;
}

.ito-demo-phone-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.ito-demo-phone-cc {
  flex: 0 0 min(44%, 220px);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.88);
}

.ito-demo-input-grow {
  flex: 1;
}

.ito-demo-consent {
  margin: 8px 0 24px;
}

.ito-demo-consent-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,.52);
  cursor: pointer;
}

.ito-demo-consent-label a {
  color: #9DB4D8;
  text-decoration: underline;
}

.ito-demo-consent-label a:hover {
  color: #fff;
}

.ito-demo-consent-label input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #1E40AF;
}

.ito-demo-actions {
  text-align: center;
}

.ito-demo-submit {
  display: inline-flex;
  width: 100%;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 6px;
  padding: 16px 22px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  cursor: pointer;
  background: #1E40AF;
  box-shadow:
    0 6px 20px rgba(30,64,175, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.ito-demo-submit:hover {
  transform: translateY(-2px);
  background: #1E3A8A;
  box-shadow: 0 10px 28px rgba(30,64,175, 0.45);
}

.ito-demo-submit:active {
  transform: translateY(0);
}

.ito-demo-trust {
  margin: 16px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,.38);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ito-demo-trust .fa {
  color: #1E40AF;
}

@media (max-width: 640px) {
  .ito-demo-perks {
    grid-template-columns: 1fr;
  }

  .ito-demo-grid {
    grid-template-columns: 1fr;
  }

  .ito-demo-phone-row {
    flex-direction: column;
  }

  .ito-demo-phone-cc {
    flex-basis: auto;
    width: 100%;
  }
}

/* Book Demo: Elementor / blocks + theme form on one page */
.ito-book-demo-combined {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

.ito-book-demo-elementor {
  padding: clamp(16px, 3vw, 32px) 0;
  display: flow-root;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ito-book-demo-elementor > *:first-child {
  margin-top: 0;
}

.ito-book-demo-combined .ito-demo-booking-page {
  margin-top: clamp(8px, 2vw, 24px);
  clear: both;
  isolation: isolate;
}

/* Homepage Elementor canvas should span full content width. */
body.ito-homepage #primary.site-main,
body.home #primary.site-main,
body.front-page #primary.site-main {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
body.ito-homepage #primary.site-main .elementor,
body.home #primary.site-main .elementor,
body.front-page #primary.site-main .elementor {
  width: 100%;
  max-width: 100%;
}

/* Site-wide full-width responsive content canvas */
#page,
#content,
.site,
.site-content,
.content-area,
.site-main,
.entry-content {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.entry-content img,
.entry-content iframe,
.entry-content video {
  max-width: 100%;
  height: auto;
}

.elementor-section,
.elementor-container,
.elementor-widget-wrap {
  max-width: 100%;
  box-sizing: border-box;
}

/* ------------------------------------------------------------------
   Site-wide palette — purple accent (booking form light, demo form dark)
   ------------------------------------------------------------------ */

.booking-form-page {
  background: #f5f5f5;
  color: #1a1a1a;
}

.booking-form-card,
.booking-form-wrapper {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
}

.booking-form-card::before {
  background: #1E40AF;
}

.booking-form-eyebrow {
  color: #1a1a1a;
}

.booking-form-lead {
  color: #6b6b6b;
}

.booking-form-submit {
  background: #1E40AF;
  color: #ffffff;
  border-radius: 6px;
  border: 1px solid #1E40AF;
  box-shadow: 0 8px 18px rgba(30,64,175, 0.30);
}

.booking-form-submit:hover {
  background: #1E3A8A;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(30,64,175, 0.42);
}

.booking-form-field input:focus,
.booking-form-field textarea:focus {
  border-color: #1E40AF;
  box-shadow: 0 0 0 3px rgba(30,64,175, 0.18);
}
