/* Contact Page — MentorMinds */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Poppins:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --orange: #FF6B00;
  --orange-dark: #E05E00;
  --orange-light: #FF8A33;
  --orange-glow: rgba(255, 107, 0, 0.18);
  --navy: #0A1F44;
  --navy-light: #132D5E;
  --white: #FFFFFF;
  --light: #F8F9FA;
  --text-dark: #1A1A2E;
  --text-muted: #6B7280;
  --error: #DC2626;
  --error-bg: #FEF2F2;
  --whatsapp: #25D366;
  --ff: 'Poppins', sans-serif;
  --ff-body: 'Inter', sans-serif;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--orange) var(--light); }
body { font-family: var(--ff-body); font-size: 16px; line-height: 1.7; color: var(--text-dark); background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--orange); color: var(--white); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 50px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.ct-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-title {
  font-family: var(--ff); font-size: clamp(28px, 4vw, 36px); font-weight: 700;
  color: var(--navy); text-align: center; margin-bottom: 12px;
  position: relative; padding-bottom: 16px;
}
.section-title::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 56px; height: 4px; background: var(--orange); border-radius: 50px;
}
.section-sub {
  text-align: center; color: var(--text-muted); font-size: 16px;
  max-width: 600px; margin: 0 auto 40px;
}

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--white); transition: var(--transition); }
.header.scrolled { box-shadow: var(--shadow); }
.top-bar { background: var(--navy); color: var(--white); font-size: 13px; padding: 6px 0; }
.header.scrolled .top-bar { margin-top: -40px; }
.top-bar-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.top-bar-left i { color: var(--orange); margin-right: 5px; }
.top-bar-right { display: flex; gap: 16px; align-items: center; }
.top-bar a { color: var(--white); }
.top-bar a:hover { color: var(--orange); }
.lang-switch { display: flex; background: rgba(255,255,255,.12); border-radius: 50px; overflow: hidden; }
.lang-switch button { border: none; cursor: pointer; padding: 3px 12px; font-family: var(--ff); font-size: 12px; font-weight: 600; color: rgba(255,255,255,.7); background: transparent; }
.lang-switch button.active { background: var(--orange); color: var(--white); border-radius: 50px; }
.nav-bar { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.header.scrolled .nav-bar { height: 62px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--orange), var(--orange-light)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 18px; }
.logo-text span:first-child { color: var(--navy); font-weight: 700; font-size: 24px; }
.logo-text span:last-child { color: var(--orange); font-weight: 700; font-size: 24px; }
.nav-menu { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: flex; align-items: center; gap: 5px; padding: 8px 11px; font-family: var(--ff); font-size: 14px; font-weight: 500; color: var(--navy); border-radius: 8px; transition: var(--transition); }
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--orange); background: rgba(255,107,0,.06); }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 230px; background: var(--white); border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.12);
  padding: 10px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 100;
}
.nav-menu > li:hover > .dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown-menu li a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 14px; color: var(--navy); border-radius: 10px; }
.dropdown-menu li a:hover { background: rgba(255,107,0,.07); color: var(--orange); }
.dropdown-menu li a i { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: var(--orange-glow); color: var(--orange); border-radius: 8px; font-size: 12px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-whatsapp { width: 42px; height: 42px; border-radius: 50%; background: var(--whatsapp); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.btn-cta { padding: 10px 22px; background: var(--orange); color: var(--white); font-family: var(--ff); font-size: 14px; font-weight: 600; border-radius: 50px; border: 2px solid var(--orange); transition: var(--transition); }
.btn-cta:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; border: none; background: none; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 10px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(10,31,68,.5); z-index: 1049; opacity: 0; transition: opacity var(--transition); }
.mobile-overlay.show { display: block; opacity: 1; }
.mobile-menu { display: none; position: fixed; top: 0; right: -320px; width: 320px; max-width: 85vw; height: 100vh; background: var(--white); z-index: 1050; padding: 80px 24px 30px; overflow-y: auto; transition: right .35s ease; box-shadow: -8px 0 30px rgba(0,0,0,.12); }
.mobile-menu.open { right: 0; }
.mobile-menu .mobile-nav li { border-bottom: 1px solid rgba(0,0,0,.06); }
.mobile-menu .mobile-nav > li > a { display: block; padding: 14px 0; font-weight: 600; color: var(--navy); }
.mobile-menu .mobile-nav > li > a.active { color: var(--orange); }

/* SECTION 1 — Hero */
.ct-hero {
  background: var(--light);
  padding: 140px 24px 56px;
  text-align: center;
  border-bottom: 1px solid rgba(10, 31, 68, 0.06);
}
.ct-hero h1 {
  font-family: var(--ff);
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.ct-hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.75;
}
.ct-quick-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.ct-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid var(--orange);
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.25);
}
.ct-badge:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.35);
}
.ct-badge-emoji { font-size: 18px; line-height: 1; }

/* SECTION 2 — Main layout */
.ct-main { padding: 64px 0 80px; background: var(--white); }
.ct-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

