/* Reset and Base Styles for Contact Page Only */
.contact-page {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-section {
  padding: 80px 0;
}

/* Button Styles */
.contact-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.contact-btn--primary {
  background: #093a60;
  color: white;
}

.contact-btn--primary:hover {
  background: #07294a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(9, 58, 96, 0.3);
}

/* Contact Hero Section */
.contact-hero {
  background: linear-gradient(135deg, #093a60 0%, #0a4a7a 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
}

.contact-hero__title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.contact-hero__subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

/* Contact Main Section */
.contact-main__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Contact Form Styles */
.contact-form {
  background: #f8f9fa;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e1e5e9;
}

.contact-form__title {
  font-size: 1.8rem;
  color: #093a60;
  margin-bottom: 2rem;
  font-weight: 600;
}

.contact-form__group {
  margin-bottom: 1.5rem;
}

.contact-form__label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #093a60;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  font-family: inherit;
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: #093a60;
  box-shadow: 0 0 0 3px rgba(9, 58, 96, 0.1);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__submit {
  width: 100%;
  justify-content: center;
  font-size: 1.1rem;
  padding: 1rem;
  margin-top: 0.5rem;
}

/* Contact Info Styles */
.contact-info {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e1e5e9;
}

.contact-info__title {
  font-size: 1.8rem;
  color: #093a60;
  margin-bottom: 2rem;
  font-weight: 600;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e1e5e9;
}

.contact-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-item__icon {
  background: linear-gradient(135deg, #093a60 0%, #0a4a7a 100%);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-item__content h3 {
  color: #093a60;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-item__content p {
  color: #666;
  line-height: 1.6;
}

/* Social Links for Contact Page */
.contact-social-links {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e1e5e9;
}

.contact-social-links h3 {
  color: #093a60;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-social-links__list {
  display: flex;
  gap: 1rem;
}

.contact-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #093a60 0%, #0a4a7a 100%);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.contact-social-link:hover {
  background: linear-gradient(135deg, #07294a 0%, #093a60 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(9, 58, 96, 0.3);
}

/* Map Section */
.map-section {
  background: #f8f9fa;
  padding: 80px 0;
}

.map-section__title {
  text-align: center;
  font-size: 2.5rem;
  color: #093a60;
  margin-bottom: 3rem;
  font-weight: 600;
}

.map-placeholder {
  background: white;
  border-radius: 12px;
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 2px dashed #e1e5e9;
  position: relative;
  transition: all 0.3s ease;
}

.map-placeholder:hover {
  border-color: #093a60;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.map-marker {
  background: linear-gradient(135deg, #093a60 0%, #0a4a7a 100%);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(9, 58, 96, 0.3);
}

.map-placeholder p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.map-address {
  color: #093a60 !important;
  font-weight: 600;
  font-size: 1.1rem;
}

/* FAQ Section */
.faq-section {
  background: white;
}

.faq-section__title {
  text-align: center;
  font-size: 2.5rem;
  color: #093a60;
  margin-bottom: 3rem;
  font-weight: 600;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.faq-item {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #cea54a;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(206, 165, 74, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.faq-item:hover::before {
  left: 100%;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
  color: #093a60;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-question::before {
  content: "•";
  color: #cea54a;
  font-size: 1.5rem;
}

.faq-answer {
  color: #666;
  line-height: 1.6;
}

/* Form Success and Error States */
.contact-form-success {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid #c3e6cb;
  text-align: center;
  font-weight: 600;
}

.contact-form-error {
  background: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 968px) {
  .contact-main__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-hero__title {
    font-size: 2.5rem;
  }

  .contact-form,
  .contact-info {
    padding: 2rem;
  }

  .map-section__title,
  .faq-section__title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .contact-container {
    padding: 0 15px;
  }

  .contact-hero {
    padding: 80px 0 60px;
  }

  .contact-hero__title {
    font-size: 2rem;
  }

  .contact-section {
    padding: 60px 0;
  }

  .contact-form,
  .contact-info {
    padding: 1.5rem;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .contact-item__icon {
    align-self: center;
  }

  .contact-social-links__list {
    justify-content: center;
  }
}

/* Custom select styling */
.contact-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23093A60' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  cursor: pointer;
}

/* Golden accent elements */
.contact-item__icon,
.contact-social-link,
.map-marker,
.contact-btn--primary {
  position: relative;
}

.contact-item__icon::after,
.contact-social-link::after,
.map-marker::after,
.contact-btn--primary::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #cea54a, #093a60, #cea54a);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-item__icon:hover::after,
.contact-social-link:hover::after,
.map-marker:hover::after,
.contact-btn--primary:hover::after {
  opacity: 1;
}

.contact-item__icon,
.contact-social-link,
.map-marker,
.contact-btn--primary {
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 480px) {
  .contact-container {
    padding: 0 15px;
  }

  .contact-hero {
    padding: 80px 0 60px;
  }

  .contact-hero__title {
    font-size: 2rem;
  }

  .contact-section {
    padding: 60px 0;
  }

  .contact-form,
  .contact-info {
    padding: 1.5rem;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .contact-item__icon {
    align-self: center;
  }

  /* --- ADDED RULE TO CENTER TEXT CONTENT --- */
  .contact-item__content {
    text-align: center;
  }
  /* ------------------------------------------ */

  .contact-social-links__list {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* ... existing mobile rules ... */

  .contact-item {
    flex-direction: column;
    text-align: center; /* This centers any direct inline children, but we need to target the specific content div */
    gap: 1rem;
  }

  .contact-item__icon {
    align-self: center;
  }

  /* 🎯 ADD THIS NEW RULE TO CENTER THE TEXT CONTENT */
  .contact-item__content {
    text-align: center;
  }

  /* ... rest of your mobile rules ... */
}

/* For mobile devices */
@media (max-width: 768px) {
  .contact-item__content {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }
}
