/* ========================================
   MODERN CONTACT PAGE SECTION
   Latest Design with Enhanced Styling
   ======================================== */

/* Section Container */
.about-us {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f4f8 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.about-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(33, 150, 243, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(13, 110, 253, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.about-us .container {
  position: relative;
  z-index: 1;
}

/* Contact Form Card */
.contact-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  overflow: hidden;
  transition: all 0.4s ease;
}

.contact-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.contact-card .card-body {
  padding: 2.5rem;
}

/* Form Labels */
.form-label {
  font-weight: 600;
  color: #033270;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.required-field::after {
  content: "*";
  color: #dc3545;
  margin-left: 4px;
}

/* Form Controls */
.form-control,
.form-select {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  background-color: #ffffff;
}

.form-control:focus,
.form-select:focus {
  border-color: #2196f3;
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
  outline: none;
  background-color: #ffffff;
}

.form-control::placeholder {
  color: #adb5bd;
}

/* Textarea */
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Submit Button */
.btn-submit {
  background: linear-gradient(135deg, #033270 0%, #2196f3 100%);
  border: none;
  border-radius: 12px;
  padding: 0.875rem 2.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(3, 50, 112, 0.3);
}

.btn-submit::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;
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
  background: linear-gradient(135deg, #2196f3 0%, #033270 100%);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Contact Info Section */
.contact-info-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #2196f3;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.contact-info-header h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 800;
  color: #033270;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.contact-info-header p {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* Location Cards */
.location-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.75rem;
  height: 100%;
  border: 2px solid #f0f0f0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.location-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #033270 0%, #2196f3 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.location-card:hover::before {
  transform: scaleX(1);
}

.location-card:hover {
  transform: translateY(-8px);
  border-color: #2196f3;
  box-shadow: 0 12px 40px rgba(33, 150, 243, 0.15);
}

.location-icon-wrapper {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(100, 181, 246, 0.1) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s ease;
  border: 2px solid rgba(33, 150, 243, 0.1);
}

.location-card:hover .location-icon-wrapper {
  background: linear-gradient(135deg, #033270 0%, #2196f3 100%);
  transform: rotate(5deg) scale(1.1);
  border-color: transparent;
}

.location-icon {
  font-size: 24px;
  color: #033270;
  transition: color 0.3s ease;
}

.location-card:hover .location-icon {
  color: #ffffff;
}

.location-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #033270;
  margin: 0 0 0.5rem 0;
  transition: color 0.3s ease;
}

.location-card:hover .location-title {
  color: #2196f3;
}

.location-company {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.location-address {
  color: #6b7280;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

/* Working Hours Card */
.working-hours-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  padding: 2rem;
  border: 2px solid #e9ecef;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin-top: 2rem;
}

.working-hours-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e9ecef;
}

.working-hours-icon-wrapper {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(100, 181, 246, 0.1) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(33, 150, 243, 0.1);
}

.working-hours-icon {
  font-size: 24px;
  color: #033270;
}

.working-hours-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #033270;
  margin: 0;
}

.working-hours-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.working-hours-item:last-child {
  margin-bottom: 0;
}

.working-hours-item:hover {
  border-color: #2196f3;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  transform: translateX(5px);
}

.working-hours-day {
  font-weight: 600;
  color: #033270;
  font-size: 0.9375rem;
}

.working-hours-time {
  color: #6b7280;
  font-size: 0.9375rem;
  font-weight: 500;
}

/* GDPR Checkbox */
.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.25rem;
  border: 2px solid #dee2e6;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-check-input:checked {
  background-color: #033270;
  border-color: #033270;
}

.form-check-input:focus {
  border-color: #2196f3;
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
}

.form-check-label {
  color: #495057;
  font-size: 0.9375rem;
  line-height: 1.6;
  cursor: pointer;
}

.form-text {
  color: #6b7280;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .about-us {
    padding: 80px 0;
  }
  
  .contact-card .card-body {
    padding: 2rem;
  }
}

@media (max-width: 992px) {
  .about-us {
    padding: 70px 0;
  }
  
  .contact-card .card-body {
    padding: 1.75rem;
  }
  
  .location-card {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .about-us {
    padding: 60px 0;
  }
  
  .contact-card .card-body {
    padding: 1.5rem;
  }
  
  .location-card {
    padding: 1.5rem;
  }
  
  .working-hours-card {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .about-us {
    padding: 50px 0;
  }
  
  .contact-card .card-body {
    padding: 1.25rem;
  }
  
  .btn-submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
  }
  
  .location-card {
    padding: 1.25rem;
  }
  
  .location-icon-wrapper {
    width: 48px;
    height: 48px;
  }
  
  .location-icon {
    font-size: 20px;
  }
}

/* Animation on Load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.location-card {
  animation: fadeInUp 0.6s ease-out backwards;
}

.location-card:nth-child(1) {
  animation-delay: 0.1s;
}

.location-card:nth-child(2) {
  animation-delay: 0.2s;
}

.location-card:nth-child(3) {
  animation-delay: 0.3s;
}

.location-card:nth-child(4) {
  animation-delay: 0.4s;
}

.contact-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-error {
  background: #fff5f5;
  color: #b42318;
  border: 1px solid #f5c2c7;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.contact-thanks-modal {
  border: none;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(3, 50, 112, 0.25);
}

.contact-thanks-modal .modal-body {
  padding: 2.5rem 2rem;
}

.contact-thanks-modal .thanks-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(3, 50, 112, 0.08);
  color: #033270;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.contact-thanks-modal h3 {
  color: #033270;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.contact-thanks-modal p {
  color: #4a5568;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

