/* ============================================
   Contact Page Styles
   ============================================ */

/* ---------- Page Hero ---------- */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 100px 0 50px;
  background: linear-gradient(180deg, #E8F6FE 0%, #F0F9FF 50%, #FFF 100%);
  overflow: hidden;
}

.page-hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.page-hero .hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.page-hero .shape-1 {
  width: 350px;
  height: 350px;
  background: var(--color-blue-light);
  top: -80px;
  right: 10%;
  animation: float 8s ease-in-out infinite;
}

.page-hero .shape-2 {
  width: 280px;
  height: 280px;
  background: var(--color-teal-light);
  top: 40%;
  left: 5%;
  animation: float 10s ease-in-out infinite 1s;
}

.page-hero .shape-3 {
  width: 220px;
  height: 220px;
  background: var(--color-green-light);
  bottom: 5%;
  right: 30%;
  animation: float 7s ease-in-out infinite 2s;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero-content .badge {
  font-size: 14px;
  padding: 8px 18px;
  margin-bottom: 24px;
  animation: pulse 2s ease-in-out infinite;
}

.page-hero-content h1 {
  font-size: 56px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.page-hero-content p {
  font-size: 22px;
  color: var(--text-secondary);
  font-weight: 500;
}

.page-hero .hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 120px;
}

.page-hero .hero-wave svg {
  width: 100%;
  height: 100%;
}

/* ---------- Section Base ---------- */
.section {
  padding: 40px 0;
  position: relative;
}

.section-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.section-badge.red {
  color: var(--color-red);
  background: var(--color-red-bg);
}

/* ---------- Contact Info Section ---------- */
.contact-info-section {
  background: var(--color-white);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-info-card {
  background: var(--color-white);
  padding: 36px 28px;
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--transition-normal);
  border: 2px solid var(--color-gray-100);
  position: relative;
}

.contact-info-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.ci-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  transition: all var(--transition-normal);
}

.ci-icon.red {
  background: linear-gradient(135deg, var(--color-red), var(--color-red-light));
  box-shadow: var(--shadow-glow-red);
  color: white;
}

.ci-icon.green {
  background: linear-gradient(135deg, var(--color-green), var(--color-green-light));
  box-shadow: var(--shadow-glow-green);
  color: white;
}

.ci-icon.yellow {
  background: linear-gradient(135deg, var(--color-yellow), var(--color-yellow-light));
  box-shadow: var(--shadow-glow-yellow);
  color: white;
}

.ci-icon.blue {
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-light));
  box-shadow: var(--shadow-glow-blue);
  color: white;
}

.contact-info-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.ci-main {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-red);
  margin-bottom: 8px;
}

.contact-info-card:nth-child(2) .ci-main { color: var(--color-green); }
.contact-info-card:nth-child(3) .ci-main { color: var(--color-yellow-dark); }
.contact-info-card:nth-child(4) .ci-main { color: var(--color-blue); }

.ci-time {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-yellow-dark);
  margin-bottom: 8px;
}

.ci-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.ci-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-blue);
  transition: all var(--transition-fast);
}

.ci-link:hover {
  color: var(--color-blue-dark);
  transform: translateX(4px);
}

/* ---------- Campuses Section ---------- */
.campuses-section {
  background: var(--color-gray-50);
}

.campuses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.campus-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-gray-100);
  position: relative;
  transition: all 0.3s ease;
}

.campus-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.campus-badge {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.campus-badge.red { background: var(--color-red); }
.campus-badge.blue { background: var(--color-blue); }
.campus-badge.green { background: var(--color-green); }

.campus-icon {
  font-size: 48px;
  margin-top: 24px;
  margin-bottom: 16px;
}

.campus-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 16px;
}

.campus-address {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray-700);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
}

.campus-address span {
  flex-shrink: 0;
}

.campus-tip {
  font-size: 13px;
  color: var(--color-gray-500);
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--color-gray-100);
}

/* ---------- Booking Section ---------- */
.booking-section {
  background: linear-gradient(180deg, #F0FDF4 0%, #DCFCE7 100%);
}

.booking-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.booking-left h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.booking-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.booking-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.bb-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.bb-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.bb-icon {
  font-size: 24px;
}

.booking-hotline {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(135deg, var(--color-red), var(--color-red-light));
  border-radius: var(--radius-lg);
  color: var(--color-white);
  box-shadow: var(--shadow-glow-red);
}

.bh-icon {
  font-size: 36px;
  flex-shrink: 0;
}

.booking-hotline strong {
  display: block;
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 4px;
}

.booking-hotline p {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
}

/* Booking Form */
.booking-right {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.booking-form h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 28px;
  text-align: center;
  position: relative;
  padding-bottom: 16px;
}

.booking-form h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-red), var(--color-yellow));
  border-radius: 2px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group .required {
  color: var(--color-red);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--color-gray-50);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-blue);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(33, 167, 242, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23718096' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.booking-form .btn {
  margin-top: 8px;
  margin-bottom: 16px;
}

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ---------- FAQ Section ---------- */
.faq-section {
  background: var(--color-white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border: 2px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: var(--color-yellow-light);
}

.faq-item.active {
  border-color: var(--color-yellow);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faq-question:hover {
  background: var(--color-yellow-bg);
}

.faq-q {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-yellow), var(--color-yellow-dark));
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}

.faq-question h3 {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-toggle {
  font-size: 24px;
  color: var(--text-tertiary);
  font-weight: 300;
  transition: all var(--transition-normal);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--color-yellow-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 28px 24px;
}

.faq-answer .faq-a {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-green), var(--color-green-light));
  color: var(--color-white);
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  font-size: 16px;
  font-weight: 800;
  margin-right: 16px;
  float: left;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  overflow: hidden;
}

.faq-answer strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--color-white);
}

.cta-box {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-light) 50%, var(--color-yellow) 100%);
  border-radius: var(--radius-xl);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
  color: var(--color-white);
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 20px;
}

.cta-features {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-features span {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.95;
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .booking-left {
    text-align: center;
  }

  .booking-benefits {
    justify-content: center;
  }

  .booking-hotline {
    justify-content: center;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
    padding: 48px 32px;
  }

  .cta-features {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .campuses-grid { grid-template-columns: 1fr; gap: 20px; }
  .campus-card { padding: 28px 24px; }

  .section {
    padding: 60px 0;
  }

  .page-hero {
    padding: 80px 0 40px;
    min-height: auto;
  }

  .page-hero-content h1 {
    font-size: 36px;
  }

  .page-hero-content p {
    font-size: 18px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-info-card {
    padding: 28px 24px;
  }

  .booking-right {
    padding: 28px 24px;
  }

  .booking-form h3 {
    font-size: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-row .form-group {
    margin-bottom: 16px;
  }

  .booking-left h2 {
    font-size: 28px;
  }

  .booking-desc {
    font-size: 15px;
  }

  .booking-benefits {
    grid-template-columns: 1fr;
  }

  .faq-question {
    padding: 18px 20px;
  }

  .faq-question h3 {
    font-size: 15px;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 20px;
  }

  .cta-box {
    padding: 40px 24px;
  }

  .cta-content h2 {
    font-size: 24px;
  }

  .cta-content p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .page-hero-content h1 {
    font-size: 32px;
  }

  .booking-hotline p {
    font-size: 20px;
  }
}
