/* Contact & FAQ section-specific styles and animations */

/* Enhanced fade-in animations with staggered timing */
@keyframes contactFadeIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes formFieldGlow {
  0%, 100% {
    box-shadow: 0 0 8px #ff00cc44, 0 0 16px #00fff744;
  }
  50% {
    box-shadow: 0 0 12px #ff00cc, 0 0 24px #00fff7;
  }
}

@keyframes buttonPulse {
  0%, 100% {
    box-shadow: 0 0 12px #ff00cc, 0 0 24px #00fff7;
  }
  50% {
    box-shadow: 0 0 20px #ff00cc, 0 0 40px #00fff7;
  }
}

@keyframes faqItemHover {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(8px);
  }
}

/* Removed contactSectionGlow keyframes */

/* Contact form animations */
.contact-form-animate {
  animation: contactFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.contact-form-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: auto;
  justify-content: flex-start;
}

.contact-form {
  position: relative;
  background: rgba(24, 25, 42, 0.8);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 1.3rem;
  /* Removed backdrop-filter blur effect */
  transition: all 0.3s ease;
  flex: 1;
  display: flex;
  flex-direction: column;
  z-index: 152;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ff00cc, #00fff7, #ff00cc);
  border-radius: 12px;
  z-index: -1;
  opacity: 1;
  /* Removed transition since effect is now permanent */
}

/* Removed hover effect */

.contact-form label {
  position: relative;
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  color: #ff00cc;
}

/* Removed asterisk from labels */

.contact-form input,
.contact-form textarea {
  position: relative;
  background: rgba(24, 25, 42, 0.9);
  border: 2px solid #ff00cc;
  border-radius: 8px;
  padding: 1rem;
  font-size: 1rem;
  color: #e0e0e0;
  transition: all 0.3s ease;
  /* Removed backdrop-filter blur effect */
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00fff7;
  box-shadow: 0 0 20px #00fff7, 0 0 40px #ff00cc;
  transform: translateY(-2px);
  outline: none;
}

.contact-form input:focus + label,
.contact-form textarea:focus + label {
  color: #00fff7;
  text-shadow: 0 0 10px #00fff7;
}

