/*
 * Theme Name: Expo Lead Theme - New Contact Page Styles
 * Scope: All classes prefixed with .stc- or .st-
 * Author: SmileTrip
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Dancing+Script:wght@600;700&family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

:root {
  --st-blue: #005fd9;
  --st-blue-dark: #004bb5;
  --st-blue-light: #e8f2ff;
  --st-orange: #f05123;
  --st-orange-hover: #d94216;
  --st-navy: #08182b;
  --st-slate-dark: #0f172a;
  --st-slate: #334155;
  --st-muted: #64748b;
  --st-border: #e2e8f0;
  --st-bg: #f8fafc;
  --st-white: #ffffff;
  --st-font-main: 'Plus Jakarta Sans', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --st-font-hand: 'Dancing Script', cursive, sans-serif;
  --st-font-jp: 'Noto Sans JP', sans-serif;
}

/* Base resets & typography for contact page */
.stc-page {
  font-family: var(--st-font-main);
  color: var(--st-slate-dark);
  background-color: #fbfcfe;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

.stc-page * {
  box-sizing: border-box;
}

.stc-container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* Color helpers */
.st-text-blue {
  color: var(--st-blue);
}

.st-text-orange {
  color: var(--st-orange);
}

/* ===================================================
   HERO BANNER SECTION
   =================================================== */
.stc-hero {
  position: relative;
  min-height: 640px;
  background-image: var(--stc-hero-bg, url('../images/smiletrip-hero-banner.png'));
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.4);
}

.stc-hero-content {
  max-width: 580px;
  position: relative;
  z-index: 2;
}

.stc-hero-eyebrow {
  display: inline-block;
  color: var(--st-orange);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.stc-hero-title {
  font-size: clamp(44px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin: 0 0 20px 0;
  text-transform: uppercase;
}

.stc-hero-desc {
  font-size: 16px;
  line-height: 1.65;
  color: #334155;
  font-weight: 500;
  margin: 0 0 32px 0;
  max-width: 480px;
}

.stc-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--st-blue);
  color: var(--st-white);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 15px 32px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 95, 217, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.stc-hero-btn:hover {
  background-color: var(--st-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 95, 217, 0.4);
  color: var(--st-white);
}

.stc-hero-btn svg {
  transition: transform 0.2s ease;
}

.stc-hero-btn:hover svg {
  transform: translateX(4px);
}

/* ===================================================
   SERVICES SECTION
   =================================================== */
.stc-services {
  padding: 90px 0 70px;
  background: #ffffff;
}

.stc-services-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}

.stc-services-title-wrap {
  flex: 1;
}

.stc-services-eyebrow {
  color: var(--st-orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.stc-services-title {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--st-blue);
  margin: 0;
  text-transform: uppercase;
}

.stc-services-intro-wrap {
  flex: 1;
  max-width: 520px;
  padding-top: 10px;
}

.stc-services-intro-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--st-slate);
  margin: 0 0 20px 0;
}

.stc-services-deco-line {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--st-orange);
  text-transform: uppercase;
}

.stc-services-deco-line span {
  white-space: nowrap;
}

.stc-services-deco-line::before,
.stc-services-deco-line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--st-orange);
  opacity: 0.6;
}

/* 3 Cards Grid */
.stc-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.stc-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 580px;
  box-shadow: 0 16px 40px rgba(0, 60, 150, 0.12);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  border: 1px solid rgba(226, 232, 240, 0.7);
  display: flex;
  flex-direction: column;
}

.stc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 60, 150, 0.22);
}

/* Background image filling the entire card */
.stc-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.stc-card:hover .stc-card-bg {
  transform: scale(1.05);
}

