/* ===== About Page Specific Styles ===== */

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #1a4a6e 50%, var(--color-primary-dark) 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(63,187,192,0.1) 0%, transparent 60%);
  animation: heroFloat 15s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}
.page-hero h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}
.page-hero .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}
.page-hero .breadcrumb li {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
}
.page-hero .breadcrumb li a {
  color: rgba(255,255,255,0.9);
}
.page-hero .breadcrumb li a:hover {
  color: #fff;
  text-decoration: underline;
}
.page-hero .breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255,255,255,0.5);
}

/* Hospital Story */
.story-section {
  padding: 80px 0;
}
.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.story-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}
.story-text h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: var(--color-primary);
}
.story-text h2 span { color: var(--color-primary); }
.story-text p {
  color: #666;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 15px;
}
.story-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.story-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s;
}
.story-image:hover img { transform: scale(1.05); }
.story-image .experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--color-primary);
  color: #fff;
  padding: 15px 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(63,187,192,0.4);
}
.experience-badge .number {
  font-size: 36px;
  font-weight: 700;
  display: block;
  line-height: 1;
  font-family: var(--font-heading);
}
.experience-badge .label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mission & Vision Cards */
.mission-vision {
  padding: 80px 0;
  background: var(--color-background-alt);
}
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.mv-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px 35px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid var(--color-primary);
}
.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.mv-card .mv-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.mv-card .mv-icon i {
  font-size: 30px;
  color: #fff;
}
.mv-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--color-heading);
}
.mv-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
}

/* Infrastructure Tiles */
.infra-section { padding: 80px 0; }
.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.infra-tile {
  background: #fff;
  border-radius: 10px;
  padding: 35px 25px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.infra-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  transform: scaleX(0);
  transition: transform 0.3s;
}
.infra-tile:hover::before { transform: scaleX(1); }
.infra-tile:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.infra-tile .tile-icon {
  width: 75px;
  height: 75px;
  background: rgba(63,187,192,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: background 0.3s;
}
.infra-tile:hover .tile-icon {
  background: var(--color-primary);
}
.infra-tile .tile-icon i {
  font-size: 32px;
  color: var(--color-primary);
  transition: color 0.3s;
}
.infra-tile:hover .tile-icon i { color: #fff; }
.infra-tile h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--color-heading);
}
.infra-tile p {
  font-size: 14px;
  color: #777;
  margin: 0;
}

/* Values Section */
.values-section {
  padding: 80px 0;
  background: var(--color-background-alt);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.value-card {
  background: #fff;
  border-radius: 10px;
  padding: 35px 20px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
  transition: all 0.3s;
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.value-card .val-icon {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, var(--color-primary), #2fcfd4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.value-card .val-icon i {
  font-size: 28px;
  color: #fff;
}
.value-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--color-heading);
}
.value-card p {
  font-size: 14px;
  color: #777;
  margin: 0;
  line-height: 1.6;
}

/* Stats Bar */
.stats-bar {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #1a4a6e 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::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.03'%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");
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  color: #fff;
}
.stat-item .stat-number {
  font-size: 48px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .stat-label {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Team Intro */
.team-intro { padding: 80px 0; }
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.team-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0,0,0,0.06);
  display: flex;
  transition: transform 0.3s, box-shadow 0.3s;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.team-card .team-img {
  width: 180px;
  min-height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}
.team-card .team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card .team-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.team-card .team-info h4 {
  font-size: 20px;
  margin-bottom: 5px;
}
.team-card .team-info .designation {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
}
.team-card .team-info p {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Location Advantage */
.location-section {
  padding: 80px 0;
  background: var(--color-background-alt);
}
.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.location-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}
.location-text h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--color-primary);
}
.location-text p {
  color: #666;
  font-size: 15px;
  line-height: 1.8;
}
.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.location-tags span {
  background: rgba(63,187,192,0.1);
  color: var(--color-primary-dark);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}
