.contact-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Contact Information Section */
.contact-info {
  margin-bottom: 3rem;
}

.company-details {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-card {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.info-card i {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: var(--primary-color);
}

.social-media {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  justify-content: center;
}

.social-link {
  color: var(--text-color);
  font-size: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card-bg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-link i {
  transition: transform 0.3s ease;
}

.social-link:hover i {
  transform: scale(1.1);
}

.x-logo-icon {
  width: 24px;
  height: 24px;
  display: block;
  background: #000;
  padding: 8px;
  border-radius: 50%;
  box-sizing: content-box;
  filter: brightness(0) invert(0);
  margin: 0 auto;
}

.social-link:hover .x-logo-icon {
  filter: brightness(0) saturate(100%) sepia(100%) hue-rotate(-20deg)
    brightness(1.2);
}

.x-text-icon {
  display: block;
  width: 24px;
  height: 24px;
  background: #000;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  line-height: 24px;
  border-radius: 50%;
  margin: 0 auto;
  transition: background 0.3s, color 0.3s;
}

.social-link:hover .x-text-icon {
  background: var(--primary-color);
  color: #fff;
}

.info-card a {
  color: #ff6b00; /* Orange color for email link */
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-card a:hover {
  color: #ff8533; /* Lighter orange on hover */
}

.logo h1 {
  color: #ff6b00; /* Orange color for company name */
}

/* Contact Form Section */
.contact-form {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background: var(--input-bg);
  color: var(--text-color);
}

.submit-btn {
  background: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: var(--primary-color-dark);
}

/* Team Section */
.team-section {
  margin-bottom: 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #ff6b00; /* Orange border */
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.member-social a {
  color: var(--text-color);
  transition: color 0.3s ease;
}

.member-social a:hover {
  color: var(--primary-color);
}

.member-social i {
  font-size: 1.5rem;
}

/* Stakeholders Section */
.stakeholders {
  margin-bottom: 3rem;
}

.stakeholders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stakeholder {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 3px solid #ff6b00; /* Orange border */
}

.stakeholder img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.stakeholder-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.stakeholder-social a {
  color: var(--text-color);
  transition: color 0.3s ease;
}

.stakeholder-social a:hover {
  color: var(--primary-color);
}

/* Responsive Design */
.image-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem auto;
  border-radius: 50%;
  background: var(--card-bg);
  color: #ff6b00;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.image-icon-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.image-modal-content {
  position: relative;
  max-width: 600px;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.image-modal-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.image-modal-caption {
  margin-top: 0.75rem;
  color: #333;
  font-weight: 600;
}

.image-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
}

@media (max-width: 768px) {
  .contact-main {
    padding: 1rem;
  }

  .team-grid,
  .stakeholders-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    flex-direction: column;
    text-align: center;
  }

  .info-card i {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}
