/* CONTACT SECTION - MODERN CLEAN DESIGN */
.contact-section {
  margin: 80px 20px;
  background: transparent;
  padding: 0;
  box-shadow: none;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border: none;
}

/* Contact Section Animation States */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
  opacity: 0; /* Initial hidden state */
  transform: translateY(30px); /* Initial subtle offset */
  transition: all 0.8s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.contact-container.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Contact Info - Slide from left */
.contact-info {
  background: var(--secondary-color);
  padding: 50px 40px;
  border-radius: var(--border-radius-lg);
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 18, 44, 0.2);
  border: none;
  height: fit-content;
  opacity: 0; /* Initial hidden state */
  transform: translateX(-60px) rotateY(5deg); /* Start from left with slight 3D rotation */
  transition: all 0.8s cubic-bezier(0.215, 0.610, 0.355, 1) 0.3s; /* Delay for contact-info */
}

.contact-info.visible {
  opacity: 1;
  transform: translateX(0) rotateY(0deg);
}

/* Contact Form - Slide from right */
.contact-form {
  background: var(--white);
  padding: 50px 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: fit-content;
  opacity: 0; /* Initial hidden state */
  transform: translateX(60px) rotateY(-5deg); /* Start from right with slight 3D rotation */
  transition: all 0.8s cubic-bezier(0.215, 0.610, 0.355, 1) 0.5s; /* Slightly longer delay for contact-form */
}

.contact-form.visible {
  opacity: 1;
  transform: translateX(0) rotateY(0deg);
}

/* Individual form elements staggered animation */
.form-group {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.form-group.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Stagger the animation of form groups when visible */
.contact-form.visible .form-group:nth-child(1) { transition-delay: 0.7s; }
.contact-form.visible .form-group:nth-child(2) { transition-delay: 0.8s; }
.contact-form.visible .form-group:nth-child(3) { transition-delay: 0.9s; }
.contact-form.visible .form-group:nth-child(4) { transition-delay: 1.0s; }
.contact-form.visible .form-group:nth-child(5) { transition-delay: 1.1s; }
.contact-form.visible .form-group:nth-child(6) { transition-delay: 1.2s; }
.contact-form.visible .form-group:nth-child(7) { transition-delay: 1.3s; }

/* Contact items animation */
.contact-item {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s ease;
}

.contact-info.visible .contact-item:nth-child(1) {
  transition-delay: 0.5s;
  opacity: 1;
  transform: translateX(0);
}

.contact-info.visible .contact-item:nth-child(2) {
  transition-delay: 0.6s;
  opacity: 1;
  transform: translateX(0);
}

.contact-info.visible .contact-item:nth-child(3) {
  transition-delay: 0.7s;
  opacity: 1;
  transform: translateX(0);
}

.contact-info.visible .contact-item:nth-child(4) {
  transition-delay: 0.8s;
  opacity: 1;
  transform: translateX(0);
}

/* Enhanced hover effects for futuristic feel */
.contact-info:hover {
  transform: translateX(0) rotateY(0deg) scale(1.01);
  box-shadow: 0 25px 50px rgba(0, 18, 44, 0.3);
}

.contact-form:hover {
  transform: translateX(0) rotateY(0deg) scale(1.01);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.contact-item i {
  font-size: 22px;
  color: var(--primary-color);
  margin-top: 2px;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.contact-item h4 {
  font-size: 13px;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item p {
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

.contact-item a {
  color: var(--white);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-block;
}

.contact-item a:hover {
  color: var(--primary-color);
  transform: translateX(3px);
}

/* Contact Form - Completely separate white card */
.contact-form {
  background: var(--white);
  padding: 50px 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: fit-content;
}

/* Decorative accent line for form */
.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  /* background: linear-gradient(90deg, #667eea 0%, #764ba2 100%); */
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.contact-form h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 15px;
}

/* .contact-form h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
} */

.contact-form > p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* Form Styles */
.form-group {
  margin-bottom: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: var(--white);
  color: var(--text-dark);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(246, 164, 0, 0.1);
}

/* Service Options - Clean checkboxes */
.service-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.service-option {
  position: relative;
}

.service-option input {
  display: none;
}

.service-option label {
  display: block;
  padding: 12px 15px;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  margin-bottom: 0;
  font-size: 14px;
  color: var(--text-light);
}

.service-option input:checked + label {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-dark);
  font-weight: 600;
}

.service-option label:hover {
  border-color: var(--primary-color);
  color: var(--text-dark);
}

/* Custom Service Input */
.custom-service-input {
  margin-top: 15px;
  display: none;
}

.custom-service-input.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Message Area */
.form-group textarea {
  min-height: 140px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.6;
}

/* Submit Button */
.form-submit {
  margin-top: 30px;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--primary-color);
  color: var(--text-dark);
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: auto;
  min-width: 180px;
}

.submit-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(246, 164, 0, 0.2);
}

.submit-btn:active {
  transform: translateY(0);
}

.form-disclaimer {
  margin-top: 15px;
  font-size: 14px;
  color: var(--dark-gray);
  line-height: 1.5;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 1100px) {
  .service-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-info,
  .contact-form {
    padding: 40px 35px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    margin: 40px 10px;
  }
  
  .contact-info h2,
  .contact-form h2 {
    font-size: 28px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .service-options {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-item {
    padding: 18px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .contact-info,
  .contact-form {
    padding: 30px 25px;
  }
  
  .service-options {
    grid-template-columns: 1fr;
  }
  
  .submit-btn {
    width: 100%;
  }
  
  .contact-info h2,
  .contact-form h2 {
    font-size: 26px;
  }
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

