/* ---------- CONTACT PAGE SPECIFIC STYLES ---------- */

/* Alert Messages */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
  border-left: 4px solid;
}

.alert-success {
  background: #f0fff4;
  border-color: #38a169;
  color: #22543d;
}

.alert-error {
  background: #fed7d7;
  border-color: #e53e3e;
  color: #742a2a;
}

.alert ul {
  margin: 0.5rem 0 0 0;
  padding-left: 1.2rem;
}

.alert li {
  margin: 0.3rem 0;
}

/* Hero Section */
.contact-hero {
  background-image: url('../img/NL Flag.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2rem 2rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 54, 93, 0.4);
  z-index: 0;
}

.contact-hero .container {
  position: relative;
  z-index: 1;
}

.contact-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact-hero p {
  font-size: 1.3rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Contact Info Section */
.contact-info-section {
  padding: 2rem 2rem;
  background: #f8fafc;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.6rem;
  max-width: 250px;
  margin: 0 auto;
}

.contact-card {
  background: linear-gradient(135deg, #ffffff 0%, #799fc4 100%);
  padding: 0.6rem;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(26,54,93,0.06);
  transition: all 0.3s ease;
  border: 1px solid rgba(26,54,93,0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, #1a365d, #4a90e2);
  border-radius: 6px 6px 0 0;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26,54,93,0.12);
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.contact-icon {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(26,54,93,0.1));
}

.contact-card h3 {
  color: #1a365d;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: 0.15px;
  text-transform: uppercase;
}

.contact-card p {
  color: #4a5568;
  font-size: 0.65rem;
  line-height: 1.2;
  margin: 0.15rem 0;
  font-weight: 500;
}

/* Contact Form Section */
.contact-form-section {
  padding: 2rem 1rem;
  background: #f8fafc;
}

.contact-form-section .form-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(26,54,93,0.06);
  border: 1px solid #e2e8f0;
  position: relative;
}

.contact-form-section .form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #1a365d, #4a90e2);
  border-radius: 12px 12px 0 0;
}

.contact-form-section .form-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.contact-form-section .form-header h2 {
  color: #1a365d;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.contact-form-section .form-header p {
  color: #4a5568;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.contact-form-section .contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-form-section .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.contact-form-section .form-group {
  display: flex;
  flex-direction: column;
}

.contact-form-section .form-group label {
  color: #2d3748;
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form-section .form-group input,
.contact-form-section .form-group select,
.contact-form-section .form-group textarea {
  padding: 0.6rem 0.8rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  background: white;
  color: #2d3748;
  height: auto;
}

.contact-form-section .form-group input:focus,
.contact-form-section .form-group select:focus,
.contact-form-section .form-group textarea:focus {
  border-color: #1a365d;
  outline: none;
  box-shadow: 0 0 0 2px rgba(26,54,93,0.1);
}

.contact-form-section .form-group textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

/* Checkbox Styling */
.contact-form-section .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.8rem;
  line-height: 1.3;
  color: #4a5568;
  margin: 0.3rem 0;
}

.contact-form-section .checkbox-label input[type="checkbox"] {
  display: none;
}

.contact-form-section .checkmark {
  width: 16px;
  height: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-form-section .checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #1a365d;
  border-color: #1a365d;
}

.contact-form-section .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  color: white;
  font-size: 10px;
  font-weight: bold;
}

.contact-form-section .privacy-link {
  color: #1a365d;
  text-decoration: underline;
  font-weight: 500;
}

.contact-form-section .privacy-link:hover {
  color: #2c5282;
}

/* Submit Button */
.contact-form-section .btn-submit {
  background: linear-gradient(135deg, #1a365d, #2c5282);
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
}

.contact-form-section .btn-submit:hover {
  background: linear-gradient(135deg, #2c5282, #1a365d);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(26,54,93,0.2);
}

.contact-form-section .btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.contact-form-section .btn-icon {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.contact-form-section .btn-submit:hover .btn-icon {
  transform: translateX(2px);
}

/* FAQ Section */
.faq-section {
  padding: 4rem 2rem;
  background: #f8fafc;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(26,54,93,0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(26,54,93,0.12);
}

.faq-item h3 {
  color: #1a365d;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.faq-item p {
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-hero h1 {
    font-size: 2.5rem;
  }
  
  .contact-hero p {
    font-size: 1.1rem;
  }
  
  .contact-form-section .form-container {
    padding: 1.2rem;
    margin: 0 0.5rem;
  }
  
  .contact-form-section .form-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  
  .contact-cards {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 0.5rem;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-card {
    padding: 0.5rem;
  }
  
  .faq-item {
    padding: 1.5rem;
  }
  
  .contact-form-section .form-header h2 {
    font-size: 1.4rem;
  }
  
  .contact-form-section .form-header p {
    font-size: 0.85rem;
  }
  
  .contact-form-section .contact-form {
    gap: 0.6rem;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    padding: 3rem 1rem;
  }
  
  .contact-hero h1 {
    font-size: 2rem;
  }
  
  .contact-form-section .form-container {
    padding: 1rem;
    margin: 0 0.3rem;
  }
  
  .contact-form-section .form-header h2 {
    font-size: 1.3rem;
  }
  
  .contact-form-section .form-header p {
    font-size: 0.8rem;
  }
  
  .contact-form-section .btn-submit {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .contact-form-section .form-group input,
  .contact-form-section .form-group select,
  .contact-form-section .form-group textarea {
    padding: 0.5rem 0.7rem;
    font-size: 0.85rem;
  }
  
  .contact-form-section .contact-form {
    gap: 0.5rem;
  }
  
  .contact-form-section .form-row {
    gap: 0.5rem;
  }
}

/* Animation for form elements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-card,
.faq-item,
.form-container {
  animation: fadeInUp 0.6s ease-out;
}

.contact-card:nth-child(2) {
  animation-delay: 0.1s;
}

.contact-card:nth-child(3) {
  animation-delay: 0.2s;
}

.contact-card:nth-child(4) {
  animation-delay: 0.3s;
}

/* Loading state for form */
.btn-submit.loading {
  background: #4a5568;
  cursor: not-allowed;
}

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

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