/* Info cards */
.ct-info-card {
  display: flex; gap: 16px;
  background: var(--light);
  border: 1px solid rgba(10, 31, 68, 0.06);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
  transition: var(--transition);
}
.ct-info-card:hover {
  border-color: rgba(255, 107, 0, 0.25);
  box-shadow: var(--shadow);
}
.ct-info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--orange-glow);
  color: var(--orange);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.ct-info-body { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.ct-info-body p { margin-bottom: 6px; }
.ct-info-body p:last-child { margin-bottom: 0; }
.ct-info-label { color: var(--navy); margin-bottom: 8px !important; }
.ct-info-label strong { font-family: var(--ff); font-weight: 700; }
.ct-info-body a { color: var(--navy); font-weight: 500; transition: color var(--transition); }
.ct-info-body a:hover { color: var(--orange); }
.ct-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px;
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 600;
  color: var(--orange) !important;
}
.ct-link:hover { color: var(--orange-dark) !important; }

.btn-whatsapp-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 14px 20px;
  margin: 8px 0 20px;
  background: var(--whatsapp);
  color: var(--white);
  font-family: var(--ff);
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp-cta:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}
.btn-whatsapp-cta i { font-size: 22px; }

.ct-social {
  display: flex; gap: 12px; justify-content: center;
}
.ct-social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: var(--transition);
}
.ct-social a:hover {
  background: var(--orange);
  transform: translateY(-3px);
}

/* Form */
.ct-form-wrap {
  background: var(--white);
  border: 1px solid rgba(10, 31, 68, 0.08);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 8px 40px rgba(10, 31, 68, 0.08);
}
.ct-form-title {
  font-family: var(--ff);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.ct-form-intro {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.ct-form-success {
  display: none;
  gap: 14px;
  align-items: flex-start;
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 24px;
  color: #065F46;
}
.ct-form-success.is-visible {
  display: flex;
}
.ct-form[hidden] {
  display: none !important;
}
.ct-form-success i { font-size: 28px; color: #10B981; flex-shrink: 0; }
.ct-form-success strong { display: block; font-family: var(--ff); margin-bottom: 4px; }
.ct-form-success p { font-size: 14px; margin: 0; line-height: 1.6; }

.ct-field { margin-bottom: 18px; }
.ct-field label {
  display: block;
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.req { color: var(--orange); }
.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  color: var(--navy);
  background: var(--light);
  border: 2px solid rgba(10, 31, 68, 0.1);
  border-radius: 10px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.ct-field input::placeholder,
.ct-field textarea::placeholder { color: var(--text-muted); }
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--orange-glow);
}
.ct-field input.is-invalid,
.ct-field select.is-invalid,
.ct-field textarea.is-invalid {
  border-color: var(--error);
  background: var(--error-bg);
}
.ct-field input.is-invalid:focus,
.ct-field select.is-invalid:focus,
.ct-field textarea.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}
.ct-field textarea { resize: vertical; min-height: 110px; }
.ct-error {
  display: block;
  font-size: 12px;
  color: var(--error);
  margin-top: 5px;
  min-height: 18px;
}
.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--ff);
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 4px;
}
.btn-submit:hover {
  background: var(--orange-dark);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.4);
  transform: translateY(-1px);
}
.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}
.ct-form-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
}
.ct-form-note i { color: var(--orange); margin-right: 4px; }

/* SECTION 3 — Map */
.ct-map-section { padding: 0; background: var(--light); }
.ct-map-placeholder {
  position: relative;
  height: 700px;
  max-height: 80vh;
  background: #E5E7EB;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}
.ct-map-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 2;
}
.ct-map-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(180deg, #E8EAED 0%, #D1D5DB 100%);
  color: var(--navy);
  pointer-events: none;
}
.ct-map-fallback i {
  font-size: 56px;
  color: var(--orange);
}
.ct-map-fallback span {
  font-family: var(--ff);
  font-size: 20px;
  font-weight: 700;
}

/* SECTION 4 — Branches */
.ct-branches {
  padding: 80px 0;
  background: var(--white);
}
.ct-branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ct-branch-card {
  background: var(--light);
  border: 1px solid rgba(10, 31, 68, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.ct-branch-card:hover {
  border-color: rgba(255, 107, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.ct-branch-pin {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  background: var(--orange-glow);
  color: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.ct-branch-card h3 {
  font-family: var(--ff);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.ct-branch-city {
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 12px;
}
.ct-branch-card > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.ct-branch-card > a {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
}
.ct-branch-card > a:hover { color: var(--orange); }

/* Responsive */
@media (max-width: 1100px) {
  .ct-layout { grid-template-columns: 1fr; gap: 48px; }
  .ct-branches-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}
@media (max-width: 992px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .nav-actions .btn-cta { display: none; }
}
@media (max-width: 768px) {
  .ct-hero { padding: 120px 20px 48px; }
  .ct-badge { padding: 10px 18px; font-size: 13px; }
  .ct-map-placeholder { height: 420px; border-radius: 16px 16px 0 0; }
  .ct-form-wrap { padding: 24px 20px; }
  .ct-branches-grid { max-width: none; }
}
@media (max-width: 576px) {
  .top-bar-left span:not(:first-child) { display: none; }
  .ct-quick-badges { flex-direction: column; align-items: stretch; }
  .ct-badge { justify-content: center; }
}
