/* Contact Page Styles */

:root {
  --contact-primary: #1B365D;  /* Primary color from our palette */
  --contact-secondary: #2B4B7E; /* Secondary color from our palette */
  --contact-accent: #FFB347;    /* Accent color for buttons and highlights */
  --contact-light: #F5F7FA;     /* Light background color */
  --contact-gray: #E8ECF2;      /* Light gray for backgrounds */
  --contact-dark-gray: #6B7C93; /* Dark gray for text */
  --contact-success: #28A745;   /* Success color for form feedback */
  --contact-error: #DC3545;     /* Error color for form validation */
}

/* Contact Information Section */
.contact-info-section {
  padding: 80px 0;
  background-color: var(--contact-light);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.contact-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--contact-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.card-icon i {
  font-size: 28px;
}

.contact-card h3 {
  color: var(--contact-primary);
  margin-bottom: 15px;
  font-weight: 600;
}

.contact-card p {
  color: var(--contact-dark-gray);
  margin-bottom: 10px;
  line-height: 1.6;
}

.additional-info {
  font-size: 0.9rem;
  color: var(--contact-dark-gray);
  margin-top: 15px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 15px 0;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--contact-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.social-link:hover {
  background-color: var(--contact-secondary);
}

/* Contact Form Section */
.contact-form-section {
  padding: 80px 0;
  background-color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

.form-container h2 {
  color: var(--contact-primary);
  margin-bottom: 20px;
}

.form-container p {
  color: var(--contact-dark-gray);
  margin-bottom: 30px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--contact-primary);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #DFE3E8;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #333;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--contact-secondary);
  box-shadow: 0 0 0 3px rgba(43, 75, 126, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 5px;
}

.checkbox-group label {
  font-size: 14px;
  margin-bottom: 0;
}

.checkbox-group a {
  color: var(--contact-primary);
  text-decoration: underline;
}

.submit-btn {
  background-color: var(--contact-primary);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 14px 30px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: var(--contact-secondary);
}

/* Contact Info Sidebar */
.contact-info-sidebar {
  background-color: var(--contact-light);
  border-radius: 8px;
  padding: 30px;
}

.sidebar-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sidebar-content h3 {
  color: var(--contact-primary);
  margin-bottom: 25px;
  font-weight: 600;
}

.department-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.department-list li {
  margin-bottom: 20px;
}

.department-list strong {
  color: var(--contact-primary);
  display: block;
  margin-bottom: 5px;
}

.department-list p {
  color: var(--contact-dark-gray);
  margin: 0;
}

.cta-box {
  margin-top: auto;
  background-color: var(--contact-primary);
  border-radius: 8px;
  padding: 25px;
  color: white;
  margin-top: 30px;
}

.cta-box h4 {
  margin-bottom: 10px;
  font-size: 18px;
}

.cta-box p {
  margin-bottom: 15px;
  opacity: 0.9;
}

.phone-link {
  color: white;
  font-size: 18px;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
}

.phone-link:hover {
  text-decoration: underline;
}

/* Global Offices Section */
.global-offices {
  padding: 80px 0;
  background-color: var(--contact-light);
}

.offices-tabs {
  margin-top: 40px;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  border-bottom: 1px solid #DFE3E8;
}

.tab-btn {
  background: none;
  border: none;
  padding: 15px 30px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--contact-dark-gray);
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.tab-btn:hover {
  color: var(--contact-primary);
}

.tab-btn.active {
  color: var(--contact-primary);
}

.tab-btn.active:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--contact-primary);
}

.tab-content {
  margin-top: 20px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.office-card {
  background-color: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.office-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--contact-light);
  color: var(--contact-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.office-icon i {
  font-size: 20px;
}

.office-card h4 {
  color: var(--contact-primary);
  margin-bottom: 15px;
  font-weight: 600;
}

.office-card p {
  color: var(--contact-dark-gray);
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Map Section */
.map-section {
  padding: 80px 0;
}

.map-container {
  margin-top: 40px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: var(--contact-light);
}

.faq-container {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  background-color: white;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.faq-question {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question h3 {
  color: var(--contact-primary);
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}

.faq-toggle {
  color: var(--contact-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 25px 20px;
  max-height: 1000px;
}

.faq-answer p {
  color: var(--contact-dark-gray);
  line-height: 1.6;
  margin: 0;
}

.faq-answer a {
  color: var(--contact-primary);
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info-sidebar {
    order: -1;
    margin-bottom: 30px;
  }
  
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .tab-btn {
    padding: 12px 15px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .contact-info-section,
  .contact-form-section,
  .global-offices,
  .map-section,
  .faq-section {
    padding: 50px 0;
  }
  
  .faq-question h3 {
    font-size: 16px;
  }
} 