/* Contact Hero Section - Premium Design */
:root {
  --ch-primary: #0a2a6e;
  --ch-text-dark: #0f172a;
  --ch-text-muted: #64748b;
  --ch-bg: #ffffff;
  --ch-bg-soft: #f8fafc;
  --ch-border: #e2e8f0;
}

.contact-hero-section {
  background-color: var(--ch-bg);
  padding: 80px 0 20px 0;
  font-family: var(--font-secondary, "Plus Jakarta Sans", sans-serif);
  position: relative;
  overflow: hidden;
}

/* Background aesthetic elements */
.contact-hero-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(10, 42, 110, 0.04) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 0;
}

.contact-hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Left Content */
.contact-hero-left {
  display: flex;
  flex-direction: column;
}

.ch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #edf2f9;
  color: var(--ch-primary);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(10, 42, 110, 0.05);
}

.ch-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--ch-primary);
  border-radius: 50%;
}

.ch-heading {
  font-size: 42px;
  font-weight: 700;
  color: var(--ch-text-dark);
  line-height: 1.15;
  margin: 0 0 16px 0;
  font-family: var(--font-primary, "Poppins", sans-serif);
  letter-spacing: -0.5px;
}

.ch-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--ch-primary);
  margin-top: 24px;
}

.ch-desc {
  font-size: 16px;
  color: var(--ch-text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 95%;
}

.ch-inputs {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.ch-input-group {
  position: relative;
  flex: 1;
}

.ch-input-group i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 18px;
  transition: color 0.3s ease;
}

.ch-input-group input {
  width: 100%;
  padding: 16px 16px 16px 48px;
  border: 1.5px solid var(--ch-border);
  border-radius: 10px;
  font-size: 15px;
  color: var(--ch-text-dark);
  background-color: #fff;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
}

.ch-input-group input:focus {
  border-color: var(--ch-primary);
  box-shadow: 0 4px 16px rgba(10, 42, 110, 0.08);
}

.ch-input-group input:focus + i,
.ch-input-group input:focus ~ i {
  color: var(--ch-primary);
}

.ch-help-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ch-primary);
  margin: 0 0 12px 0;
  font-family: var(--font-primary, "Poppins", sans-serif);
}

.ch-help-title::after {
  content: "";
  display: block;
  width: 45px;
  height: 3px;
  background-color: var(--ch-primary);
  margin-top: 10px;
}

.ch-help-desc {
  font-size: 15px;
  color: var(--ch-text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.ch-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
}

.ch-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.3s ease;
}

.ch-feature:hover {
  transform: translateY(-2px);
}

.ch-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--ch-bg-soft);
  color: var(--ch-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border: 1px solid var(--ch-border);
  box-shadow: 0 4px 10px rgba(10, 42, 110, 0.04);
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.ch-feature:hover .ch-feature-icon {
  background-color: var(--ch-primary);
  color: #fff;
}

.ch-feature-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ch-text-dark);
  margin: 0 0 4px 0;
}

.ch-feature-text p {
  font-size: 13.5px;
  color: var(--ch-text-muted);
  margin: 0;
  line-height: 1.4;
}

.ch-submit-btn {
  background-color: var(--ch-primary);
  color: #fff;
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-family: var(--font-primary, "Poppins", sans-serif);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ch-submit-btn:hover {
  background-color: #082054;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(10, 42, 110, 0.2);
}

/* Right Content - Globe Container */
.contact-hero-right {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-hero-right .global-presence__right {
  width: 100%;
  max-width: 550px;
}

.contact-hero-right .gp-globe-stage {
  max-width: 100%;
  aspect-ratio: 1 / 1;
}

/* Ensure legend is properly styled in this context */
.contact-hero-right .gp-legend {
  background: var(--ch-bg-soft);
  border: 1px solid var(--ch-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .ch-heading {
    font-size: 40px;
  }

  .contact-hero-right .global-presence__right {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .contact-hero-section {
    padding: 60px 0 20px 0;
  }

  .ch-inputs {
    flex-direction: column;
    gap: 16px;
  }

  .ch-features {
    grid-template-columns: 1fr;
  }

  .ch-heading {
    font-size: 34px;
  }

  .ch-submit-btn {
    width: 100%;
  }
}

/* Toast Notification */
.ch-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-left: 4px solid #10b981;
}

.ch-toast.show {
  transform: translateX(0);
}

.ch-toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #d1fae5;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.ch-toast-content h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  color: #111827;
  font-weight: 700;
  font-family: var(--font-primary, "Poppins", sans-serif);
}

.ch-toast-content p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.ch-toast-close {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  font-size: 16px;
  transition: color 0.3s;
}

.ch-toast-close:hover {
  color: #4b5563;
}

/* Animations */
.contact-hero-left > * {
  opacity: 0;
  transform: translateY(20px);
  animation: chFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ch-badge {
  animation-delay: 0.1s;
}
.ch-heading {
  animation-delay: 0.2s;
}
.ch-desc {
  animation-delay: 0.3s;
}
.ch-form {
  animation-delay: 0.4s;
}
.ch-help-title {
  animation-delay: 0.5s;
}
.ch-help-desc {
  animation-delay: 0.6s;
}
.ch-features {
  animation-delay: 0.7s;
}

.contact-hero-right {
  opacity: 0;
  transform: translateX(30px);
  animation: chFadeInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

@keyframes chFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chFadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
