/* Contact Page Modern Styles */

/* Import Animate.css for animations */
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');

/* Hero Section */
.contact-hero {
  position: relative;
  padding: 100px 0;
  background-color: transparent;
  z-index: 1;
}

.hero-svg-container {
  z-index: -1;
}

.contact-hero-svg {
  object-fit: cover;
  object-position: center;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
}

.contact-card {
  background-color: #111;
  border-left: 4px solid var(--primary-color);
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.05);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  transition: var(--transition);
}

.contact-card:hover .contact-icon {
  transform: scale(1.1);
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.social-icon:hover {
  transform: translateY(-5px);
  background-color: #0a58ca;
}

.hover-effect {
  transition: var(--transition);
}

.hover-effect:hover {
  color: var(--primary-color) !important;
}

/* Form Styles */
.contact-form-card {
  border-radius: 15px;
  overflow: hidden;
  z-index: 2;
  background-color: rgba(17, 17, 17, 0.8) !important;
  backdrop-filter: blur(10px);
}

.form-floating > .form-control,
.form-floating > .form-select {
  background-color: #222 !important;
  border-color: #333 !important;
  color: #f8f9fa !important;
  height: 60px;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
  background-color: #333 !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

.form-floating > label {
  color: #adb5bd !important;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
  color: var(--primary-color) !important;
  opacity: 1;
}

.form-floating > textarea.form-control {
  height: 150px !important;
}

.custom-checkbox .form-check-input {
  background-color: #222 !important;
  border-color: #444 !important;
}

.custom-checkbox .form-check-input:checked {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.pulse-btn {
  box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
  }
}

/* Text gradient effect */
.text-gradient {
  background: linear-gradient(90deg, var(--primary-color), #6610f2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* FAQ Section */
.faq-section {
  position: relative;
  background-color: #111;
  padding: 80px 0;
}

.faq-bg-svg {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  opacity: 0.2;
  z-index: 0;
}

.custom-accordion .accordion-item {
  background-color: #111;
  border: 1px solid #333;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
}

.custom-accordion .accordion-button {
  background-color: #111;
  color: #f8f9fa;
  font-weight: 600;
  padding: 20px;
  box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
  background-color: #111;
  color: var(--primary-color);
}

.custom-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f8f9fa'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.custom-accordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d6efd'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.custom-accordion .accordion-body {
  background-color: #191919;
  padding: 20px;
  color: #adb5bd;
}

/* Map Section */
.map-section {
  padding: 80px 0;
}

.title-highlight {
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: rgba(13, 110, 253, 0.2);
  z-index: 1;
}

.map-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 100px 0;
}

.cta-bg-overlay {
  background: linear-gradient(135deg, var(--primary-color), #6610f2);
  opacity: 0.9;
  z-index: 1;
}

.z-2 {
  z-index: 2;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .contact-hero {
    padding: 60px 0;
  }
  
  .faq-bg-svg {
    display: none;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 40px 0;
  }
  
  .contact-section,
  .faq-section,
  .map-section,
  .cta-section {
    padding: 50px 0;
  }
}