:root {
  --primary-color: #f80303;
  --secondary-color: #ac1818;
  --white-color: #ffffff;
  --text-color: #cfcfcf;
  --bg-dark: #050505;
  --card-bg: #101010;
  --border-color: rgba(255, 255, 255, 0.08);
  --gradient-color: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.contact-section {
  background: var(--bg-dark);
  /* padding: 25px 0; */
  padding-top: 50px;
  padding-bottom: 15px;
  position: relative;
  overflow: hidden;
}

.contact-info {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-box {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-icon {
  width: 65px;
  height: 65px;
  border-radius: 18px;
  background: rgba(255, 79, 163, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: var(--primary-color);
  font-size: 24px;
}

.contact-box h5 {
  color: var(--white-color);
  margin-bottom: 5px;
  font-weight: 700;
}

.contact-box p {
  color: var(--text-color);
  margin-bottom: 0;
}

/* SHOW LOCATION BUTTON */
.show-location-btn {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  margin-top: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.show-location-btn:hover {
  background: var(--gradient-color);
  border-color: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-2px);
}

/* LOCATION MAP POPUP - CRITICAL STYLES */
.location-map-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
}

.location-map-popup.show {
  display: flex !important;
}

.map-popup-content {
  background: #101010;
  border-radius: 20px;
  width: 90%;
  max-width: 700px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideUp 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.map-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: linear-gradient(135deg, rgba(248, 3, 3, 0.1), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.map-popup-header h4 {
  color: #f80303;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.map-popup-header h4 i {
  margin-right: 10px;
}

.close-map-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-map-btn:hover {
  background: #f80303;
  transform: rotate(90deg);
}

.map-container {
  padding: 20px;
}

.map-container iframe {
  border-radius: 15px;
  width: 100%;
  height: 300px;
  border: none;
}

.map-details {
  padding: 0 25px 25px 25px;
}

.map-details p {
  color: #cfcfcf;
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.6;
}

.get-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f80303, #ac1818);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.get-directions-btn:hover {
  transform: translateY(-3px);
  color: #ffffff;
  box-shadow: 0 5px 20px rgba(248, 3, 3, 0.4);
}

/* FORM STYLES */
.form-control::placeholder {
  color: #cbc9c9 !important;
  opacity: 1;
}

.join-form-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 35px;
  padding: 45px;
  box-shadow: 0 0 40px rgba(255, 79, 163, 0.08);
}

.form-top {
  margin-bottom: 35px;
}

.form-top h3 {
  color: var(--white-color);
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 10px;
}

.form-top p {
  color: var(--text-color);
  margin-bottom: 0;
}

.form-group label {
  color: var(--white-color);
  margin-bottom: 12px;
  font-weight: 500;
  display: block;
}

.input-box {
  position: relative;
}

.input-box i {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  color: var(--primary-color);
  z-index: 10;
}

.textarea-box i {
  top: 24px;
  transform: none;
}

.form-control,
.form-select {
  background: #0b0b0b !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  height: 58px;
  border-radius: 16px;
  padding-left: 52px;
  color: var(--white-color) !important;
  box-shadow: none !important;
}

textarea.form-control {
  height: auto;
  padding-top: 18px;
}

.form-control::placeholder {
  color: #8e8e8e;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 4px rgba(255, 79, 163, 0.12) !important;
}

.join-btn {
  width: 100%;
  border: none;
  height: 60px;
  border-radius: 16px;
  background: var(--gradient-color);
  color: var(--white-color);
  font-size: 17px;
  font-weight: 700;
  transition: 0.4s ease;
}

.join-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(255, 79, 163, 0.35);
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .join-form-card {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 38px;
  }
  .form-top h3 {
    font-size: 30px;
  }
  .map-popup-content {
    width: 95%;
    margin: 20px;
  }
  .map-popup-header h4 {
    font-size: 16px;
  }
  .map-popup-header {
    padding: 15px 20px;
  }
  .map-container {
    padding: 15px;
  }
  .map-container iframe {
    height: 250px;
  }
  .map-details {
    padding: 0 20px 20px 20px;
  }
  .get-directions-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  .show-location-btn {
    padding: 5px 12px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .map-container iframe {
    height: 200px;
  }
  .map-popup-header h4 {
    font-size: 14px;
  }
  .close-map-btn {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
}