.contact-form button {
  position: relative;
  background: linear-gradient(135deg, #ff00cc 0%, #00fff7 50%, #ff00cc 100%);
  background-size: 200% 200%;
  color: #18192a;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  animation: buttonPulse 3s ease-in-out infinite;
  overflow: hidden;
}

.contact-form button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

/* Removed hover effects */

.contact-form button:active {
  transform: translateY(-1px) scale(1.02);
}

/* FAQ section animations */
.faq-list-animate {
  animation: faqFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.faq-list {
  position: relative;
  background: rgba(24, 25, 42, 0.6);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.faq-item {
  position: relative;
  background: rgba(24, 25, 42, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  color: #fff;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  /* Removed backdrop-filter blur effects */
  box-shadow: 
    0 8px 32px 0 rgba(31, 38, 135, 0.37),
    0 0 40px #00fff744, 
    0 0 80px #ff00cc44,
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0px;
  height: 100%;
  background: linear-gradient(180deg, #ff00cc, #00fff7);
  transition: width 0.3s ease;
}

/* Removed hover effects */

.faq-item strong {
  color: #00fff7;
  text-shadow: 0 0 8px #00fff7;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

/* Contact Intro */
.contact-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 1rem;
  color: #e0e0e0;
  font-size: 1.1rem;
}

.contact-tagline {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 0 8px #00fff7;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: #e0e0e0;
  opacity: 0.9;
  max-width: 600px;
}

/* Contact section background animation */
#contact {
  /* Removed conflicting position and sizing styles to allow card positioning */
  z-index: 200;
}

.contact-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: relative;
  padding: 0 1rem;
}

/* Removed contactSectionGlow animation */

/* Responsive design */
@media (max-width: 768px) {
  .contact-form {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  
  .faq-list {
    margin: 0 1rem;
  }
  
  .contact-form button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

/* Loading state for form submission */
.contact-form.loading {
  pointer-events: none;
  opacity: 0.7;
}

.contact-form.loading button {
  background: linear-gradient(135deg, #666, #999);
  animation: none;
}

/* Success/error states */
.contact-form.success {
  border-color: #00ff00;
  box-shadow: 0 0 20px #00ff00;
}

.contact-form.error {
  border-color: #ff0000;
  box-shadow: 0 0 20px #ff0000;
}

/* Accessibility improvements */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form button:focus,
.faq-item:focus {
  outline: 2px solid #00fff7;
  outline-offset: 2px;
}

/* Contact container layout */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  width: 90%;
  margin: 0 auto;
  align-items: stretch;
}

.contact-content,
.contact-form-container {
  width: 100%;
}

@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  .contact-content,
  .contact-form-container {
    width: 100%;
  }
}

.contact-info {
  background: rgba(24, 25, 42, 0.6);
  border: 2px solid #00fff7;
  border-radius: 12px;
  padding: 2rem;
  /* Removed backdrop-filter blur effect */
  display: flex;
  flex-direction: column;
}

.contact-info h3 {
  color: #00fff7;
  text-shadow: 0 0 8px #00fff7;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.contact-info p {
  color: #e0e0e0;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-description {
  color: #e0e0e0;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 1.05rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #e0e0e0;
  transition: all 0.3s ease;
  padding: 0.8rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 0.8rem;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-label {
  font-size: 0.9rem;
  color: #00fff7;
  font-weight: 600;
  text-shadow: 0 0 4px #00fff7;
}

.contact-value {
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
}

.contact-item:hover {
  color: #00fff7;
  text-shadow: 0 0 6px #00fff7;
  transform: translateX(5px);
}

.contact-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 6px #ff00cc);
  min-width: 2rem;
  text-align: center;
}

/* Business Hours */
.business-hours {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.business-hours h4 {
  color: #ff00cc;
  text-shadow: 0 0 8px #ff00cc;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-item:last-child {
  border-bottom: none;
}

.hours-item .day {
  color: #00fff7;
  font-weight: 600;
  text-shadow: 0 0 4px #00fff7;
}

.hours-item .time {
  color: #e0e0e0;
  font-weight: 500;
}

/* Social Media */
.social-media {
  margin: 2rem 0 0 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.social-media h4 {
  color: #00fff7;
  text-shadow: 0 0 8px #00fff7;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.9rem;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #00fff7;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 255, 247, 0.3);
  color: #00fff7;
  text-shadow: 0 0 8px #00fff7;
}

.social-icon {
  font-size: 1rem;
  filter: drop-shadow(0 0 4px currentColor);
}

/* Enhanced Form Styling */
.contact-form h3 {
  color: #ff00cc;
  text-shadow: 0 0 8px #ff00cc;
	
  margin-bottom: 0.3rem;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.purple-stroke{
	text-shadow: 0 0 8px #ff00cc, 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 2px 0 0 #000, 0 2px 0 #000, -2px 0 0 #000, 0 -2px 0 #000;
}
.babyblue-stroke{
	text-shadow: 0 0 8px #00fff7, 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 2px 0 0 #000, 0 2px 0 #000, -2px 0 0 #000, 0 -2px 0 #000;
}
.orange-stroke{
	
}
.form-description {
  color: #e0e0e0;
  margin-bottom: 1.3rem;
  line-height: 1.4;
  font-size: 0.9rem;
}

/* Form group styling */
.form-group {
  position: relative;
  margin-bottom: 1rem;
}

.form-group label {
  position: static;
  display: block;
  color: #00fff7;
	text-shadow: 0 0 8px #00fff7, 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 2px 0 0 #000, 0 2px 0 #000, -2px 0 0 #000, 0 -2px 0 #000;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

/* Removed floating label styles - labels are now positioned above inputs */

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.8rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(24, 25, 42, 0.8);
  color: #fff;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2300fff7' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.form-group select:focus {
  border-color: #00fff7;
  box-shadow: 0 0 20px rgba(0, 255, 247, 0.3);
  outline: none;
}

/* Checkbox styling */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  cursor: pointer;
  color: #e0e0e0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: rgba(24, 25, 42, 0.8);
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: linear-gradient(135deg, #ff00cc, #00fff7);
  border-color: #00fff7;
  box-shadow: 0 0 10px rgba(0, 255, 247, 0.5);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #18192a;
  font-weight: bold;
  font-size: 14px;
}

/* FAQ section styling */
.faq-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
	margin-top: 15px;
}

.faq-section h3 {
  color: #00fff7;
  text-shadow: 0 0 8px #00fff7;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-align: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: #e0e0e0;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.faq-item.expanded .faq-answer {
  max-height: 200px;
}

/* Button enhancements */
.contact-form button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.6rem 1.2rem;
}

.button-text {
  font-weight: bold;
  font-size: 0.9rem;
}

.button-icon {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.contact-form button:hover .button-icon {
  transform: translateX(3px);
}

/* Responsive design updates */
@media (max-width: 768px) {
  .contact-wrapper {
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-info {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
    margin: 0;
  }
  
  .faq-list {
    margin: 0;
  }
  
  .contact-form button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  .quick-contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .quick-contact-item {
    padding: 1.5rem;
  }
  
  .contact-tagline {
    font-size: 1.3rem;
  }
  
  .contact-subtitle {
    font-size: 1rem;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .hours-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .contact-form,
  .faq-item,
  .contact-info {
    border-width: 3px;
  }
  
  .contact-form button {
    border: 2px solid #fff;
  }
}

/* Quick Contact Section */
.contact-extras {
  margin-top: 4rem;
}

.quick-contact {
  margin-bottom: 3rem;
}

.quick-contact h3 {
  color: #00fff7;
  text-shadow: 0 0 8px #00fff7;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.quick-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.quick-contact-item {
  background: rgba(24, 25, 42, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  /* Removed backdrop-filter, box-shadow, transition, and overflow effects */
}

/* Removed ::before pseudo-element effect */

/* Removed hover effects */

.quick-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  /* Removed filter effect */
}

.quick-contact-item h4 {
  color: #00fff7;
  /* Removed text-shadow effect */
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.quick-contact-item p {
  color: #e0e0e0;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.quick-link {
  color: #ff00cc;
  text-decoration: none;
  font-weight: 600;
  /* Removed text-shadow and transition effects */
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 0, 204, 0.3);
  border-radius: 6px;
  background: rgba(255, 0, 204, 0.1);
}

/* Removed hover effect */

.highlight, .neon-keyword {
  color: #39ff14;
  text-shadow:
    0 0 2px #000,
    0 0 8px #ff00cc,
    0 0 16px #ff00cc;
  font-weight: 700;
}

/* Quick contact section */
.quick-contact-section {
  background: rgba(255, 255, 255, 0.05);
  /* Removed backdrop-filter, box-shadow, and transition effects */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1rem;
  flex-shrink: 0;
}

/* Removed hover effect */

.quick-contact-section h3 {
  color: var(--neon-green);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  text-align: center;
  /* Removed text-shadow effect */
}

.quick-contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.quick-contact-section .quick-contact-item {
  text-align: center;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  /* Removed transition effect */
}

/* Removed hover effect */

.quick-contact-section .quick-contact-item .quick-icon {
  font-size: 1.3rem;
  display: block;
  margin-bottom: 0.2rem;
}

.quick-contact-section .quick-contact-item h4 {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  /* Removed text-shadow effect */
}

.quick-contact-section .quick-contact-item p {
  color: white;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.quick-contact-section .quick-contact-item .quick-link {
  color: var(--neon-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  /* Removed transition effect */
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: rgba(0, 255, 0, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(0, 255, 0, 0.2);
}

/* Removed hover effect */

/* Responsive adjustments for two-column layout */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
  }
  
  .contact-form-container {
    gap: 1.5rem;
    height: auto;
  }
  
  .contact-info {
    height: auto;
  }
  
  .social-media {
    margin-top: 2rem;
  }
}

/* Remove or override any other .highlight or .neon-keyword color or text-shadow rules below */ 

/* --- Optimized Transitions and Animations --- */
.contact-form, .contact-form input, .contact-form textarea, .contact-form button, .faq-item, .contact-item, .contact-info, .business-hours, .contact-wrapper, .contact-container, .contact-details, .contact-label, .contact-value, .contact-icon, .faq-list, .faq-answer, .quick-contact-item, .quick-link {
  /* Only transition what actually animates */
  transition-property: opacity, transform, box-shadow, color, background, border, left, width, max-height;
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Only use will-change on elements that animate */
.contact-form, .contact-form button, .faq-item, .quick-contact-item {
  will-change: opacity, transform;
}

/* Reduce backdrop-filter blur for performance, but keep effect */
.faq-list, .contact-info, .contact-form, .faq-item, .quick-contact-section {
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
}

/* Keep all box-shadows, but ensure no duplicate stacking */
/* No change to box-shadow values, just ensure not stacked on same element multiple times */

/* Keep all animations, but ensure they are hardware-accelerated */
.contact-form-animate, .faq-list-animate, .contact-form button, .contact-form label::after {
  will-change: opacity, transform;
} 

.contact-header {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #00fff7;
  text-shadow: 0 0 8px #00fff7, 0 0 16px #ff00cc;
  letter-spacing: 2px;
  text-align: center;
}

.contact-content {
  width: 90%;
  margin: 0 auto;
}