/* Card Body Content sitting on top of the image */
.stc-card-body {
  position: relative;
  z-index: 2;
  padding: 38px 32px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.stc-card-num {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  color: var(--st-blue);
  margin-bottom: 6px;
}

.stc-card--flights .stc-card-num,
.stc-card--featured .stc-card-num {
  color: #ffffff;
}

.stc-card-bar {
  width: 32px;
  height: 3.5px;
  background-color: var(--st-orange);
  border-radius: 2px;
  margin-bottom: 20px;
}

.stc-card--flights .stc-card-bar,
.stc-card--featured .stc-card-bar {
  background-color: #ffffff;
}

.stc-card-title {
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--st-blue);
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.stc-card--flights .stc-card-title,
.stc-card--featured .stc-card-title {
  color: #ffffff;
}

.stc-card-jp {
  font-family: var(--st-font-main), var(--st-font-jp), sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 22px 0;
}

.stc-card--flights .stc-card-jp,
.stc-card--featured .stc-card-jp {
  color: #ffffff;
}

.stc-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stc-card-list li {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stc-card-list li::before {
  content: "—";
  color: var(--st-orange);
  font-weight: 800;
}

.stc-card--flights .stc-card-list li,
.stc-card--featured .stc-card-list li {
  color: #ffffff;
}

.stc-card--flights .stc-card-list li::before,
.stc-card--featured .stc-card-list li::before {
  color: #ffffff;
}

/* ===================================================
   CONTACT & FORM SECTION
   =================================================== */
.stc-contact {
  padding: 80px 0 90px;
  background-color: #fbfcfe;
}

.stc-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}

/* Left: Contact Info */
.stc-info-wrap {
  padding-right: 12px;
}

.stc-info-eyebrow {
  color: var(--st-orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.stc-info-title {
  font-size: clamp(42px, 4.5vw, 64px);
  font-weight: 900;
  line-height: 1.02;
  margin: 0 0 18px 0;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.stc-info-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--st-slate);
  margin: 0 0 32px 0;
  max-width: 480px;
}

/* Branch Cards */
.stc-branch-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stc-branch-card {
  background: #ffffff;
  border: 1px solid var(--st-border);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.stc-branch-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(0, 95, 217, 0.08);
  transform: translateY(-2px);
}

.stc-branch-flag {
  flex-shrink: 0;
  width: 40px;
  height: 28px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.stc-branch-flag img,
.stc-branch-flag svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stc-branch-content {
  flex: 1;
}

.stc-branch-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--st-slate-dark);
  margin: 0 0 6px 0;
}

.stc-branch-sub {
  margin-bottom: 10px;
}

.stc-branch-sub:last-child {
  margin-bottom: 0;
}

.stc-branch-sub-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 12px 0;
}

.stc-branch-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 6px 0;
}

.stc-branch-text strong {
  color: var(--st-slate-dark);
  font-weight: 700;
}

