﻿/* ==================== ABOUT PAGE STYLES ==================== */

/* Hero */
.about-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  background-image: url('../img/doctors/photos/team_new.webp');
  background-size: cover;
  background-position: center 20%;
  /* background-attachment removed for performance */
  overflow: hidden;
}
.about-hero__overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(23, 37, 53, 0.6);
  z-index: 0;
}
.about-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 80px;
}
.about-hero__text {
  text-align: left;
  max-width: 800px;
}
.about-hero .section-badge {
  color: var(--color-accent);
  border: none;
  background: transparent;
  padding: 0;
  margin: 0 0 12px 0;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.about-hero .section-title {
  color: #fff;
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.about-hero .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
}

/* Mission & Video */
.about-mission {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--color-white);
}
.mission-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 992px) {
  .mission-grid { grid-template-columns: 1fr; }
}
.mission-text h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--color-primary);
  margin-bottom: 24px;
}
.mission-text p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(23,37,53,0.7);
  margin-bottom: 20px;
}
.mission-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  aspect-ratio: 4/3;
}
.mission-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 24px;
}

/* Gallery */
.about-gallery {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--color-bg-alt);
}

.about-gallery-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}

.about-gallery-header-flex .section-header {
  margin-bottom: 0;
}

.about-gallery .section-title {
  color: var(--color-primary);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  text-align: left;
}

.about-gallery .section-subtitle {
  color: rgba(23, 37, 53, 0.8);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  max-width: 760px;
  font-weight: 400;
  text-align: left;
}

/* Signature Arrows on Light/White Background */
.about-gallery-arrows {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.about-gallery-arrows .morphing-arrow-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFFFFF !important;
  border: 1.5px solid rgba(23, 37, 53, 0.16) !important;
  box-shadow: 0 4px 14px rgba(23, 37, 53, 0.08) !important;
  color: #172535 !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-gallery-arrows .morphing-arrow-btn svg,
.about-gallery-arrows .morphing-arrow-btn .morphing-arrow-svg {
  stroke: #172535 !important;
  width: 22px;
  height: 22px;
  transition: stroke 0.3s ease, transform 0.3s ease;
}

.about-gallery-arrows .morphing-arrow-btn:hover {
  background: var(--color-accent) !important; /* #A9D2D3 mint */
  border-color: var(--color-accent) !important;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(169, 210, 211, 0.45) !important;
}

.about-gallery-arrows .morphing-arrow-btn:hover svg {
  stroke: #172535 !important;
}

.about-gallery-arrows .prev-btn:hover svg {
  transform: translateX(-2px);
}

.about-gallery-arrows .next-btn:hover svg {
  transform: translateX(2px);
}

/* Smooth Horizontal Gallery Carousel */
.gallery-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding-bottom: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-grid::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 calc((100% - 40px) / 3);
  height: 360px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .gallery-item {
    flex: 0 0 calc((100% - 20px) / 2);
    height: 320px;
  }
}

@media (max-width: 768px) {
  .about-gallery-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .about-gallery-arrows {
    align-self: flex-end;
    margin-bottom: 4px;
  }
  .gallery-grid {
    gap: 16px;
    margin-left: -20px;
    margin-right: -20px;
    padding: 0 20px 20px 20px;
  }
  .gallery-item {
    flex: 0 0 85%;
    height: 300px;
    scroll-snap-align: center;
  }
}

/* Chief Doctor */
.about-chief {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--color-white);
}
.chief-wrapper {
  display: flex;
  background: var(--color-bg-alt);
  border-radius: 32px;
  overflow: hidden;
}
.chief-photo {
  width: 40%;
  position: relative;
  background: var(--color-accent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.chief-photo img {
  width: 90%;
  max-height: 500px;
  object-fit: contain;
  display: block;
}
.chief-info {
  width: 60%;
  padding: clamp(40px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 992px) {
  .chief-wrapper { flex-direction: column; }
  .chief-photo { width: 100%; padding-top: 40px; }
  .chief-photo img { max-height: 400px; }
  .chief-info { width: 100%; }
}
.chief-name {
  font-size: clamp(28px, 3vw, 40px);
  color: var(--color-primary);
  margin-bottom: 8px;
}
.chief-role {
  font-size: 18px;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 24px;
}
.chief-quote {
  font-size: 20px;
  line-height: 1.5;
  color: var(--color-primary);
  font-style: italic;
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--color-accent);
}

/* Equipment */
.about-equipment {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--color-primary);
  color: var(--color-white);
}
.about-equipment .section-title {
  color: var(--color-white);
}
.about-equipment .section-subtitle {
  color: rgba(255,255,255,0.7);
}
.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}
@media (max-width: 992px) {
  .equip-grid { grid-template-columns: 1fr; }
}
.equip-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
}
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

.equip-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-accent);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(169, 210, 211, 0.15), inset 0 0 20px rgba(169, 210, 211, 0.05);
}

.equip-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background-color: rgba(169, 210, 211, 0.15); /* Soft transparent accent matching #A9D2D3 */
  border-radius: 50%; /* Circle */
  color: var(--color-accent);
  transition: all 0.4s ease;
}
.equip-card:hover .equip-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-accent);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(169, 210, 211, 0.15), inset 0 0 20px rgba(169, 210, 211, 0.05);
}

.equip-icon {
  background-color: var(--color-accent);
  transform: rotate(15deg);
}
.equip-icon-svg {
  width: 36px;
  height: 36px;
  stroke: var(--color-accent);
  transition: all 0.4s ease;
}
.equip-card:hover .equip-icon-svg {
  stroke: var(--color-primary);
}
.equip-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: #fff;
}
.equip-card p {
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}




