/* Contact Page Styles */

/* Contact Hero Section */
.contact-hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
}

.contact-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  z-index: 1;
}

.contact-hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      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% 40%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    );
  z-index: 2;
  animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(120deg);
  }
  66% {
    transform: translateY(10px) rotate(240deg);
  }
}

.contact-hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.1) 0%, transparent 100%);
  z-index: 3;
}

.contact-hero-content {
  position: relative;
  z-index: 4;
  color: white;
}

.contact-hero-badge {
  display: inline-block;
  margin-bottom: 1rem;
}

.contact-hero-badge .badge-text {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.contact-hero-badge .badge-text::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.6s ease;
}

.contact-hero-badge:hover .badge-text::before {
  left: 100%;
}

.gradient-text {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.contact-hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Contact Hero Illustration */
.contact-hero-illustration {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
}

.contact-illustration-container {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-main-icon {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  color: #fbbf24;
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating-contact-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-element {
  position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: floatAround 8s ease-in-out infinite;
}

.element-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
  background: rgba(16, 185, 129, 0.3);
}

.element-2 {
  top: 20%;
  right: 10%;
  animation-delay: 2s;
  background: rgba(245, 158, 11, 0.3);
}

.element-3 {
  bottom: 20%;
  left: 15%;
  animation-delay: 4s;
  background: rgba(239, 68, 68, 0.3);
}

.element-4 {
  bottom: 10%;
  right: 20%;
  animation-delay: 6s;
  background: rgba(139, 92, 246, 0.3);
}

@keyframes floatAround {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(90deg);
  }
  50% {
    transform: translateY(0px) rotate(180deg);
  }
  75% {
    transform: translateY(15px) rotate(270deg);
  }
}

/* Contact Section */
.contact-section {
  background: white;
  position: relative;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(99, 102, 241, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(139, 92, 246, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.contact-info {
  position: relative;
  z-index: 2;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.contact-details h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
}

.contact-details p {
  margin-bottom: 0.25rem;
  color: var(--text-gray);
}

.contact-details a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--secondary-color);
}

/* Contact Form */
.contact-form-container {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  position: relative;
  z-index: 2;
}

.contact-form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 20px 20px 0 0;
}

.contact-form-header h2 {
  color: var(--dark-gray);
  font-weight: 700;
}

.contact-form .form-label {
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.contact-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Quick Contact Cards */
.quick-contact-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.quick-contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.quick-contact-card:hover::before {
  transform: scaleX(1);
}

.quick-contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.quick-contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.quick-contact-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.quick-contact-card p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.quick-contact-card .btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.quick-contact-card .btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-hero-section {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .contact-hero-content h1 {
    font-size: 2.5rem;
  }

  .contact-hero-illustration {
    height: 400px;
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .contact-hero-section {
    text-align: center;
    padding: 100px 0 40px;
    min-height: auto;
  }

  .contact-hero-content {
    padding: 0 1rem;
  }

  .contact-hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }

  .contact-hero-content .lead {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .contact-hero-stats {
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .contact-hero-illustration {
    height: 300px;
    margin-top: 2rem;
  }

  .contact-illustration-container {
    width: 200px;
    height: 200px;
  }

  .contact-main-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

  .floating-element {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .contact-form-container {
    padding: 2rem;
  }

  .contact-methods {
    gap: 1.5rem;
  }

  .contact-method {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .contact-icon {
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .contact-hero-section {
    padding: 90px 0 30px;
  }

  .contact-hero-content {
    padding: 0 0.5rem;
  }

  .contact-hero-content h1 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .contact-hero-content .lead {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .contact-hero-stats {
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .contact-hero-illustration {
    height: 250px;
    margin-top: 1.5rem;
  }

  .contact-illustration-container {
    width: 150px;
    height: 150px;
  }

  .contact-main-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .floating-element {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .contact-form-container {
    padding: 1.5rem;
  }

  .quick-contact-card {
    padding: 1.5rem;
  }

  .quick-contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}