.stc-branch-meta {
  font-size: 13px;
  color: var(--st-slate-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.stc-branch-meta a {
  color: var(--st-blue);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}

.stc-branch-meta a:hover {
  color: var(--st-orange);
  text-decoration: underline;
}

.stc-branch-meta-sep {
  color: #cbd5e1;
}

/* Right: Form Card */
.stc-form-card {
  background: linear-gradient(155deg, #0065e8 0%, #0050c9 100%);
  border-radius: 24px;
  padding: 40px 42px;
  box-shadow: 0 24px 60px rgba(0, 95, 217, 0.28);
  color: #ffffff;
  position: relative;
}

.stc-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.stc-form-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  margin: 0;
  color: #ffffff;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.stc-form-jp {
  font-family: var(--st-font-main), var(--st-font-jp), sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

/* Form Fields */
.stc-field-group {
  margin-bottom: 20px;
}

.stc-field-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.stc-field-label .st-req {
  color: #ff9d80;
  margin-left: 2px;
}

.stc-input-box {
  position: relative;
}

.stc-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stc-input-box--textarea .stc-input-icon {
  top: 18px;
  transform: none;
}

.stc-input,
.stc-select,
.stc-textarea {
  width: 100%;
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 13px 16px 13px 48px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--st-slate-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.stc-input::placeholder,
.stc-textarea::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.stc-input:focus,
.stc-select:focus,
.stc-textarea:focus {
  outline: none;
  border-color: #ff8b66;
  box-shadow: 0 0 0 4px rgba(240, 81, 35, 0.22);
}

.stc-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 18px) center;
  cursor: pointer;
}

.stc-textarea {
  height: 115px;
  resize: vertical;
  line-height: 1.5;
}

.stc-char-count {
  text-align: right;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
}

/* Submit Button */
.stc-submit-btn {
  width: 100%;
  height: 54px;
  background: linear-gradient(135deg, #f25724 0%, #ea4312 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(234, 67, 18, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 8px;
}

.stc-submit-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #ff6938 0%, #f04e1e 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(234, 67, 18, 0.5);
}

.stc-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.stc-submit-btn svg {
  transition: transform 0.2s ease;
}

.stc-submit-btn:hover:not(:disabled) svg {
  transform: translateX(3px) translateY(-1px);
}

.stc-privacy-note {
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  margin: 14px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Alerts / Notice within form */
.stc-notice {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.5;
}

.stc-notice--success {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.stc-notice--error {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Honeypot */
.stc-honeypot {
  display: none !important;
}

/* ===================================================
   FOLLOW SMILETRIP BANNER
   =================================================== */
.stc-follow-wrap {
  margin: 0 0 80px 0;
}

.stc-follow-card {
  background: #ffffff;
  border: 2px solid var(--st-blue);
  border-radius: 20px;
  padding: 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 95, 217, 0.08);
}

.stc-follow-brand {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}

.stc-follow-title {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.05;
  color: var(--st-blue);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.stc-follow-divider {
  width: 1.5px;
  height: 48px;
  background-color: #cbd5e1;
}

.stc-follow-socials {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.stc-social-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.stc-social-item:hover {
  transform: translateY(-2px);
}

.stc-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.stc-social-icon--fb {
  background: #1877f2;
}

.stc-social-icon--insta {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.stc-social-icon--tiktok {
  background: #000000;
}

.stc-social-icon--zalo {
  background: #0068ff;
  font-weight: 800;
  font-size: 11px;
}

.stc-social-text {
  display: flex;
  flex-direction: column;
}

.stc-social-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--st-slate-dark);
  line-height: 1.2;
}

.stc-social-handle {
  font-size: 12px;
  color: var(--st-muted);
  line-height: 1.2;
}

/* Right decorative artwork */
.stc-follow-deco {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.stc-follow-flight-svg {
  width: 120px;
  height: 50px;
  overflow: visible;
}

.stc-follow-handtext {
  font-family: var(--st-font-hand);
  font-size: 21px;
  line-height: 1.15;
  color: var(--st-blue);
  font-weight: 700;
  white-space: nowrap;
}

/* ===================================================
   FOOTER (ENHANCED MATCHING MOCKUP)
   =================================================== */
.stc-footer {
  background: var(--st-navy);
  color: #ffffff;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stc-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.stc-footer-logo img {
  height: 38px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.stc-footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.stc-footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.stc-footer-links a:hover {
  color: var(--st-orange);
}

/* ===================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   =================================================== */
@media (max-width: 1024px) {
  .stc-services-header {
    flex-direction: column;
    gap: 18px;
  }

  .stc-services-intro-wrap {
    max-width: 100%;
    padding-top: 0;
  }

  .stc-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stc-card:last-child {
    grid-column: span 2;
  }

  .stc-card {
    height: 540px;
  }

  .stc-contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stc-info-wrap {
    padding-right: 0;
  }

  .stc-follow-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 24px;
  }

  .stc-follow-divider {
    display: none;
  }

  .stc-follow-deco {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  .stc-hero {
    min-height: 580px;
    padding-top: 90px;
    padding-bottom: 50px;
    background-image: var(--stc-hero-bg-mobile, url('../images/smiletrip-hero-mobile.png')) !important;
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    align-items: flex-start;
  }

  .stc-hero-content {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 24px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
  }

  .stc-hero-title {
    font-size: 36px;
    line-height: 1.1;
  }

  .stc-services {
    padding: 60px 0 50px;
  }

  .stc-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stc-card:last-child {
    grid-column: span 1;
  }

  .stc-card {
    height: 520px;
  }

  .stc-contact {
    padding: 50px 0 60px;
  }

  .stc-info-wrap {
    order: 2;
  }

  .stc-form-card {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .stc-form-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .stc-form-title {
    font-size: 26px;
  }

  .stc-follow-socials {
    gap: 16px;
  }

  .stc-footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .stc-footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .stc-hero {
    min-height: 520px;
    padding-top: 80px;
    padding-bottom: 30px;
  }

  .stc-hero-title {
    font-size: 30px;
  }

  .stc-hero-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 22px;
  }

  .stc-hero-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 14px;
  }
}
