/* ==================================================
   WHY CHOOSE PAGE - COMMON + HERO SECTION
================================================== */

:root {
  --why-primary: #1769f5;
  --why-primary-dark: #08295c;
  --why-heading: #09275a;
  --why-text: #4b5563;
  --why-light: #f3f8ff;
  --why-white: #ffffff;
  --why-border: #e4ecf7;
  --why-shadow: 0 18px 45px rgba(9, 39, 90, 0.08);
}

body.why-page {
  margin: 0;
  background: #ffffff;
  color: var(--why-text);
  font-family: "Poppins", Arial, sans-serif;
}

.why-page .main {
  overflow: hidden;
}

.why-page img {
  max-width: 100%;
  display: block;
}

.why-page a {
  text-decoration: none;
}

/* ===============================
   HERO SECTION
================================ */

.why-hero {
  position: relative;
  padding: 58px 0 62px;
  background:
    radial-gradient(circle at 18% 25%, rgba(23, 105, 245, 0.10), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #edf6ff 55%, #eaf7ff 100%);
  overflow: hidden;
}

.why-hero::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  right: 10%;
  top: 42%;
  border-radius: 50%;
  background: #6a9df7;
  animation: whyFloat 3s ease-in-out infinite;
}

.why-hero::after {
  content: "";
  position: absolute;
  width: 78px;
  height: 4px;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: linear-gradient(90deg, var(--why-primary), #09bde8);
}

.why-hero .container {
  position: relative;
  z-index: 2;
}

.why-hero h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--why-heading);
  letter-spacing: -0.8px;
}

.why-hero p {
  max-width: 1020px;
  margin: 16px auto 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.75;
  color: #566274;
}

/* reveal animation common */

.why-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.why-reveal.why-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes whyFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* ===============================
   HERO RESPONSIVE
================================ */

@media (max-width: 991px) {
  .why-hero {
    padding: 50px 0 56px;
  }

  .why-hero p {
    font-size: 15.5px;
  }
}

@media (max-width: 575px) {
  .why-hero {
    padding: 42px 0 50px;
  }

  .why-hero h1 {
    font-size: 29px;
  }

  .why-hero p {
    font-size: 14.5px;
    line-height: 1.65;
  }

  .why-hero::after {
    bottom: 26px;
    width: 62px;
  }
}





/*=========================================
        MEDICAL EXPERTS SECTION
=========================================*/

.medical-experts-section {
  width: 100%;
  padding: 45px 20px 60px;
  background: linear-gradient(
    180deg,
    #f4f9ff 0%,
    #ffffff 100%
  );
  font-family: "Poppins", sans-serif;
  overflow: hidden;
}


/*=========================================
        MAIN HEADING
=========================================*/

.main-title {
  margin: 0 0 12px;
  text-align: center;
  font-size: 46px;
  line-height: 1.2;
  color: #062b68;
  font-weight: 800;
}

.title-line {
  width: 58px;
  height: 3px;
  margin: 0 auto 30px;
  background: #0b63d9;
}


/*=========================================
        ALL EXPERT CONTAINERS
=========================================*/

.experts-container {
  width: 100%;
  max-width: 1245px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: 35px;
}


/*=========================================
        SINGLE EXPERT CARD
=========================================*/

.expert-card {
  width: 100%;
  min-height: 430px;

  display: grid;
  grid-template-columns: 435px minmax(0, 1fr);
  align-items: center;
  gap: 68px;

  padding: 28px 62px 28px 110px;

  background: #ffffff;
  border: 1px solid rgba(20, 97, 190, 0.08);
  border-radius: 20px;

  box-shadow: 0 10px 35px rgba(13, 73, 145, 0.13);
}


/* Second card layout */

.reverse-card {
  grid-template-columns: minmax(0, 1fr) 435px;
  padding: 28px 110px 28px 92px;
}


/*=========================================
        IMAGE AREA
=========================================*/

.expert-image-box {
  position: relative;
  width: 435px;
  height: 378px;
}

