/* Contact Page Specific Styles */

/* Contact Header Section */
.contact-header {
  background: linear-gradient(135deg, #f8fafc 0%, rgba(219, 234, 254, 0.3) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.contact-header .container {
  position: relative;
  z-index: 2;
}

.contact-header .breadcrumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-header .breadcrumb-item a:hover {
  color: white;
}

.contact-header .breadcrumb-item.active {
  color: white;
}

.contact-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}
.section-lead{
  font-size: 1.25rem;
  font-weight: 600;
  color: black;
}

/* Contact Info Cards */
.contact-info-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(37, 99, 235, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.contact-info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #007bff, #00d4ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  overflow: hidden;
}

.contact-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon::before {
  width: 100%;
  height: 100%;
}

.contact-icon i {
  font-size: 2rem;
  color: white;
  position: relative;
  z-index: 2;
}

.contact-info-card h4 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.contact-info-card p {
  margin-bottom: 0;
  line-height: 1.6;
}

.contact-info-card a {
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.contact-info-card a:hover {
  color: var(--secondary-color);
}

/* Contact Form Styles */
.contact-form {
  background: #f8fafc;
}

.contact-form .card {
  border: none;
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
}

.contact-form .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
}

.contact-form .form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
  border: 2px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.1);
  outline: none;
}

.contact-form .form-control:hover,
.contact-form .form-select:hover {
  border-color: var(--secondary-color);
}

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

.contact-form .form-check-input {
  border: 2px solid #e2e8f0;
  border-radius: 0.25rem;
}

.contact-form .form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.contact-form .form-check-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Map Section */
.map-section {
  background: #f8fafc;
}

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

.map-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 49%, rgba(37, 99, 235, 0.1) 50%, transparent 51%);
  pointer-events: none;
  z-index: 1;
}

/* FAQ Section */
.faq-section {
  background: white;
}

.faq-section .accordion-item {
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 0.75rem !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-section .accordion-button {
  background: white;
  border: none;
  padding: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 0.75rem !important;
  position: relative;
  transition: all 0.3s ease;
}

.faq-section .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: none;
}

.faq-section .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.1);
  border: none;
}

.faq-section .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23374151'%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");
  transition: transform 0.3s ease;
}

.faq-section .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='%23ffffff'%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");
  transform: rotate(180deg);
}

.faq-section .accordion-body {
  padding: 1.5rem;
  background: #f8fafc;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  position: relative;
  overflow: hidden;
  color: white;
  text-align: center;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-description {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.cta-buttons .btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.custom-btn-light {
  background: white;
  color: var(--primary-color);
  border: 2px solid white;
}

.custom-btn-light:hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.custom-btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.custom-btn-outline:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-header .display-4 {
    font-size: 2rem;
  }

  .contact-info-card {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
  }

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

  .contact-form .card-body {
    padding: 2rem 1.5rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  .cta-buttons .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }
}

@media (max-width: 576px) {
  .contact-header {
    padding: 3rem 0;
  }

  .contact-info-card {
    padding: 1.5rem 1rem;
  }

  .contact-form .card-body {
    padding: 1.5rem 1rem;
  }

  .faq-section .accordion-button {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .faq-section .accordion-body {
    padding: 1rem;
  }
}

/* Animation Classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in-up:nth-child(1) {
  animation-delay: 0.1s;
}
.fade-in-up:nth-child(2) {
  animation-delay: 0.2s;
}
.fade-in-up:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading States */
.form-loading {
  position: relative;
  pointer-events: none;
}

.form-loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.5rem;
}

/* Success/Error States */
.form-success {
  border-color: #10b981 !important;
  background-color: #f0fdf4 !important;
}

.form-error {
  border-color: #ef4444 !important;
  background-color: #fef2f2 !important;
}

.success-message {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
}

.error-message {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
}
