/* --- Imports Global Styles (If not automatically handled by browser caching/order, 
   but usually we just link style.css in HTML. This file adds specific overrides) --- */

/* --- 1. Clinic Identity Section (Top) --- */
.clinic-identity-section {
  background-color: #e8f5e9;
  /* Light Green Tint */
  padding: 4rem 2rem;
  text-align: center;
  border-bottom: 1px solid #c8e6c9;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.brand-icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.clinic-header h1 {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-family: serif;
}

/* Flex Container for Aim and Ambition */
.clinic-values {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.value-box {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  flex: 1;
  min-width: 280px;
  border-top: 4px solid var(--accent-color);
}

.value-box h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.clinic-description {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* --- 2. Doctor Profile Section (Split Layout) --- */
.profile-section {
  background-color: var(--bg-color);
}

.profile-card {
  display: flex;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
}

/* Left Column styling */
.profile-left {
  flex: 1;
  /* Approx 30-35% */
  background-color: #f8f9fa;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid #eee;
}

.photo-frame {
  width: 200px;
  height: 200px;
  background-color: #ddd;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid var(--white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.profile-icon {
  font-size: 100px;
  color: #aaa;
}

/* Experience Badge */
.experience-badge {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2rem;
}

.experience-badge .years {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.8rem;
  line-height: 1.2;
  text-align: left;
}

.action-area {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.full-width {
  width: 100%;
  text-align: center;
}

/* Right Column styling */
.profile-right {
  flex: 2;
  /* Approx 65-70% */
  padding: 3rem;
}

.doctor-name {
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 0.2rem;
}

.doctor-title {
  font-size: 1.1rem;
  color: var(--accent-color);
  font-weight: bold;
  margin-bottom: 2rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 1rem;
  display: inline-block;
}

.bio-content h3 {
  font-size: 1.3rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

.bio-content h3:first-child {
  margin-top: 0;
}

/* Grid for Education & Specs */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
  background-color: #f9fdfa;
  padding: 1.5rem;
  border-radius: 8px;
}

.info-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.info-item ul {
  list-style: disc;
  /* Use bullets */
  padding-left: 1.2rem;
}

.info-item li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* Philosophy Quote */
.philosophy-quote {
  font-style: italic;
  background: #eef7f2;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--primary-color);
  margin: 1rem 0;
  color: #555;
}

.philosophy-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-weight: bold;
  font-style: normal;
  text-align: right;
  font-size: 0.9rem;
}

/* Social Links */
.social-connect {
  margin-top: 2rem;
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.s-links {
  display: flex;
  gap: 15px;
}

.s-icon {
  width: 40px;
  height: 40px;
  background-color: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  font-size: 1.2rem;
}

.s-icon:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* --- Responsive Media Queries for About Page --- */
@media (max-width: 900px) {
  .profile-card {
    flex-direction: column;
  }

  .profile-left {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding: 2rem;
  }

  .profile-right {
    padding: 2rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
    /* Stack Education and Specs */
  }
}

/* Initial state: Hidden and pushed down slightly */
.animate-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Final state: Visible and in original position */
.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay for value boxes (Aim/Ambition) so they don't appear at exact same time */
.value-box:nth-child(2) {
  transition-delay: 0.2s;
}