.expert-image-box img {
  position: relative;
  z-index: 2;

  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  border: 2px solid #1d73d8;
  border-radius: 22px;

  box-shadow: 0 10px 28px rgba(0, 56, 130, 0.18);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.expert-card:hover .expert-image-box img {
  transform: scale(1.02);
  box-shadow: 0 14px 35px rgba(0, 56, 130, 0.22);
}


/*=========================================
        DOTTED DESIGN
=========================================*/

.dot-shape {
  position: absolute;
  z-index: 1;

  top: -5px;
  left: -65px;

  width: 145px;
  height: 155px;

  background-image: radial-gradient(
    #b8d7ff 3px,
    transparent 3px
  );

  background-size: 17px 17px;
}

.right-dots {
  top: -10px;
  right: -50px;
  left: auto;
}


/*=========================================
        EXPERIENCE CIRCLE
=========================================*/

.experience-circle {
  position: absolute;
  z-index: 4;

  top: 145px;
  left: -52px;

  width: 124px;
  height: 124px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 8px;

  text-align: center;
  background: #ffffff;

  border: 5px solid #d6e7ff;
  border-radius: 50%;

  box-shadow: 0 8px 26px rgba(0, 90, 210, 0.22);
}

.experience-circle h3 {
  margin: 0;

  color: #0866df;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
}

.experience-circle p {
  margin: 6px 0 0;

  color: #0754b4;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}


/* Assistant professor circle */

.professor-circle {
  top: 165px;
  right: -60px;
  left: auto;
}

.professor-circle i {
  margin-bottom: 8px;
  color: #0866df;
  font-size: 30px;
}


/*=========================================
        CONTENT AREA
=========================================*/

.expert-content {
  width: 100%;
  min-width: 0;
}

.expert-content > h3 {
  margin: 0 0 8px;

  color: #052b67;
  font-size: 38px;
  line-height: 1.25;
  font-weight: 800;
}


/*=========================================
        DEGREE TEXT
=========================================*/

.degree {
  margin: 0 0 18px;

  color: #545b6d;
  font-size: 15.8px;
  line-height: 1.55;
  font-weight: 500;
}


/*=========================================
        SPECIALIZATION TAGS
=========================================*/

.special-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-bottom: 15px;
}

.special-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 9px 16px;

  color: #0758bd;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 500;

  background: #f8fbff;
  border: 1px solid #dce9fb;
  border-radius: 13px;

  box-shadow: 0 3px 12px rgba(8, 90, 190, 0.08);

  transition:
    color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.special-tags span i {
  flex-shrink: 0;
}

.special-tags span:hover {
  color: #ffffff;
  background: #0b66e4;

  transform: translateY(-3px);
  box-shadow: 0 7px 16px rgba(8, 90, 190, 0.18);
}


/*=========================================
        EXPERT INFORMATION
=========================================*/

.expert-info {
  width: 100%;
}

.expert-info p {
  position: relative;

  display: flex;
  align-items: flex-start;
  gap: 10px;

  margin: 8px 0;

  color: #4e5669;
  font-size: 15.5px;
  line-height: 1.55;
  font-weight: 500;
}

.expert-info p > i {
  flex: 0 0 18px;

  margin-top: 4px;

  color: #0867df;
  font-size: 17px;
  text-align: center;
}

.expert-info p > span {
  display: block;
  min-width: 0;
}

.expert-info strong {
  color: #3b4150;
  font-weight: 800;
}


/*=========================================
        BUTTONS
=========================================*/

.expert-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;

  margin-top: 18px;
}

.expert-buttons a {
  min-width: 220px;
  height: 42px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;

  padding: 0 20px;

  border-radius: 6px;

  font-size: 14.5px;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;

  transition:
    color 0.35s ease,
    background 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(
    90deg,
    #0769e8,
    #005bd3
  );

  border: 1.5px solid transparent;
}

.btn-outline {
  color: #0758bd;
  background: #ffffff;
  border: 1.5px solid #0758bd;
}

.btn-primary:hover,
.btn-outline:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 91, 211, 0.18);
}

.btn-outline:hover {
  color: #ffffff;
  background: #0758bd;
}


/*=========================================
        LARGE LAPTOP RESPONSIVE
=========================================*/

@media (max-width: 1200px) {

  .experts-container {
    max-width: 1100px;
  }

  .expert-card {
    grid-template-columns: 390px minmax(0, 1fr);
    gap: 50px;
    padding: 28px 55px 28px 85px;
  }

  .reverse-card {
    grid-template-columns: minmax(0, 1fr) 390px;
    padding: 28px 85px 28px 55px;
  }

  .expert-image-box {
    width: 390px;
    height: 350px;
  }

  .expert-content > h3 {
    font-size: 35px;
  }

  .special-tags span {
    padding: 8px 13px;
    font-size: 14px;
  }

  .expert-buttons {
    gap: 12px;
  }

  .expert-buttons a {
    min-width: 190px;
  }

}


/*=========================================
        TABLET RESPONSIVE
=========================================*/

@media (max-width: 991px) {

  .medical-experts-section {
    padding: 40px 20px 50px;
  }

  .main-title {
    font-size: 38px;
  }

  .title-line {
    margin-bottom: 25px;
  }

  .experts-container {
    max-width: 720px;
    gap: 30px;
  }

  .expert-card,
  .reverse-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;

    min-height: auto;
    padding: 35px 45px 40px;

    text-align: center;
  }

  .expert-image-box {
    width: 100%;
    max-width: 480px;
    height: 390px;

    margin: 0 auto;
  }

  /* First card image upar */

  .expert-card .expert-image-box {
    grid-row: 1;
  }

  .expert-card .expert-content {
    grid-row: 2;
  }

  /* Second card image bhi upar */

  .reverse-card .expert-image-box {
    grid-row: 1;
  }

  .reverse-card .expert-content {
    grid-row: 2;
  }

  .expert-content > h3 {
    font-size: 34px;
  }

  .special-tags {
    justify-content: center;
  }

  .expert-info {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
  }

  .expert-buttons {
    justify-content: center;
  }

  .experience-circle {
    left: -28px;
  }

  .professor-circle {
    right: -28px;
    left: auto;
  }

  .dot-shape {
    left: -40px;
  }

  .right-dots {
    right: -40px;
    left: auto;
  }

}


