/* About Reference Section Styles */

.about-ref-section {
  background-color: #fffaf5; /* Creamy background from reference */
  padding-bottom: 6rem;
}

.main-about-heading {
  /* font-family: 'Playfair Display', Georgia, serif; */
  /* font-style: italic; */
  font-size: 3.5rem;
  color: #000;
  margin-bottom: 3rem;
}

/* Nav Tabs Customization */
.about-nav-tabs {
  border-bottom: none;
}

.about-nav-tabs .nav-link {
  border: none;
  background: transparent;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  margin: 0 1rem;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  border-radius: 0;
}

.about-nav-tabs .nav-link:hover {
  color: #000;
}

.about-nav-tabs .nav-link.active {
  background: transparent;
  color: #000;
  font-weight: 700;
  border-bottom-color: var(--primary-color);
}

/* Tab Content Styles */
.inner-heading {
  font-weight: 700;
  letter-spacing: 1px;
  color: #000;
  margin-top: 1rem;
}

.about-profile-img img {
  border-radius: 2px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.about-text p {
  font-family: system-ui, -apple-system, sans-serif;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .main-about-heading {
    font-size: 1.7rem;
  }

  .about-nav-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start !important;
    padding-bottom: 0.5rem;
    white-space: nowrap;
  }

  .about-nav-tabs .nav-link {
    margin: 0 10px;
  }
  .about-nav-tabs .nav-link.active {
    margin: 0;
    padding: 0.5rem;
    border-radius: 12px;
    border-bottom: none !important;
    background-color: #44444414;
  }
  .about-text {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
}

/* Contact Section Styles */

.contact-page-section {
  background-color: #fff;
}

.section-title-italic {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 2.5rem;
  color: #000;
}

.contact-icon {
  font-size: 2rem;
  color: #000;
}

.contact-label {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.contact-text,
.contact-link {
  font-size: 0.95rem;
  color: #000;
}

.contact-form-wrapper {
  margin-top: 3rem;
}

/* Form Styles */
.custom-input {
  background-color: #fff !important;
  border: 1px solid #b3b3b3;
  border-radius: 0;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  color: #444;
}

.custom-input::placeholder {
  color: #888;
}

.custom-input:focus {
  background-color: #fff !important;
  border-color: #dcdcdc;
  box-shadow: none;
}

.form-label {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.btn-primary-custom {
  background-color: var(--primary-color, #7a0f0e);
  color: #fff;
  border: none;
  font-size: 1rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.btn-primary-custom:hover {
  background-color: #000;
  color: #fff;
}

/* Privacy & Terms Policy Sections */
.policy-section {
  background-color: #fffaf5;
}

.policy-container {
  background-color: #ffffff;
  padding: 3rem 4rem;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 4px;
}

.policy-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.policy-main-title {
  font-size: 1.7rem;
  font-weight: 400;
  color: #000;
  margin-bottom: 0.5rem;
}

.policy-sub-title {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  color: #000;
}

.policy-content p {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.policy-content h4 {
  font-size: 1.1rem;
  font-weight: 400;
  margin-top: 1.6rem;
  margin-bottom: 1rem;
  color: #222;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 991px) {
  .btn-primary-custom {
    font-size: 0.9rem;
  }
}
@media (max-width: 768px) {
  .section-title-italic {
    font-size: 2rem;
  }
  .policy-container {
    padding: 15px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.229);
  }
  .policy-main-title {
    font-size: 2rem;
  }
}
@media (max-width: 550px){
  .policy-main-title{
    font-size: 1.5rem;
  }
}