.contact-hero {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  overflow: hidden;
  text-align: left;
}

.contact-hero-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.hero-content {
  width: 100%;
}

.hero-badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(0, 82, 147, 0.1);
  color: var(--primary-blue);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  padding: 12px 24px;
  border-radius: 8px;
  border: 2px solid rgba(0, 78, 146, 0.1);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: var(--primary-blue, #004e92);
  background: rgba(0, 78, 146, 0.05);
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 350px;
  margin: 40px auto 0;
}

.visual-card-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.decorative-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  background: linear-gradient(45deg, #cce4f7, #e6f0fa);
  border-radius: 40% 60% 50% 50%;
  z-index: 1;
  z-index: 1;
}

.glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0, 50, 100, 0.1);
  z-index: 2;
  z-index: 2;
  min-width: 180px;
}

.card-phone {
  top: 20%;
  right: 0;
  animation-delay: 0s;
}

.card-mail {
  bottom: 20%;
  left: 10px;
  animation-delay: 2s;
}

.icon-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.icon-box.blue {
  background: var(--primary-blue);
}

.icon-box.green {
  background: #10b981;
}

.card-text {
  display: flex;
  flex-direction: column;
}

.card-text .label {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}

.card-text .value {
  font-size: 0.95rem;
  color: #0f172a;
  font-weight: 700;
}

.glass-card:hover {
  transform: scale(1.05);
  z-index: 3;
  transition: transform 0.3s ease;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes blobFloat {
  0% {
    border-radius: 50% 40% 60% 50%;
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    border-radius: 60% 50% 40% 60%;
    transform: translate(-50%, -50%) rotate(20deg);
  }
}

.contact-section {
  padding-top: 60px;
  padding-bottom: 60px;
  background: var(--white);
}

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

.contact-form-wrapper {
  background: var(--white);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.form-heading {
  margin-bottom: 24px;
  color: var(--primary-blue);
  font-size: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #f8fafc;
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 82, 147, 0.1);
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23005293' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.info-card {
  background: var(--soft-blue);
  padding: 24px;
  border-radius: 16px;
  margin-top: 80px;
}

.info-card h3 {
  margin-bottom: 24px;
  color: var(--primary-blue);
  font-size: 1.25rem;
}

.contact-list-lg {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-list-lg li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-list-lg .icon {
  font-size: 1.5rem;
}

.contact-list-lg strong {
  display: block;
  color: var(--education-blue);
  margin-bottom: 4px;
}

.contact-list-lg p,
.contact-list-lg a {
  color: var(--text-grey);
  font-size: 0.95rem;
  line-height: 1.5;
  text-decoration: none;
}

.contact-list-lg a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

.map-container {
  width: 100%;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #e2e8f0;
}



.map-placeholder-visual {
  width: 100%;
  height: 100%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-weight: 600;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .contact-hero-grid {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .hero-content {
    max-width: 50%;
  }

  .hero-visual {
    margin-top: 0;
    height: 400px;
    max-width: 500px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
  }
}

.info-card,
.stats-card {
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.stats-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-divider {
  height: 1px;
  background: var(--border-color);
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.stat-v-divider {
  width: 1px;
  height: 60px;
  background: var(--border-color);
}

.stats-row .stat-item {
  flex: 1;
  align-items: center;
  justify-content: center;
}

.counter-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.1;
  margin-bottom: 4px;
}

.counter-item p {
  color: var(--text-grey);
  font-size: 0.9rem;
  font-weight: 500;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

.flex-between .bold {
  color: var(--primary-blue);
  font-weight: 700;
  font-weight: 700;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: var(--soft-blue);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--primary-blue);
  border-radius: 4px;
  width: 0;
  transition: width 1.5s ease-out;
}

.graph-item {
  align-items: center;
  text-align: center;
}

.circle-chart {
  position: relative;
  width: 80px;
  height: 80px;
}

.circular-chart {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 100%;
}

.circle-bg {
  fill: none;
  stroke: var(--soft-blue);
  stroke-width: 2.5;
}

.circle {
  fill: none;
  stroke: var(--primary-blue);
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: stroke-dasharray 1.5s ease-out;
}

.circle-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: 0;
  transition: gap 0.2s ease;
}

.text-btn:hover {
  gap: 8px;
  text-decoration: underline;
}

.btn-small {
  display: inline-block;
  background: var(--border-color);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-small:hover {
  background: var(--secondary-blue);
  color: var(--white);
}

.mt-2 {
  margin-top: 8px;
}

.contact-list-lg .icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ml-auto {
  margin-left: auto;
}

.contact-list-lg li {
  align-items: center;
}

@media (max-width: 992px) {
  .contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
    max-width: 600px;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-actions {
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-visual {
    transform: scale(0.9);
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 450px;
  text-align: center;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #2e7d32;
}

.modal-card h3 {
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.modal-card p {
  color: var(--text-grey);
  margin-bottom: 32px;
  line-height: 1.6;
}

.modal-card .btn {
  min-width: 120px;
}