/* About Us Page - Dedicated Styles */

:root {
  --about-bg: #f7f5f2;
  --about-accent: #2c5aa0;
  --about-accent-2: #e74c3c;
  --text: #333;
  --muted: #666;
  --card-bg: #fff;
  --shadow-1: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-2: 0 12px 28px rgba(0,0,0,0.12);
  --radius: 16px;
}

/* Section spacing */
.page-section { padding: 60px 0; background: #E6D9CC; }
.page-section.alt { background: #E6D9CC; }

/* Intro / Hero - Match Contact Us hero styling */
.about-hero {
  background: #E6D9CC;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #2c3e50;
  margin-top: var(--header-height, 72px);
}

.about-hero .hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.about-hero .hero-content { z-index: 2; }

.about-hero .hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #2c5aa0;
}

.about-hero .hero-title .highlight { position: relative; }

.about-hero .hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #34495e;
  opacity: 0.9;
}

.about-hero .hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
/* Stats pills (About hero specific) */
.about-hero .hero-stats { display: flex; gap: 1rem; flex-wrap: wrap; }
.about-hero .hero-stat { padding: 8px 14px; border-radius: 9999px; border: 1px solid rgba(0, 0, 0, 0.08); background: rgba(196, 162, 102, 0.12); color: #2c3e50; font-weight: 600; }
.about-hero .hero-stat strong { color: #2c5aa0; margin-right: 6px; }

/* Stats box for general hero on About page */
.hero .hero-stats-box { display: inline-flex; padding: 12px 16px; border-radius: 16px; margin-top: -2rem; }
.hero .hero-stats { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .hero-stat { padding: 8px 14px; border-radius: 9999px; background: rgba(196, 162, 102, 0.12); color: #2c3e50; font-weight: 600; }
.hero .hero-stat strong { color: #2c5aa0; margin-right: 6px; }

.about-hero .hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
}

.about-hero .banner-image-container {
  border-radius: 20px;
  overflow: visible;
  padding: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(44, 90, 160, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(231, 76, 60, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(243, 156, 18, 0.05) 0%, transparent 50%);
}

.about-hero .banner-image-container::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2c5aa0, #4a90e2);
  border-radius: 50%;
  z-index: 1;
}

.about-hero .banner-image-container::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #e74c3c, #f39c12);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: 1;
}

.about-hero .banner-image {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

/* Cards grid (mission/vision) */
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.about-card { background: var(--card-bg); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-1); }
.about-card h3 { margin-bottom: 8px; }

/* Story / Timeline */
.timeline { display: grid; gap: 1rem; }
.timeline-item { 
  position: relative; background: var(--card-bg); border-radius: 12px; 
  padding: 16px 16px 16px 48px; box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.timeline-item::before { 
  content: ''; position: absolute; left: 24px; top: 16px; bottom: 16px; 
  width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--about-accent), var(--about-accent-2));
}
.timeline-item strong { color: var(--about-accent); }

/* Reuse global feature/highlight cards from styles.css for values, stats, team, testimonials, awards */

/* CTA */
.cta-center { text-align: center; }
.cta-buttons { margin-top: 1rem; display:inline-flex; gap:.75rem; }

/* Founder’s Message */
.quote-text { font-style: italic; color: var(--muted); }
.quote-author { margin-top: .5rem; font-weight: 600; color: var(--about-accent); }

/* Testimonials (inside highlight-card) */
.highlight-card .stars { color: #f39c12; margin-bottom: .5rem; letter-spacing: 1px; }
.highlight-card .author { display:block; margin-top:.5rem; color: var(--muted); font-size: .95rem; }

/* Awards & Certifications reuse highlight-card */

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item { background:#fff; border-radius: 12px; overflow:hidden; box-shadow: var(--shadow-1); }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; display:block; }
.gallery-item figcaption { padding: 10px 12px; font-weight: 600; color: var(--about-accent); }

/* Our Story section */
.story-section { /* uses page-section + alt backgrounds */ }
.story-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; align-items: stretch; }
.story-content .section-description { margin-bottom: 1rem; }
/* (story-note removed per request) */

.story-media { display:flex; flex-direction:column; gap:1rem; height: 100%; }
.story-content { height: 100%; }
.story-image-wrap { position: relative; border-radius: 20px; overflow: hidden; height: 100%; }
.story-image-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
/* (story-thumbs removed for single-image layout) */

/* Responsive */
@media (max-width: 992px) {
  .about-hero .hero-container { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .cards-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .cards-grid, .gallery-grid { grid-template-columns: 1fr; }
}
/* Apply home \"Why Choose\" card styling to About page feature cards */
.about-page .features-grid {
  display: grid;
  grid-template-columns: repeat(4, 255px);
  gap: 24px;
  width: 100%;
  max-width: 1000px;
  justify-content: center; /* center grid tracks horizontally */
  justify-items: center;   /* center cards within tracks */
}

.about-page .feature-card {
  width: 255px;
  min-height: 250px;
  background: linear-gradient(120deg, #eee7e2 0%, #e1d7cf 50%, #d6c8bb 100%);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.2);
  border: 2px solid #b2a99e;
  border-radius: 15px;
  padding: 25px;
  box-sizing: border-box;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: 0.3s ease-in-out;
  cursor: pointer;
  
}

.about-page .feature-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.about-page .feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d3b78f;
  border: 3px solid #000000;
  color: #027E92;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(2,126,146,0.15);
}

.about-page .feature-icon img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  display: block;
}

.about-page .feature-card h3 {
  font-size: 1.1rem;
  color: #2c5aa0;
  margin-bottom: 8px;
}

.about-page .feature-card p {
  font-size: 0.98rem;
  color: #2c3e50; /* ensure contrast on light backgrounds */
  line-height: 1.6;
}

/* Alternate card backgrounds for visual variety */
.about-page .features-grid .feature-card:nth-child(2) { background: linear-gradient(120deg, #d6c8bb 0%, #e1d7cf 50%, #eee7e2 100%); }
.about-page .features-grid .feature-card:nth-child(3) { background: linear-gradient(120deg, #eee7e2 0%, #e1d7cf 50%, #d6c8bb 100%); }
.about-page .features-grid .feature-card:nth-child(4) { background: linear-gradient(120deg, #d6c8bb 0%, #e1d7cf 50%, #eee7e2 100%); }

/* Responsiveness to mirror home behavior */
@media (max-width: 992px) {
  .about-page .features-grid { grid-template-columns: repeat(2, 1fr); justify-content: center; justify-items: center; }
  .about-page .feature-card { width: 100%; max-width: 420px; }
}

@media (max-width: 480px) {
  .about-page .features-grid { grid-template-columns: 1fr; gap: 16px; justify-content: center; justify-items: center; }
  .about-page .feature-card { width: 100%; max-width: 360px; text-align: center; }
}

/* Founder Slider */
.founder-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1000px;
  margin: 1rem auto 0;
}

.founder-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.founder-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
  min-height: 115px;
}

.founder-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none; /* allow clicks only on buttons */
}

.founder-prev,
.founder-next {
  pointer-events: auto;
  background: rgba(0,0,0,0.15);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.founder-prev:hover,
.founder-next:hover { background: rgba(0,0,0,0.25); }

.founder-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.founder-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b2a99e;
  border: 2px solid #2c5aa0;
  opacity: 0.6;
  cursor: pointer;
}

.founder-dots .dot.active { opacity: 1; background: #2c5aa0; }

/* Founder Slider – responsive improvements */
@media (max-width: 768px) {
  .founder-controls {
    position: static;
    transform: none;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    pointer-events: auto;
  }
  .founder-prev,
  .founder-next {
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.12);
  }
  .founder-slide { min-height: unset; }
}
.Doctors-header-1 p {
    font-size: 1.1rem;
    color: rgb(90, 108, 125);
    line-height: 1.6;
    font-weight: 300;
    text-align: left;
}

/* Apply hero description styles to container paragraphs */
div.container p {
    font-size: 1.1rem;
    color: rgb(90, 108, 125);
    line-height: 1.6;
}

/* Apply hero description styles to feature cards and highlight cards */
div.feature-card p,
div.highlight-card p {
    font-size: 1.1rem;
    color: rgb(90, 108, 125);
    line-height: 1.6;
}

@media (max-width: 600px) {
  .founder-slider { padding: 0 12px; }
  .founder-slide.highlight-card {
    width: 100% !important;
    max-width: none !important;
    text-align: left;
    padding: 16px;
  }
  .quote-text { font-size: 1rem; line-height: 1.6; }
  .founder-dots { margin-top: 8px; }
  .founder-dots .dot { width: 8px; height: 8px; }
}