/*=========================================
        SMALL TABLET RESPONSIVE
=========================================*/

@media (max-width: 767px) {

  .medical-experts-section {
    padding: 35px 15px 45px;
  }

  .main-title {
    font-size: 34px;
  }

  .experts-container {
    gap: 25px;
  }

  .expert-card,
  .reverse-card {
    padding: 28px 28px 35px;
    border-radius: 17px;
  }

  .expert-image-box {
    max-width: 430px;
    height: 340px;
  }

  .expert-content > h3 {
    font-size: 31px;
  }

  .degree {
    font-size: 15px;
  }

  .special-tags {
    gap: 9px;
  }

  .special-tags span {
    padding: 8px 12px;
    font-size: 13.5px;
  }

  .expert-info p {
    font-size: 14.5px;
  }

  .expert-buttons a {
    min-width: 185px;
  }

  .experience-circle {
    top: 125px;

    width: 110px;
    height: 110px;
  }

  .professor-circle {
    top: 145px;
  }

  .experience-circle h3 {
    font-size: 30px;
  }

  .experience-circle p {
    font-size: 12.5px;
  }

  .professor-circle i {
    font-size: 26px;
  }

}


/*=========================================
        MOBILE RESPONSIVE
=========================================*/

@media (max-width: 576px) {

  .medical-experts-section {
    padding: 30px 12px 40px;
  }

  .main-title {
    margin-bottom: 10px;
    font-size: 29px;
  }

  .title-line {
    width: 52px;
    margin-bottom: 22px;
  }

  .experts-container {
    gap: 22px;
  }

  .expert-card,
  .reverse-card {
    gap: 22px;

    padding: 20px 14px 28px;

    border-radius: 15px;
  }

  .expert-image-box {
    width: calc(100% - 16px);
    height: 285px;
  }

  .expert-image-box img {
    border-radius: 17px;
  }

  .dot-shape {
    top: -8px;
    left: -16px;

    width: 90px;
    height: 110px;

    background-size: 14px 14px;
    background-image: radial-gradient(
      #b8d7ff 2.5px,
      transparent 2.5px
    );
  }

  .right-dots {
    right: -16px;
    left: auto;
  }

  .experience-circle {
    top: 105px;
    left: -12px;

    width: 94px;
    height: 94px;

    border-width: 4px;
  }

  .professor-circle {
    top: 115px;
    right: -12px;
    left: auto;
  }

  .experience-circle h3 {
    font-size: 25px;
  }

  .experience-circle p {
    margin-top: 4px;
    font-size: 10.5px;
    line-height: 1.25;
  }

  .professor-circle i {
    margin-bottom: 4px;
    font-size: 23px;
  }

  .expert-content > h3 {
    font-size: 27px;
  }

  .degree {
    margin-bottom: 15px;
    font-size: 13.8px;
    line-height: 1.6;
  }

  .special-tags {
    justify-content: center;
    gap: 8px;
  }

  .special-tags span {
    gap: 7px;

    padding: 8px 10px;

    border-radius: 10px;

    font-size: 12.3px;
  }

  .expert-info {
    width: 100%;
  }

  .expert-info p {
    gap: 8px;

    margin: 9px 0;

    font-size: 13.5px;
    line-height: 1.55;
  }

  .expert-info p > i {
    flex-basis: 16px;
    font-size: 15px;
  }

  .expert-buttons {
    flex-direction: column;
    gap: 11px;

    width: 100%;
    margin-top: 17px;
  }

  .expert-buttons a {
    width: 100%;
    min-width: 0;
    height: 44px;

    font-size: 13.5px;
  }

}


/*=========================================
        VERY SMALL MOBILE
=========================================*/

@media (max-width: 390px) {

  .medical-experts-section {
    padding-right: 9px;
    padding-left: 9px;
  }

  .main-title {
    font-size: 26px;
  }

  .expert-card,
  .reverse-card {
    padding: 16px 10px 24px;
  }

  .expert-image-box {
    width: calc(100% - 12px);
    height: 245px;
  }

  .experience-circle {
    top: 87px;
    left: -8px;

    width: 84px;
    height: 84px;
  }

  .professor-circle {
    top: 95px;
    right: -8px;
    left: auto;
  }

  .experience-circle h3 {
    font-size: 22px;
  }

  .experience-circle p {
    font-size: 9.5px;
  }

  .professor-circle i {
    font-size: 20px;
  }

  .expert-content > h3 {
    font-size: 24px;
  }

  .degree {
    font-size: 13px;
  }

  .special-tags span {
    font-size: 11.5px;
  }

  .expert-info p {
    font-size: 12.8px;
  }

}