/* Contact page styling */

.contact-main-container {
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.contact-hero {
  position: relative;
  width: 100%;
  padding: 140px 0;
  margin-bottom: 80px;
  min-height: 420px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(135deg, rgba(6, 40, 30, 0.82) 0%, rgba(6, 25, 20, 0.88) 100%), url('../hero_contact_bg.png');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  animation: fadeIn 0.8s ease-out;
}

.contact-hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #34d399;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0 auto 20px;
  max-width: 850px;
  font-family: 'Outfit', sans-serif;
}

.contact-hero-text {
  font-size: 18px;
  line-height: 1.65;
  color: #e5e7eb;
  max-width: 750px;
  margin: 0 auto;
}

.contact-page-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 100px;
  box-sizing: border-box;
  animation: fadeIn 0.8s ease-out;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  margin-top: 40px;
}

/* Contact Info Column (Left) */
.contact-info-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
  animation: slideInFromLeft 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.contact-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 8px 18px;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 100px;
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.contact-info-left h1 {
  font-size: 40px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.contact-info-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
  margin: 0 0 10px 0;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: #f0fdf4;
  color: #10b981;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px 0;
}

.contact-detail-content p {
  font-size: 15px;
  color: #4b5563;
  margin: 0;
  line-height: 1.5;
}

/* Contact Form Column (Right) */
.contact-form-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(229, 231, 235, 0.7);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(8px);
  animation: slideInFromRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.contact-form-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 30px 0;
  letter-spacing: -0.01em;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background-color: #ffffff;
  color: #1f2937;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

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

.btn-form-submit {
  width: 100%;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2);
  transition: all 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.btn-form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-form-submit:active {
  transform: translateY(0);
}

.btn-form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-spinner {
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

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

.contact-status-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  margin-bottom: 22px;
  line-height: 1.5;
  animation: fadeIn 0.3s ease;
}

.contact-status-banner.success {
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.contact-status-banner.success svg {
  color: #10b981;
  flex-shrink: 0;
}

.contact-status-banner.error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.contact-status-banner.error svg {
  color: #ef4444;
  flex-shrink: 0;
}

/* Keyframe animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.map-wrapper {
  width: 100%;
  height: 450px;
  margin-top: 60px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-top: 1px solid rgba(229, 231, 235, 0.7);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
  box-sizing: border-box;
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .contact-page-wrapper {
    padding: 40px 16px 60px;
  }
  .contact-info-left h1 {
    font-size: 32px;
  }
  .contact-form-card {
    padding: 30px 20px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .map-wrapper {
    height: 350px;
    margin-top: 40px;
  }
}


.zone-representatives-section {
  width: 100%;
  margin-top: 100px;
  padding-top: 80px;
  border-top: 1px solid rgba(229, 231, 235, 0.7);
  animation: fadeIn 0.8s ease-out;
}

.zone-representatives-section .section-header {
  margin-bottom: 50px;
  max-width: 800px;
  animation: slideInFromLeft 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.zone-representatives-section .section-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  margin: 15px 0 10px;
  line-height: 1.2;
}

.section-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

.zones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.zone-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.zone-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 28px 0;
  letter-spacing: -0.01em;
  padding-bottom: 8px;
  position: relative;
}

.zone-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #0b7c78;
  border-radius: 2px;
}

/* ==========================================
   Asymmetric Member Card Styles
   ========================================== */

.member-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 280px;
  background: transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.member-card-image-container {
  width: 230px;
  height: 230px;
  overflow: hidden;
  background-color: #e5e7eb;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.member-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.member-card-wrapper:hover .member-card-img {
  transform: scale(1.05);
}

.member-card-default-avatar {
  width: 100%;
  height: 100%;
}

.member-card-teal-box {
  width: 100%;
  background-color: #0b7c78;
  padding: 16px 20px;
  box-sizing: border-box;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(11, 124, 120, 0.15);
}

.member-card-wrapper:hover .member-card-teal-box {
  background-color: #08605d;
  box-shadow: 0 6px 16px rgba(11, 124, 120, 0.25);
  transform: translateY(-2px);
}

.member-card-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px 0;
  letter-spacing: 0.03em;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  line-height: 1.3;
}

.member-card-zone {
  font-size: 13px;
  font-weight: 500;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.member-card-details {
  width: 230px;
  padding: 20px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.member-card-company {
  font-size: 14px;
  font-weight: 700;
  color: #4b5563;
  margin: 0 0 2px 0;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.member-card-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #4b5563;
}

.member-card-icon {
  width: 18px;
  height: 18px;
  color: #0b7c78;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.member-card-info-item:hover .member-card-icon {
  transform: scale(1.1);
}

.member-card-phone-link {
  color: #4b5563;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.member-card-phone-link:hover {
  color: #0b7c78;
}

.member-card-location {
  font-weight: 600;
  color: #4b5563;
}

/* Responsive adjustments for zones */
@media (max-width: 992px) {
  .zones-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 100px 0;
    min-height: 360px;
  }
  .zone-representatives-section {
    margin-top: 60px;
    padding-top: 40px;
  }
  .zone-representatives-section .section-header h2 {
    font-size: 26px;
  }
  .zones-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
  }
  .zone-column {
    align-items: center;
    width: 100%;
  }
  .zone-title {
    margin-bottom: 20px;
  }
  .member-card-wrapper {
    align-items: center;
    width: 300px;
  }
  .member-card-image-container {
    width: 250px;
    height: 250px;
  }
  .member-card-details {
    width: 250px;
    align-items: flex-start;
  }
  .member-card-info-item {
    justify-content: flex-start;
  }
}

