/* ============================================
   ABOUT PAGE STYLES
   Co-operative Hospital Kurunegala
   ============================================ */

/* ===== PAGE BANNER ===== */
.page-banner {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 40%, var(--primary-dark) 100%);
  padding: 140px 0 80px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  animation: heroGlow 8s infinite ease-in-out alternate;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
  animation: heroGlow 10s infinite ease-in-out alternate-reverse;
}

.page-banner h1 {
  font-weight: 800;
  font-size: 3rem;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.page-banner p {
  font-size: 17px;
  opacity: 0.8;
  max-width: 550px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.4s both;
}




/* ── Floating Particles ── */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.hero-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

.hero-particles span:nth-child(1) {
    left: 10%; width: 3px; height: 3px;
    animation-duration: 15s; animation-delay: 0s;
}
.hero-particles span:nth-child(2) {
    left: 25%; width: 5px; height: 5px;
    animation-duration: 20s; animation-delay: -3s;
}
.hero-particles span:nth-child(3) {
    left: 45%; width: 3px; height: 3px;
    animation-duration: 18s; animation-delay: -6s;
}
.hero-particles span:nth-child(4) {
    left: 65%; width: 6px; height: 6px;
    animation-duration: 22s; animation-delay: -9s;
}
.hero-particles span:nth-child(5) {
    left: 80%; width: 4px; height: 4px;
    animation-duration: 16s; animation-delay: -12s;
}
.hero-particles span:nth-child(6) {
    left: 92%; width: 3px; height: 3px;
    animation-duration: 19s; animation-delay: -4s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}






.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.breadcrumb-custom li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.breadcrumb-custom li a:hover {
  color: var(--accent-light);
}

.breadcrumb-custom li.active {
  color: var(--accent-light);
  font-size: 14px;
  font-weight: 600;
}

.breadcrumb-custom li.active::before {
  content: '›';
  color: rgba(255, 255, 255, 0.4);
  font-size: 18px;
}

/* ===== STATS STRIP ===== */
.about-stats-strip {
  margin-top: -50px;
  position: relative;
  z-index: 10;
  padding-bottom: 20px;
}

.about-stat-card {
  background: var(--glass-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.about-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}

.about-stat-card h3 {
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--navy-dark);
  margin: 0;
  line-height: 1;
}

.counter-suffix {
  font-size: 0.7em;
  opacity: 0.6;
}

.about-stat-card p {
  font-size: 12px;
  color: #64748b;
  margin: 3px 0 0;
  font-weight: 500;
}

/* ===== ABOUT CONTENT ===== */
.about-text {
  color: #64748b;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
}

/* About Image Block */
.about-image-block {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  height: 420px;
  position: relative;
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-main.img-fallback {
  background: linear-gradient(135deg, #ccfbf1, #e0f2fe);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fallback-icon {
  display: none;
  font-size: 80px;
  color: var(--primary);
  opacity: 0.3;
}

.img-fallback .fallback-icon {
  display: flex !important;
}

.about-img-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  z-index: 2;
}

.float-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--glass-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  padding: 18px 24px;
  box-shadow: var(--shadow-glow);
}

.float-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}

.float-card h4 {
  font-weight: 800;
  color: var(--navy-dark);
  margin: 0;
  font-size: 1.4rem;
}

.float-card small {
  font-size: 12px;
  color: #64748b;
}

.about-img-dots {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(circle, var(--primary) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.2;
  z-index: -1;
}

/* Highlights */
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(13, 148, 136, 0.04);
  border-radius: var(--radius-sm);
  transition: 0.3s;
}

.highlight-item:hover {
  background: rgba(13, 148, 136, 0.08);
}

.highlight-icon {
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}

.highlight-item span {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

/* ===== TIMELINE SECTION ===== */
.timeline-section {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy), var(--primary-dark));
  position: relative;
  overflow: hidden;
}

.timeline-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-track {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--accent-light), var(--primary-light));
  border-radius: 10px;
  transition: height 0.5s ease;
}

.timeline-entry {
  position: relative;
  padding-left: 65px;
  padding-bottom: 40px;
}

.timeline-entry:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 14px;
  top: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 3px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.4s ease;
}

.timeline-entry.active .timeline-dot {
  background: var(--accent);
  border-color: var(--accent-light);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.dot-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.timeline-entry.active .dot-inner {
  background: #fff;
  animation: pulse 2s infinite;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: all 0.4s ease;
}

.timeline-entry:hover .timeline-content {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(8px);
}

.timeline-year-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.timeline-content h4 {
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
}

.timeline-content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.timeline-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  font-size: 16px;
}

/* ===== FOUNDER SECTION ===== */
.founder-section {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.founder-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
}

.founder-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
}

.founder-image-block {
  position: relative;
  display: flex;
  justify-content: center;
}

.founder-img-main {
  width: 320px;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.founder-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-img-main.img-fallback {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-img-main.img-fallback .fallback-icon {
  font-size: 100px;
  color: rgba(255, 255, 255, 0.15);
}

.founder-frame {
  position: absolute;
  top: 15px;
  left: calc(50% - 145px);
  width: 320px;
  height: 400px;
  border: 2px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius);
  z-index: 1;
}

.founder-name-tag {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.3);
}

