/* =========================================
   ABOUT PAGE (NO AOS) - RESPONSIVE CSS
   Works with your existing header/footer CSS
   ========================================= */

/* ---------- Base / Helpers ---------- */
:root{
  --brand: #0d6efd;
  --text: #0f172a;
  --muted: #6b7280;
  --bg: #ffffff;
  --card: #ffffff;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 12px 30px rgba(0,0,0,0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 80px; /* ✅ Header ki actual height yaha set karo */
}

*{ box-sizing: border-box; }
img{ max-width: 100%; height: auto; display: block; }
a{ text-decoration: none; }

.hl{
  font-weight: 700;
  color: var(--text);
}

/*  */

/* ---------- HERO SECTION ---------- */
.about-hero{
  position: relative;
  margin-top: 90px;
  height: 50vh;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  overflow: hidden;
}

.about-hero-bg{
  position: absolute;
  inset: 0;
  background-image: url("image/abouthero\ \(2\).jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1);
  animation: heroZoom 8s ease-in-out forwards;
  will-change: transform;
}

@keyframes heroZoom{
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}

.about-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 6, 23, 0.72),
    rgba(2, 6, 23, 0.35)
  );
  z-index: 1;
}

.about-hero-content{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1150px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-hero-title{
  color: #fff;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: 0.3px;
  margin: 0;
  line-height: 1.2;
}

.about-hero-breadcrumb{
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.about-hero-link{
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.about-hero-link:hover{ 
  color: #fff; 
}

.about-hero-sep{ 
  opacity: 0.7; 
}

.about-hero-current{ 
  opacity: 0.85; 
}

/* ✅ Desktop + Laptop: 1024px aur upar */
@media (min-width: 1024px){
  .about-hero{
    margin-top: 176px;
    padding-top: 80px;
    height: 50vh;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .about-hero-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
}

/* ✅ Tablet: 768px – 1023px */
@media (min-width: 768px) and (max-width: 1023px){
  .about-hero{
    margin-top: 66px;
    height: 50vh;
    min-height: 260px;
    padding: 15px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .about-hero-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  .about-hero-title{
    font-size: clamp(26px, 6vw, 40px);
  }
  .about-hero-breadcrumb{
    font-size: 14px;
    gap: 8px;
    justify-content: center;
  }
}

/* ✅ Mobile: 320px – 767px */
@media (min-width: 275px) and (max-width: 767px){
  .about-hero{
    height: 40vh;
    min-height: 260px;
    margin-top: 66px;
    padding: 12px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .about-hero-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  .about-hero-title{
    font-size: clamp(24px, 7vw, 32px);
  }
  .about-hero-breadcrumb{
    font-size: 13px;
    gap: 6px;
    justify-content: center;
  }
}
/* ---------- ABOUT SECTION 1 ---------- */

.about-section1{
  padding: 60px 0;
}

/* Container */
.about-section1__container{
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: start;
}

/* Card */
.about-section1__card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.about-section1__eyebrow{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--muted);
  margin: 0 0 10px;
  text-transform: uppercase;
}

.about-section1__title{
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--text);
}

/* ✅ Meta list */
.about-section1__meta{
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;

  font-weight: 500; /* ✅ overall meta text less bold */
}

.about-section1__meta li{
  padding: 6px 0;
  border-bottom: 1px dashed rgba(15,23,42,0.10);
}
.about-section1__meta li:last-child{ border-bottom: 0;  }

.about-section1__text p{
  margin: 0 0 12px;
  color: rgba(15,23,42,0.86);
  line-height: 1.75;
  font-size: 15.5px;
}

/* ✅ Highlight */
.hl{
  font-weight: 800;
  color: var(--text);
}

/* ✅ Meta highlights softer (this fixes screenshot boldness) */
.about-section1__meta .hl{
  font-weight: 600; /* ✅ was 800, now softer */
}

/* Mini panel */
.about-section1__panel{
  margin-top: 14px;
  padding: 14px;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(13,110,253,0.06);
}

.about-section1__panelTitle{
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 900;
  color: var(--text);
}

.about-section1__panelText{
  margin: 0;
  color: rgba(15,23,42,0.86);
  line-height: 1.7;
  font-size: 14.8px;
}

/* Notice */
.about-section1__notice{
  margin-top: 14px;
  padding: 14px;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(245,158,11,0.35);
  background: rgba(245,158,11,0.10);
  color: rgba(15,23,42,0.90);
  line-height: 1.75;
  font-size: 14.8px;
}

/* Links */
.about-section1__links{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.about-section1__link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(13,110,253,0.10);
  border: 1px solid rgba(13,110,253,0.25);
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
  transition: 0.2s ease;
  text-decoration: none;
}

.about-section1__link:hover{
  background: rgba(13,110,253,0.18);
  transform: translateY(-1px);
}

/* Bottom images */
.about-section1__bottomImages{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-section1__imgCard{
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 10px 22px rgba(0,0,0,0.07);
  transform: translateZ(0);
}

.about-section1__imgCard img{
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform .35s ease;
  display: block;
}

.about-section1__imgCard:hover img{
  transform: scale(1.06);
}

/* Right image */
.about-section1__right{
  position: sticky;
  top: 110px;
}

.about-section1__doctorWrap{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #f8fafc;

  display: grid;
  place-items: center;
  padding: 14px;
}

.about-section1__doctorImg{
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

/* Responsive */
@media (max-width: 992px){
  .about-section1__container{
    grid-template-columns: 1fr;
  }

  .about-section1__right{
    position: static;
    top: auto;
  }

  .about-section1__doctorWrap{
    padding: 12px;
  }

  .about-section1__doctorImg{
    max-height: 420px;
  }
}

@media (max-width: 600px){
  .about-section1{
    padding: 50px 0;
  }

  .about-section1__card{
    padding: 20px;
  }

  .about-section1__bottomImages{
    grid-template-columns: 1fr;
  }

  .about-section1__imgCard img{
    height: 200px;
  }
}


/* Container and General Styles */
/* Base Styles */
.about-certificate {
  background: #f8fafc;
  padding: 60px 0;
}

.about-certificate__container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
}

.about-certificate__head {
  text-align: center;
  margin-bottom: 40px;
}

.about-certificate__eyebrow {
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: 1.6px;
  font-weight: 800;
  text-transform: uppercase;
  color: #6366f1;
}

.about-certificate__title {
  margin: 0 0 10px;
  font-weight: 900;
  color: #111827;
  font-size: clamp(24px, 2.5vw, 36px);
}

.about-certificate__sub {
  margin: 0;
  color: rgba(15, 23, 42, 0.72);
  line-height: 1.65;
}

/* Certifications Grid */
.about-certificate__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 18px;
}

.about-certificate__card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transition: 0.2s ease;
  min-height: 260px;
}

.about-certificate__card:hover {
  transform: translateY(-3px);
}

.about-certificate__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.about-certificate__badge {
  font-weight: 800;
  font-size: 12px;
  color: #fff;
  padding: 7px 12px;
  border-radius: 999px;
  background: #3490dc;
}

.about-certificate__cardTitle {
  margin: 8px 0 10px;
  font-weight: 900;
  color: #1f2937;
  font-size: 18px;
}

.about-certificate__text {
  margin: 0 0 10px;
  color: rgba(15, 23, 42, 0.78);
  line-height: 1.65;
  font-size: 14px;
}

/* Buttons - Open and Close Modal */
.about-certificate__magBtn,
.about-certificate__closeBtn,
.about-certificate__openFull {
  padding: 10px 20px;
  background: linear-gradient(135deg, #00f5ff 0%, #0066ff 100%);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about-certificate__magBtn:hover,
.about-certificate__closeBtn:hover,
.about-certificate__openFull:hover {
  background-color: #4f46e5;
}

/* Magazine Box */
.about-certificate__mag {
  background: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Navigation Arrows */
.about-certificate__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.55);
  color: #fff;
  font-size: 34px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  border: none;
}

.about-certificate__nav--prev {
  left: 12px;
}

.about-certificate__nav--next {
  right: 12px;
}

.about-certificate__nav:hover {
  background: rgba(2, 6, 23, 0.7);
}

/* Responsive Design */

/* Tablet */
@media (max-width: 768px) {
  .about-certificate__grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-certificate__mag {
    flex-direction: column;
    max-width: 90%;
    margin-top: 30px;
  }

  .about-certificate__magBtn {
    margin-top: 10px;
    padding: 8px 16px;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .about-certificate__grid {
    grid-template-columns: 1fr;
  }

  .about-certificate__mag {
    max-width: 95%;
    margin-top: 20px;
  }

  .about-certificate__magBtn {
    margin-top: 10px;
    padding: 6px 14px;
  }
}
