/* Enhanced Hero Styles */
.contact-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color) 0%, #c70500 50%, #ff4757 100%);
  color: white;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
                    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0;
}

.hero-content .row {
  align-items: flex-start;
  min-height: 500px;
  gap: 60px;
}

.hero-content .col-md-8 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-align: center;
  margin: 0 auto;
}


.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  overflow: hidden;
}

.badge-icon {
  font-size: 14px;
  line-height: 1;
  display: inline-block;
  width: 14px;
  height: 14px;
  text-align: center;
  vertical-align: middle;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 600px;
}

.text-highlight {
  position: relative;
  display: inline-block;
  text-decoration: none;
  border-bottom: 3px solid rgba(255, 215, 0, 0.8);
  padding-bottom: 2px;
  background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 30px;
  opacity: 0.95;
  line-height: 1.6;
}

.typewriter-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 20px 25px;
  margin: 25px 0;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.typewriter-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #FFD700;
  text-align: center;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background-color: #FFD700;
  margin-left: 2px;
  animation: blink 1s infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 20px;
  min-width: 120px;
  transition: all 0.3s ease;
}

.hero-stat:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  color: #FFD700;
  margin-bottom: 5px;
}

.hero-stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Contact Cards Styles */
.contact-cards-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-cards-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 280px;
  max-width: 320px;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #FFD700);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(225, 6, 0, 0.2);
  background: rgba(255, 255, 255, 1);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), #ff4757);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 28px;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(225, 6, 0, 0.3);
}

.contact-card:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(225, 6, 0, 0.4);
}

.contact-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.contact-card:hover h3 {
  color: var(--primary-color);
}

.contact-card p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.contact-value {
  font-weight: 600;
  color: var(--primary-color);
  background: rgba(225, 6, 0, 0.05);
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid rgba(225, 6, 0, 0.1);
  display: inline-block;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-value:hover {
  background: rgba(225, 6, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(225, 6, 0, 0.2);
  color: var(--primary-color);
  text-decoration: none;
}

.contact-value.email {
  word-break: break-all;
  font-size: 0.85rem;
}

/* Social Section Styles */
.social-contact-section {
  background: #fff;
  padding: 60px 0;
  border-top: 1px solid #eee;
}

.social-contact-section h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}

.social-contact-section p {
  color: #666;
  margin-bottom: 30px;
  text-align: center;
  font-size: 1.1rem;
}

.contact-social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-social-icon-only {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-social-icon-only::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-social-icon-only:hover::before {
  opacity: 1;
}

.contact-social-icon-only:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  color: white;
  text-decoration: none;
}

.contact-social-icon-only.facebook {
  background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.contact-social-icon-only.instagram {
  background: linear-gradient(135deg, #e1306c, #fd1d1d, #fccc63);
}

.contact-social-icon-only.telegram {
  background: linear-gradient(135deg, #0088cc, #29b6f6);
}

/* Form Section Styles */
.form-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
}

.form-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.form-section .lead {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 50px;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  padding: 50px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #FFD700);
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.1);
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

.form-control.is-invalid {
  border-color: #dc3545;
  background-color: rgba(220, 53, 69, 0.05);
}

.form-control.is-valid {
  border-color: #28a745;
  background-color: rgba(40, 167, 69, 0.05);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  background: linear-gradient(135deg, var(--primary-color), #ff4757);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(225, 6, 0, 0.3);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(225, 6, 0, 0.4);
}

.btn-submit:active {
  transform: translateY(-1px) scale(1.02);
}

/* Map Section Styles */
.map-section {
  background: #fff;
  padding: 80px 0;
  border-top: 1px solid #eee;
}

.map-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.map-section .lead {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 50px;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.map-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.map-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.map-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #FFD700);
  z-index: 2;
}

.map-frame {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

.map-info {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
  max-width: 300px;
}

.map-info h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.map-info p {
  color: #666;
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.view-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-color), #ff4757);
  color: white;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(225, 6, 0, 0.3);
  margin-top: 15px;
  font-size: 0.95rem;
}

.view-map-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(225, 6, 0, 0.4);
  color: white;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-hero {
    min-height: 70vh;
    padding: 40px 0;
  }
  
  .hero-content .row {
    min-height: auto;
    gap: 30px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .typewriter-text {
    font-size: 1rem;
  }
  
  .hero-stats {
    gap: 20px;
  }
  
  .hero-stat {
    min-width: 100px;
    padding: 15px;
  }
  
  .hero-stat-number {
    font-size: 1.5rem;
  }
  
  .contact-cards-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .contact-card {
    max-width: 100%;
    margin: 0 20px;
  }
  
  .contact-form {
    padding: 30px 20px;
    margin: 0 20px;
  }
  
  .form-section h2 {
    font-size: 2rem;
  }
  
  .map-section h2 {
    font-size: 2rem;
  }
  
  .map-info {
    position: static;
    margin-top: 20px;
    max-width: 100%;
  }
  
  .contact-social-icons {
    gap: 15px;
  }
  
  .contact-social-icon-only {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .typewriter-container {
    padding: 15px 20px;
  }
  
  .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .contact-card {
    padding: 25px 20px;
  }
  
  .contact-form {
    border-radius: 15px;
  }
  
  .form-control {
    padding: 12px 15px;
  }
  
  .btn-submit {
    padding: 12px 30px;
    font-size: 1rem;
  }
}