/* Founder Quote */
.founder-quote {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 24px;
  margin: 24px 0;
}

.quote-mark {
  color: var(--accent);
  font-size: 24px;
  margin-bottom: 8px;
  opacity: 0.6;
}

.founder-quote blockquote {
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 10px;
}

.founder-quote cite {
  font-size: 12px;
  color: var(--accent-light);
  font-style: normal;
  font-weight: 600;
}

.founder-stat {
  text-align: center;
  padding: 18px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: 0.3s;
}

.founder-stat:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.founder-stat h3 {
  font-weight: 800;
  font-size: 1.5rem;
  background: linear-gradient(90deg, #fff, var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.founder-stat p {
  font-size: 12px;
  opacity: 0.6;
  margin: 4px 0 0;
}

/* ===== VISION MISSION VALUES ===== */
.vm-section {
  background: rgba(240, 253, 250, 0.8);
}

.vm-card-modern {
  background: var(--glass-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  padding: 36px 28px;
  height: 100%;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.vm-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.vm-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.vision-card .vm-card-glow {
  background: radial-gradient(circle at center, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
}

.mission-card .vm-card-glow {
  background: radial-gradient(circle at center, rgba(13, 148, 136, 0.06) 0%, transparent 50%);
}

.vm-card-modern:hover .vm-card-glow {
  opacity: 1;
}

.vm-emoji {
  font-size: 32px;
  margin-bottom: 10px;
}

.vm-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  margin: 0 auto 20px;
  transition: transform 0.4s ease;
}

.vm-card-modern:hover .vm-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.vm-card-modern h4 {
  font-weight: 700;
  font-size: 18px;
  color: var(--navy-dark);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.vm-card-modern p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  margin: 0;
}

.vm-card-line {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 10px;
  margin: 20px auto 0;
}

/* VM Center Image */
.vm-center-block {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vm-center-image {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-glow);
}

.vm-center-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vm-center-image.img-fallback {
  background: linear-gradient(135deg, #ccfbf1, #e0f2fe);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vm-center-image.img-fallback .fallback-icon {
  font-size: 70px;
  color: var(--primary);
  opacity: 0.25;
}

.vm-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--glass-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
  z-index: 2;
}

.vm-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  animation: pulse 2s infinite;
}

.vm-decorative-ring {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 80px;
  height: 80px;
  border: 3px solid rgba(13, 148, 136, 0.15);
  border-radius: 50%;
  z-index: -1;
}

/* Values Header */
.values-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 50px 0 30px;
}

.values-header h4 {
  font-weight: 700;
  font-size: 18px;
  color: var(--navy-dark);
  margin: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.values-header h4 i {
  color: var(--primary);
}

.values-header-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.15), transparent);
}

/* Value Cards */
.value-card {
  background: var(--glass-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.value-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(6, 182, 212, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  margin: 0 auto 14px;
  transition: all 0.4s ease;
}

.value-card:hover .value-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  transform: scale(1.1);
}

.value-card h6 {
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
  font-size: 14px;
}

.value-card p {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

/* ===== SOCIETY SECTION ===== */
.society-section {
  background: rgba(240, 253, 250, 0.8);
}

.society-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.society-feature {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--glass-card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.society-feature:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-glow);
}

.sf-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}

.society-feature h6 {
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 2px;
  font-size: 14px;
}

.society-feature p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

/* Society Stats Grid */
.society-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.society-stat-card {
  background: var(--glass-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease;
}

.society-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.society-stat-card.stat-highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
  color: #fff;
}

.ssc-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(13, 148, 136, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  margin: 0 auto 14px;
}

.stat-highlight .ssc-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.society-stat-card h3 {
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--navy-dark);
  margin: 0;
}

.stat-highlight h3 {
  color: #fff;
}

.society-stat-card p {
  font-size: 13px;
  color: #64748b;
  margin: 4px 0 0;
  font-weight: 500;
}

.stat-highlight p {
  color: rgba(255, 255, 255, 0.8);
}


/* Desktop - normal fill */
.society-img {
  object-fit: cover;
  height: 100%;
}

/* Mobile - zoom OUT */
@media (max-width: 768px) {
  .society-img {
    object-fit: contain;
    background: #fff;
    padding: 10px;
  }
}



/* ===== DIRECTORS SECTION ===== */

