/* Contact Page Specific Styles */

/* Hero Section Animation */
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Quick Contact Info Hover Effects */
.quick-contact-item {
  transition: transform 0.3s ease;
}

.quick-contact-item:hover {
  transform: translateX(5px);
}

/* Hero Background Pattern */
.hero-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Contact Form Styles */
.form-input:focus {
  box-shadow: 0 0 0 2px rgba(59, 154, 225, 0.3);
}

/* Map Container */
.map-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Contact Card Hover Effects */
.contact-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Social Media Icons */
.social-icon {
  transition: all 0.3s ease;
}

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

/* Call to Action Section */
.cta-section {
  background-image: linear-gradient(135deg, #0a3d62 0%, #3b9ae1 100%);
}

/* FAQ Accordion */
.faq-item {
  transition: all 0.3s ease;
}

.faq-question {
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Additional Contact Page Styles */
/* Form Input Focus Animation */
.form-input:focus {
  border-color: #3b9ae1;
  box-shadow: 0 0 0 3px rgba(59, 154, 225, 0.2);
  transition: all 0.3s ease;
}

/* Custom Checkbox Styling */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #0a3d62;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

input[type="checkbox"]:checked {
  background-color: #0a3d62;
  border-color: #0a3d62;
}

input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  color: white;
  font-size: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Contact Card Hover Animation */
.contact-card {
  transition: all 0.3s ease;
}

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

/* Social Media Icons Animation */
.social-icon {
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
}

/* Map Container Styling */
.map-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.map-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 61, 98, 0.05), transparent);
  pointer-events: none;
  z-index: 1;
}

/* Form Validation Styling */
.validation-message {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading Animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* FAQ Accordion Animation */
.faq-answer {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item:hover {
    border-color: #3B9AE1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .contact-card {
    padding: 1.5rem;
  }

  .faq-question {
    padding: 1rem;
  }

  .faq-answer {
    padding: 1rem;
  }
}

/* Calendly Widget Responsive Styling */
.calendly-inline-widget {
  min-width: 320px;
  height: 400px;
}

@media (max-width: 640px) {
  .calendly-inline-widget {
    height: 350px;
  }
}

/* Success Message Animation */
#form-success,
#form-error {
  animation: slideDown 0.5s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Quick Contact Info Hover Effect */
.quick-contact-item {
  transition: all 0.3s ease;
}

.quick-contact-item:hover {
  transform: translateX(5px);
}