.cta-section::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  bottom: -80px;
  left: -80px;
}
.cta-section h2 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}
.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-btn-white {
  background: #fff;
  color: var(--color-primary-dark);
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.cta-btn-white:hover {
  background: #f0f0f0;
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}
.cta-btn-emergency {
  background: #e12454;
  color: #fff;
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(225,36,84,0.3);
}
.cta-btn-emergency:hover {
  background: #c91e47;
  color: #fff;
  transform: translateY(-2px);
}

/* Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Counter Animation */
.stat-number {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}
.stat-number.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
  .page-hero h1 { font-size: 32px; }
  .story-content, .location-content { grid-template-columns: 1fr; }
  .story-image { order: -1; }
  .mv-grid, .team-grid { grid-template-columns: 1fr; }
  .infra-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-card { flex-direction: column; }
  .team-card .team-img { width: 100%; min-height: 250px; }
}
@media (max-width: 576px) {
  .page-hero { padding: 60px 0 40px; }
  .page-hero h1 { font-size: 26px; }
  .infra-grid, .values-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .cta-section h2 { font-size: 28px; }
  .stat-item .stat-number { font-size: 36px; }
}

/* ===== Certificates & Accreditations Section ===== */
.certificates-section {
  padding: 90px 0 70px;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.certificates-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(63,187,192,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Badge top icon */
.cert-badge-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 50%;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(63,187,192,0.35);
  animation: certBadgePulse 3s ease-in-out infinite;
}
.cert-badge-top i {
  font-size: 34px;
  color: #fff;
}
@keyframes certBadgePulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(63,187,192,0.35); }
  50% { box-shadow: 0 8px 36px rgba(63,187,192,0.6); }
}

/* Section title override for certs */
.certificates-section .section-title h2 span {
  color: var(--color-primary);
}

/* Certificates Grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

/* Individual Certificate Card */
.cert-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(63,187,192,0.12);
}
.cert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.13);
}

/* Certificate Image Wrapper */
.cert-img-wrap {
  position: relative;
  overflow: hidden;
  height: 230px;
  background: #f5f5f5;
}
.cert-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
.cert-card:hover .cert-img-wrap img {
  transform: scale(1.06);
}

/* Zoom overlay on hover */
.cert-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 74, 110, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cert-card:hover .cert-overlay {
  opacity: 1;
}
.cert-overlay i {
  font-size: 42px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Certificate Info */
.cert-info {
  padding: 20px 18px 22px;
  text-align: center;
}
.cert-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(63,187,192,0.15), rgba(63,187,192,0.05));
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(63,187,192,0.2);
}
.cert-logo-icon i {
  font-size: 22px;
  color: var(--color-primary);
}
.cert-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 7px;
  line-height: 1.3;
}
.cert-info p {
  font-size: 12.5px;
  color: #777;
  line-height: 1.5;
  margin-bottom: 10px;
}
.cert-tag {
  display: inline-block;
  background: linear-gradient(90deg, rgba(63,187,192,0.12), rgba(26,74,110,0.08));
  color: var(--color-primary-dark);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(63,187,192,0.25);
  letter-spacing: 0.3px;
}

/* Trust Badges Row */
.trust-badges-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(63,187,192,0.15);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid rgba(63,187,192,0.25);
  border-radius: 50px;
  padding: 10px 24px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.05);
  transition: all 0.3s;
}
.trust-badge:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(63,187,192,0.3);
}
.trust-badge i {
  font-size: 20px;
  color: var(--color-primary);
  transition: color 0.3s;
}
.trust-badge:hover i {
  color: #fff;
}
.trust-badge span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-heading);
  transition: color 0.3s;
}
.trust-badge:hover span {
  color: #fff;
}

/* ===== Lightbox Modal ===== */
.cert-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
  animation: lightboxFadeIn 0.25s ease;
}
.cert-lightbox.open {
  display: flex;
}
@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox-inner {
  position: relative;
  max-width: 640px;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  animation: lightboxSlideUp 0.3s ease;
}
@keyframes lightboxSlideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.lightbox-inner img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}
.lightbox-inner p {
  text-align: center;
  font-size: 13px;
  color: #555;
  padding: 14px 20px;
  margin: 0;
  background: #f9f9f9;
  border-top: 1px solid #eee;
}
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}
.lightbox-close:hover {
  background: rgba(225,36,84,0.8);
}

/* Responsive Certificates */
@media (max-width: 991px) {
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .cert-grid { grid-template-columns: 1fr; gap: 18px; }
  .trust-badges-row { gap: 10px; }
  .trust-badge { padding: 8px 16px; }
  .cert-img-wrap { height: 200px; }
}