/* Chairman Card */
.chairman-card {
  background: var(--glass-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  transition: all 0.4s ease;
  text-align: center;
}

.chairman-card:hover {
  transform: translateY(-8px);
}

.chairman-img-wrap {
  position: relative;
}

/* Portrait Support */
.chairman-img {
  aspect-ratio: 3 / 4;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.chairman-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Fallback */
.chairman-img.img-fallback {
  background: linear-gradient(135deg, #ccfbf1, #e0f2fe);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chairman-img.img-fallback .fallback-icon {
  font-size: 80px;
  color: var(--primary);
  opacity: 0.3;
}

/* Crown */
.chairman-crown {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  z-index: 2;
}

.chairman-body {
  padding: 30px 28px 28px;
}

.chairman-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(249, 115, 22, 0.1));
  color: #d97706;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.chairman-body h3 {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.chairman-role {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.chairman-body p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Social */
.chairman-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.chairman-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.chairman-social a:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}


/* ===== DIRECTOR CARDS ===== */

.director-card {
  background: var(--glass-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease;
  text-align: center;
}

.director-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

/* Portrait Support */
.director-img {
  aspect-ratio: 3 / 4;
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Small cards still portrait */
.director-img-sm {
  aspect-ratio: 3 / 4;
}

.director-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Fallback */
.director-img.img-fallback {
  background: linear-gradient(135deg, #ccfbf1, #e0f2fe);
  display: flex;
  align-items: center;
  justify-content: center;
}

.director-img .fallback-icon {
  font-size: 50px;
  color: var(--primary);
  opacity: 0.25;
}

.director-img.img-fallback .fallback-icon {
  display: flex;
}

/* Body */
.director-body {
  padding: 20px;
}

.director-badge {
  display: inline-block;
  background: rgba(13, 148, 136, 0.08);
  color: var(--primary);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}

.vc-badge {
  background: rgba(99, 102, 241, 0.08);
  color: #6366f1;
}

.sec-badge {
  background: rgba(245, 158, 11, 0.08);
  color: #d97706;
}

.director-body h5 {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.director-title {
  font-size: 12px;
  color: #64748b;
  display: block;
  margin-bottom: 6px;
}

.director-period {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.director-period i {
  color: var(--primary);
  font-size: 11px;
}


.director-lead .chairman-img-wrap {
  position: relative;
}

.director-lead .chairman-crown {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}


/* ===== MOBILE PORTRAIT FIX ===== */
@media (max-width: 768px) {

  .chairman-img {
    aspect-ratio: 3 / 5;
  }

  /* Chairman SAME SIZE */
  .chairman-img {
    aspect-ratio: unset;
    height: 300px;
  }

  .chairman-img img {
    object-fit: cover;
    object-position: 50% 10%;
  }

  .director-img,
  .director-img-sm {
    aspect-ratio: 3 / 5;
  }

}

/* ===== MOBILE LEADERSHIP FIX ===== */
@media (max-width: 768px) {

  .director-lead {
    overflow: visible;
  }

  .director-lead .director-img {
    aspect-ratio: unset;
    height: 300px;
  }

  .director-lead .director-img img {
    object-fit: cover;
    object-position: 50% 10%;
  }

}



 


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
  .page-banner {
    padding: 120px 0 60px;
  }

  .page-banner h1 {
    font-size: 2.2rem;
  }

  .about-img-main {
    height: 320px;
  }

  .about-img-float {
    right: 0;
    bottom: -15px;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .timeline-entry {
    padding-left: 55px;
  }

  .founder-img-main {
    width: 260px;
    height: 330px;
  }

  .founder-frame {
    left: calc(50% - 115px);
    width: 260px;
    height: 330px;
  }

  .vm-center-image {
    min-height: 280px;
  }

  .society-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .chairman-img {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .page-banner h1 {
    font-size: 1.8rem;
  }

  .about-stats-strip {
    margin-top: -40px;
  }

  .about-stat-card {
    padding: 16px 14px;
    gap: 12px;
  }

  .about-stat-icon {
    width: 44px;
    height: 44px;
    font-size: 16px;
    border-radius: 12px;
  }

  .about-stat-card h3 {
    font-size: 1.3rem;
  }

  .about-img-main {
    height: 250px;
  }

  .about-img-float {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 16px;
  }

  .about-img-dots {
    display: none;
  }

  .timeline-track {
    left: 16px;
  }

  .timeline-entry {
    padding-left: 48px;
  }

  .timeline-dot {
    left: 6px;
    width: 22px;
    height: 22px;
  }

  .timeline-content {
    padding: 18px;
  }

  .timeline-icon {
    display: none;
  }

  .founder-img-main {
    width: 220px;
    height: 280px;
  }

  .founder-frame {
    display: none;
  }

  .vm-center-block {
    display: none;
  }

  .value-card {
    padding: 18px 12px;
  }

  .value-icon {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .society-stat-card {
    padding: 22px 14px;
  }

  .society-stat-card h3 {
    font-size: 1.4rem;
  }

  .chairman-img {
    height: 220px;
  }

  .chairman-body {
    padding: 24px 20px 20px;
  }

  .chairman-body h3 {
    font-size: 1.2rem;
  }

  .director-img {
    height: 180px;
  }

  .director-img-sm {
    height: 150px;
  }

  .director-body h5 {
    font-size: 13px;
  }

  .mgmt-img {
    height: 180px;
  }

  .past-img {
    height: 110px;
    font-size: 34px;
  }

  .past-img-sm {
    height: 90px;
    font-size: 28px;
  }

  .past-body h6 {
    font-size: 11px;
  }
}