/* Main Contacts Section */
.contacts-main {
  padding: 4rem 0;
  background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

@media (min-width: 768px) {
  .contacts-main {
    padding: 6rem 0;
  }
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contacts-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.section-title {
  font-family: 'Arial Black', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-align: center;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-align: center;
}

/* Contact Info Card */
.contact-info-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}

.contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.contact-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.contact-content h3 {
  font-family: 'Arial Black', sans-serif;
  font-size: 1.25rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.contact-content p {
  color: #4b5563;
  margin-bottom: 0.25rem;
  line-height: 1.5;
}

.contact-content a {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.contact-content a:hover {
  color: #3b82f6;
  text-decoration: underline;
}

.contact-note {
  font-size: 0.875rem;
  color: #6b7280;
  font-style: italic;
  margin-top: 0.5rem;
}

/* Contact Form Card */
.contact-form-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
}

.contact-form {
  margin-top: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151;
  font-size: 0.95rem;
}

.required {
  color: #dc2626;
  font-size: 1.2rem;
  margin-left: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #facc15;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: #9ca3af;
}

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

.file-upload-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.file-upload-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #1e3a8a;
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #1e3a8a;
  font-family: inherit;
}

.file-upload-button:hover {
  background: #facc15;
  border-color: #facc15;
  color: #1e1e1e;
}

.file-upload-button svg {
  width: 1rem;
  height: 1rem;
}

.file-input {
  display: none;
}

.file-name {
  color: #6b7280;
  font-size: 0.9rem;
}

.file-hint {
  margin-top: 0.5rem;
  color: #6b7280;
  font-size: 0.875rem;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  background: #facc15;
  color: #1e1e1e;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid #facc15;
  font-family: inherit;
  margin-top: 1rem;
}

.submit-btn:hover {
  background: #eab308;
  border-color: #eab308;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
}

.submit-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.form-note {
  margin-top: 1.5rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}

.form-note a {
  color: #1e3a8a;
  text-decoration: none;
}

.form-note a:hover {
  text-decoration: underline;
}

/* Map and Directions Section */
.map-section {
  padding: 4rem 0;
  background: white;
}

.map-directions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .map-directions-grid {
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
  }
}

.map-container-large {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.directions-info h3 {
  font-family: 'Arial Black', sans-serif;
  font-size: 1.5rem;
  color: #1e3a8a;
  margin-bottom: 1.5rem;
  text-align: center;
}

.transport-options {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.transport-option {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #f8fafc;
  border-radius: 0.75rem;
  border-left: 4px solid #facc15;
}

.transport-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.transport-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.transport-content h4 {
  font-family: 'Arial Black', sans-serif;
  font-size: 1.125rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.transport-content p {
  color: #4b5563;
  margin-bottom: 0.25rem;
  line-height: 1.5;
}

.transport-note {
  font-size: 0.875rem;
  color: #6b7280;
  font-style: italic;
  margin-top: 0.5rem;
}

.parking-info {
  background: #fef3c7;
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 2px solid #facc15;
}

.parking-info h4 {
  font-family: 'Arial Black', sans-serif;
  font-size: 1.25rem;
  color: #92400e;
  margin-bottom: 1rem;
}

.parking-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.parking-info li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: #78350f;
  line-height: 1.5;
}

.parking-info li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #facc15;
  font-weight: bold;
}

/* Company Details Section */
.company-details-section {
  padding: 4rem 0;
  background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

.company-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .company-details-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.company-card,
.bank-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
}

.company-card h3,
.bank-card h3 {
  font-family: 'Arial Black', sans-serif;
  font-size: 1.5rem;
  color: #1e3a8a;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f3f4f6;
  text-align: center;
}

.details-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f3f4f6;
}

.detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-label {
  font-weight: 600;
  color: #374151;
  min-width: 140px;
}

.detail-value {
  color: #4b5563;
  flex: 1;
}

.legal-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #f0f9ff;
  border-radius: 0.75rem;
  border-left: 4px solid #3b82f6;
}

.legal-note p {
  color: #1e40af;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.legal-note p:last-child {
  margin-bottom: 0;
}

/* Office Photos Section */
.photos-section {
  padding: 4rem 0;
  background: white;
}

.photos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .photos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .photos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.photo-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.photo-container {
  position: relative;
  padding-top: 75%; /* 4:3 aspect ratio */
  overflow: hidden;
}

.photo-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-card:hover .photo-container img {
  transform: scale(1.05);
}

.photo-caption {
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  color: #374151;
  background: white;
}

.photos-description {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 0.75rem;
  text-align: center;
  color: #4b5563;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .contacts-main,
  .map-section,
  .company-details-section,
  .photos-section {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .contact-info-card,
  .contact-form-card,
  .company-card,
  .bank-card {
    padding: 1.5rem;
  }
  
  .contact-item {
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .file-upload-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

.contact-item,
.transport-option,
.detail-item {
  animation: fadeIn 0.5s ease forwards;
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }
.contact-item:nth-child(4) { animation-delay: 0.4s; }

/* Print styles */
@media print {
  .contacts-main,
  .map-section,
  .company-details-section,
  .photos-section {
    padding: 1rem 0;
  }
  
  .contact-info-card,
  .contact-form-card,
  .company-card,
  .bank-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .submit-btn,
  .file-upload-button {
    display: none;
  }
  
  .map-container-large iframe {
    height: 300px;
  }
}