/* About Page Specific Styles */

/* About Hero Section */
.about-hero-section {
  background-color: #fcf7ef; 
  padding: 3rem 3.5rem;
  display: flex;
  justify-content: center;
}

.about-hero-container {
  /* max-width: 1600px; */
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3.5rem;
}

.about-hero-left {
  flex: 1;
}

.about-hero-image-wrapper {
  flex: 0 0 520px;
  max-width: 520px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(99, 59, 44, 0.1);
  border: 1px solid rgba(149, 127, 114, 0.2);
}

.about-hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: #f1e7d8;
  color: #8c644d;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0rem !important;
}

.about-badge .dot {
  width: 5px;
  height: 5px;
  background-color: #8c644d;
  border-radius: 50%;
}

.about-hero-title {
  font-size: 2.6rem;
  color: #633b2c;
  line-height: 1.1;
  margin-bottom: 2rem;
  font-weight: 600;
  max-width: 1000px;
}

.about-hero-content {
  color: #6b5c51;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
}

.about-hero-content p {
  margin-bottom: 1.5rem;
}

.about-hero-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .about-hero-container {
    flex-direction: column;
    gap: 2.5rem;
  }

  .about-hero-image-wrapper {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .about-hero-image-wrapper img {
    height: 380px;
  }

  .about-hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .about-hero-section {
    padding: 3rem 1.5rem;
  }

  .about-hero-title {
    font-size: 2.2rem;
  }

  .about-hero-content {
    font-size: 1rem;
  }

  .about-hero-image-wrapper img {
    height: 280px;
  }
}

/* Doctor Profile Section */
.doctor-profile-section {
  background-color: #fcf7ef;
  padding: 3rem 3.5rem;
  display: flex;
  justify-content: center;
}

.doctor-profile-container {
  /* max-width: 1600px; */
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 992px) {
  .doctor-profile-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
  }
}

.doctor-image-wrapper {
  flex: 1;
  position: relative;
  border-radius: 1.5rem;
}

.doctor-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.doctor-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(164, 127, 93, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
}

.doctor-overlay .ph-asterisk {
  font-size: 1.5rem;
}

.doctor-content-wrapper {
  flex: 1;
}

.doctor-name {
  font-size: 2.6rem;
  color: #633b2c;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.doctor-title {
  font-size: 1.25rem;
  color: #8c644d;
  margin-bottom: 2rem;
  font-weight: 400;
}

.doctor-bio {
  color: #6b5c51;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 3rem;
}

.doctor-bio p {
  margin-bottom: 1.5rem;
}

.doctor-bio p:last-child {
  margin-bottom: 0;
}

.doctor-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8c644d;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.feature-text {
  font-size: 1.1rem;
  color: #6b5c51;
  font-weight: 500;
}

@media (max-width: 768px) {
  .doctor-profile-section {
    padding: 1.5rem 1.5rem;
  }

  .doctor-name {
    font-size: 2.5rem;
  }
}

/* Facility Gallery Section */
.facility-gallery-section {
  background-color: #fcf7ef;
  padding: 3rem 3.5rem;
  display: flex;
  justify-content: center;
}

.facility-gallery-container {
  width: 100%;
}

.facility-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.facility-title {
  font-size: 2.6rem;
  color: #633b2c;
  margin-top: 1rem;
  font-weight: 600;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.1;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .facility-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .facility-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.facility-item {
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: #e5dacb;
}

.facility-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* .facility-item:hover img {
  transform: scale(1.05);
} */

@media (max-width: 768px) {
  .facility-title {
    font-size: 2.5rem;
  }
  .facility-gallery-section {
    padding: 3rem 1.5rem;
  }
}

/* Care Section */
.care-section {
  background-color: #fcf7ef;
  padding: 1.5rem 3.5rem;
  display: flex;
  justify-content: center;
}

.care-container {
  width: 100%;
  text-align: center;
}

.care-title {
  font-size: 2.6rem;
  color: #633b2c;
  margin-bottom: 1rem;
  font-weight: 600;
}

.care-subtitle {
  color: #6b5c51;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 4rem auto;
  line-height: 1.6;
}

.care-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.care-features-left,
.care-features-right {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  flex: 1;
}

.care-feature {
  display: flex;
  align-items: center; /* Align items centered to icon */
  gap: 1.5rem;
}

.care-feature-text {
  flex: 1;
}

.care-feature-text.right-align {
  text-align: right;
}

.care-feature-text.left-align {
  text-align: left;
}

.care-feature-title {
  font-size: 1.5rem;
  color: #4a3b32;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.care-feature-desc {
  color: #6b5c51;
  font-size: 1.05rem;
  line-height: 1.6;
}

.care-feature-icon {
  width: 60px;
  height: 60px;
  background-color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #8c644d;
  font-size: 1.8rem;
}

.care-image-wrapper {
  flex: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.care-image-wrapper img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 3.5 / 4;
  object-fit: cover;
  border-radius: 50%; /* Oval shape */
}

@media (max-width: 1024px) {
  .care-subtitle {
    margin: 0 auto 2.5rem auto;
  }

  .care-content {
    flex-direction: column;
  }
  
  .care-image-wrapper {
    order: -1;
    /* margin-bottom: 2rem; */
  }
  
  .care-feature.left-feature {
    flex-direction: row-reverse;
  }
  
  .care-feature-text.right-align {
    text-align: left;
  }
  
  .care-features-left,
  .care-features-right {
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .care-title {
    font-size: 2.2rem;
  }
  .care-subtitle {
    font-size: 1rem;
    line-height: 1.55;
    margin: 0 auto 2rem auto;
    padding: 0 0.5rem;
  }
  .care-section {
    padding: 1.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .care-title {
    font-size: 1.85rem;
  }
  .care-subtitle {
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0 auto 1.5rem auto;
    padding: 0 0.25rem;
  }
  .care-section {
    padding: 1.25rem 1rem;
  }
  .care-feature {
    gap: 1rem;
  }
  .care-feature-title {
    font-size: 1.25rem;
  }
  .care-feature-desc {
    font-size: 0.92rem;
  }
  .care-feature-icon {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }
}

/* Lightbox Specific Styles*/
.lightbox {
  flex-direction: column;
  padding-bottom: 80px;
}

.lightbox img#lightbox-img {
  max-height: calc(100vh - 150px);
}

/* Lightbox Thumbnails */
.lightbox-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10000;
    max-width: 90%;
    overflow-x: auto;
    padding: 10px 0;
}

.lightbox-thumbnails::-webkit-scrollbar {
    height: 6px;
}
.lightbox-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.lightbox-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease, border 0.3s ease;
    border: 2px solid transparent;
}

.lightbox-thumb:hover {
    opacity: 0.8;
}

.lightbox-thumb.active {
    opacity: 1;
    border-color: white;
}
