/* Contact Page Styles */

/* Contact Container */
.contact-container {
  width: 100%;
  min-height: 80vh;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* Contact Header */
.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-title {
  font-family: "Lexend Zetta";
  font-size: 48px;
  font-weight: 700;
  color: #2762b3;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-subtitle {
  font-family: "Karla";
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Contact Form Container */
.contact-form-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 50px;
  border: 1px solid #e9ecef;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Form Rows */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* Form Groups */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: "Lexend";
  font-size: 14px;
  font-weight: 600;
  color: #2762b3;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Form Inputs */
.form-input,
.form-select,
.form-textarea {
  padding: 15px 20px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-family: "Karla";
  font-size: 16px;
  color: #333;
  background: #f8f9fa;
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #2762b3;
  background: white;
  box-shadow: 0 0 0 3px rgba(39, 98, 179, 0.1);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: #397B53;
  background: white;
}

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

/* Checkbox Styling */
.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Karla";
  font-size: 16px;
  color: #555;
  cursor: pointer;
  user-select: none;
}

.form-checkbox {
  width: 20px;
  height: 20px;
  accent-color: #2762b3;
  cursor: pointer;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #e9ecef;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  background: white;
  transition: all 0.3s ease;
}

.form-checkbox:checked + .checkmark {
  background: #2762b3;
  border-color: #2762b3;
}

.form-checkbox:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
  font-weight: bold;
}

/* Submit Button */
.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.submit-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: linear-gradient(135deg, #2762b3 0%, #397B53 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: "Lexend";
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(39, 98, 179, 0.3);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(39, 98, 179, 0.4);
  background: linear-gradient(135deg, #397B53 0%, #2762b3 100%);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.submit-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
}

/* Contact Info Section */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-color: #2762b3;
}

.info-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2762b3 0%, #397B53 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 30px;
  height: 30px;
  stroke: white;
  stroke-width: 2;
}

.info-content h3 {
  font-family: "Lexend";
  font-size: 18px;
  font-weight: 600;
  color: #2762b3;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-content p {
  font-family: "Karla";
  font-size: 16px;
  color: #666;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 991px) {
  .contact-container {
    padding: 60px 20px;
  }
  
  .contact-content {
    gap: 40px;
  }
  
  .contact-title {
    font-size: 40px;
  }
  
  .contact-form-container {
    padding: 40px 30px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 767px) {
  .contact-container {
    padding: 40px 15px;
  }
  
  .contact-title {
    font-size: 32px;
  }
  
  .contact-subtitle {
    font-size: 16px;
  }
  
  .contact-form-container {
    padding: 30px 20px;
  }
  
  .contact-form {
    gap: 25px;
  }
  
  .form-input,
  .form-select,
  .form-textarea {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .submit-btn {
    padding: 15px 30px;
    font-size: 14px;
  }
  
  .info-item {
    padding: 20px;
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .info-icon {
    width: 50px;
    height: 50px;
  }
  
  .info-icon svg {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 479px) {
  .contact-title {
    font-size: 28px;
  }
  
  .contact-form-container {
    padding: 25px 15px;
  }
  
  .contact-form {
    gap: 20px;
  }
  
  .form-input,
  .form-select,
  .form-textarea {
    padding: 10px 14px;
    font-size: 13px;
  }
  
  .submit-btn {
    padding: 12px 25px;
    font-size: 13px;
  }
  
  .info-item {
    padding: 15px;
  }
  
  .info-content h3 {
    font-size: 16px;
  }
  
  .info-content p {
    font-size: 14px;
  }
}

/* Animation Classes */
.contact-container {
  animation: fadeInUp 0.8s ease-out;
}

.contact-form-container {
  animation: slideInUp 0.6s ease-out 0.2s both;
}

.contact-info {
  animation: slideInUp 0.6s ease-out 0.4s both;
}

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

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Validation Styles */
.form-input:invalid:not(:placeholder-shown),
.form-select:invalid:not(:placeholder-shown),
.form-textarea:invalid:not(:placeholder-shown) {
  border-color: #dc3545;
  background: #fff5f5;
}

.form-input:valid:not(:placeholder-shown),
.form-select:valid:not(:placeholder-shown),
.form-textarea:valid:not(:placeholder-shown) {
  border-color: #28a745;
  background: #f8fff9;
}

/* Loading State for Submit Button */
.submit-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.submit-btn.loading .submit-icon {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Form Message Styles */
.form-message {
  padding: 15px 20px;
  border-radius: 12px;
  font-family: "Karla";
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  margin-top: 20px;
  animation: slideInDown 0.3s ease-out;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 2px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 2px solid #f5c6cb;
}

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

/* Form Help Text */
.form-help {
  font-family: "Karla";
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  font-style: italic;
}
