@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --navy: #0b1f3a;
  --blue: #1769ff;
  --mint: #ecfbf7;
  --gold: #d7aa4d;
  --ink: #172033;
  --muted: #64748b;
  --line: #e5eaf1
}

html {
  scroll-behavior: smooth
}

body {
  font-family: Poppins, sans-serif;
  color: var(--ink);
}

.font-display {
  font-family: Poppins, sans-serif;
}

.gradient-text {
  background: linear-gradient(90deg, #1769ff, #159477);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.hero-grid {
  background-image: linear-gradient(rgba(23, 105, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 105, 255, .05) 1px, transparent 1px);
  background-size: 42px 42px
}

.glass {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px)
}

.photo-frame {
  box-shadow: 0 25px 80px rgba(23, 105, 255, .15)
}

.section-pad {
  padding: 90px 0
}

.number-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 1.5rem
}

.lift {
  transition: transform .25s ease, box-shadow .25s ease
}

.lift:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 55px rgba(11, 31, 58, .12)
}

.footer-link {
  color: #a9b8cb
}

.footer-link:hover {
  color: #fff
}

.nav-active {
  color: #1769ff !important
}

@media(max-width:767px) {
  .section-pad {
    padding: 65px 0
  }
}

/*---------------------------------------------------------------mani menu-----------------------------------------------------------------------------------*/

/* ---------------------------------------------
       HEADER
    --------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.header-container {
  width: min(100% - 40px, 1280px);
  min-height: 80px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}


/* ---------------------------------------------
       LOGO
    --------------------------------------------- */

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;

  flex-shrink: 0;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  border-radius: 14px;

  background: #eff6ff;
  color: #1d4ed8;

  font-size: 16px;
  font-weight: 800;
}

.logo-text {
  display: block;
}

.logo-text strong {
  display: block;

  color: #0f172a;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
}

.logo-text small {
  display: block;
  margin-top: 4px;

  color: #64748b;

  font-size: 9px;
  line-height: 1.2;
  font-weight: 700;

  letter-spacing: 0.16em;
  text-transform: uppercase;
}


/* ---------------------------------------------
       DESKTOP NAVIGATION
    --------------------------------------------- */

.main-navigation {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
}

.nav-link {
  position: relative;

  display: inline-flex;
  align-items: center;

  color: #475569;

  font-size: 14px;
  line-height: 1;
  font-weight: 600;

  text-decoration: none;

  white-space: nowrap;

  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #2563eb;
}

.nav-text-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: Poppins, sans-serif;
}


/* ---------------------------------------------
       DROPDOWN
    --------------------------------------------- */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-header {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-toggle {
  width: 24px;
  height: 28px;

  display: grid;
  place-items: center;

  padding: 0;
  border: 0;
  background: transparent;

  color: #64748b;

  cursor: pointer;
}

.dropdown-toggle svg {
  width: 15px;
  height: 15px;

  fill: none;
  stroke: currentColor;
  stroke-width: 2;

  transition: transform 0.2s ease;
}

.nav-dropdown.open .dropdown-toggle svg {
  transform: rotate(180deg);
}


/* Desktop dropdown */

.dropdown-menu {
  position: absolute;

  top: calc(100% + 10px);
  left: 0;

  width: 230px;

  padding: 8px;

  background: #ffffff;

  border: 1px solid #e2e8f0;
  border-radius: 14px;

  box-shadow:
    0 20px 40px rgba(15, 23, 42, 0.12);

  opacity: 0;
  visibility: hidden;

  transform: translateY(8px);

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

/* Desktop hover */

@media (min-width: 992px) {

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

}

.dropdown-menu a {
  display: block;

  padding: 11px 14px;

  border-radius: 9px;

  color: #475569;

  font-size: 14px;
  font-weight: 500;

  text-decoration: none;

  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.dropdown-menu a:hover {
  color: #2563eb;
  background: #eff6ff;
}


/* ---------------------------------------------
       APPOINTMENT BUTTON
    --------------------------------------------- */

.appointment-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;

  padding: 0 20px;

  border-radius: 12px;

  background: #2563eb;
  color: #ffffff;

  font-size: 14px;
  font-weight: 700;

  text-decoration: none;
  white-space: nowrap;

  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.appointment-button:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  color: #ffffff;
}


/* ---------------------------------------------
       MOBILE MENU BUTTON
    --------------------------------------------- */

.mobile-menu-toggle {
  display: none;

  width: 44px;
  height: 44px;

  padding: 0;

  border: 1px solid #e2e8f0;
  border-radius: 12px;

  background: #ffffff;

  cursor: pointer;

  flex-shrink: 0;
}

.mobile-menu-toggle span {
  display: block;

  width: 20px;
  height: 2px;

  margin: 4px auto;

  background: #0f172a;

  border-radius: 2px;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}


/* =================================================
       TABLET
       ================================================= */

@media (max-width: 1100px) {

  .header-container {
    width: min(100% - 30px, 1280px);
  }

  .nav-inner {
    gap: 16px;
  }

  .nav-link {
    font-size: 13px;
  }

  .appointment-button {
    padding: 0 15px;
    font-size: 13px;
  }

  .logo-text strong {
    font-size: 16px;
  }

  .logo-text small {
    font-size: 8px;
  }
}


/* =================================================
       TABLET + MOBILE
       ================================================= */

@media (max-width: 991px) {

  .header-container {
    min-height: 72px;
  }

  /* Show hamburger */

  .mobile-menu-toggle {
    display: block;
  }

  /* Navigation becomes mobile panel */

  .main-navigation {
    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    display: block;

    width: 100%;

    max-height: 0;
    overflow: hidden;

    background: #ffffff;

    border-bottom: 1px solid #e2e8f0;

    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);

    opacity: 0;
    visibility: hidden;

    transition:
      max-height 0.3s ease,
      opacity 0.25s ease,
      visibility 0.25s ease;
  }

  .main-navigation.open {
    max-height: calc(100vh - 72px);

    opacity: 1;
    visibility: visible;

    overflow-y: auto;
  }

  .nav-inner {
    width: min(100% - 30px, 720px);

    margin: 0 auto;

    padding: 15px 0 20px;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 0;
  }

  /* Normal links */

  .nav-link {
    display: flex;
    align-items: center;

    width: 100%;

    min-height: 48px;

    padding: 12px 5px;

    font-size: 15px;
  }

  /* Dropdown */

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-header {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-dropdown-header .nav-link {
    flex: 1;
  }

  .dropdown-toggle {
    width: 48px;
    height: 48px;

    border-radius: 10px;
  }

  .dropdown-toggle:hover {
    background: #eff6ff;
    color: #2563eb;
  }

  /* Mobile dropdown */

  .dropdown-menu {
    position: static;

    width: 100%;

    padding: 0 0 5px 15px;

    border: 0;

    border-radius: 0;

    box-shadow: none;

    background: #f8fafc;

    opacity: 1;
    visibility: visible;

    transform: none;

    display: none;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    padding: 11px 15px;

    font-size: 14px;
  }

  /* Appointment */

  .appointment-button {
    width: 100%;

    margin-top: 12px;

    min-height: 50px;
  }
}


/* =================================================
       SMALL MOBILE
       ================================================= */

@media (max-width: 575px) {

  .header-container {
    width: calc(100% - 24px);
    min-height: 68px;
  }

  .logo-icon {
    width: 40px;
    height: 40px;

    border-radius: 12px;
  }

  .logo-text strong {
    font-size: 15px;
  }

  .logo-text small {
    max-width: 190px;

    font-size: 7px;
    letter-spacing: 0.11em;
  }

  .mobile-menu-toggle {
    width: 42px;
    height: 42px;
  }

  .nav-inner {
    width: calc(100% - 24px);
  }
}


/* =================================================
       VERY SMALL DEVICES
       ================================================= */

@media (max-width: 380px) {

  .logo-text small {
    display: none;
  }

  .logo-text strong {
    font-size: 14px;
  }
}


/* Prevent body scrolling when menu is open */

body.menu-open {
  overflow: hidden;
}


/*------------------------------Banner ------------------------------------------------------------------------------*/
/* =================================================
   FULL BACKGROUND HERO SLIDER
================================================== */

.hero-slider {
  min-height: 750px;
  background: #0f172a;
}

.hero-slides {
  position: relative;
  min-height: 750px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  min-height: 650px;

  background-size: cover;
  background-position: center;

  opacity: 0;
  visibility: hidden;

  transform: scale(1.05);

  transition:
    opacity 1s ease,
    visibility 1s ease,
    transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;

  /*background:
    linear-gradient(90deg,
      rgba(2, 6, 23, 0.88) 0%,
      rgba(2, 6, 23, 0.65) 45%,
      rgba(2, 6, 23, 0.25) 100%); */
}

/* Small badge */
.hero-badge {
  display: inline-flex;
  max-width: 100%;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .12);
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: white;
  backdrop-filter: blur(12px);
}

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 20;

  display: grid;
  height: 48px;
  width: 48px;
  place-items: center;

  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .15);
  color: white;

  transform: translateY(-50%);
  backdrop-filter: blur(12px);

  transition: all .3s ease;
}

.hero-arrow:hover {
  background: #2563eb;
  border-color: #2563eb;
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

/* Dots */
.hero-dot {
  height: 10px;
  width: 10px;

  border-radius: 9999px;
  background: rgba(255, 255, 255, .45);

  transition: all .3s ease;
}

.hero-dot.active {
  width: 32px;
  background: #3b82f6;
}

/* Mobile */
@media (max-width: 640px) {

  .hero-slider,
  .hero-slides,
  .hero-slide {
    min-height: 620px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(2, 6, 23, 0.45) 0%,
        rgba(2, 6, 23, 0.85) 100%);
  }

  .hero-prev {
    left: 12px;
  }

  .hero-next {
    right: 12px;
  }

  .hero-arrow {
    height: 40px;
    width: 40px;
  }

}

------------------------------------------Services for home page ------------------------------------------------------ .bg-slate-white {
  background-color: #fff !important;
}

/* ========================================
       ABOUT SECTION
    ======================================== */

.about-section {
  width: 100%;
  padding: 30px 20px 95px;
  background: #ffffff;
  overflow: hidden;
}

/* ========================================
       HEADING
    ======================================== */

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading h2 {
  font-size: 40px;
  font-weight: 700;
  color: #666666;
  letter-spacing: 1px;
  margin-bottom: 28px;

  opacity: 0;
  animation: headingFade 1s ease forwards;
}

.heading-arrow {
  width: 24px;
  height: 24px;
  margin: 0 auto 25px;
  display: flex;
  justify-content: center;
  align-items: center;

  animation: arrowBounce 1.8s ease-in-out infinite;
}

.heading-arrow span {
  display: block;
  width: 11px;
  height: 11px;
  border-right: 2px solid #666666;
  border-bottom: 2px solid #666666;
  transform: rotate(45deg);
}

.heading-line {
  width: 165px;
  height: 1px;
  background: #e5e5e5;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.heading-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: #55a6cf;
  transform: translateX(-50%);

  animation: lineGrow 1.2s ease forwards;
  animation-delay: .4s;
}

/* ========================================
       CARDS CONTAINER
    ======================================== */

.about-container {
  max-width: 1220px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}


/* ========================================
   CLICKABLE BUTTON
======================================== */

.prakash-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 10px;
  text-decoration: none;
  border: 1px solid #2563eb;
  color: #0d3ca1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  overflow: hidden;
  transition:
    color .4s ease,
    border-color .4s ease;
}

/* Button background */

.prakash-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #2563eb;
  transform: translateX(-101%);
  transition:
    transform .5s cubic-bezier(.2, .8, .2, 1);
}

.prakash-button:hover::before {
  transform: translateX(0);
}


.prakash-button span,
.prakash-button i {
  position: relative;
  z-index: 2;
}


.prakash-button i {
  display: flex;
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #2563eb;

  color: #fff;

  font-style: normal;

  font-size: 16px;

  transition:
    transform .5s ease,
    background .4s ease;
}


.prakash-button:hover {
  color: #fff;

  border-color: #2563eb;
}


.prakash-button:hover i {
  background: #fff;

  color: #2563eb;

  transform: translateX(5px);
}




/* ========================================
       CARD
    ======================================== */

.about-card {
  background: #f8f8f8;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  min-height: 420px;
  padding: 20px 15px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;

  opacity: 0;
  transform: translateY(45px);

  animation: cardReveal .8s ease forwards;

  transition:
    transform .4s ease,
    box-shadow .4s ease;
}

/* Staggered entrance */

.about-card:nth-child(1) {
  animation-delay: .2s;
}

.about-card:nth-child(2) {
  animation-delay: .4s;
}

.about-card:nth-child(3) {
  animation-delay: .6s;
}

.about-card:nth-child(4) {
  animation-delay: .8s;
}

/* Top animated border */

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 3px;

  background: #55a6cf;

  transform: scaleX(0);
  transform-origin: center;

  transition: transform .4s ease;
}

.about-card:hover::before {
  transform: scaleX(1);
}

.about-card:hover {
  transform: translateY(-10px);

  box-shadow:
    0 18px 35px rgba(0, 0, 0, .08);
}

/* ========================================
       IMAGE BOX — RECTANGULAR
    ======================================== */

.image-box {
  width: 100%;
  height: 220px;

  margin: 0 auto 22px;

  border-radius: 12px;
  overflow: hidden;

  background: #ffffff;
  position: relative;

  box-shadow:
    0 5px 18px rgba(0, 0, 0, .06);

  transition:
    transform .5s ease,
    box-shadow .5s ease;
}

/* Image */

.image-box img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  display: block;

  transition:
    transform .7s ease,
    filter .5s ease;
}

/* ========================================
       IMAGE SHINE ANIMATION
    ======================================== */

.image-box::after {
  content: "";

  position: absolute;
  top: 0;
  left: -100%;

  width: 50%;
  height: 100%;

  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, .35),
      transparent);

  transform: skewX(-20deg);

  animation: imageShine 4s ease-in-out infinite;

  pointer-events: none;
}

/* ========================================
       IMAGE HOVER
    ======================================== */

.about-card:hover .image-box {
  transform: scale(1.03);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, .12);
}

.about-card:hover .image-box img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

/* ========================================
       TITLE
    ======================================== */

.card-title {
  display: block;
  min-height: 60px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 1px;
  text-underline-offset: 2px;
  margin-bottom: 14px;
  transition: color .3s ease;
}

.card-title:hover {
  color: #287fa8;
}

/* ========================================
       DESCRIPTION
    ======================================== */

.card-description {
  color: #777777;
  font-size: 14px;
  font-weight: 400;
  padding-bottom: 10px;
  line-height: 1.7;
  letter-spacing: .2px;
  margin: 0 auto;
  max-width: 260px;
}

/* ========================================
       KEYFRAME ANIMATIONS
    ======================================== */

@keyframes headingFade {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes arrowBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(7px);
  }
}

@keyframes lineGrow {
  from {
    width: 0;
  }

  to {
    width: 165px;
  }
}

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(45px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes imageShine {
  0% {
    left: -100%;
  }

  35% {
    left: 130%;
  }

  100% {
    left: 130%;
  }
}

/* ========================================
       RESPONSIVE DESIGN
    ======================================== */

@media (max-width: 1100px) {

  .about-container {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }

  .about-card {
    min-height: 420px;
  }

}

@media (max-width: 576px) {

  .about-section {
    padding: 25px 15px 60px;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .section-heading h2 {
    font-size: 25px;
    line-height: 1.3;
    margin-bottom: 22px;
  }

  .about-container {
    grid-template-columns: 1fr;
    max-width: 330px;
    gap: 25px;
  }

  .about-card {
    min-height: 420px;
    padding: 20px 15px 30px;
  }

  .image-box {
    height: 220px;
  }

  .card-title {
    font-size: 14px;
  }

  .card-description {
    font-size: 13px;
  }

}

/* ========================================
       REDUCED MOTION
    ======================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}

----------------------------------------------------------------------------------------------
/* ========================================
       SERVICES SECTION
    ======================================== */

.h_services-section {
  width: 100%;
  padding: 80px 20px;
  background: #ffffff !important;
  overflow: hidden;
}

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

/* ========================================
       HEADING
    ======================================== */

.h_section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.h_section-heading h2 {
  font-size: 40px;
  font-weight: 700;
  color: #5f5f5f;
  letter-spacing: 1px;
  margin-bottom: 20px;

  opacity: 0;
  animation: headingFade 1s ease forwards;
}

.heading-subtitle {
  font-size: 15px;
  color: #999999;
  line-height: 1.8;
  max-width: 550px;
  margin: 0 auto 25px;

  opacity: 0;
  animation: fadeUp .8s ease forwards;
  animation-delay: .2s;
}

.heading-line {
  width: 90px;
  height: 3px;
  background: linear-gradient(90deg,
      #7c3aed,
      #0ea5e9,
      #22c55e,
      #f59e0b);
  margin: 0 auto;
  border-radius: 10px;

  transform: scaleX(0);
  animation: lineGrow .8s ease forwards;
  animation-delay: .4s;
}

/* ========================================
       SERVICES GRID
    ======================================== */

.h_services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* ========================================
       SERVICE CARD
    ======================================== */

.h_service-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  padding: 35px 25px 30px;
  text-align: center;
  overflow: hidden;

  opacity: 0;
  transform: translateY(40px);

  animation: cardReveal .8s ease forwards;

  transition:
    transform .4s ease,
    box-shadow .4s ease,
    border-color .4s ease;
}

.h_service-card:nth-child(1) {
  animation-delay: .2s;
}

.h_service-card:nth-child(2) {
  animation-delay: .4s;
}

.h_service-card:nth-child(3) {
  animation-delay: .6s;
}

.h_service-card:nth-child(4) {
  animation-delay: .8s;
}

.h_service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .08);
}

/* Colored top line */

.h_service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;

  transform: scaleX(0);
  transform-origin: center;

  transition: transform .4s ease;
}

.h_service-card:hover::before {
  transform: scaleX(1);
}

/* ========================================
       ICON BOX
    ======================================== */

.h_service-icon {
  width: 75px;
  height: 75px;
  margin: 0 auto 25px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 18px;
  font-size: 34px;

  transition:
    transform .5s ease,
    border-radius .5s ease;
}

.h_service-card:hover .h_service-icon {
  transform: translateY(-5px) rotate(-5deg);
  border-radius: 50%;
}

/* ========================================
       TITLE
    ======================================== */

.h_service-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .5px;
  margin-bottom: 15px;
  color: #555555;
}

/* ========================================
       DESCRIPTION
    ======================================== */

.h_service-description {
  font-size: 14px;
  line-height: 1.8;
  color: #888888;
  margin-bottom: 25px;
}

/* ========================================
       ARROW BUTTON
    ======================================== */

.h_service-link {
  width: 38px;
  height: 38px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  text-decoration: none;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;

  transition:
    transform .4s ease,
    box-shadow .4s ease;
}

.h_service-card:hover .h_service-link {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, .15);
}

/* ========================================
       COLOR 1 — PURPLE
    ======================================== */

.h_service-card.purple::before {
  background: #7c3aed;
}

.h_service-card.purple .h_service-icon {
  background: #f3e8ff;
  color: #7c3aed;
}

.h_service-card.purple .h_service-link {
  background: #7c3aed;
}

.h_service-card.purple:hover {
  border-color: #d8b4fe;
}

/* ========================================
       COLOR 2 — BLUE
    ======================================== */

.h_service-card.blue::before {
  background: #0ea5e9;
}

.h_service-card.blue .h_service-icon {
  background: #e0f2fe;
  color: #0284c7;
}

.h_service-card.blue .h_service-link {
  background: #0ea5e9;
}

.h_service-card.blue:hover {
  border-color: #7dd3fc;
}

/* ========================================
       COLOR 3 — GREEN
    ======================================== */

.h_service-card.green::before {
  background: #22c55e;
}

.h_service-card.green .h_service-icon {
  background: #dcfce7;
  color: #16a34a;
}

.h_service-card.green .h_service-link {
  background: #22c55e;
}

.h_service-card.green:hover {
  border-color: #86efac;
}

/* ========================================
       COLOR 4 — ORANGE
    ======================================== */

.h_service-card.orange::before {
  background: #f59e0b;
}

.h_service-card.orange .h_service-icon {
  background: #fef3c7;
  color: #d97706;
}

.h_service-card.orange .h_service-link {
  background: #f59e0b;
}

.h_service-card.orange:hover {
  border-color: #fcd34d;
}

/* ========================================
       KEYFRAME ANIMATIONS
    ======================================== */

@keyframes headingFade {
  from {
    opacity: 0;
    transform: translateY(-25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineGrow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
       RESPONSIVE DESIGN
    ======================================== */

@media (max-width: 1100px) {

  .h_services-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 750px;
    margin: 0 auto;
  }

}

@media (max-width: 576px) {

  .h_services-section {
    padding: 55px 15px;
  }

  .h_section-heading {
    margin-bottom: 40px;
  }

  .h_section-heading h2 {
    font-size: 28px;
  }

  .h_heading-subtitle {
    font-size: 14px;
  }

  .h_services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .h_service-card {
    padding: 30px 25px;
  }

}

/* ========================================
       REDUCED MOTION
    ======================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}

/*-------------------------------------------------------------------------------------------------------------*/
/* ========================================
       INNOVATION SECTION
    ======================================== */

.innovation-section {
  width: 100%;
  padding: 100px 20px;
  background: #d9e0ff;
  overflow: hidden;
}

.innovation-container {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

/* ========================================
       LEFT CONTENT
    ======================================== */

.innovation-content {
  position: relative;
  z-index: 2;
}

.innovation-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .2em;

  color: #2563eb;
  margin-bottom: 22px;

  opacity: 0;
  animation: fadeUp .8s ease forwards;
}

.innovation-label::before {
  content: "";
  width: 35px;
  height: 3px;
  background: #f59e0b;
  border-radius: 10px;
}

.innovation-title {
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  color: #172033;
  margin-bottom: 25px;

  opacity: 0;
  animation: titleReveal 1s ease forwards;
  animation-delay: .2s;
}

.innovation-title span {
  color: #2563eb;
}

.innovation-description {
  max-width: 560px;
  font-size: 16px;
  line-height: 2;
  color: #6b7280;
  margin-bottom: 32px;

  opacity: 0;
  animation: fadeUp .9s ease forwards;
  animation-delay: .45s;
}

/* ========================================
       BUTTON
    ======================================== */

.innovation-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;

  padding: 15px 25px;
  border-radius: 8px;

  background: #172033;
  color: #ffffff;

  font-size: 14px;
  font-weight: 700;
  text-decoration: none;

  opacity: 0;
  animation: fadeUp .9s ease forwards;
  animation-delay: .65s;

  transition:
    transform .3s ease,
    background .3s ease,
    box-shadow .3s ease;
}

.innovation-button:hover {
  background: #7c3aed;
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(124, 58, 237, .2);
}

.innovation-button .arrow {
  font-size: 20px;
  transition: transform .3s ease;
}

.innovation-button:hover .arrow {
  transform: translateX(5px);
}

/* ========================================
       RIGHT INNOVATION PANEL
    ======================================== */

.innovation-visual {
  position: relative;
  min-height: 420px;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transform: translateX(40px);

  animation: visualReveal 1s ease forwards;
  animation-delay: .35s;
}

/* Main dark panel */

.innovation-panel {
  position: relative;
  width: 100%;
  max-width: 500px;
  min-height: 370px;
  padding: 45px;
  border-radius: 24px;
  background: #1d3468;
  overflow: hidden;

  box-shadow:
    0 25px 60px rgba(23, 32, 51, .15);
}

/* Purple glow */

.innovation-panel::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;

  width: 280px;
  height: 280px;

  border-radius: 50%;
  background: #2563eb;
  opacity: .35;
  filter: blur(20px);

  animation: glowPulse 5s ease-in-out infinite;
}

/* Orange glow */

.innovation-panel::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -100px;

  width: 250px;
  height: 250px;

  border-radius: 50%;
  background: #f59e0b;
  opacity: .2;
  filter: blur(20px);

  animation: glowPulse 6s ease-in-out infinite reverse;
}

/* ========================================
       PANEL CONTENT
    ======================================== */

.panel-content {
  position: relative;
  z-index: 2;
}

.panel-small-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #c4b5fd;
  margin-bottom: 20px;
}

.panel-main-title {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.panel-main-title span {
  color: #fbbf24;
}

.panel-text {
  font-size: 14px;
  line-height: 1.8;
  color: #cbd5e1;
  max-width: 330px;
}

/* ========================================
       MK BADGE
    ======================================== */

.mk-badge {
  position: absolute;
  top: 35px;
  right: 35px;
  width: 90px;
  height: 90px;
  border: 2px solid #fbbf24;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
  animation: badgeFloat 4s ease-in-out infinite;
}

.mk-badge::before {
  content: "";
  position: absolute;
  inset: 7px;

  border: 1px dashed rgba(251, 191, 36, .5);
  border-radius: 50%;

  animation: badgeRotate 12s linear infinite;
}

.mk-badge small {
  position: absolute;
  bottom: -25px;
  right: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
  color: #fbbf24;
  white-space: nowrap;
}

/* ========================================
       DECORATIVE LINES
    ======================================== */

.panel-lines {
  position: absolute;
  bottom: 35px;
  right: 35px;
  width: 170px;
  height: 90px;
  z-index: 1;
}

.panel-lines span {
  position: absolute;
  display: block;

  height: 2px;
  border-radius: 10px;

  background: #7c3aed;

  animation: lineSlide 3s ease-in-out infinite;
}

.panel-lines span:nth-child(1) {
  width: 130px;
  top: 0;
  right: 0;
}

.panel-lines span:nth-child(2) {
  width: 100px;
  top: 20px;
  right: 30px;
  background: #f59e0b;
  animation-delay: .2s;
}

.panel-lines span:nth-child(3) {
  width: 70px;
  top: 40px;
  right: 0;
  background: #c4b5fd;
  animation-delay: .4s;
}

.panel-lines span:nth-child(4) {
  width: 45px;
  top: 60px;
  right: 40px;
  background: #fbbf24;
  animation-delay: .6s;
}

/* ========================================
       SMALL LABEL
    ======================================== */

.innovation-note {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-top: 35px;

  font-size: 12px;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: .05em;
}

.innovation-note span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  animation: dotPulse 2s ease-in-out infinite;
}

/* ========================================
       ANIMATIONS
    ======================================== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleReveal {
  from {
    opacity: 0;
    transform: translateY(35px) scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes visualReveal {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glowPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: .25;
  }

  50% {
    transform: scale(1.2);
    opacity: .4;
  }
}

@keyframes badgeFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes badgeRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes lineSlide {

  0%,
  100% {
    transform: translateX(0);
    opacity: .7;
  }

  50% {
    transform: translateX(-15px);
    opacity: 1;
  }
}

@keyframes dotPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: .6;
  }

  50% {
    transform: scale(1.5);
    opacity: 1;
  }
}

/* ========================================
       RESPONSIVE
    ======================================== */

@media (max-width: 900px) {

  .innovation-container {
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 650px;
  }

  .innovation-content {
    text-align: center;
  }

  .innovation-description {
    margin-left: auto;
    margin-right: auto;
  }

  .innovation-label {
    justify-content: center;
  }

  .innovation-note {
    justify-content: center;
  }

  .innovation-visual {
    min-height: 350px;
  }

}

@media (max-width: 576px) {

  .innovation-section {
    padding: 65px 20px;
  }

  .innovation-title {
    font-size: 42px;
  }

  .innovation-description {
    font-size: 14px;
    line-height: 1.8;
  }

  .innovation-panel {
    min-height: 330px;
    padding: 30px;
    border-radius: 20px;
  }

  .panel-main-title {
    font-size: 32px;
  }

  .mk-badge {
    width: 70px;
    height: 70px;
    top: 25px;
    right: 25px;
    font-size: 24px;
  }

  .panel-small-title {
    font-size: 10px;
  }

  .panel-text {
    font-size: 13px;
    max-width: 220px;
  }

  .panel-lines {
    bottom: 25px;
    right: 25px;
  }

}

/* ========================================
       REDUCED MOTION
    ======================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}

/*------------------------------home buttom----------------------------------------------- */
/* ========================================
       CTA SECTION
    ======================================== */

.consultation-section {
  width: 100%;
  padding: 80px 20px;
  background: #ffffff;
  overflow: hidden;
}

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

/* ========================================
       CTA BOX
    ======================================== */

.consultation-box {
  position: relative;

  padding: 55px 60px;
  border-radius: 32px;

  background: #1749b7;
  color: #ffffff;

  overflow: hidden;

  opacity: 0;
  transform: translateY(35px);

  animation: boxReveal 1s ease forwards;

  box-shadow:
    0 20px 50px rgba(11, 31, 58, .12);
}

/* Decorative glow */

.consultation-box::before {
  content: "";
  position: absolute;

  width: 300px;
  height: 300px;

  top: -150px;
  right: -100px;

  border-radius: 50%;

  background: #2563eb;
  opacity: .12;

  animation: glowFloat 8s ease-in-out infinite;
}

.consultation-box::after {
  content: "";
  position: absolute;

  width: 200px;
  height: 200px;

  bottom: -120px;
  left: 25%;

  border-radius: 50%;

  background: #60a5fa;
  opacity: .08;

  animation: glowFloat 10s ease-in-out infinite reverse;
}

/* ========================================
       CONTENT GRID
    ======================================== */

.consultation-content {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
}

/* ========================================
       LABEL
    ======================================== */

.consultation-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .22em;

  color: #93c5fd;
  margin-bottom: 20px;

  opacity: 0;
  animation: fadeUp .8s ease forwards;
  animation-delay: .2s;
}

.consultation-label::before {
  content: "";
  width: 32px;
  height: 3px;

  background: #60a5fa;
  border-radius: 10px;
}

/* ========================================
       HEADING
    ======================================== */

.consultation-title {
  max-width: 760px;

  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.25;

  color: #ffffff;
  margin-bottom: 20px;

  opacity: 0;
  animation: titleReveal .9s ease forwards;
  animation-delay: .35s;
}

/* ========================================
       DESCRIPTION
    ======================================== */

.consultation-description {
  max-width: 680px;

  font-size: 16px;
  line-height: 1.9;

  color: #cbd5e1;

  opacity: 0;
  animation: fadeUp .9s ease forwards;
  animation-delay: .5s;
}

/* ========================================
       BUTTON
    ======================================== */

.consultation-button {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  padding: 16px 25px;
  border-radius: 12px;

  background: #ffffff;
  color: #0f172a;

  font-size: 14px;
  font-weight: 700;
  text-decoration: none;

  white-space: nowrap;
  overflow: hidden;

  opacity: 0;
  animation: buttonReveal .9s ease forwards;
  animation-delay: .65s;

  transition:
    transform .3s ease,
    background .3s ease,
    color .3s ease,
    box-shadow .3s ease;
}

/* Button shine */

.consultation-button::before {
  content: "";

  position: absolute;
  top: 0;
  left: -100%;

  width: 50%;
  height: 100%;

  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, .8),
      transparent);

  transform: skewX(-20deg);
  transition: left .6s ease;
}

.consultation-button:hover::before {
  left: 130%;
}

.consultation-button:hover {
  background: #dbeafe;
  color: #1e3a8a;

  transform: translateY(-4px);

  box-shadow:
    0 12px 25px rgba(0, 0, 0, .15);
}

.consultation-button .arrow {
  font-size: 20px;
  transition: transform .3s ease;
}

.consultation-button:hover .arrow {
  transform: translateX(5px);
}

/* ========================================
       DECORATIVE ACCENT LINE
    ======================================== */

.consultation-accent {
  position: absolute;
  bottom: 0;
  left: 0;

  width: 100%;
  height: 4px;

  background: linear-gradient(90deg,
      #2563eb,
      #60a5fa,
      #93c5fd,
      #2563eb);

  background-size: 200% 100%;

  animation: gradientMove 5s linear infinite;
}

/* ========================================
       ANIMATIONS
    ======================================== */

@keyframes boxReveal {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes buttonReveal {
  from {
    opacity: 0;
    transform: translateX(25px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glowFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-20px, 15px) scale(1.1);
  }
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

/* ========================================
       RESPONSIVE DESIGN
    ======================================== */

@media (max-width: 900px) {

  .consultation-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .consultation-button {
    justify-self: start;
  }

}

@media (max-width: 576px) {

  .consultation-section {
    padding: 55px 15px;
  }

  .consultation-box {
    padding: 35px 25px;
    border-radius: 24px;
  }

  .consultation-title {
    font-size: 30px;
  }

  .consultation-description {
    font-size: 14px;
    line-height: 1.8;
  }

  .consultation-button {
    width: 100%;
    padding: 15px 20px;
    white-space: normal;
  }

}

/* ========================================
       REDUCED MOTION
    ======================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}

/*--------------------------------------------------------------------------------------------------------*/
/* =================================================
   ABOUT SECTION ANIMATION
================================================= */

.about-section {
  position: relative;
  overflow: hidden;
}

/* Content animation */
.about-content {
  opacity: 0;
  transform: translateX(-70px);
  animation: aboutContentReveal 1s ease-out 0.2s forwards;
}

.about-label {
  opacity: 0;
  transform: translateY(20px);
  animation: aboutFadeUp 0.7s ease-out 0.4s forwards;
}

.about-title {
  opacity: 0;
  transform: translateY(30px);
  animation: aboutFadeUp 0.8s ease-out 0.55s forwards;
}

.about-description {
  opacity: 0;
  transform: translateY(30px);
  animation: aboutFadeUp 0.8s ease-out 0.7s forwards;
}

.about-button {
  opacity: 0;
  transform: translateY(25px);
  animation: aboutFadeUp 0.8s ease-out 0.85s forwards;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background-color 0.35s ease;
}

/* Button hover */
.about-button:hover {
  transform: translateY(-4px);
  background-color: #2563eb;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.18);
}

/* Arrow animation */
.button-arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.about-button:hover .button-arrow {
  transform: translateX(5px);
}


/* =================================================
   IMAGE ANIMATION
================================================= */

.about-image-wrapper {
  opacity: 0;
  transform: translateX(70px);
  animation: aboutImageReveal 1s cubic-bezier(.22, 1, .36, 1) 0.3s forwards;

  position: relative;

  box-shadow:
    0 20px 60px rgba(15, 23, 42, 0.08);

  transition:
    box-shadow 0.5s ease,
    transform 0.5s ease;
}

.about-image-wrapper:hover {
  box-shadow:
    0 30px 80px rgba(15, 23, 42, 0.16);

  transform: translateY(-6px);
}


/* Image zoom effect */
.about-image-inner {
  overflow: hidden;
  border-radius: 1.5rem;
}

.about-image {
  transform: scale(1.08);
  animation: aboutImageZoom 1.5s ease-out 0.5s forwards;

  transition:
    transform 0.7s cubic-bezier(.22, 1, .36, 1);
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.04);
}


/* =================================================
   KEYFRAMES
================================================= */

@keyframes aboutContentReveal {
  from {
    opacity: 0;
    transform: translateX(-70px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes aboutImageReveal {
  from {
    opacity: 0;
    transform: translateX(70px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes aboutFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aboutImageZoom {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1);
  }
}


/* =================================================
   MOBILE RESPONSIVE
================================================= */

@media (max-width: 1023px) {

  .about-content {
    animation-name: aboutFadeUp;
  }

  .about-image-wrapper {
    animation-name: aboutFadeUp;
    animation-delay: 0.35s;
  }

  .about-image {
    height: 400px;
  }
}


/* =================================================
   REDUCED MOTION ACCESSIBILITY
================================================= */

@media (prefers-reduced-motion: reduce) {

  .about-content,
  .about-label,
  .about-title,
  .about-description,
  .about-button,
  .about-image-wrapper,
  .about-image {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/*---------------------------------------Testimonials-----------------------------------------------------------------*/

/* =================================================
           HERO
        ================================================= */

.testimonial-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%,
      rgba(37, 99, 235, .10),
      transparent 30%),
    radial-gradient(circle at 90% 70%,
      rgba(14, 165, 233, .10),
      transparent 30%),
    #ffffff;
}

.hero-content {
  opacity: 0;
  transform: translateY(50px);
  animation: heroContent 1s cubic-bezier(.22, 1, .36, 1) forwards;
}

.hero-label {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .7s ease-out .2s forwards;
}

.hero-title {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp .9s ease-out .35s forwards;
}

.hero-description {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp .8s ease-out .55s forwards;
}


/* =================================================
           FLOATING DECORATIONS
        ================================================= */

.hero-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.circle-one {
  width: 220px;
  height: 220px;
  right: -80px;
  top: 60px;
  border: 1px solid rgba(37, 99, 235, .15);
  animation: floatOne 6s ease-in-out infinite;
}

.circle-two {
  width: 140px;
  height: 140px;
  left: -60px;
  bottom: 20px;
  border: 1px solid rgba(14, 165, 233, .15);
  animation: floatTwo 5s ease-in-out infinite;
}


/* =================================================
           TESTIMONIAL GRID
        ================================================= */

.testimonial-card {
  position: relative;
  overflow: hidden;

  opacity: 0;
  transform: translateY(60px);

  animation: cardReveal .9s cubic-bezier(.22, 1, .36, 1) forwards;

  transition:
    transform .45s ease,
    box-shadow .45s ease;
}

.testimonial-card:nth-child(1) {
  animation-delay: .25s;
}

.testimonial-card:nth-child(2) {
  animation-delay: .4s;
}

.testimonial-card:nth-child(3) {
  animation-delay: .55s;
}

.testimonial-card:nth-child(4) {
  animation-delay: .7s;
}

.testimonial-card:nth-child(5) {
  animation-delay: .85s;
}

.testimonial-card:nth-child(6) {
  animation-delay: 1s;
}

.testimonial-card:hover {
  transform: translateY(-12px);
  box-shadow:
    0 25px 60px rgba(15, 23, 42, .12);
}


/* =================================================
           IMAGE
        ================================================= */

.patient-image-wrapper {
  position: relative;
  overflow: hidden;
}

.patient-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  transform: scale(1.05);
  animation: imageReveal 1.2s ease-out forwards;
  transition:
    transform .7s cubic-bezier(.22, 1, .36, 1);
}

.testimonial-card:hover .patient-image {
  transform: scale(1.10);
}

/* =================================================
           IMAGE OVERLAY
        ================================================= */
.patient-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(15, 23, 42, .30),
      transparent 55%);
  opacity: .6;
  transition: opacity .4s ease;
}

.testimonial-card:hover .patient-image-wrapper::after {
  opacity: .2;
}

/* =================================================
           QUOTE ICON
        ================================================= */

.quote-icon {
  position: absolute;
  width: 54px;
  height: 54px;
  right: 24px;
  bottom: -27px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #2563eb;
  color: white;
  font-size: 30px;
  font-family: Poppins, sans-serif;
  box-shadow:
    0 10px 25px rgba(37, 99, 235, .3);
  z-index: 3;
  transition:
    transform .4s ease,
    background .4s ease;
}

.testimonial-card:hover .quote-icon {
  transform: rotate(10deg) scale(1.1);
  background: #0f172a;
}

/* =================================================
           CARD CONTENT
        ================================================= */
.testimonial-content {
  padding: 38px 28px 30px;
}

.testimonial-text {
  position: relative;

  line-height: 1.8;

  color: #64748b;
}

/* =================================================
           STARS
        ================================================= */

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 15px;
}

.star {
  color: #f59e0b;

  opacity: 0;
  transform: scale(.5);

  animation: starPop .4s ease-out forwards;
}

.star:nth-child(1) {
  animation-delay: .8s;
}

.star:nth-child(2) {
  animation-delay: .9s;
}

.star:nth-child(3) {
  animation-delay: 1s;
}

.star:nth-child(4) {
  animation-delay: 1.1s;
}

.star:nth-child(5) {
  animation-delay: 1.2s;
}


/* =================================================
           PATIENT NAME
        ================================================= */

.patient-name {
  transition: color .3s ease;
}

.testimonial-card:hover .patient-name {
  color: #2563eb;
}


/* =================================================
           VIEW MORE BUTTON
        ================================================= */

.more-button {
  position: relative;
  overflow: hidden;

  transition:
    transform .35s ease,
    box-shadow .35s ease;
}

.more-button::before {
  content: "";

  position: absolute;

  left: -120%;
  top: 0;

  width: 80%;
  height: 100%;

  transform: skewX(-20deg);

  background:
    linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, .25),
      transparent);

  transition: left .7s ease;
}

.more-button:hover::before {
  left: 150%;
}

.more-button:hover {
  transform: translateY(-4px);
  box-shadow:
    0 15px 30px rgba(37, 99, 235, .25);
}


/* =================================================
           KEYFRAMES
        ================================================= */

@keyframes heroContent {

  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

@keyframes fadeUp {

  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

@keyframes cardReveal {

  from {
    opacity: 0;
    transform: translateY(60px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

@keyframes imageReveal {

  from {
    transform: scale(1.12);
  }

  to {
    transform: scale(1.05);
  }

}

@keyframes starPop {

  from {
    opacity: 0;
    transform: scale(.5);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }

}

@keyframes floatOne {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-20px, 25px);
  }

}

@keyframes floatTwo {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(20px, -20px);
  }

}


/* =================================================
           MOBILE
        ================================================= */

@media (max-width: 767px) {

  .patient-image {
    height: 250px;
  }

  .testimonial-card {
    transform: translateY(40px);
  }

  .hero-title {
    font-size: 40px;
    line-height: 1.15;
  }

}


/* =================================================
           REDUCED MOTION
        ================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-content,
  .hero-label,
  .hero-title,
  .hero-description,
  .testimonial-card,
  .star {
    opacity: 1;
    transform: none;
  }

}

/*--------------------------------------Books ------------------------------------------*/


/* ========================================
   ROOT
======================================== */

.services-section {
  position: relative;
  padding: 50px 20px;
  background: #fff;
  overflow: hidden;
}


/* Decorative background circles */

.services-section::before,
.services-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.services-section::before {
  width: 420px;
  height: 420px;
  top: -220px;
  left: -180px;
  animation: floatingCircle 8s ease-in-out infinite;
}

.services-section::after {
  width: 350px;
  height: 350px;
  right: -180px;
  bottom: -180px;
  animation: floatingCircle 10s ease-in-out infinite reverse;
}


.services-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
}


/* ========================================
   HEADING
======================================== */

.services-heading {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}

.services-heading span {
  display: inline-block;
  margin-bottom: 14px;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;

  color: #2563eb;

  animation: fadeDown 0.8s ease both;
}

.services-heading h2 {
  margin: 0 0 18px;

  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.1;

  color: #16383a;

  animation: fadeUp 0.8s ease 0.15s both;
}

.services-heading p {
  max-width: 600px;
  margin: auto;

  color: #718183;
  line-height: 1.8;

  animation: fadeUp 0.8s ease 0.3s both;
}


/* ========================================
   GRID
======================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}


/* ========================================
   FULL CLICKABLE CARD
======================================== */

.service-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-height: 400px;

  overflow: hidden;

  text-decoration: none;

  background: #ffffff;

  border-radius: 24px;

  border: 1px solid rgba(22, 124, 128, 0.12);

  box-shadow:
    0 15px 45px rgba(22, 56, 58, 0.07);

  transform: translateY(50px);
  opacity: 0;

  animation: cardEntrance 0.9s cubic-bezier(.2, .8, .2, 1) forwards;

  transition:
    transform 0.5s cubic-bezier(.2, .8, .2, 1),
    box-shadow 0.5s ease;
}


/* Stagger animation */

.service-card:nth-child(1) {
  animation-delay: 0.2s;
}

.service-card:nth-child(2) {
  animation-delay: 0.35s;
}

.service-card:nth-child(3) {
  animation-delay: 0.5s;
}


/* ========================================
   CARD HOVER
======================================== */

.service-card:hover {
  transform: translateY(-14px);

  box-shadow:
    0 30px 70px rgba(22, 124, 128, 0.18);
}


/* ========================================
   ANIMATED BORDER
======================================== */

.card-border {
  position: absolute;
  inset: 0;

  border-radius: 24px;

  border: 2px solid transparent;

  pointer-events: none;

  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.service-card:hover .card-border {
  border-color: rgba(22, 124, 128, 0.4);

  box-shadow:
    inset 0 0 25px rgba(22, 124, 128, 0.05);
}


/* ========================================
   IMAGE
======================================== */

.service-image {
  position: relative;

  height: 270px;

  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.8s cubic-bezier(.2, .8, .2, 1),
    filter 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);

  filter: saturate(1.08);
}


/* Image overlay */

.service-image::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0) 45%,
      rgba(0, 0, 0, 0.28));

  pointer-events: none;
}


/* ========================================
   IMAGE SHINE ANIMATION
======================================== */

.image-shine {
  position: absolute;

  top: 0;
  left: -120%;

  width: 70%;
  height: 100%;

  background:
    linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.35),
      transparent);

  transform: skewX(-20deg);

  z-index: 3;

  pointer-events: none;
}

.service-card:hover .image-shine {
  animation: imageShine 0.9s ease;
}


/* ========================================
   NUMBER
======================================== */

.service-number {
  position: absolute;

  z-index: 5;

  top: 18px;
  right: 18px;

  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.92);

  color: #167c80;

  font-size: 13px;
  font-weight: 800;

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.12);

  backdrop-filter: blur(8px);

  transition:
    transform 0.5s ease,
    background 0.4s ease,
    color 0.4s ease;
}

.service-card:hover .service-number {
  transform:
    rotate(360deg) scale(1.1);

  background: #167c80;
  color: #ffffff;
}


/* ========================================
   CONTENT
======================================== */

.service-content {
  flex: 1;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 28px;
}

.service-content h3 {
  margin: 0 0 12px;

  font-size: 23px;
  line-height: 1.2;

  color: #16383a;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.service-card:hover h3 {
  color: #167c80;
  transform: translateX(3px);
}

.service-content p {
  margin: 0;

  font-size: 14px;
  line-height: 1.75;

  color: #718183;
}


/* ========================================
   LINK
======================================== */

.service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 28px;

  padding-top: 18px;

  border-top:
    1px solid rgba(22, 124, 128, 0.12);

  color: #167c80;

  font-size: 13px;
  font-weight: 800;

  letter-spacing: 0.3px;
}

.service-link i {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #eef7f7;

  font-size: 20px;
  font-style: normal;

  transition:
    transform 0.4s ease,
    background 0.4s ease,
    color 0.4s ease;
}

.service-card:hover .service-link i {
  transform: translateX(7px);

  background: #167c80;
  color: #ffffff;
}


/* ========================================
   ANIMATIONS
======================================== */

@keyframes cardEntrance {

  0% {
    opacity: 0;
    transform: translateY(60px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }

}


@keyframes fadeUp {

  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


@keyframes fadeDown {

  from {
    opacity: 0;
    transform: translateY(-15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


@keyframes imageShine {

  0% {
    left: -120%;
  }

  100% {
    left: 150%;
  }

}


@keyframes floatingCircle {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(25px) rotate(8deg);
  }

}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 950px) {

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 450px;
    width: 100%;
    margin: auto;
  }

}


@media (max-width: 650px) {

  .services-section {
    padding: 75px 16px;
  }

  .services-heading {
    margin-bottom: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(3) {
    grid-column: auto;
    max-width: none;
  }

  .service-card {
    min-height: 470px;
  }

  .service-image {
    height: 235px;
  }

}


/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {

  .service-card,
  .services-heading span,
  .services-heading h2,
  .services-heading p {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .service-card,
  .service-card img,
  .service-number,
  .service-link i {
    transition: none;
  }

}

/*------------------------------------------------------------------Association----------------------------------------------------*/
.committee-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: #000;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: #000;
}

.section-title {
  color: #000;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  margin-top: 18px;
}

.section-description {
  max-width: 680px;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.8;
}



/* ========================================================
           COMMITTEE SECTION
        ========================================================= */

.committee-section {
  position: relative;

  padding: 110px 0;

  background: #fff;

  overflow: hidden;
}

.committee-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 55px;
}

.committee-header .section-description {
  margin-left: auto;
  margin-right: auto;
}

.committee-grid {
  position: relative;
  z-index: 2;

  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 22px;
}


/* =========================================================
           MEMBER CARD
        ========================================================= */

.member-card {
  position: relative;

  background: white;

  border: 1px solid #2563eb;

  border-radius: 20px;

  padding: 20px;

  overflow: hidden;

  transition:
    transform .45s ease,
    box-shadow .45s ease,
    border-color .45s ease;

  opacity: 0;
  transform: translateY(30px);
}

.member-card.show {
  opacity: 1;
  transform: translateY(0);
}

.member-card:hover {
  transform: translateY(-9px);

  border-color: rgba(8, 127, 140, .25);

  box-shadow: var(--shadow);
}

.member-card::before {
  content: "";

  position: absolute;

  width: 100px;
  height: 100px;

  top: -60px;
  right: -60px;

  background: #80a8ff;

  border-radius: 50%;

  transition: .5s ease;
}

.member-card:hover::before {
  transform: scale(2.7);
}

.member-photo {
  position: relative;

  width: 100%;
  aspect-ratio: 1 / 1;

  overflow: hidden;

  border-radius: 16px;

  background: #2563eb;
}

.member-photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform .55s ease;
}

.member-card:hover .member-photo img {
  transform: scale(1.08);
}

.member-photo::after {
  content: "";

  position: absolute;
  inset: 0;

  border: 1px solid rgba(255, 255, 255, .35);

  border-radius: inherit;

  pointer-events: none;
}

.member-content {
  position: relative;

  padding: 20px 4px 4px;
}

.member-content h3 {
  color: #000;
  font-size: 17px;
  line-height: 1.3;
}

.member-content p {
  margin-top: 8px;

  color: #2563eb;

  font-size: 12px;
  font-weight: 700;

  line-height: 1.5;
}


/* =========================================================
           CTA
        ========================================================= */

.cta {
  padding: 100px 0;
}

.cta-box {
  position: relative;

  overflow: hidden;

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 50px;

  padding: 65px;

  border-radius: 30px;

  background:
    linear-gradient(135deg,
      var(--dark),
      var(--primary-dark));

  color: white;

  box-shadow: var(--shadow);
}

.cta-box::before {
  content: "";

  position: absolute;

  width: 350px;
  height: 350px;

  right: -120px;
  top: -180px;

  border: 1px solid rgba(255, 255, 255, .15);

  border-radius: 50%;

  animation: ctaRotate 20s linear infinite;
}

.cta-box::after {
  content: "";

  position: absolute;

  width: 200px;
  height: 200px;

  right: 100px;
  bottom: -140px;

  border: 1px solid rgba(255, 255, 255, .1);

  border-radius: 50%;
}

@keyframes ctaRotate {
  to {
    transform: rotate(360deg);
  }
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content .eyebrow {
  color: var(--accent);
}

.cta-content .eyebrow::before {
  background: var(--accent);
}

.cta-content h2 {
  max-width: 650px;
  margin-top: 15px;
  font-family: Poppins, sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

.cta-content p {
  max-width: 600px;

  margin-top: 18px;

  color: rgba(255, 255, 255, .7);

  line-height: 1.7;
}




/* =========================================================
           RESPONSIVE
        ========================================================= */

@media (max-width: 1100px) {

  .committee-grid {
    grid-template-columns:
      repeat(3, 1fr);
  }

  .international-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }


}


@media (max-width: 900px) {
  .leaders-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .intro-head,
  .international-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }
}


@media (max-width: 650px) {

  .section {
    padding: 75px 0;
  }


  .leaders-grid {
    grid-template-columns: 1fr;
  }

  .committee-grid {
    grid-template-columns:
      repeat(2, 1fr);

    gap: 14px;
  }

  .member-card {
    padding: 12px;
    border-radius: 16px;
  }

  .member-content {
    padding: 15px 2px 3px;
  }

  .member-content h3 {
    font-size: 14px;
  }

  .member-content p {
    font-size: 10px;
  }

  .cta-box {
    padding: 40px 25px;

    flex-direction: column;
    align-items: flex-start;
  }

}


@media (max-width: 400px) {

  .committee-grid {
    grid-template-columns: 1fr;
  }

}

/*-------------------------------------------------------------------- our EVENTS-----------------------------------------------------------------------------*/

/* =====================================================
           MAIN SECTION
        ===================================================== */

.successful-events-section {

  position: relative;

  width: 100%;

  padding:
    100px 0 115px;

  background: #f4f6f8;

  overflow: hidden;

  isolation: isolate;

}


/* =====================================================
           CONTAINER
        ===================================================== */

.successful-events-container {

  position: relative;

  z-index: 5;

  width:
    min(1200px, calc(100% - 60px));

  margin:
    0 auto;

}


/* =====================================================
           BACKGROUND GRID
        ===================================================== */

.successful-events-grid-bg {

  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .45;
  background-image:
    linear-gradient(rgba(0, 0, 0, .025) 1px,
      transparent 1px),
    linear-gradient(90deg,
      rgba(0, 0, 0, .025) 1px,
      transparent 1px);

  background-size:
    45px 45px;
  animation:
    backgroundGridMove 18s linear infinite;
}


/* =====================================================
           DECORATIVE CIRCLE 01
        ===================================================== */

.successful-events-circle-one {
  position: absolute;
  width: 360px;
  height: 360px;
  top: -190px;
  left: -130px;
  z-index: -2;
  border:
    1px solid rgba(236, 27, 96, .10);
  border-radius: 50%;
  animation:
    rotateCircle 24s linear infinite;

}


.successful-events-circle-one::before {
  content: "";
  position: absolute;
  inset: 30px;
  border:
    1px dashed rgba(236, 27, 96, .15);
  border-radius: 50%;

}


.successful-events-circle-one::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  top: 42px;
  right: 55px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow:
    0 0 0 8px rgba(236, 27, 96, .08);
  animation:
    circleDotPulse 2s ease-in-out infinite;

}


/* =====================================================
           DECORATIVE CIRCLE 02
        ===================================================== */

.successful-events-circle-two {

  position: absolute;
  width: 300px;
  height: 300px;
  right: -150px;
  bottom: -150px;
  z-index: -2;
  border-radius: 50%;
  background:
    rgba(236, 27, 96, .035);
  animation:
    floatingCircle 7s ease-in-out infinite;
}


.successful-events-circle-two::before {
  content: "";
  position: absolute;
  inset: 35px;
  border:
    1px solid rgba(236, 27, 96, .08);
  border-radius: 50%;

}


/* =====================================================
           SECTION HEADING
        ===================================================== */

.successful-events-heading {

  max-width: 850px;
  margin:
    0 auto 58px;
  text-align: center;
  animation:
    headingReveal 1s ease both;
}


/* =====================================================
           SMALL LABEL
        ===================================================== */

.successful-events-label {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
  color: #2563eb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;

}


.successful-events-label::before,
.successful-events-label::after {

  content: "";
  width: 27px;
  height: 1px;
  background: #2563eb;

}


/* =====================================================
           MAIN HEADING
        ===================================================== */

.successful-events-heading h2 {

  margin: 0;
  color: #000;
  font-size:
    clamp(40px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.8px;

}


/* =====================================================
           HEADING LINE
        ===================================================== */

.successful-events-heading-line {

  position: relative;
  width: 90px;
  height: 3px;
  margin:
    22px auto 18px;
  background: #d7d7d7;
  overflow: hidden;

}


.successful-events-heading-line span {

  position: absolute;
  top: 0;
  left: -45px;
  width: 45px;
  height: 3px;
  background: #2563eb;
  animation:
    headingLineMove 2.5s ease-in-out infinite;

}


/* =====================================================
           SUBTITLE
        ===================================================== */

.successful-events-heading p {

  margin: 0;
  color: #555;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;

}


/* =====================================================
           EVENTS GRID
        ===================================================== */

.successful-events-grid {

  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: start;

}


/* =====================================================
           EVENT CARD
        ===================================================== */

.successful-event-card {

  position: relative;
  background: #ffffff;
  overflow: hidden;
  box-shadow:
    0 12px 35px rgba(0, 0, 0, .07);
  opacity: 0;
  transform:
    translateY(60px);
  animation:
    eventCardReveal .9s cubic-bezier(.2, .8, .2, 1) forwards;
  transition:
    transform .55s cubic-bezier(.2, .8, .2, 1),
    box-shadow .55s ease;

}


/* =====================================================
           STAGGER ANIMATION
        ===================================================== */

.successful-event-card:nth-child(1) {
  animation-delay: .15s;
}

.successful-event-card:nth-child(2) {
  animation-delay: .30s;
}

.successful-event-card:nth-child(3) {
  animation-delay: .45s;
}

.successful-event-card:nth-child(4) {
  animation-delay: .60s;
}

.successful-event-card:nth-child(5) {
  animation-delay: .75s;
}


/* =====================================================
           CARD HOVER
        ===================================================== */

.successful-event-card:hover {

  transform:
    translateY(-13px);
  box-shadow:
    0 28px 65px rgba(0, 0, 0, .14);

}


/* =====================================================
           ANIMATED TOP BORDER
        ===================================================== */

.successful-event-card::before {

  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  z-index: 20;
  background: #2563eb;
  transition:
    width .55s ease;

}


.successful-event-card:hover::before {

  width: 100%;

}


/* =====================================================
           IMAGE AREA
        ===================================================== */

.successful-event-image {

  position: relative;
  width: 100%;
  height: 305px;
  overflow: hidden;
  background: #ddd;

}


.successful-event-image img {

  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition:
    transform 1.1s cubic-bezier(.2, .8, .2, 1);

}


.successful-event-card:hover .successful-event-image img {

  transform:
    scale(1.10);

}


/* =====================================================
           IMAGE OVERLAY
        ===================================================== */

.successful-event-overlay {

  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, 0) 45%,
      rgba(0, 0, 0, .48) 100%);

  opacity: .6;
  transition:
    opacity .5s ease;

}


.successful-event-card:hover .successful-event-overlay {

  opacity: .95;

}


/* =====================================================
           IMAGE SHINE
        ===================================================== */

.successful-event-image::after {

  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  z-index: 4;
  background:
    linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, .22),
      transparent);

  transform:
    skewX(-20deg);
  transition: none;

}


.successful-event-card:hover .successful-event-image::after {

  animation:
    imageShine .9s ease;

}


/* =====================================================
           YEAR BADGE
        ===================================================== */

.successful-event-year {

  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 8;
  padding:
    8px 14px;
  color: #ffffff;
  background: #2563eb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  transform:
    translateY(25px);
  opacity: 0;
  transition:
    transform .45s ease,
    opacity .45s ease;

}


.successful-event-card:hover .successful-event-year {

  transform:
    translateY(0);
  opacity: 1;

}


/* =====================================================
           IMAGE NUMBER
        ===================================================== */

.successful-event-number {

  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 7;
  color:
    rgba(255, 255, 255, .88);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  text-shadow:
    0 3px 12px rgba(0, 0, 0, .35);
  transition:
    transform .5s ease,
    color .5s ease;

}


.successful-event-card:hover .successful-event-number {

  color: #ffffff;
  transform:
    scale(1.15) rotate(-5deg);

}


/* =====================================================
           CARD CONTENT
        ===================================================== */

.successful-event-content {

  position: relative;
  padding: 27px 30px 31px;
  background: #ffffff;

}


/* =====================================================
           META INFORMATION
        ===================================================== */

.successful-event-meta {

  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin-bottom: 18px;

}


.successful-event-meta span {

  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #555;
  font-size: 14px;
  line-height: 1.4;

}


.successful-event-meta i {

  color: #2563eb;
  font-size: 13px;

}


/* =====================================================
           EVENT TITLE
        ===================================================== */

.successful-event-content h3 {

  min-height: 57px;
  margin: 0;
  color: #000;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  transition:
    color .35s ease;

}


.successful-event-card:hover .successful-event-content h3 {

  color: #2563eb;

}


/* =====================================================
           READ MORE
        ===================================================== */

.successful-event-read {

  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  transition:
    color .35s ease;

}


.successful-event-read::after {

  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition:
    width .4s ease;

}


.successful-event-read-arrow {

  display: inline-block;
  font-size: 19px;
  font-weight: 400;
  transition:
    transform .4s ease;

}


.successful-event-read:hover {

  color: #2563eb;

}


.successful-event-read:hover::after {

  width: 65px;

}


.successful-event-read:hover .successful-event-read-arrow {

  transform:
    translateX(8px);

}


/* =====================================================
           SECOND ROW CENTERING
        ===================================================== */

.successful-event-card:nth-child(4) {

  grid-column: 1 / 2;

}


.successful-event-card:nth-child(5) {

  grid-column: 2 / 3;

}


/* =====================================================
           ANIMATIONS
        ===================================================== */

@keyframes eventCardReveal {

  0% {

    opacity: 0;

    transform:
      translateY(60px) scale(.96);

  }

  100% {

    opacity: 1;

    transform:
      translateY(0) scale(1);

  }

}


@keyframes headingReveal {

  0% {

    opacity: 0;

    transform:
      translateY(35px);

  }

  100% {

    opacity: 1;

    transform:
      translateY(0);

  }

}


@keyframes headingLineMove {

  0% {

    left: -45px;

  }

  50% {

    left: 90px;

  }

  100% {

    left: -45px;

  }

}


@keyframes imageShine {

  0% {

    left: -120%;

  }

  100% {

    left: 140%;

  }

}


@keyframes rotateCircle {

  0% {

    transform:
      rotate(0deg);

  }

  100% {

    transform:
      rotate(360deg);

  }

}


@keyframes floatingCircle {

  0%,
  100% {

    transform:
      translateY(0) rotate(0deg);

  }

  50% {

    transform:
      translateY(-25px) rotate(8deg);

  }

}


@keyframes circleDotPulse {

  0% {

    box-shadow:
      0 0 0 0 rgba(236, 27, 96, .35);

  }

  50% {

    box-shadow:
      0 0 0 13px rgba(236, 27, 96, 0);

  }

  100% {

    box-shadow:
      0 0 0 0 rgba(236, 27, 96, 0);

  }

}


@keyframes backgroundGridMove {

  0% {

    background-position:
      0 0;

  }

  100% {

    background-position:
      45px 45px;

  }

}


/* =====================================================
           LARGE TABLET
        ===================================================== */

@media (max-width: 1100px) {

  .successful-events-container {

    width:
      min(100% - 40px, 960px);

  }


  .successful-events-grid {

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 25px;

  }


  .successful-event-card:nth-child(4),
  .successful-event-card:nth-child(5) {

    grid-column: auto;

  }


  .successful-event-image {

    height: 270px;

  }

}


/* =====================================================
           TABLET
        ===================================================== */

@media (max-width: 850px) {

  .successful-events-section {

    padding:
      85px 0 95px;

  }


  .successful-event-content {

    padding:
      24px 24px 28px;

  }


  .successful-event-content h3 {

    font-size: 20px;

  }


  .successful-event-meta span {

    font-size: 13px;

  }

}


/* =====================================================
           MOBILE
        ===================================================== */

@media (max-width: 700px) {

  .successful-events-section {

    padding:
      70px 0 80px;

  }


  .successful-events-container {

    width:
      calc(100% - 30px);

  }


  .successful-events-heading {

    margin-bottom: 38px;

  }


  .successful-events-heading h2 {

    font-size: 38px;

    letter-spacing:
      -1px;

  }


  .successful-events-heading p {

    font-size: 14px;

  }


  .successful-events-grid {

    grid-template-columns:
      1fr;

    gap: 24px;

  }


  .successful-event-card:nth-child(4),
  .successful-event-card:nth-child(5) {

    grid-column: auto;

  }


  .successful-event-image {

    height: 250px;

  }


  .successful-event-content {

    padding:
      22px 22px 28px;

  }


  .successful-event-content h3 {

    min-height: auto;

    font-size: 20px;

  }


  .successful-event-meta {

    gap: 8px 15px;

  }


  .successful-event-meta span {

    font-size: 12px;

  }


  /* Always show year badge on mobile */

  .successful-event-year {

    opacity: 1;

    transform:
      translateY(0);

  }


  .successful-event-number {

    font-size: 30px;

  }


  .successful-events-circle-one {

    width: 250px;

    height: 250px;

    left: -160px;

  }


  .successful-events-circle-two {

    width: 200px;

    height: 200px;

    right: -100px;

  }

}


/* =====================================================
           SMALL MOBILE
        ===================================================== */

@media (max-width: 420px) {

  .successful-events-heading h2 {

    font-size: 32px;

  }


  .successful-events-label {

    font-size: 9px;

    letter-spacing: 2px;

  }


  .successful-events-label::before,
  .successful-events-label::after {

    width: 18px;

  }


  .successful-event-image {

    height: 220px;

  }


  .successful-event-content {

    padding:
      21px 18px 25px;

  }


  .successful-event-meta {

    display: block;

  }


  .successful-event-meta span {

    margin-bottom: 7px;

  }


  .successful-event-content h3 {

    font-size: 19px;

  }


  .successful-event-number {

    top: 14px;

    right: 15px;

    font-size: 27px;

  }

}


/* =====================================================
           REDUCE MOTION ACCESSIBILITY
        ===================================================== */

@media (prefers-reduced-motion: reduce) {

  .successful-events-section *,
  .successful-events-section *::before,
  .successful-events-section *::after {

    animation-duration: .01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: .01ms !important;

    scroll-behavior: auto !important;

  }

}

/*------------------------------------------------------Event Content ------------------------------------------------------------------------------*/


/* Image */
.p-image {
  width: 100%;
  margin-top: 35px;
  text-align: center;
}

.p-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 0;
}


/*--------------------------------------------------------------- online Courses ---------------------------------------------------------------------------*/

/* =========================================================
   PAGE
========================================================= */
.courses_container {
  width: min(1180px, 92%);
  margin: 0 auto;
}


.iaos-course-page {
  position: relative;
  overflow: hidden;
}


/* =========================================================
   HERO
========================================================= */

@keyframes heroRing {

  0%,
  100% {
    transform: scale(1) rotate(0);
  }

  50% {
    transform: scale(1.12) rotate(25deg);
  }

}

@keyframes heroRingTwo {

  0%,
  100% {
    transform: translate(0, 0) rotate(0);
  }

  50% {
    transform: translate(40px, -30px) rotate(-20deg);
  }

}

/* =========================================================
   FLOATING ICONS
========================================================= */

.floating-icon {
  position: absolute;

  z-index: 5;

  width: 66px;
  height: 66px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 20px;

  background: #ffffff;

  color: #2d467d;

  font-size: 26px;
  font-weight: 700;

  box-shadow:
    0 20px 40px rgba(45, 70, 125, .15);
}

.icon-one {
  top: 55px;
  left: 20px;

  animation:
    floatingOne 4s ease-in-out infinite;
}

.icon-two {
  right: 0;
  bottom: 70px;

  color: #2bceb5;

  animation:
    floatingTwo 4.5s ease-in-out infinite;
}

.icon-three {
  left: 50px;
  bottom: 20px;

  color: #ff5277;

  animation:
    floatingThree 5s ease-in-out infinite;
}

@keyframes floatingOne {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-18px) rotate(8deg);
  }

}

@keyframes floatingTwo {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(16px) rotate(-6deg);
  }

}

@keyframes floatingThree {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-14px) rotate(-8deg);
  }

}


/* =========================================================
   COURSES SECTION
========================================================= */

.courses-section {
  position: relative;
  padding: 120px 0 130px;
  background: #fff;
}

.courses-section::before {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px dashed rgba(45, 70, 125, .12);
  border-radius: 50%;
  top: 60px;
  right: -70px;
  animation:
    slowRotate 15s linear infinite;
}

@keyframes slowRotate {

  to {
    transform: rotate(360deg);
  }

}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
  max-width: 760px;

  margin: 0 auto 70px;

  text-align: center;
}

.section-label {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  color: #ff5277;

  font-size: 12px;

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 2px;

  margin-bottom: 18px;
}

.section-label::before,
.section-label::after {
  content: "";

  width: 25px;
  height: 2px;

  background: #ff5277;
}

.section-heading h2 {
  font-family: Poppins, sans-serif;

  font-size: clamp(35px, 5vw, 56px);

  line-height: 1.1;

  letter-spacing: -2.5px;

  color: #2d467d;

  margin-bottom: 18px;
}

.section-heading p {
  color: #737e96;

  font-size: 17px;

  line-height: 1.8;
}


/* =========================================================
   COURSE GRID
========================================================= */

.course-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 28px;
}


/* =========================================================
   COURSE CARD
========================================================= */

.course-card {
  position: relative;

  background: #ffffff;

  border: 1px solid #e7ebf2;

  border-radius: 25px;

  overflow: hidden;

  box-shadow:
    0 15px 45px rgba(30, 52, 90, .06);

  opacity: 0;

  transform:
    translateY(60px) scale(.96);

  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(.2, .8, .2, 1),
    box-shadow .45s ease,
    border-color .45s ease;
}

.course-card.active {
  opacity: 1;

  transform:
    translateY(0) scale(1);
}

.course-card:hover {
  transform:
    translateY(-12px) scale(1.01);

  border-color: #2563eb;

  box-shadow:
    0 30px 70px rgba(45, 70, 125, .15),
    0 10px 30px rgba(43, 206, 181, .08);
}


/* =========================================================
   STAGGER
========================================================= */

.course-card:nth-child(1) {
  transition-delay: .05s;
}

.course-card:nth-child(2) {
  transition-delay: .12s;
}

.course-card:nth-child(3) {
  transition-delay: .19s;
}

.course-card:nth-child(4) {
  transition-delay: .26s;
}

.course-card:nth-child(5) {
  transition-delay: .33s;
}

.course-card:nth-child(6) {
  transition-delay: .40s;
}

.course-card:nth-child(7) {
  transition-delay: .47s;
}

.course-card:nth-child(8) {
  transition-delay: .54s;
}

.course-card:nth-child(9) {
  transition-delay: .61s;
}

.course-card:nth-child(10) {
  transition-delay: .68s;
}


/* =========================================================
   COURSE IMAGE
========================================================= */

.course-image {
  position: relative;

  height: 245px;

  overflow: hidden;

  background: #edf1f7;
}

.course-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 1s cubic-bezier(.2, .8, .2, 1),
    filter .5s ease;
}

.course-card:hover .course-image img {
  transform: scale(1.1);

  filter: saturate(1.08);
}


/* =========================================================
   IMAGE SWEEP
========================================================= */

.course-image::before {
  content: "";

  position: absolute;

  z-index: 3;

  top: 0;
  left: -130%;

  width: 70%;
  height: 100%;

  background:
    linear-gradient(100deg,
      transparent,
      rgba(255, 255, 255, .38),
      transparent);

  transform: skewX(-20deg);

  transition:
    left .8s ease;

  pointer-events: none;
}

.course-card:hover .course-image::before {
  left: 140%;
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.course-image::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(135deg,
      rgba(45, 70, 125, .10),
      transparent 55%,
      rgba(43, 206, 181, .10));

  pointer-events: none;
}


/* =========================================================
   COURSE NUMBER
========================================================= */

.course-number {
  position: absolute;

  z-index: 4;

  top: 16px;
  left: 16px;

  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  background: rgba(255, 255, 255, .95);

  color: #2d467d;

  font-size: 13px;

  font-weight: 800;

  box-shadow:
    0 8px 20px rgba(0, 0, 0, .08);

  transition:
    transform .4s ease,
    background .4s ease,
    color .4s ease;
}

.course-card:hover .course-number {
  transform:
    rotate(-8deg) scale(1.1);

  background: #2563eb;

  color: #ffffff;
}


/* =========================================================
   STATUS
========================================================= */

.course-status {
  position: absolute;
  z-index: 4;
  right: 16px;
  top: 16px;
  padding: 8px 12px;
  border-radius: 50px;
  background: #1769ff;

  color: #ffffff;

  font-size: 10px;

  font-weight: 800;

  letter-spacing: .7px;

  text-transform: uppercase;

  animation:
    statusPulse 2.5s ease-in-out infinite;
}

@keyframes statusPulse {

  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(43, 206, 181, .35);
  }

  50% {
    box-shadow:
      0 0 0 7px rgba(43, 206, 181, 0);
  }

}


/* =========================================================
   COURSE BODY
========================================================= */

.course-body {
  padding: 27px 25px 25px;
}

.course-body h3 {
  position: relative;

  display: inline-block;

  font-family: Poppins, sans-serif;
  color: #2d467d;

  font-size: 21px;

  line-height: 1.3;

  margin-bottom: 14px;

  transition:
    color .35s ease;
}

.course-body h3::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -5px;

  width: 0;
  height: 2px;

  border-radius: 10px;

  background: #2563eb;

  transition:
    width .4s ease;
}

.course-card:hover .course-body h3 {
  color: #2563eb;
}

.course-card:hover .course-body h3::after {
  width: 55%;
}

.course-body p {
  color: #7a8499;

  font-size: 14px;

  line-height: 1.7;

  min-height: 48px;

  margin-bottom: 23px;
}


/* =========================================================
   COURSE FOOTER
========================================================= */

.course-footer {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 15px;

  padding-top: 19px;

  border-top: 1px solid #edf0f4;
}

.course-duration {
  display: flex;

  align-items: center;

  gap: 7px;

  color: #65708a;

  font-size: 12px;

  font-weight: 700;
}

.course-duration span {
  color: #1769ff;

  font-size: 17px;
}


/* =========================================================
   COURSE BUTTON
========================================================= */

.course-btn {
  position: relative;

  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 11px 16px;

  border-radius: 11px;

  background: #2d467d;

  color: #ffffff;

  font-size: 11px;

  font-weight: 800;

  overflow: hidden;

  transition:
    background .3s ease,
    transform .3s ease,
    box-shadow .3s ease;
}

.course-btn::before {
  content: "";

  position: absolute;

  top: 0;
  left: -120%;

  width: 80%;
  height: 100%;

  background:
    linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, .25),
      transparent);

  transform: skewX(-20deg);

  transition: left .6s ease;
}

.course-btn:hover::before {
  left: 140%;
}

.course-btn:hover {
  background: #2563eb;

  transform: translateX(4px);

  box-shadow:
    0 10px 25px rgba(43, 206, 181, .22);
}


/* =========================================================
   FEATURE BAND
========================================================= */

.feature-band {
  position: relative;

  padding: 80px 0;

  background: #2d467d;

  overflow: hidden;
}

.feature-band::before {
  content: "";

  position: absolute;

  width: 450px;
  height: 450px;

  border: 1px solid rgba(255, 255, 255, .12);

  border-radius: 50%;

  right: -150px;
  top: -180px;

  animation:
    featureCircle 10s linear infinite;
}

.feature-band::after {
  content: "";

  position: absolute;

  width: 300px;
  height: 300px;

  border: 1px solid rgba(43, 206, 181, .25);

  border-radius: 50%;

  left: -100px;
  bottom: -160px;

  animation:
    featureCircleTwo 12s linear infinite;
}

@keyframes featureCircle {

  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }

}

@keyframes featureCircleTwo {

  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0);
  }

}


/* =========================================================
   FEATURE GRID
========================================================= */

.ortho_feature-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns:
    1fr 1fr;
  align-items: center;
  gap: 70px;
}


/* =========================================================
   FEATURE CONTENT
========================================================= */

.ortho_feature-content small {
  display: block;

  color: #2563eb;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 2px;

  text-transform: uppercase;

  margin-bottom: 17px;
}

.ortho_feature-content h2 {
  color: #ffffff;

  font-family: Poppins, sans-serif;

  font-size: clamp(34px, 4vw, 52px);

  line-height: 1.1;

  letter-spacing: -2px;

  margin-bottom: 22px;
}

.ortho_feature-content p {
  max-width: 570px;

  color: rgba(255, 255, 255, .72);

  line-height: 1.8;

  font-size: 16px;
}


/* =========================================================
   FEATURE LIST
========================================================= */

.feature-list {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 18px;
}

.feature-item {
  padding: 24px;

  border:
    1px solid rgba(255, 255, 255, .13);

  background:
    rgba(255, 255, 255, .05);

  border-radius: 18px;

  transition:
    transform .4s ease,
    background .4s ease,
    border-color .4s ease;
}

.feature-item:hover {
  transform: translateY(-8px);

  background:
    rgba(255, 255, 255, .10);

  border-color:
    rgba(43, 206, 181, .4);
}

.feature-icon {
  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 13px;

  background: #2bceb5;

  color: #ffffff;

  font-size: 20px;

  margin-bottom: 16px;

  transition:
    transform .4s ease,
    border-radius .4s ease;
}

.feature-item:hover .feature-icon {
  transform:
    rotate(8deg) scale(1.08);

  border-radius: 17px;
}

.feature-item h4 {
  color: #ffffff;

  font-size: 16px;

  margin-bottom: 7px;
}

.feature-item p {
  color: rgba(255, 255, 255, .62);

  font-size: 13px;

  line-height: 1.6;
}


/* =========================================================
   CTA
========================================================= */

.course-cta {
  position: relative;

  padding: 120px 0;

  background: #ffffff;

  text-align: center;

  overflow: hidden;
}

.course-cta::before {
  content: "";

  position: absolute;

  width: 250px;
  height: 250px;

  border: 1px solid rgba(43, 206, 181, .13);

  border-radius: 50%;

  left: -100px;
  top: 30px;

  animation:
    ctaCircle 9s ease-in-out infinite;
}

.course-cta::after {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  border: 1px dashed rgba(255, 82, 119, .16);

  border-radius: 50%;

  right: -70px;
  bottom: 30px;

  animation:
    ctaCircleTwo 8s linear infinite;
}

@keyframes ctaCircle {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(50px, 30px);
  }

}

@keyframes ctaCircleTwo {

  to {
    transform: rotate(360deg);
  }

}

.cta-inner {
  position: relative;

  z-index: 2;

  max-width: 850px;

  margin: auto;
}

.cta-inner .mini {
  color: #ff5277;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 2px;

  text-transform: uppercase;

  margin-bottom: 17px;
}

.cta-inner h2 {
  font-family: Poppins, sans-serif;

  color: #2d467d;

  font-size: clamp(35px, 5vw, 58px);

  line-height: 1.1;

  letter-spacing: -2.5px;

  margin-bottom: 20px;
}

.cta-inner p {
  max-width: 680px;

  margin: 0 auto 32px;

  color: #747f96;

  line-height: 1.8;
}


/* =========================================================
   CTA BUTTON
========================================================= */

.cta-button {
  position: relative;

  display: inline-flex;

  align-items: center;

  gap: 12px;

  padding: 16px 28px;

  border-radius: 13px;

  background: #2563eb;

  color: #ffffff;

  font-size: 13px;

  font-weight: 800;

  overflow: hidden;

  box-shadow: 0 15px 30px #80a6f9;
  transition:
    transform .35s ease,
    background .35s ease,
    box-shadow .35s ease;
}

.cta-button::before {
  content: "";
  position: absolute;
  left: -120%;
  top: 0;
  width: 70%;
  height: 100%;
  background:
    linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, .28),
      transparent);
  transform: skewX(-25deg);

  transition: left .7s ease;
}

.cta-button:hover::before {
  left: 140%;
}

.cta-button:hover {
  background: #2d467d;

  transform: translateY(-5px);

  box-shadow:
    0 20px 45px rgba(45, 70, 125, .25);
}

.cta-button span {
  font-size: 18px;

  transition:
    transform .3s ease;
}

.cta-button:hover span {
  transform: translateX(5px);
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal-up {
  opacity: 0;

  transform:
    translateY(45px);

  transition:
    opacity .9s ease,
    transform .9s cubic-bezier(.2, .8, .2, 1);
}

.reveal-up.active {
  opacity: 1;

  transform:
    translateY(0);
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:1050px) {

  .hero-grid {
    gap: 40px;
  }

  .hero-content h1 {
    font-size: 60px;
  }

  .hero-circle {
    width: 350px;
    height: 350px;
  }

  .hero-card {
    width: 320px;
  }

  .hero-card img {
    height: 400px;
  }

  .course-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:800px) {

  .hero-grid {
    grid-template-columns: 1fr;

    gap: 30px;

    text-align: center;
  }

  .hero-content>p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-info {
    justify-content: center;
  }

  .hero-visual {
    min-height: 430px;
  }

  .ortho_feature-grid {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .ortho_feature-content {
    text-align: center;
  }

  .ortho_feature-content p {
    margin-left: auto;
    margin-right: auto;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:620px) {

  .container {
    width: min(92%, 520px);
  }


  /* HERO */

  .course-hero {
    min-height: auto;

    padding:
      70px 0 65px;
  }

  .hero-content h1 {
    font-size: 45px;

    letter-spacing: -2px;
  }

  .hero-content>p {
    font-size: 15px;

    line-height: 1.75;
  }

  .hero-info {
    flex-direction: column;

    align-items: stretch;
  }

  .hero-info-box {
    justify-content: center;
  }


  /* HERO VISUAL */

  .hero-visual {
    min-height: 350px;
  }

  .hero-circle {
    width: 285px;
    height: 285px;
  }

  .hero-card {
    width: 270px;
  }

  .hero-card img {
    height: 330px;
  }

  .floating-icon {
    width: 52px;
    height: 52px;

    border-radius: 15px;

    font-size: 20px;
  }

  .icon-one {
    top: 25px;
    left: 0;
  }

  .icon-two {
    right: 0;
    bottom: 35px;
  }

  .icon-three {
    left: 15px;
    bottom: 5px;
  }


  /* COURSES */

  .courses-section {
    padding: 80px 0;
  }

  .section-heading {
    margin-bottom: 45px;
  }

  .section-heading h2 {
    font-size: 36px;

    letter-spacing: -1.5px;
  }

  .section-heading p {
    font-size: 15px;
  }

  .course-grid {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .course-image {
    height: 220px;
  }

  .course-card:hover {
    transform:
      translateY(-6px) scale(1);
  }


  /* FEATURE */

  .feature-band {
    padding: 80px 0;
  }

  .ortho_feature-content h2 {
    font-size: 38px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }


  /* CTA */

  .course-cta {
    padding: 80px 0;
  }

  .cta-inner h2 {
    font-size: 38px;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media(max-width:400px) {

  .hero-content h1 {
    font-size: 39px;
  }

  .hero-card {
    width: 250px;
  }

  .hero-card img {
    height: 300px;
  }

  .hero-circle {
    width: 265px;
    height: 265px;
  }

  .course-body {
    padding: 23px 20px;
  }

  .course-footer {
    align-items: flex-start;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media(prefers-reduced-motion:reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;

    transition: none !important;
  }

}

/*----------------------------------------Product page--------------------------------------------------------------------------------------------------------------*/

/* =========================================================
   IAOS PRODUCTS SECTION
========================================================= */

.iaos-products-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 120px 20px;
  background: radial-gradient(circle at 10% 20%, rgba(23, 105, 255, 0.08), transparent 30%), radial-gradient(circle at 90% 80%, rgba(0, 168, 255, 0.08), transparent 30%), #f7faff;
  color: #102525;
  isolation: isolate;
}


/* =========================================================
   BACKGROUND
========================================================= */

.iaos-bg-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.45;
  background-size: 70px 70px;
}

.iaos-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  z-index: -2;
  pointer-events: none;
}

.iaos-glow-one {
  top: -180px;
  left: -180px;
}

.iaos-glow-two {
  right: -200px;
  bottom: -200px;
  background: #2563eb;
}


/* =========================================================
   CONTAINER
========================================================= */

.iaos-products-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.iaos-products-header {
  max-width: 850px;
  margin: 0 auto 75px;
  text-align: center;
}

.iaos-section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
}

.iaos-section-label span {
  display: block;
  width: 35px;
  height: 2px;
  background: #2563eb;
}

.iaos-products-header h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.03;
  letter-spacing: -3px;
  font-weight: 300;
  color: #102525;
}

.iaos-products-header h2 strong {
  display: block;
  color: #2563eb;
  font-weight: 800;
}

.iaos-products-header p {
  max-width: 680px;
  margin: 28px auto 0;
  color: #657777;
  font-size: 17px;
  line-height: 1.8;
}


/* =========================================================
   2 COLUMN GRID
========================================================= */

.iaos-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.iaos-product-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dce7e6;
  border-radius: 28px;
  box-shadow: 0 20px 55px rgba(16, 37, 37, 0.07);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s ease,
    border-color 0.4s ease;
}

.iaos-product-card:hover {
  transform: translateY(-12px);
  border-color: #2563eb;
  box-shadow: 0 35px 80px rgba(0, 127, 123, 0.16);
}


/* =========================================================
   FEATURED CARD
========================================================= */

.iaos-featured-card {
  border: 2px solid #2563eb;
  box-shadow: 0 25px 70px rgba(0, 127, 123, 0.14);
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.iaos-product-image {
  position: relative;
  height: 370px;
  overflow: hidden;
  background: #e9f1f0;
}

.iaos-product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition:
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.6s ease;
}

.iaos-product-card:hover .iaos-product-image img {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.iaos-image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(16, 37, 37, 0.02) 20%,
      rgba(16, 37, 37, 0.45) 100%);
  pointer-events: none;
}

.iaos-product-image::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.7s ease;
}

.iaos-product-card:hover .iaos-product-image::after {
  transform: scale(1.7);
}


/* =========================================================
   IMAGE NUMBER
========================================================= */

.iaos-image-number {
  position: absolute;
  right: 25px;
  bottom: 22px;
  z-index: 2;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
}


/* =========================================================
   FEATURED TAG
========================================================= */

.iaos-product-tag {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  padding: 10px 16px;
  border-radius: 50px;
  background: #2563eb;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  box-shadow: 0 10px 25px rgba(0, 127, 123, 0.3);
}


/* =========================================================
   CONTENT
========================================================= */

.iaos-product-content {
  padding: 34px 35px 36px;
}

.iaos-product-category {
  display: inline-block;
  margin-bottom: 13px;
  color: #2563eb;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
}

.iaos-product-content h3 {
  margin: 0 0 15px;
  color: #102525;
  font-size: 31px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1px;
}

.iaos-product-content p {
  margin: 0;
  color: #657777;
  font-size: 15px;
  line-height: 1.8;
}


/* =========================================================
   PRODUCT META
========================================================= */

.iaos-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.iaos-product-meta span {
  padding: 8px 12px;
  border: 1px solid #d9e7e5;
  border-radius: 50px;
  background: #f7faf9;
  color: #506565;
  font-size: 10px;
  font-weight: 700;
}


/* =========================================================
   BUTTONS
========================================================= */

.iaos-product-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.iaos-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.iaos-btn span {
  font-size: 17px;
  transition: transform 0.3s ease;
}

.iaos-btn:hover span {
  transform: translate(3px, -3px);
}

.iaos-btn-primary {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 12px 25px #3c76f3;
}

.iaos-btn-primary:hover {
  background: #102525;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(16, 37, 37, 0.2);
}

.iaos-btn-outline {
  border: 1px solid #cbdcda;
  background: #ffffff;
  color: #102525;
}

.iaos-btn-outline:hover {
  border-color: #2563eb;
  color: #2563eb;
  transform: translateY(-3px);
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.iaos-products-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin-top: 80px;
  padding: 55px 60px;
  overflow: hidden;
  border-radius: 30px;
  background: #102525;
  box-shadow: 0 30px 70px rgba(16, 37, 37, 0.15);
}

.iaos-products-bottom::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  right: -150px;
  top: -200px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.iaos-products-bottom::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: 0;
  bottom: -170px;
  border-radius: 50%;
  background: #2563eb;
  opacity: 0.25;
  filter: blur(60px);
}

.iaos-bottom-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.iaos-bottom-content>span {
  color: #2563eb;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 3px;
}

.iaos-bottom-content h3 {
  margin: 14px 0 10px;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -1.5px;
}

.iaos-bottom-content h3 strong {
  color: #2563eb;
}

.iaos-bottom-content p {
  max-width: 620px;
  margin: 0;
  color: #b7c9c7;
  font-size: 14px;
  line-height: 1.8;
}

.iaos-bottom-button {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 17px 23px;
  border-radius: 50px;
  background: #ffffff;
  color: #102525;
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}

.iaos-bottom-button span {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.iaos-bottom-button:hover {
  background: #2563eb;
  color: #ffffff;
  transform: translateY(-4px);
}

.iaos-bottom-button:hover span {
  transform: translateX(5px);
}


/* =========================================================
   CARD REVEAL ANIMATION
========================================================= */

@keyframes iaosCardReveal {

  0% {
    opacity: 0;
    transform: translateY(50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }

}

.iaos-product-card {
  animation: iaosCardReveal 0.8s ease both;
}

.iaos-product-card:nth-child(1) {
  animation-delay: 0.05s;
}

.iaos-product-card:nth-child(2) {
  animation-delay: 0.12s;
}

.iaos-product-card:nth-child(3) {
  animation-delay: 0.19s;
}

.iaos-product-card:nth-child(4) {
  animation-delay: 0.26s;
}

.iaos-product-card:nth-child(5) {
  animation-delay: 0.33s;
}

.iaos-product-card:nth-child(6) {
  animation-delay: 0.40s;
}

.iaos-product-card:nth-child(7) {
  animation-delay: 0.47s;
}

.iaos-product-card:nth-child(8) {
  animation-delay: 0.54s;
}

.iaos-product-card:nth-child(9) {
  animation-delay: 0.61s;
}


/* =========================================================
   HEADER ANIMATION
========================================================= */

@keyframes iaosHeaderReveal {

  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }

}

.iaos-products-header {
  animation: iaosHeaderReveal 1s ease both;
}


/* =========================================================
   FLOATING BACKGROUND
========================================================= */

@keyframes iaosGlowFloat {

  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, 25px);
  }

  100% {
    transform: translate(0, 0);
  }

}

.iaos-glow-one {
  animation: iaosGlowFloat 9s ease-in-out infinite;
}

.iaos-glow-two {
  animation: iaosGlowFloat 11s ease-in-out infinite reverse;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .iaos-products-section {
    padding: 90px 20px;
  }

  .iaos-products-header {
    margin-bottom: 55px;
  }

  .iaos-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .iaos-product-image {
    height: 300px;
  }

  .iaos-product-content {
    padding: 27px;
  }

  .iaos-product-content h3 {
    font-size: 26px;
  }

  .iaos-product-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .iaos-btn {
    width: 100%;
  }

  .iaos-products-bottom {
    padding: 40px;
    align-items: flex-start;
    flex-direction: column;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  .iaos-products-section {
    padding: 70px 15px;
  }

  .iaos-products-header {
    margin-bottom: 40px;
  }

  .iaos-section-label {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .iaos-section-label span {
    width: 20px;
  }

  .iaos-products-header h2 {
    font-size: 42px;
    letter-spacing: -2px;
  }

  .iaos-products-header p {
    font-size: 14px;
    line-height: 1.7;
  }

  /* ONE COLUMN ON MOBILE */

  .iaos-products-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .iaos-product-card {
    border-radius: 22px;
  }

  .iaos-product-image {
    height: 280px;
  }

  .iaos-product-content {
    padding: 25px 22px 28px;
  }

  .iaos-product-content h3 {
    font-size: 25px;
  }

  .iaos-product-content p {
    font-size: 14px;
  }

  .iaos-product-meta {
    gap: 6px;
  }

  .iaos-product-meta span {
    font-size: 9px;
    padding: 7px 10px;
  }

  .iaos-product-actions {
    margin-top: 23px;
  }

  .iaos-products-bottom {
    margin-top: 50px;
    padding: 32px 25px;
    border-radius: 22px;
  }

  .iaos-bottom-content h3 {
    font-size: 30px;
  }

  .iaos-bottom-button {
    width: 100%;
    justify-content: center;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

  .iaos-products-header h2 {
    font-size: 36px;
  }

  .iaos-product-image {
    height: 240px;
  }

  .iaos-product-content h3 {
    font-size: 23px;
  }

  .iaos-products-bottom {
    padding: 28px 20px;
  }

}

/*-----------------------------------------------------about us page image gallery----------------------------------------------------*/

/* =====================================================
   GALLERY SECTION
===================================================== */

.a_gallery-section {
  position: relative;
  width: 100%;
  padding: 110px 20px;
  background: #ffffff;
  overflow: hidden;
}


/* Decorative background */

.a_gallery-section::before {
  content: "";
  position: absolute;

  width: 450px;
  height: 450px;

  border-radius: 50%;

  background: rgba(23, 107, 135, 0.04);

  top: -220px;
  left: -180px;

  pointer-events: none;
}

.a_gallery-section::after {
  content: "";
  position: absolute;

  width: 350px;
  height: 350px;

  border-radius: 50%;

  border: 1px solid rgba(23, 107, 135, 0.08);

  right: -150px;
  bottom: -150px;

  pointer-events: none;
}


/* =====================================================
   CONTAINER
===================================================== */

.gallery-container {
  position: relative;
  z-index: 2;
  padding-top: 50px;
  width: 100%;
  max-width: 1200px;

  margin: 0 auto;
}


/* =====================================================
   HEADING
===================================================== */

.gallery-heading {
  text-align: center;

  margin-bottom: 60px;

  opacity: 0;

  transform: translateY(40px);

  animation:
    headingReveal 1s cubic-bezier(.16, 1, .3, 1) forwards;
}

.gallery-heading span {
  position: relative;

  display: inline-flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 18px;

  color: #176b87;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 3px;

  text-transform: uppercase;
}

.gallery-heading span::before,
.gallery-heading span::after {
  content: "";

  width: 28px;
  height: 2px;

  background: #176b87;
}

.gallery-heading h2 {
  color: #14252d;

  font-size: clamp(36px, 5vw, 60px);

  line-height: 1.08;

  letter-spacing: -2.5px;

  font-weight: 700;
}

.gallery-heading h2::after {
  content: "";

  display: block;

  width: 0;
  height: 3px;

  margin: 23px auto 0;

  background: #176b87;

  animation:
    lineReveal 1s .5s cubic-bezier(.16, 1, .3, 1) forwards;
}


/* =====================================================
   GALLERY GRID
===================================================== */

.gallery-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 18px;
}


/* =====================================================
   GALLERY ITEM
===================================================== */

.gallery-item {
  position: relative;

  width: 100%;
  height: 280px;

  overflow: hidden;

  border-radius: 20px;

  background: #e9eff1;

  cursor: pointer;

  opacity: 0;

  transform:
    translateY(60px) scale(.94);

  animation:
    galleryReveal .9s cubic-bezier(.16, 1, .3, 1) forwards;

  transition:
    transform .5s cubic-bezier(.16, 1, .3, 1),

    box-shadow .5s ease;
}


/* =====================================================
   STAGGER
===================================================== */

.gallery-item:nth-child(1) {
  animation-delay: .10s;
}

.gallery-item:nth-child(2) {
  animation-delay: .18s;
}

.gallery-item:nth-child(3) {
  animation-delay: .26s;
}

.gallery-item:nth-child(4) {
  animation-delay: .34s;
}

.gallery-item:nth-child(5) {
  animation-delay: .42s;
}

.gallery-item:nth-child(6) {
  animation-delay: .50s;
}

.gallery-item:nth-child(7) {
  animation-delay: .58s;
}

.gallery-item:nth-child(8) {
  animation-delay: .66s;
}

.gallery-item:nth-child(9) {
  animation-delay: .74s;
}

.gallery-item:nth-child(10) {
  animation-delay: .82s;
}


/* =====================================================
   IMAGE
===================================================== */

.gallery-item img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transform: scale(1.08);

  transition:
    transform 1.2s cubic-bezier(.16, 1, .3, 1),

    filter .7s ease;
}


/* =====================================================
   HOVER CARD
===================================================== */

.gallery-item:hover {
  transform:
    translateY(-10px) scale(1.015);

  box-shadow:
    0 30px 70px rgba(20, 50, 60, .20);

  z-index: 10;
}

.gallery-item:hover img {
  transform: scale(1.18);

  filter:
    brightness(.72) saturate(1.1);
}


/* =====================================================
   COLORED OVERLAY
===================================================== */

.gallery-item::before {
  content: "";

  position: absolute;

  z-index: 2;

  inset: 0;

  background:
    linear-gradient(135deg,
      rgba(23, 107, 135, .72),
      rgba(20, 37, 45, .08));

  opacity: 0;

  transform: scale(.8);

  transition:
    opacity .5s ease,

    transform .7s cubic-bezier(.16, 1, .3, 1);
}

.gallery-item:hover::before {
  opacity: 1;

  transform: scale(1);
}


/* =====================================================
   LIGHT SWEEP
===================================================== */

.gallery-item::after {
  content: "";

  position: absolute;

  z-index: 3;

  top: -120%;

  left: -100%;

  width: 55%;

  height: 340%;

  background:
    linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, .42),
      transparent);

  transform: rotate(25deg);

  transition:
    left .9s ease;
}

.gallery-item:hover::after {
  left: 150%;
}


/* =====================================================
   ZOOM BUTTON
===================================================== */

.gallery-zoom {
  position: absolute;

  z-index: 5;

  left: 50%;
  top: 50%;

  width: 58px;
  height: 58px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: #ffffff;

  color: #176b87;

  opacity: 0;

  transform:
    translate(-50%, -50%) scale(.35) rotate(-45deg);

  box-shadow:
    0 15px 40px rgba(0, 0, 0, .20);

  transition:
    opacity .35s ease,

    transform .55s cubic-bezier(.16, 1, .3, 1);
}


/* Create plus symbol */

.gallery-zoom::before {
  content: "";

  position: absolute;

  width: 23px;
  height: 2px;

  background: #176b87;
}

.gallery-zoom::after {
  content: "";

  position: absolute;

  width: 2px;
  height: 23px;

  background: #176b87;
}


.gallery-item:hover .gallery-zoom {
  opacity: 1;

  transform:
    translate(-50%, -50%) scale(1) rotate(0deg);
}


/* =====================================================
   LARGE FEATURE IMAGE
===================================================== */

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;

  height: 578px;
}


/* =====================================================
   BORDER ANIMATION
===================================================== */

.gallery-item {
  border: 1px solid transparent;
}

.gallery-item:hover {
  border-color: rgba(23, 107, 135, .5);
}


/* =====================================================
   LIGHTBOX
===================================================== */

.lightbox {
  position: fixed;

  z-index: 99999;

  inset: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 60px;

  background:
    rgba(7, 18, 23, .94);

  backdrop-filter:
    blur(0px);

  opacity: 0;

  visibility: hidden;

  transition:
    opacity .45s ease,

    visibility .45s ease,

    backdrop-filter .5s ease;
}

.lightbox.active {
  opacity: 1;

  visibility: visible;

  backdrop-filter:
    blur(12px);
}


/* =====================================================
   LIGHTBOX IMAGE
===================================================== */

.lightbox-image {
  max-width: 90vw;

  max-height: 82vh;

  object-fit: contain;

  border-radius: 10px;

  opacity: 0;

  transform:
    scale(.65) translateY(30px);

  filter: blur(10px);

  box-shadow:
    0 40px 120px rgba(0, 0, 0, .55);

  transition:
    transform .65s cubic-bezier(.16, 1, .3, 1),

    opacity .45s ease,

    filter .65s ease;
}

.lightbox.active .lightbox-image {
  opacity: 1;

  transform:
    scale(1) translateY(0);

  filter: blur(0);
}


/* =====================================================
   CLOSE BUTTON
===================================================== */

.lightbox-close {
  position: absolute;

  top: 25px;
  right: 30px;

  width: 52px;
  height: 52px;

  display: flex;

  align-items: center;

  justify-content: center;

  border: 1px solid rgba(255, 255, 255, .2);

  border-radius: 50%;

  background:
    rgba(255, 255, 255, .08);

  color: #ffffff;

  font-size: 31px;

  line-height: 1;

  cursor: pointer;

  opacity: 0;

  transform:
    translateY(-20px) rotate(-45deg);

  transition:
    opacity .5s .15s ease,

    transform .5s .15s cubic-bezier(.16, 1, .3, 1),

    background .3s ease;
}

.lightbox.active .lightbox-close {
  opacity: 1;

  transform:
    translateY(0) rotate(0);
}

.lightbox-close:hover {
  background: #176b87;

  transform:
    rotate(90deg) scale(1.08);
}


/* =====================================================
   PREVIOUS / NEXT
===================================================== */

.lightbox-prev,
.lightbox-next {
  position: absolute;

  top: 50%;

  width: 58px;
  height: 58px;

  display: flex;

  align-items: center;

  justify-content: center;

  border: 1px solid rgba(255, 255, 255, .18);

  border-radius: 50%;

  background:
    rgba(255, 255, 255, .08);

  color: #ffffff;

  font-size: 35px;

  line-height: 1;

  cursor: pointer;

  transform: translateY(-50%);

  transition:
    background .3s ease,

    transform .35s ease;
}

.lightbox-prev {
  left: 25px;
}

.lightbox-next {
  right: 25px;
}

.lightbox-prev:hover {
  background: #176b87;

  transform:
    translateY(-50%) translateX(-6px);
}

.lightbox-next:hover {
  background: #176b87;

  transform:
    translateY(-50%) translateX(6px);
}


/* =====================================================
   COUNTER
===================================================== */

.lightbox-counter {
  position: absolute;

  bottom: 25px;
  left: 50%;

  padding: 9px 18px;

  border-radius: 50px;

  background:
    rgba(255, 255, 255, .10);

  border:
    1px solid rgba(255, 255, 255, .12);

  color: #ffffff;

  font-size: 13px;

  opacity: 0;

  transform:
    translate(-50%, 15px);

  transition:
    opacity .4s .3s ease,

    transform .4s .3s ease;
}

.lightbox.active .lightbox-counter {
  opacity: 1;

  transform:
    translate(-50%, 0);
}


/* =====================================================
   KEYFRAMES
===================================================== */

@keyframes headingReveal {

  from {
    opacity: 0;

    transform:
      translateY(40px);
  }

  to {
    opacity: 1;

    transform:
      translateY(0);
  }
}


@keyframes lineReveal {

  from {
    width: 0;
  }

  to {
    width: 60px;
  }
}


@keyframes galleryReveal {

  from {
    opacity: 0;

    transform:
      translateY(60px) scale(.94);
  }

  to {
    opacity: 1;

    transform:
      translateY(0) scale(1);
  }
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1050px) {

  .gallery-section {
    padding: 90px 20px;
  }

  .gallery-grid {
    grid-template-columns:
      repeat(3, 1fr);
  }

  .gallery-item {
    height: 250px;
  }

  .gallery-item.large {
    height: 518px;
  }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

  .gallery-section {
    padding: 70px 16px;
  }

  .gallery-heading {
    margin-bottom: 40px;
  }

  .gallery-heading span {
    font-size: 10px;

    letter-spacing: 2px;
  }

  .gallery-heading h2 {
    font-size: 37px;

    letter-spacing: -1.5px;
  }

  .gallery-grid {
    grid-template-columns:
      repeat(2, 1fr);

    gap: 12px;
  }

  .gallery-item {
    height: 190px;

    border-radius: 13px;
  }

  .gallery-item.large {
    grid-column: span 2;

    grid-row: span 1;

    height: 270px;
  }

  .gallery-zoom {
    width: 44px;
    height: 44px;
  }

  .gallery-zoom::before {
    width: 18px;
  }

  .gallery-zoom::after {
    height: 18px;
  }

  .lightbox {
    padding: 20px;
  }

  .lightbox-image {
    max-width: 94vw;

    max-height: 78vh;
  }

  .lightbox-close {
    top: 15px;
    right: 15px;

    width: 44px;
    height: 44px;

    font-size: 26px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 43px;
    height: 43px;

    font-size: 25px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-counter {
    bottom: 20px;
  }
}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 420px) {

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item.large {
    grid-column: span 1;

    height: 240px;
  }

  .gallery-heading h2 {
    font-size: 32px;
  }
}


/* =====================================================
   REDUCE MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: .01ms !important;
  }
}

-----------------------------------------------------------------------------------------------------------------------------------------------------------------
/* =========================================
   MAIN SECTION
========================================= */

.p-single-gallery {
  width: 100%;
  padding: 30px 20px;
  padding-top: 70px;
  padding-bottom: 70px;
  background: #f1eeee;

  box-sizing: border-box;
}


/* =========================================
   CONTAINER
========================================= */

.p-single-gallery-container {
  width: 100%;
  max-width: 1200px;
  padding-top: 50px;
  margin: 0 auto;
}


/* =========================================
   TITLE
========================================= */

.p-single-gallery-title {
  margin: 0 0 12px;
  padding-top: 50px;
  padding-bottom: 50px;
  text-align: center;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  color: #000;
}


/* =========================================
   IMAGE BOX
========================================= */

.p-single-gallery-card {
  width: 100%;

  position: relative;

  overflow: hidden;

  border-radius: 6px;

  background: #ffffff;

  box-shadow:
    0 5px 15px rgba(0, 0, 0, 0.08);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}


/* =========================================
   IMAGE
========================================= */

.p-single-gallery-card img {

  width: 100%;

  height: 430px;

  display: block;

  object-fit: cover;

  transition:
    transform 0.6s ease;
}


/* =========================================
   HOVER EFFECT
========================================= */

.p-single-gallery-card:hover {

  transform: translateY(-5px);

  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.15);
}


.p-single-gallery-card:hover img {

  transform: scale(1.05);
}


/* =========================================
   IMAGE OVERLAY
========================================= */

.p-single-gallery-overlay {

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  padding: 25px 20px 20px;

  background:
    linear-gradient(to top,
      rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0));

  opacity: 0;

  transition: opacity 0.4s ease;
}


.p-single-gallery-card:hover .p-single-gallery-overlay {

  opacity: 1;
}


.p-single-gallery-overlay span {

  color: #ffffff;

  font-family: Poppins, sans-serif;

  font-size: 18px;

  font-weight: 600;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

  .p-single-gallery {

    padding: 25px 18px;
  }

  .p-single-gallery-title {

    font-size: 28px;
  }

  .p-single-gallery-card img {

    height: 350px;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

  .p-single-gallery {

    padding: 22px 15px;
  }

  .p-single-gallery-title {

    font-size: 25px;

    margin-bottom: 10px;
  }

  .p-single-gallery-card img {

    height: 280px;
  }

  .p-single-gallery-overlay {

    opacity: 1;
  }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

  .p-single-gallery {

    padding: 20px 12px;
  }

  .p-single-gallery-title {

    font-size: 23px;
  }

  .p-single-gallery-card img {

    height: 230px;
  }

}

/*-----------------------------------------------------Inovation page *****************************************************************/
:root {
  --primary: #0b7285;
  --secondary: #e8f6f8;

  --white: #ffffff;
  --text: #253238;
  --text-light: #66757b;
  --border: #dce8eb;
}

.innovation_container {
  width: min(1180px, 92%);
  margin: 0 auto;
}


/* =========================================================
           SECTION COMMON
        ========================================================= */
.section {
  padding: 90px 0;
}

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 15px;
  border-radius: 30px;
  background: var(--secondary);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.section-title {
  max-width: 720px;
  margin-bottom: 45px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--text);
}

.section-title span {
  color: var(--primary);
}


/* =========================================================
           SECTION 1
           TWO IMAGE CARDS
        ========================================================= */
.treatment-section {
  background: #ecf1fa;
}

.treatment-heading {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.treatment-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.treatment-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.10);
}

.treatment-image {
  position: relative;
  height: 330px;
  overflow: hidden;
}

.treatment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.treatment-card:hover .treatment-image img {
  transform: scale(1.06);
}

.treatment-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      transparent 55%,
      rgba(0, 0, 0, 0.25));
  pointer-events: none;
}

.card-number {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;

  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: var(--primary);
  color: var(--white);

  font-size: 15px;
  font-weight: 700;
}

.treatment-content {
  padding: 30px;
}

.treatment-content h3 {
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 1.25;
  color: var(--text);
}

.treatment-content p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;

  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.card-link span {
  transition: transform 0.3s ease;
}

.card-link:hover span {
  transform: translateX(5px);
}


/* =========================================================
           SECTION 2
           PARAGRAPH + BULLET POINTS
        ========================================================= */
.information-section {
  background: var(--white);
}

.information-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.information-title {
  margin-bottom: 20px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
}

.information-title span {
  color: var(--primary);
}

.information-text {
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.9;
}

.bullet-box {
  padding: 35px;
  border: 1px solid #d8e4fc;
  border-radius: 24px;
  background: #e8eef7;
}

.bullet-box-title {
  margin-bottom: 24px;
  color: var(--text);
  font-size: 23px;
}

.benefit-list {
  list-style: none;
  display: grid;
  gap: 16px;
}

.benefit-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;

  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

.benefit-icon {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-top: 1px;
  border-radius: 50%;

  background: var(--primary);
  color: var(--white);

  font-size: 14px;
  font-weight: 700;
}


/* =========================================================
           SIMPLE SCROLL ANIMATION
        ========================================================= */
.fade-up {
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================================================
           RESPONSIVE
        ========================================================= */
@media (max-width: 900px) {

  .section {
    padding: 70px 0;
  }

  .treatment-grid {
    grid-template-columns: 1fr;
  }

  .information-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-title {
    margin-bottom: 35px;
  }
}


@media (max-width: 600px) {

  .section {
    padding: 55px 0;
  }

  .container {
    width: 90%;
  }

  .treatment-image {
    height: 250px;
  }

  .treatment-content {
    padding: 24px;
  }

  .treatment-content h3 {
    font-size: 23px;
  }

  .bullet-box {
    padding: 25px 22px;
  }

  .information-text {
    font-size: 16px;
  }
}

/*-----------------------------------------------------------------------*/
/* =========================================================
   INVENTIONS SECTION
========================================================= */

.inventions-section {
  --primary: #2563eb;
  --secondary: #c9d8fa;
  --dark: #17272c;
  --text: #506168;
  --white: #ffffff;
  --border: #d2ddf7;

  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background: var(--white);
}

.inventions-container {
  position: relative;
  z-index: 2;

  width: min(1120px, 90%);
  margin: auto;
}


/* =========================================================
   HEADER
========================================================= */

.inventions-header {
  max-width: 780px;
  margin-bottom: 65px;
}

.inventions-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 16px;

  border-radius: 50px;

  background: var(--secondary);
  color: var(--primary);

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.inventions-header h2 {
  margin: 20px 0;

  color: var(--dark);

  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -2px;
}

.inventions-header h2 span {
  display: block;
  color: var(--primary);
}

.inventions-header p {
  max-width: 650px;

  color: var(--text);

  font-size: 17px;
  line-height: 1.8;
}


/* =========================================================
   MAIN FEATURE
========================================================= */

.invention-feature {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr 130px;
  gap: 35px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #e5e7eb;

  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.06);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.invention-feature:hover {
  transform: translateY(-8px);

  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.10);
}


/* Number */

.feature-number {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 70px;
  height: 70px;

  border-radius: 20px;

  background: var(--primary);
  color: var(--white);

  font-size: 20px;
  font-weight: 800;
}


/* Content */

.feature-tag {
  color: var(--primary);

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.feature-content h3 {
  margin: 12px 0 18px;

  color: var(--dark);

  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.feature-content p {
  max-width: 720px;
  margin-bottom: 15px;
  color: #050438 !important;
  font-size: 16px;
  line-height: 1.85;
}

.feature-content strong {
  color: var(--primary);
}


/* Year */

.feature-year {
  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  min-height: 130px;

  border-left: 1px solid var(--border);
}

.feature-year span {
  color: var(--text);

  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-year strong {
  margin-top: 5px;

  color: var(--primary);

  font-size: 32px;
}


/* =========================================================
   STORY
========================================================= */

.innovation-story {
  position: relative;

  display: grid;
  grid-template-columns: 4px 58px 1fr;
  gap: 25px;

  align-items: center;

  max-width: 900px;

  margin: 65px auto;
}

.story-line {
  height: 100%;

  min-height: 150px;

  border-radius: 10px;

  background: var(--primary);
}

.story-icon {
  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: var(--secondary);
  color: var(--primary);

  font-size: 25px;

  transition:
    transform 0.4s ease,
    background 0.4s ease;
}

.innovation-story:hover .story-icon {
  transform: rotate(180deg);

  background: var(--primary);
  color: var(--white);
}

.story-label {
  color: var(--primary);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.story-content h3 {
  margin: 8px 0 12px;

  color: var(--dark);

  font-size: 30px;
}

.story-content p {
  max-width: 700px;

  color: var(--text);

  font-size: 16px;
  line-height: 1.8;
}


/* =========================================================
   PATIENT TRIBUTE
========================================================= */

.patient-tribute {
  position: relative;

  display: grid;
  grid-template-columns: 80px 1fr 150px;

  gap: 30px;
  align-items: center;

  margin: 70px 0;

  padding: 45px;

  border-radius: 28px;

  background: var(--primary);

  overflow: hidden;
}


/* Decorative circle */

.patient-tribute::after {
  content: "";

  position: absolute;

  width: 250px;
  height: 250px;

  right: -100px;
  bottom: -140px;

  border: 50px solid rgba(255, 255, 255, 0.08);

  border-radius: 50%;
}


/* Quote */

.quote-mark {
  font-family: Poppins, sans-serif;

  color: var(--white);

  font-size: 90px;
  line-height: 0.7;

  opacity: 0.5;
}


/* Content */

.tribute-content span {
  color: var(--white);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 1.5px;
  text-transform: uppercase;

  opacity: 0.8;
}

.tribute-content p {
  margin-top: 12px;

  color: var(--white);

  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.6;
}

.tribute-content strong {
  font-weight: 800;
}


/* Count */

.tribute-count {
  position: relative;
  z-index: 2;

  text-align: center;

  padding-left: 25px;

  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.tribute-count strong {
  display: block;

  color: var(--white);

  font-size: 40px;
  line-height: 1;
}

.tribute-count span {
  display: block;

  margin-top: 8px;

  color: var(--white);

  font-size: 12px;

  letter-spacing: 1px;
  text-transform: uppercase;

  opacity: 0.75;
}


/* =========================================================
   OTHER INVENTIONS
========================================================= */

.other-inventions {
  padding-top: 25px;
}

.other-heading {
  max-width: 650px;
}

.other-heading h3 {
  margin: 18px 0 12px;

  color: var(--dark);

  font-size: 34px;
}

.other-heading p {
  color: var(--text);

  font-size: 16px;
  line-height: 1.8;
}


/* Decorative line */

.innovation-line {
  display: flex;

  gap: 8px;

  margin-top: 30px;
}

.innovation-line span {
  display: block;

  height: 4px;

  border-radius: 10px;

  background: var(--primary);

  animation: linePulse 2s ease-in-out infinite;
}

.innovation-line span:nth-child(1) {
  width: 70px;
}

.innovation-line span:nth-child(2) {
  width: 35px;
  animation-delay: 0.2s;
}

.innovation-line span:nth-child(3) {
  width: 15px;
  animation-delay: 0.4s;
}


@keyframes linePulse {

  0%,
  100% {
    opacity: 0.35;
    transform: scaleX(0.8);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal-invention {
  opacity: 0;
  transform: translateY(35px);

  animation:
    inventionReveal 0.9s ease forwards;
}

.inventions-header {
  animation-delay: 0.1s;
}

.invention-feature {
  animation-delay: 0.25s;
}

.innovation-story {
  animation-delay: 0.4s;
}

.patient-tribute {
  animation-delay: 0.55s;
}

.other-inventions {
  animation-delay: 0.7s;
}


@keyframes inventionReveal {

  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 850px) {

  .inventions-section {
    padding: 80px 0;
  }

  .invention-feature {
    grid-template-columns: 65px 1fr;

    padding: 35px;
  }

  .feature-year {
    grid-column: 2;

    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;

    min-height: auto;

    padding-top: 20px;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .feature-year strong {
    margin-top: 0;
  }

  .patient-tribute {
    grid-template-columns: 60px 1fr;
  }

  .tribute-count {
    grid-column: 2;

    display: flex;
    align-items: center;
    gap: 10px;

    padding-left: 0;
    padding-top: 20px;

    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

  .tribute-count strong {
    font-size: 30px;
  }

  .tribute-count span {
    margin-top: 0;
  }

}


@media (max-width: 600px) {

  .inventions-section {
    padding: 65px 0;
  }

  .inventions-header h2 {
    letter-spacing: -1px;
  }

  .invention-feature {
    display: block;

    padding: 28px;

    border-radius: 22px;
  }

  .feature-number {
    margin-bottom: 25px;
  }

  .feature-content h3 {
    font-size: 29px;
  }

  .feature-year {
    margin-top: 25px;
  }

  .innovation-story {
    grid-template-columns: 4px 48px 1fr;
    gap: 15px;

    margin: 50px 0;
  }

  .story-icon {
    width: 48px;
    height: 48px;
  }

  .story-content h3 {
    font-size: 25px;
  }

  .patient-tribute {
    display: block;

    padding: 30px;

    border-radius: 22px;
  }

  .quote-mark {
    font-size: 65px;
    margin-bottom: 15px;
  }

  .tribute-count {
    margin-top: 25px;
  }

}

/*-------------------------------------------------------------------Books-Painting --------------------------------------------------------------------------------------*/

/* =========================================================
           THEME
        ========================================================= */

:root {
  --primary: #2563eb;
  --primary-dark: #0f5066;
  --secondary: #eaf5f8;
  --dark: #17252b;
  --text: #53636a;
  --white: #ffffff;
  --border: #dce8eb;
}


/* =========================================================
           GLOBAL
        ========================================================= */

img {
  max-width: 100%;
  display: block;
}


/* =========================================================
           HERO
        ========================================================= */

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 75px 0 75px;
  background:
    linear-gradient(135deg,
      #ffffff 0%,
      var(--secondary) 100%);
}

.about-hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -220px;
  top: -230px;
  border-radius: 50%;
  background: rgba(23, 107, 135, .08);
}

.about-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -150px;
  bottom: -130px;
  border-radius: 50%;
  border: 45px solid rgba(23, 107, 135, .06);
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-label {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--secondary);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: fadeDown .8s ease both;
}

.hero-title {
  max-width: 900px;
  margin-top: 22px;
  font-size: clamp(42px, 6vw, 46px);
  line-height: 1.02;
  letter-spacing: -3px;
  font-weight: 800;
  animation: fadeUp .9s ease .1s both;
}

.hero-title span {
  color: var(--primary);
}

.hero-description {
  max-width: 720px;
  margin-top: 25px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.85;
  animation: fadeUp .9s ease .2s both;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  animation: fadeUp .9s ease .3s both;
}

.hero-meta span {
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
}


/* =========================================================
           COMMON SECTION
        ========================================================= */

.about-section {
  padding: 95px 0;
}

.section-label {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--secondary);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.section-title {
  margin-top: 16px;
  font-size: clamp(32px, 4vw, 36px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  font-weight: 800;
}

.about_title_black {
  max-width: 100% !important;
}

.section-title span {
  color: var(--primary);
}

.section-intro {
  max-width: 720px;
  margin-top: 18px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.85;
}


/* =========================================================
           BIOGRAPHY
        ========================================================= */

.bio-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 70px;
  align-items: start;
}

.bio-image {
  position: sticky;
  top: 110px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--secondary);
  border: 1px solid var(--border);
}

.bio-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.bio-caption {
  padding: 22px;
}

.bio-caption h3 {
  font-size: 22px;
  font-weight: 800;
}

.bio-caption p {
  margin-top: 6px;
  color: var(--text);
  font-size: 14px;
}

.bio-content {
  display: grid;
  gap: 28px;
}

.bio-block {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.bio-block:last-child {
  border-bottom: 0;
}

.bio-block h3 {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 24px;
  font-weight: 800;
}

.bio-block p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.9;
}


/* =========================================================
           IMAGE GALLERY CARDS
        ========================================================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 45px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border-radius: 22px;
  background: var(--secondary);
  border: 1px solid var(--border);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  transition: transform .6s ease;
}

.gallery-card:hover img {
  transform: scale(1.07);
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 25px;
  color: white;
  background: linear-gradient(transparent,
      rgba(0, 0, 0, .75));
}

.gallery-overlay h4 {
  font-size: 18px;
  font-weight: 800;
}


/* =========================================================
           FEATURE CARDS
        ========================================================= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 45px;
}

.feature-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: white;
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(23, 107, 135, .3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .08);
}

.feature-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 800;
}

.feature-card h3 {
  margin-top: 20px;
  font-size: 21px;
  font-weight: 800;
}

.feature-card p {
  margin-top: 10px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
}


/* =========================================================
           TIMELINE
        ========================================================= */

.timeline {
  position: relative;
  margin-top: 55px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 25px;
  margin-bottom: 45px;
}

.timeline-dot {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 0 0 8px var(--secondary);
}

.timeline-content {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: white;
  transition: transform .35s ease;
}

.timeline-content:hover {
  transform: translateX(8px);
}

.timeline-content h3 {
  font-size: 24px;
  font-weight: 800;
}

.timeline-content p {
  margin-top: 10px;
  color: var(--text);
  line-height: 1.85;
}


/* =========================================================
           STATISTICS
        ========================================================= */

.stats-section {
  background: var(--secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 45px;
}

.stat-card {
  padding: 32px 20px;
  text-align: center;
  border-radius: 22px;
  background: white;
  border: 1px solid var(--border);
  transition: transform .35s ease;
}

.stat-card:hover {
  transform: translateY(-7px);
}

.stat-card strong {
  display: block;
  color: var(--primary);
  font-size: 40px;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}


/* =========================================================
           DARK FEATURE SECTION
        ========================================================= */

.dark-section {
  position: relative;
  overflow: hidden;
  background: #0b1e48 !important;
  color: white;
}

.dark-section::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -250px;
  top: -250px;
  border: 80px solid rgba(255, 255, 255, .04);
  border-radius: 50%;
}

.dark-section .section-label {
  background: rgba(255, 255, 255, .08);
  color: white;
}

.dark-section .section-title {
  color: white;
}

.dark-section .section-intro {
  color: rgba(255, 255, 255, .7);
}

.dark-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 50px;
}

.dark-card {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(10px);
  transition: transform .35s ease;
}

.dark-card:hover {
  transform: translateY(-7px);
}

.dark-card h3 {
  font-size: 23px;
  font-weight: 800;
}

.dark-card p {
  margin-top: 12px;
  color: rgba(255, 255, 255, .68);
  line-height: 1.85;
}


/* =========================================================
           ACHIEVEMENTS
        ========================================================= */

.achievement-box {
  margin-top: 45px;
  padding: 40px;
  border-radius: 28px;
  background: var(--secondary);
  border: 1px solid var(--border);
}

.achievement-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 35px;
  margin-top: 25px;
}

.achievement-list li {
  position: relative;
  padding-left: 28px;
  list-style: none;
  color: var(--text);
  line-height: 1.7;
}

.achievement-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 900;
}


/* =========================================================
           PRESENT PRACTICE
        ========================================================= */

.present-box {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 50px;
  align-items: center;
  margin-top: 45px;
  padding: 45px;
  border-radius: 30px;
  background: var(--secondary);
  border: 1px solid var(--border);
}

.present-box p {
  color: var(--text);
  line-height: 1.9;
}

.specialties {
  display: grid;
  gap: 12px;
}

.specialty {
  padding: 17px 20px;
  border-radius: 15px;
  background: white;
  border: 1px solid var(--border);
  color: var(--dark);
  font-weight: 700;
}


/* =========================================================
           GUIDELINES
        ========================================================= */

.guidelines {
  display: grid;
  gap: 15px;
  margin-top: 40px;
}

.guideline {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: transform .3s ease;
}

.guideline:hover {
  transform: translateX(7px);
}

.guideline-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  font-weight: 800;
}

.guideline p {
  color: var(--text);
  line-height: 1.8;
}


/* =========================================================
           ANIMATIONS
        ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(35px);
  animation: revealAnimation .9s ease forwards;
}

.delay-1 {
  animation-delay: .1s;
}

.delay-2 {
  animation-delay: .2s;
}

.delay-3 {
  animation-delay: .3s;
}

.delay-4 {
  animation-delay: .4s;
}

@keyframes revealAnimation {

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

@keyframes fadeUp {

  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

@keyframes fadeDown {

  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


/* =========================================================
           RESPONSIVE
        ========================================================= */

@media (max-width: 900px) {

  .about-section {
    padding: 70px 0;
  }

  .bio-grid,
  .present-box {
    grid-template-columns: 1fr;
  }

  .bio-image {
    position: relative;
    top: auto;
    max-width: 600px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


@media (max-width: 640px) {

  .about-hero {
    padding: 75px 0;
  }

  .hero-title {
    letter-spacing: -1.5px;
  }

  .about-section {
    padding: 60px 0;
  }

  .feature-grid,
  .gallery-grid,
  .dark-grid,
  .achievement-list {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-item {
    grid-template-columns: 42px 1fr;
    gap: 15px;
  }

  .timeline-dot {
    width: 42px;
    height: 42px;
    font-size: 11px;
  }

  .timeline::before {
    left: 20px;
  }

  .present-box {
    padding: 28px;
  }

  .achievement-box {
    padding: 28px;
  }

  .guideline {
    grid-template-columns: 40px 1fr;
    padding: 20px;
  }

}

/* =========================================================
   EXTRA CSS ANIMATIONS
   Design/layout remains unchanged
========================================================= */


/* =========================================================
   1. HERO BACKGROUND FLOATING ANIMATION
========================================================= */

.about-hero::before {
  animation: heroCircleFloat 8s ease-in-out infinite;
}

.about-hero::after {
  animation: heroCircleFloatReverse 10s ease-in-out infinite;
}

@keyframes heroCircleFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-25px, 30px) scale(1.08);
  }
}

@keyframes heroCircleFloatReverse {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(25px, -20px) rotate(15deg);
  }
}


/* =========================================================
   2. HERO TEXT ANIMATION
========================================================= */

.hero-label {
  animation:
    fadeDown .8s ease both,
    labelFloat 4s ease-in-out 1s infinite;
}

@keyframes labelFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}


.hero-title span {
  display: inline-block;
  animation: titleGlow 4s ease-in-out infinite;
}

@keyframes titleGlow {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(5px);
  }
}


/* =========================================================
   3. HERO META ANIMATION
========================================================= */

.hero-meta span {
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

.hero-meta span:hover {
  transform: translateY(-5px);
  border-color: var(--primary);

  box-shadow:
    0 10px 25px rgba(23, 107, 135, .12);
}


/* =========================================================
   4. IMAGE HOVER EFFECT
========================================================= */

.bio-image {
  transition:
    transform .5s ease,
    box-shadow .5s ease;
}

.bio-image:hover {
  transform: translateY(-8px);

  box-shadow:
    0 30px 70px rgba(0, 0, 0, .12);
}

.bio-image img {
  transition:
    transform .8s cubic-bezier(.2, .8, .2, 1);
}

.bio-image:hover img {
  transform: scale(1.04);
}


/* =========================================================
   5. IMAGE LIGHT SWEEP
========================================================= */

.bio-image,
.gallery-card {
  position: relative;
}

.bio-image::after,
.gallery-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background:
    linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, .25),
      transparent);
  transform: skewX(-20deg);
  transition: left .8s ease;
  pointer-events: none;
}

.bio-image:hover::after,
.gallery-card:hover::after {
  left: 140%;
}


/* =========================================================
   6. BIOGRAPHY BLOCK
========================================================= */

.bio-block {
  position: relative;
  transition:
    transform .35s ease,
    padding-left .35s ease;
}

.bio-block::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 5px;
  width: 3px;
  height: 0;
  border-radius: 10px;
  background: var(--primary);
  transition: height .4s ease;
}

.bio-block:hover {
  transform: translateX(7px);
}

.bio-block:hover::before {
  height: calc(100% - 10px);
}


/* =========================================================
   7. SECTION LABEL ANIMATION
========================================================= */

.section-label {
  position: relative;
  overflow: hidden;
}

.section-label::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background:
    linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, .7),
      transparent);
  animation: labelSweep 4s ease-in-out infinite;
}

@keyframes labelSweep {

  0% {
    left: -100%;
  }

  45%,
  100% {
    left: 150%;
  }
}


/* =========================================================
   8. FEATURE CARD ANIMATION
========================================================= */

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-number {
  transition:
    transform .4s ease,
    border-radius .4s ease;
}

.feature-card:hover .feature-number {
  transform: rotate(-8deg) scale(1.08);
  border-radius: 18px;
}


/* =========================================================
   9. GALLERY CARD
========================================================= */

.gallery-card {
  transition:
    transform .45s ease,
    box-shadow .45s ease;
}

.gallery-card:hover {
  transform: translateY(-8px);

  box-shadow:
    0 25px 55px rgba(0, 0, 0, .12);
}

.gallery-overlay {
  transition:
    padding-bottom .4s ease;
}

.gallery-card:hover .gallery-overlay {
  padding-bottom: 32px;
}


/* =========================================================
   10. TIMELINE ANIMATION
========================================================= */

.timeline::before {
  transform-origin: top;

  animation:
    timelineGrow 2s ease forwards;
}

@keyframes timelineGrow {

  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}


.timeline-dot {
  transition:
    transform .4s ease,
    box-shadow .4s ease;
}

.timeline-item:hover .timeline-dot {

  transform: scale(1.15);

  box-shadow:
    0 0 0 8px var(--secondary),
    0 10px 25px rgba(23, 107, 135, .25);
}


.timeline-content {
  position: relative;
  overflow: hidden;

  transition:
    transform .4s ease,
    box-shadow .4s ease;
}

.timeline-content::after {
  content: "";

  position: absolute;

  width: 5px;
  height: 0;

  left: 0;
  top: 0;

  background: var(--primary);

  transition: height .4s ease;
}

.timeline-content:hover {
  transform: translateX(10px);

  box-shadow:
    0 20px 45px rgba(0, 0, 0, .08);
}

.timeline-content:hover::after {
  height: 100%;
}


/* =========================================================
   11. STAT CARD NUMBER ANIMATION
========================================================= */

.stat-card {
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";

  position: absolute;

  width: 120px;
  height: 120px;

  right: -70px;
  top: -70px;

  border-radius: 50%;

  background: var(--secondary);

  transition:
    transform .5s ease;
}

.stat-card:hover::before {
  transform: scale(2);
}

.stat-card strong {
  position: relative;
  z-index: 2;

  transition:
    transform .4s ease;
}

.stat-card:hover strong {
  transform: scale(1.08);
}


/* =========================================================
   12. DARK CARD ANIMATION
========================================================= */

.dark-card {
  position: relative;
  overflow: hidden;

  transition:
    transform .4s ease,
    border-color .4s ease,
    background .4s ease;
}

.dark-card::before {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 100%;
  height: 2px;

  background: rgba(255, 255, 255, .7);

  transform: scaleX(0);
  transform-origin: left;

  transition: transform .5s ease;
}

.dark-card:hover {
  transform: translateY(-9px);

  border-color: rgba(255, 255, 255, .25);

  background: rgba(255, 255, 255, .07);
}

.dark-card:hover::before {
  transform: scaleX(1);
}


/* =========================================================
   13. ACHIEVEMENT CHECK ANIMATION
========================================================= */

.achievement-list li {
  transition:
    transform .3s ease,
    color .3s ease;
}

.achievement-list li:hover {
  transform: translateX(8px);
  color: var(--primary);
}

.achievement-list li::before {
  transition:
    transform .3s ease;
}

.achievement-list li:hover::before {
  transform: scale(1.3) rotate(10deg);
}


/* =========================================================
   14. SPECIALTY CARDS
========================================================= */

.specialty {
  position: relative;
  overflow: hidden;

  transition:
    transform .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
}

.specialty::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 4px;
  height: 100%;

  background: var(--primary);

  transform: scaleY(0);

  transition: transform .35s ease;
}

.specialty:hover {
  transform: translateX(8px);

  border-color: var(--primary);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, .07);
}

.specialty:hover::before {
  transform: scaleY(1);
}


/* =========================================================
   15. GUIDELINE ANIMATION
========================================================= */

.guideline {
  position: relative;
  overflow: hidden;

  transition:
    transform .4s ease,
    box-shadow .4s ease,
    border-color .4s ease;
}

.guideline::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 3px;
  height: 100%;

  background: var(--primary);

  transform: scaleY(0);
  transform-origin: bottom;

  transition: transform .4s ease;
}

.guideline:hover {
  transform: translateX(8px);

  border-color: rgba(23, 107, 135, .3);

  box-shadow:
    0 15px 40px rgba(0, 0, 0, .07);
}

.guideline:hover::before {
  transform: scaleY(1);
}

.guideline-number {
  transition:
    transform .4s ease;
}

.guideline:hover .guideline-number {
  transform: rotate(8deg) scale(1.08);
}


/* =========================================================
   16. PRESENT BOX FLOATING EFFECT
========================================================= */

.present-box {
  transition:
    transform .5s ease,
    box-shadow .5s ease;
}

.present-box:hover {
  transform: translateY(-6px);

  box-shadow:
    0 25px 60px rgba(0, 0, 0, .08);
}


/* =========================================================
   17. CTA BUTTON ANIMATION
========================================================= */

a[href="consultation.html"] {
  position: relative;
  overflow: hidden;

  transition:
    transform .35s ease,
    box-shadow .35s ease;
}

a[href="consultation.html"]::before {
  content: "";

  position: absolute;

  top: 0;
  left: -120%;

  width: 80%;
  height: 100%;

  background:
    linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, .35),
      transparent);

  transform: skewX(-20deg);

  transition: left .7s ease;
}

a[href="consultation.html"]:hover {
  transform: translateY(-4px);

  box-shadow:
    0 15px 35px rgba(0, 0, 0, .15);
}

a[href="consultation.html"]:hover::before {
  left: 140%;
}


/* =========================================================
   18. GENERAL HOVER FOR HEADINGS
========================================================= */

.section-title span {
  display: inline-block;

  transition:
    transform .4s ease;
}

.section-title:hover span {
  transform: translateX(5px);
}


/* =========================================================
   19. FLOATING FEATURE NUMBERS
========================================================= */

.feature-number {
  animation:
    subtleFloat 5s ease-in-out infinite;
}

.feature-card:nth-child(2) .feature-number {
  animation-delay: .8s;
}

.feature-card:nth-child(3) .feature-number {
  animation-delay: 1.6s;
}

@keyframes subtleFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}


/* =========================================================
   20. ACCESSIBILITY
   Respect reduced-motion preferences
========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

}

/*--------------------------Books ---------------------------------------------------------------------------------------------*/

/* ==============================
   SECTION
============================== */

.image-card-section {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 70px 20px;
}

/* ==============================
   2 COLUMN GRID
============================== */

.image-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* ==============================
   IMAGE CARD
============================== */

.image-card {
  position: relative;
  height: 430px;
  overflow: hidden;

  border-radius: 22px;
  background: #fff;

  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.08);

  opacity: 0;
  transform: translateY(60px) scale(.96);

  animation: cardReveal 1s cubic-bezier(.2, .8, .2, 1) forwards;

  transition:
    transform .5s ease,
    box-shadow .5s ease;
}

/* Stagger animation */

.image-card:nth-child(1) {
  animation-delay: .1s;
}

.image-card:nth-child(2) {
  animation-delay: .25s;
}

.image-card:nth-child(3) {
  animation-delay: .4s;
}

.image-card:nth-child(4) {
  animation-delay: .55s;
}

/* ==============================
   IMAGE
============================== */

.image-card img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transform: scale(1.02);

  transition:
    transform 1s cubic-bezier(.2, .8, .2, 1),
    filter .6s ease;
}

/* ==============================
   HOVER
============================== */

.image-card:hover {
  transform: translateY(-12px) scale(1.015);

  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.16);
}

.image-card:hover img {
  transform: scale(1.12);

  filter: brightness(1.04);
}

/* ==============================
   LIGHT SHINE
============================== */

.image-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: -130%;

  width: 65%;
  height: 100%;

  z-index: 2;

  background:
    linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, .35),
      transparent);

  transform: skewX(-22deg);

  pointer-events: none;
}

.image-card:hover::before {
  animation: imageShine .9s ease;
}

@keyframes imageShine {

  0% {
    left: -130%;
  }

  100% {
    left: 150%;
  }
}

/* ==============================
   ANIMATED BORDER
============================== */

.image-card::after {
  content: "";

  position: absolute;

  inset: 0;

  border-radius: 22px;

  border: 2px solid transparent;

  pointer-events: none;

  transition:
    border-color .4s ease,
    box-shadow .4s ease;
}

.image-card:hover::after {
  border-color: rgba(23, 107, 135, .45);

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .2);
}

/* ==============================
   REVEAL ANIMATION
============================== */

@keyframes cardReveal {

  0% {
    opacity: 0;
    transform:
      translateY(60px) scale(.94);
  }

  60% {
    opacity: 1;
    transform:
      translateY(-5px) scale(1.01);
  }

  100% {
    opacity: 1;
    transform:
      translateY(0) scale(1);
  }
}

/* ==============================
   FLOATING ANIMATION
============================== */

.image-card:nth-child(odd) {
  animation:
    cardReveal 1s cubic-bezier(.2, .8, .2, 1) forwards,
    cardFloat 6s ease-in-out 1.2s infinite;
}

.image-card:nth-child(even) {
  animation:
    cardReveal 1s cubic-bezier(.2, .8, .2, 1) forwards,
    cardFloatReverse 7s ease-in-out 1.4s infinite;
}

@keyframes cardFloat {

  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: -6px;
  }
}

@keyframes cardFloatReverse {

  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: 6px;
  }
}

/* ==============================
   IMAGE PULSE
============================== */

.image-card img {
  animation: imageBreath 8s ease-in-out infinite;
}

@keyframes imageBreath {

  0%,
  100% {
    transform: scale(1.02);
  }

  50% {
    transform: scale(1.045);
  }
}

/* Stop breathing and zoom on hover */

.image-card:hover img {
  animation: none;
  transform: scale(1.12);
}

/* ==============================
   TABLET
============================== */

@media (max-width: 768px) {

  .image-card-section {
    padding: 50px 18px;
  }

  .image-card-grid {
    gap: 20px;
  }

  .image-card {
    height: 340px;
    border-radius: 18px;
  }

  .image-card::after {
    border-radius: 18px;
  }
}

/* ==============================
   MOBILE
============================== */

@media (max-width: 550px) {

  .image-card-section {
    padding: 35px 15px;
  }

  .image-card-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .image-card {
    height: 320px;
    border-radius: 18px;
  }

  .image-card::after {
    border-radius: 18px;
  }

  .image-card:hover {
    transform: translateY(-7px);
  }
}

/* ==============================
   REDUCED MOTION
============================== */

@media (prefers-reduced-motion: reduce) {

  .image-card,
  .image-card img,
  .image-card::before {
    animation: none !important;
    transition: none !important;
  }

  .image-card {
    opacity: 1;
    transform: none;
  }
}

/* =========================================
   SECTION HEADING
========================================= */

.image-card-heading {
  text-align: center;
  max-width: 100%;
  margin: 0 auto 45px;
  opacity: 0;
  transform: translateY(30px);
  animation: headingReveal 1s ease forwards;
}

.image-card-heading span {
  display: inline-block;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;

  margin-bottom: 12px;

  color: var(--primary, #176b87);

  animation: labelFloat 4s ease-in-out infinite;
}

.image-card-heading h2 {
  margin: 0;

  font-size: clamp(25px, 4vw, 20px);
  line-height: 1.15;

  font-weight: 700;

  color: #17252b;

  animation: titleReveal 1s ease .15s both;
}

.image-card-heading p {
  margin: 16px auto 0;

  max-width: 620px;

  font-size: 16px;
  line-height: 1.7;

  color: #66757c;

  animation: subtitleReveal 1s ease .3s both;
}


/* =========================================
   HEADING ANIMATIONS
========================================= */

@keyframes headingReveal {

  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleReveal {

  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes subtitleReveal {

  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes labelFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 550px) {

  .image-card-heading {
    margin-bottom: 30px;
  }

  .image-card-heading h2 {
    font-size: 30px;
  }

  .image-card-heading p {
    font-size: 14px;
    line-height: 1.6;
  }
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

  .image-card-heading,
  .image-card-heading span,
  .image-card-heading h2,
  .image-card-heading p {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------*/

/* =========================================================
   SECTION
========================================================= */

.iaos-modern-section {
  position: relative;
  width: 100%;
  padding: 90px 20px;
  overflow: hidden;

  background:
    radial-gradient(circle at 10% 20%,
      rgba(23, 105, 255, 0.08),
      transparent 30%),
    radial-gradient(circle at 90% 80%,
      rgba(0, 168, 255, 0.08),
      transparent 30%),
    #f7faff;
}


.iaos-modern-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.iaos-modern-wrapper {

  display: grid;

  grid-template-columns:
    0.85fr 1.15fr;

  gap: 50px;

  align-items: center;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.iaos-left-content {
  position: relative;
  z-index: 2;
}


.iaos-overline {

  display: inline-flex;

  align-items: center;

  gap: 10px;

  margin-bottom: 18px;

  color: #1769ff;

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 2px;

  text-transform: uppercase;

  animation:
    iaosSlideLeft 0.8s ease both;
}


.iaos-overline::before {

  content: "";

  width: 35px;
  height: 2px;

  background: #1769ff;
}


.iaos-main-heading {

  color: #073b7d;

  font-family: Poppins, sans-serif;

  font-size: 46px;

  line-height: 1.15;

  font-weight: 700;

  margin-bottom: 10px;

  animation:
    iaosSlideLeft 0.9s ease both;
}


.iaos-main-heading span {
  color: #1769ff;
}


.iaos-question {

  color: #073b7d;

  font-family: Poppins, sans-serif;
  font-size: 28px;

  line-height: 1.35;

  margin-bottom: 25px;

  animation:
    iaosSlideLeft 1s ease both;
}


.iaos-question span {
  color: #1769ff;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.iaos-description {

  max-width: 480px;

  color: #5b6b7d;

  font-size: 16px;

  line-height: 1.8;

  margin-bottom: 28px;

  animation:
    iaosSlideLeft 1.1s ease both;
}


/* =========================================================
   BUTTON
========================================================= */

.iaos-modern-button {

  position: relative;

  display: inline-flex;

  align-items: center;

  gap: 14px;

  padding: 15px 28px;

  background:
    linear-gradient(135deg,
      #063b87,
      #1769ff);

  color: #fff;

  text-decoration: none;

  border-radius: 50px;

  font-size: 14px;

  font-weight: 700;

  letter-spacing: 1px;

  overflow: hidden;

  box-shadow:
    0 12px 30px rgba(23, 105, 255, 0.25);

  transition:
    transform .35s ease,
    box-shadow .35s ease;

  animation:
    iaosSlideLeft 1.2s ease both;
}


.iaos-modern-button::before {

  content: "";

  position: absolute;

  top: 0;
  left: -120%;

  width: 80%;
  height: 100%;

  background:
    linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, .35),
      transparent);

  transform: skewX(-20deg);

  transition:
    left .7s ease;
}


.iaos-modern-button:hover::before {
  left: 130%;
}


.iaos-modern-button:hover {

  transform:
    translateY(-5px);

  box-shadow:
    0 18px 40px rgba(23, 105, 255, .35);
}


.iaos-modern-button span {

  font-size: 20px;

  transition:
    transform .3s ease;
}


.iaos-modern-button:hover span {
  transform: translateX(6px);
}


/* =========================================================
   RIGHT STATISTICS
========================================================= */

.iaos-right-content {

  position: relative;

  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 18px;
}


/* =========================================================
   STAT CARD
========================================================= */

.iaos-modern-stat {

  position: relative;

  min-height: 165px;

  padding: 25px;

  background: #fff;

  border-radius: 20px;

  border:
    1px solid #e2ebf5;

  box-shadow:
    0 10px 35px rgba(21, 70, 120, .07);

  overflow: hidden;

  transition:
    transform .45s ease,
    box-shadow .45s ease,
    border-color .45s ease;

  opacity: 0;

  animation:
    iaosCardUp .8s ease forwards;
}


/* =========================================================
   STAGGER
========================================================= */

.iaos-modern-stat:nth-child(1) {
  animation-delay: .2s;
}

.iaos-modern-stat:nth-child(2) {
  animation-delay: .35s;
}

.iaos-modern-stat:nth-child(3) {
  animation-delay: .5s;
}

.iaos-modern-stat:nth-child(4) {
  animation-delay: .65s;
}

.iaos-modern-stat:nth-child(5) {
  animation-delay: .8s;
}


/* =========================================================
   HOVER
========================================================= */

.iaos-modern-stat:hover {

  transform:
    translateY(-10px);

  border-color:
    rgba(23, 105, 255, .4);

  box-shadow:
    0 20px 45px rgba(23, 105, 255, .14);
}


/* =========================================================
   CARD DECORATION
========================================================= */

.iaos-modern-stat::after {

  content: "";

  position: absolute;

  width: 100px;
  height: 100px;

  right: -45px;
  bottom: -45px;

  border-radius: 50%;

  background:
    rgba(23, 105, 255, .05);

  transition:
    transform .5s ease;
}


.iaos-modern-stat:hover::after {

  transform:
    scale(1.8);
}


/* =========================================================
   ICON
========================================================= */

.iaos-modern-icon {

  width: 52px;
  height: 52px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 14px;

  background: #edf4ff;

  font-size: 22px;

  margin-bottom: 18px;

  transition:
    transform .4s ease,
    background .4s ease;
}


.iaos-modern-stat:hover .iaos-modern-icon {

  transform:
    rotate(-8deg) scale(1.1);

  background: #dceaff;
}


/* =========================================================
   NUMBER
========================================================= */

.iaos-modern-number {

  display: block;

  color: #1769ff;

  font-size: 27px;

  font-weight: 800;

  margin-bottom: 4px;
}


/* =========================================================
   LABEL
========================================================= */

.iaos-modern-label {

  color: #23476d;

  font-size: 14px;

  font-weight: 600;

  line-height: 1.4;
}


/* =========================================================
   FEATURE CARD
========================================================= */

.iaos-modern-stat.feature {

  grid-column: span 2;

  min-height: 130px;

  display: flex;

  align-items: center;

  gap: 20px;

  background:
    linear-gradient(135deg,
      #063b87,
      #1769ff);

  border: none;

  box-shadow:
    0 15px 40px rgba(6, 59, 135, .22);
}


.iaos-modern-stat.feature:hover {

  box-shadow:
    0 25px 55px rgba(6, 59, 135, .3);
}


.iaos-modern-stat.feature .iaos-modern-icon {

  margin-bottom: 0;

  flex-shrink: 0;

  background:
    rgba(255, 255, 255, .15);
}


.iaos-modern-stat.feature .iaos-modern-number {

  color: #fff;
}


.iaos-modern-stat.feature .iaos-modern-label {

  color:
    rgba(255, 255, 255, .9);
}


/* =========================================================
   MEMBERSHIP STRIP
========================================================= */

.iaos-membership-strip {

  position: relative;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 25px;

  margin-top: 35px;

  padding: 25px 30px;

  background: #fff;

  border-radius: 18px;

  border: 1px solid #e0eaf5;

  box-shadow:
    0 10px 30px rgba(21, 70, 120, .06);

  animation:
    iaosFadeUp 1.4s ease both;
}


.iaos-membership-left {

  display: flex;

  align-items: center;

  gap: 18px;
}


.iaos-membership-icon {

  width: 55px;
  height: 55px;

  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 15px;

  background: #eaf2ff;

  font-size: 24px;
}


.iaos-membership-title {

  color: #063b87;

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 1px;

  text-transform: uppercase;

  margin-bottom: 5px;
}


.iaos-membership-price {

  color: #1769ff;

  font-size: 22px;

  font-weight: 800;
}


.iaos-membership-note {

  color: #596979;

  font-size: 14px;
}


/* =========================================================
   COMPANY
========================================================= */

.iaos-company-text {

  margin-top: 20px;

  text-align: center;

  color: #687789;

  font-size: 14px;

  line-height: 1.7;

  animation:
    iaosFadeUp 1.5s ease both;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes iaosSlideLeft {

  from {

    opacity: 0;

    transform:
      translateX(-40px);
  }

  to {

    opacity: 1;

    transform:
      translateX(0);
  }
}


@keyframes iaosCardUp {

  from {

    opacity: 0;

    transform:
      translateY(40px) scale(.95);
  }

  to {

    opacity: 1;

    transform:
      translateY(0) scale(1);
  }
}


@keyframes iaosFadeUp {

  from {

    opacity: 0;

    transform:
      translateY(30px);
  }

  to {

    opacity: 1;

    transform:
      translateY(0);
  }
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width: 991px) {

  .iaos-modern-section {
    padding: 70px 20px;
  }


  .iaos-modern-wrapper {

    grid-template-columns:
      1fr;

    gap: 45px;
  }


  .iaos-main-heading {
    font-size: 40px;
  }


  .iaos-description {
    max-width: 700px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width: 767px) {

  .iaos-modern-section {
    padding: 50px 15px;
  }


  .iaos-main-heading {
    font-size: 31px;
  }


  .iaos-question {
    font-size: 23px;
  }


  .iaos-description {
    font-size: 14px;
  }


  .iaos-right-content {

    grid-template-columns:
      repeat(2, 1fr);

    gap: 12px;
  }


  .iaos-modern-stat {

    min-height: 145px;

    padding: 18px;
  }


  .iaos-modern-icon {

    width: 44px;
    height: 44px;

    margin-bottom: 12px;

    font-size: 18px;
  }


  .iaos-modern-number {
    font-size: 22px;
  }


  .iaos-modern-label {
    font-size: 12px;
  }


  .iaos-modern-stat.feature {

    grid-column: span 2;

    min-height: 115px;

    padding: 20px;
  }


  .iaos-membership-strip {

    flex-direction: column;

    align-items: flex-start;

    padding: 22px;
  }


  .iaos-membership-left {
    width: 100%;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media(max-width: 420px) {

  .iaos-right-content {

    grid-template-columns:
      1fr;
  }


  .iaos-modern-stat.feature {

    grid-column: span 1;
  }


  .iaos-modern-stat {

    min-height: 115px;

    display: flex;

    align-items: center;

    gap: 15px;
  }


  .iaos-modern-icon {
    margin-bottom: 0;
  }


  .iaos-membership-left {
    align-items: flex-start;
  }


  .iaos-membership-icon {

    width: 48px;
    height: 48px;
  }

}

/*-------------------------------------------------------------------------------------about section for home page ---------------------------------------*/
/* --- CSS Variables & Resets --- */

/* --- About Section Wrapper --- */
.about-section {
  background-color: #fff;
  padding: 80px 20px;
  width: 100%;
}

.habout_container {
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .sub-heading {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 8px;
  display: block;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-text);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

/* Animated Multicolor Gradient Line */
.multicolor-bar {
  height: 4px;
  width: 100px;
  margin: 0 auto;
  border-radius: 4px;
  background: linear-gradient(90deg, #ff007f, #ff7f00, #00e676, #00b0ff, #7c4dff, #ff007f);
  background-size: 300% 100%;
  animation: multicolorShimmer 4s linear infinite;
}

@keyframes multicolorShimmer {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 300% 0%;
  }
}

/* --- Responsive Cards Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* --- Single Card Styling --- */
.card {
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
}

/* Top Animated Rainbow Accent Line on Each Card */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff007f, #00b0ff, #00e676, #ff7f00);
  background-size: 200% 100%;
  z-index: 5;
  transition: opacity 0.3s ease;
  animation: multicolorShimmer 3s ease infinite;
}

/* Hover Lift & Shadow */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  border-color: transparent;
}

/* Card Image & Overlay */
.card-image-box {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image-box img {
  transform: scale(1.08);
}

/* Numbered Tag Badge (01, 02, etc.) */
.number-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: var(--primary-text);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

/* Card Text Content */
.card-body {
  padding: 24px 20px 16px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: #2563eb;
  margin-bottom: 10px;
}

.card-text {
  font-size: 0.875rem;
  color: var(--secondary-text);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Card Action Footer */
.card-footer {
  padding: 0 20px 24px 20px;
  margin-top: auto;
}

.btn-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 16px;
  background-color: #f1f5f9;
  border-radius: 10px;
  color: #1e293b;
  text-decoration: none;
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-link .arrow-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #ffffff;
  border-radius: 50%;
  color: #0f172a;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

/* Hover State for Button */
.card:hover .btn-link {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: #ffffff;
}

.card:hover .arrow-icon {
  transform: translateX(4px);
  background: #ffffff;
  color: #1e3c72;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .about-section {
    padding: 50px 16px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }
}

/*----------------------------------------------------------contact form design------------------------------------------------------*/
.contact_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 0px 70px 0px;
}

/* --- Page Header --- */
.page-header {
  text-align: center;
  margin-bottom: 50px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}

.badge-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #0284c7;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

.page-header h1 {
  font-family: Poppins, sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}

/* --- Bento Box Layout Grid --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

/* Card Tiles (Clean White & Border Styling) */
.bento-tile {
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.bento-tile:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: 0 20px 30px rgba(15, 23, 42, 0.08);
}

/* Animated Multicolor Line Accent on Hover */
.bento-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0284c7, #8b5cf6, #ec4899, #0284c7);
  background-size: 300% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: shimmerLine 4s linear infinite;
}

.bento-tile:hover::before {
  opacity: 1;
}

@keyframes shimmerLine {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 300% 0%;
  }
}

/* Section Headings */
.tile-heading {
  font-family: Poppins, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
  line-height: 1.25;
}

.tile-subtext {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-bottom: 24px;
}

/* Tile 1: Clinic Info */
.tile-clinic-info {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Tile 2: Send Message Form */
.tile-form {
  grid-column: span 7;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-full {
  grid-column: span 2;
}

.input-wrapper {
  position: relative;
  margin-bottom: 16px;
}

.custom-input {
  width: 100%;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  color: var(--text-heading);
  font-family: Poppins, sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
}

.custom-input::placeholder {
  color: #94a3b8;
}

.custom-input:focus {
  background: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
  transform: translateY(-2px);
}

textarea.custom-input {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 15px 28px;
  border: none;
  border-radius: 12px;
  background: #2563eb;
  color: #ffffff;
  font-family: Poppins, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit:hover {
  background: #0438ab;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25);
}

.btn-submit .arrow-icon {
  transition: transform 0.3s ease;
}

.btn-submit:hover .arrow-icon {
  transform: translateX(5px);
}

/* Tile 3: Direct Phone */
.tile-phone {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.phone-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: var(--text-heading);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 10px;
  transition: all 0.25s ease;
}

.phone-chip:hover {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: var(--primary-blue);
  transform: translateX(4px);
}

.icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #eaecf0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Tile 4: Email Hub */
.tile-email {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 15px;
  word-break: break-all;
  transition: transform 0.25s ease, color 0.25s ease;
}

.email-link:hover {
  transform: translateX(4px);
  color: var(--primary-hover);
}

/* Tile 5: Clinic Address */
.tile-address {
  grid-column: span 4;
}

.address-box {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-top: 10px;
}

/* Tile 6: Map Location (Full 12 Width) */
.tile-map {
  grid-column: span 12;
  padding: 0;
  height: 380px;
  position: relative;
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 20px;
}

/* Radar Pin Badge on Map */
.radar-pin {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid #e2e8f0;
  padding: 10px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.radar-signal {
  width: 10px;
  height: 10px;
  background-color: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6);
  animation: radarPulse 1.8s infinite;
}

@keyframes radarPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(22, 163, 74, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .tile-clinic-info {
    grid-column: span 12;
  }

  .tile-form {
    grid-column: span 12;
  }

  .tile-phone {
    grid-column: span 6;
  }

  .tile-email {
    grid-column: span 6;
  }

  .tile-address {
    grid-column: span 12;
  }
}

@media (max-width: 768px) {
  body {
    padding: 0px 15px;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-full {
    grid-column: span 1;
  }

  .tile-phone {
    grid-column: span 12;
  }

  .tile-email {
    grid-column: span 12;
  }

  .tile-map {
    height: 300px;
  }
}

/*---------------------------------------Scroll top ---------------------------------------------------------------------------------------*/
/* --- Scroll to Top Button Styling --- */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #2563eb;
  color: #ffffff;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 16px #2563eb;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: #06369f;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45);
}

/*--------------------------------------------about us page rework--------------------------------------------------------------------*/
/* =========================
           SECTION
        ========================= */

.two-column-section {
  width: 100%;
}

.about_rework_container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================
           SECTION HEADING
        ========================= */

.section-heading {
  text-align: center;
  margin-bottom: 45px;
  margin-top: 50px;
}

.section-heading span {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #176b87;
}

.section-heading h2 {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #172b3a;
}

.section-heading p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: #667085;
}

/* =========================
           TWO COLUMN GRID
        ========================= */

.two-column-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.one-column-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
}

/* =========================
           BOX
        ========================= */

.about_image-box {
  background: #ffffff;
  height: auto;
  border: 1px solid #e4e9ee;
  border-radius: 20px;
  padding: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 40, 60, 0.08);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.about_image-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(20, 40, 60, 0.14);
}

/* =========================
           TITLE
        ========================= */

.about_image-box h3 {
  margin-bottom: 20px;
  margin-top: 20px;
  text-align: center;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: #172b3a;
}

/* =========================
           IMAGE
        ========================= */

.box-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 15px;
  background: #eef3f6;
}

.box-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about_image-box:hover .box-image img {
  transform: scale(1.05);
}

/* =========================
           MOBILE
        ========================= */

@media (max-width: 768px) {

  .two-column-section {
    padding: 55px 16px;
  }

  .two-column-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .about_image-box h3 {
    font-size: 22px;
  }

  .box-image {
    height: 280px;
  }
}

/* =========================
           SMALL MOBILE
        ========================= */

@media (max-width: 480px) {

  .two-column-section {
    padding: 45px 14px;
  }

  .about_image-box {
    padding: 16px;
    border-radius: 16px;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  .box-image {
    height: 230px;
    border-radius: 12px;
  }
}

/*------------------------------------------------------------Doctor about-------------------------------------------------------------------------------------*/

/* =====================================================
           SECTION
        ===================================================== */

.doctor-about {
  position: relative;
  overflow: hidden;
  padding: 110px 20px;
  background: #f7fafc;
}

/* =====================================================
           MAIN CONTAINER
        ===================================================== */

.doctor-container {
  position: relative;
  z-index: 2;

  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;

  align-items: center;
  gap: 90px;
}


/* =====================================================
           IMAGE AREA
        ===================================================== */

.doctor-photo-area {
  position: relative;

  opacity: 0;
  transform: translateX(-70px);

  transition:
    opacity 1s ease,
    transform 1.1s cubic-bezier(.22, 1, .36, 1);
}

.doctor-photo-area.visible {
  opacity: 1;
  transform: translateX(0);
}


/* =====================================================
           IMAGE BACK FRAME
        ===================================================== */

.doctor-photo-back {
  position: absolute;

  width: 88%;
  height: 92%;

  left: -22px;
  bottom: -22px;

  border: 2px solid #1e7391;
  border-radius: 30px;

  opacity: 0.25;
}


/* =====================================================
           IMAGE
        ===================================================== */

.doctor-photo {
  position: relative;
  z-index: 2;

  height: 570px;

  overflow: hidden;

  border-radius: 30px;

  background: #ffffff;

  padding: 10px;

  box-shadow:
    0 25px 60px rgba(20, 50, 70, 0.15);
}

.doctor-photo img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  border-radius: 23px;

  transition:
    transform 1s cubic-bezier(.22, 1, .36, 1);
}

.doctor-photo:hover img {
  transform: scale(1.045);
}


/* =====================================================
           EXPERIENCE BADGE
        ===================================================== */

.experience-badge {
  position: absolute;

  z-index: 5;

  right: -35px;
  bottom: 40px;

  width: 155px;
  height: 155px;

  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;

  text-align: center;

  background: #ffffff;

  border-radius: 50%;

  box-shadow:
    0 18px 45px rgba(20, 50, 70, 0.18);

  opacity: 0;

  transform:
    scale(.7) rotate(-12deg);

  transition:
    opacity .8s ease .6s,
    transform .9s cubic-bezier(.22, 1, .36, 1) .6s;
}

.doctor-photo-area.visible .experience-badge {
  opacity: 1;

  transform:
    scale(1) rotate(0);
}

.experience-badge strong {
  display: block;

  font-size: 35px;
  line-height: 1;

  font-weight: 800;

  color: #1e7391;
}

.experience-badge span {
  margin-top: 8px;

  font-size: 11px;
  line-height: 1.4;

  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 1px;

  color: #64748b;
}


/* =====================================================
           CONTENT AREA
        ===================================================== */

.doctor-content {
  opacity: 0;
  transform: translateX(70px);

  transition:
    opacity 1s ease .15s,
    transform 1.1s cubic-bezier(.22, 1, .36, 1) .15s;
}

.doctor-content.visible {
  opacity: 1;
  transform: translateX(0);
}


/* =====================================================
           LABEL
        ===================================================== */

.doctor-label {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 18px;

  font-size: 12px;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 2.5px;

  color: #1e7391;
}

.doctor-label::before {
  content: "";

  width: 38px;
  height: 2px;

  background: #1e7391;
}


/* =====================================================
           HEADING
        ===================================================== */

.doctor-content h2 {
  margin: 0;

  max-width: 600px;

  font-size: 48px;
  line-height: 1.12;

  font-weight: 800;

  letter-spacing: -1.5px;

  color: #172b3a;
}

.doctor-content h2 span {
  color: #1e7391;
}


/* =====================================================
           DESCRIPTION
        ===================================================== */

.doctor-description {
  max-width: 600px;

  margin-top: 25px;

  font-size: 16px;
  line-height: 1.9;

  color: #64748b;
}


/* =====================================================
           DIVIDER
        ===================================================== */

.doctor-divider {
  width: 100%;
  height: 1px;

  margin: 32px 0;

  background: #dce5ea;
}


/* =====================================================
           STATS
        ===================================================== */

.doctor-stats {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 12px;

  margin-bottom: 32px;
}

.doctor-stat {
  padding: 17px 15px;

  border-radius: 14px;

  background: #ffffff;

  border: 1px solid #e4ebef;

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.doctor-stat:hover {
  transform: translateY(-5px);

  box-shadow:
    0 12px 30px rgba(20, 50, 70, 0.09);
}

.doctor-stat strong {
  display: block;

  font-size: 21px;

  color: #1e7391;
}

.doctor-stat span {
  display: block;

  margin-top: 5px;

  font-size: 11px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: .6px;

  color: #64748b;
}


/* =====================================================
           BUTTON
        ===================================================== */

.doctor-button {
  display: inline-flex;

  align-items: center;
  gap: 12px;

  padding: 15px 23px;

  border-radius: 12px;

  background: #172b3a;

  color: #ffffff;

  font-size: 14px;
  font-weight: 700;

  text-decoration: none;

  transition:
    transform .3s ease,
    box-shadow .3s ease,
    background .3s ease;
}

.doctor-button:hover {
  transform: translateY(-3px);

  background: #1e7391;

  box-shadow:
    0 12px 28px rgba(20, 50, 70, 0.2);
}

.doctor-button svg {
  width: 17px;
  height: 17px;

  transition:
    transform .3s ease;
}

.doctor-button:hover svg {
  transform: translateX(5px);
}


/* =====================================================
           CONTENT STAGGER ANIMATION
        ===================================================== */

.doctor-content .doctor-label,
.doctor-content h2,
.doctor-content .doctor-description,
.doctor-content .doctor-divider,
.doctor-content .doctor-stats,
.doctor-content .doctor-button {

  opacity: 0;

  transform: translateY(25px);

  transition:
    opacity .7s ease,
    transform .7s cubic-bezier(.22, 1, .36, 1);
}

.doctor-content.visible .doctor-label {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .2s;
}

.doctor-content.visible h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .3s;
}

.doctor-content.visible .doctor-description {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .4s;
}

.doctor-content.visible .doctor-divider {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .5s;
}

.doctor-content.visible .doctor-stats {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .6s;
}

.doctor-content.visible .doctor-button {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .7s;
}


/* =====================================================
           MOBILE
        ===================================================== */

@media (max-width: 900px) {

  .doctor-about {
    padding: 75px 20px;
  }

  .doctor-container {
    grid-template-columns: 1fr;

    gap: 65px;
  }

  .doctor-photo {
    height: 500px;
  }

  .doctor-content h2 {
    font-size: 40px;
  }

  .experience-badge {
    right: 10px;
  }
}


/* =====================================================
           SMALL MOBILE
        ===================================================== */

@media (max-width: 600px) {

  .doctor-about {
    padding: 60px 16px;
  }

  .doctor-container {
    gap: 50px;
  }

  .doctor-photo {
    height: 430px;

    border-radius: 22px;
  }

  .doctor-photo img {
    border-radius: 16px;
  }

  .doctor-photo-back {
    left: -10px;
    bottom: -10px;

    border-radius: 22px;
  }

  .experience-badge {
    width: 120px;
    height: 120px;

    right: 0;
    bottom: 25px;
  }

  .experience-badge strong {
    font-size: 28px;
  }

  .experience-badge span {
    font-size: 9px;
  }

  .doctor-content h2 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .doctor-description {
    font-size: 15px;
    line-height: 1.8;
  }

  .doctor-stats {
    grid-template-columns: 1fr;
  }

  .doctor-stat {
    padding: 14px 16px;
  }
}


/* =====================================================
           REDUCED MOTION
        ===================================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .doctor-photo-area,
  .doctor-content,
  .doctor-content .doctor-label,
  .doctor-content h2,
  .doctor-content .doctor-description,
  .doctor-content .doctor-divider,
  .doctor-content .doctor-stats,
  .doctor-content .doctor-button,
  .experience-badge {

    opacity: 1;

    transform: none;

    transition: none;
  }

  .doctor-photo img {
    transition: none;
  }

}

/*------------------------------Whatsapp chat  --------------------------------------------------------*/

/* =========================
       WHATSAPP BUTTON
    ========================= */

.whatsapp-float {
  position: fixed;

  right: 25px;
  bottom: 100px;

  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #25D366;

  border-radius: 50%;

  z-index: 9999;

  text-decoration: none;

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.20);

  animation:
    whatsapp-pulse 2.5s infinite;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


/* WhatsApp Icon */

.whatsapp-float svg {
  width: 31px;
  height: 31px;

  fill: #ffffff;
}


/* Hover */

.whatsapp-float:hover {
  transform: scale(1.12);

  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.28);

  animation: none;
}


/* Pulse Animation */

@keyframes whatsapp-pulse {

  0% {
    box-shadow:
      0 0 0 0 rgba(37, 211, 102, 0.55);
  }

  70% {
    box-shadow:
      0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow:
      0 0 0 0 rgba(37, 211, 102, 0);
  }

}


/* Mobile */

@media (max-width: 600px) {

  .whatsapp-float {
    right: 25px;
    bottom: 90px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

}

/*------------------------------------------------------------------------------------------------------------------------------------*/
:root {
  /* Clinical Medical Color Palette */
  --medical-blue: #0284c7;
  --medical-blue-dark: #0369a1;
  --medical-cyan: #06b6d4;
  --medical-sky: #e0f2fe;
  --medical-light-bg: #f0f9ff;

  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;

  /* UPDATED BORDER COLOR: Vibrant Sky Blue */
  --border-color: #7dd3fc;
  --border-color-hover: #0284c7;

  --card-shadow: 0 10px 30px -5px rgba(2, 132, 199, 0.12);
  --card-shadow-hover: 0 20px 40px -10px rgba(2, 132, 199, 0.25);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(80px, 90px) scale(1.15);
  }
}

.abt_container {
  max-width: 1200px;
  padding-top: 50px;
  margin: 0 auto;
}

/* --- Bento Grid Layout --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Base Card Styling */
.medical-card {
  background: #ffffff;
  border: 2px solid var(--border-color);
  /* Updated Border */
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

/* --- ANIMATION 2: Top Accent Line Flow Gradient --- */
.medical-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--medical-blue), var(--medical-cyan), var(--medical-blue));
  background-size: 200% 100%;
  animation: flowAccent 4s linear infinite;
  opacity: 0.8;
  transition: opacity 0.3s ease, height 0.3s ease;
}

@keyframes flowAccent {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 200% 0%;
  }
}

/* --- ANIMATION 3: Hover Light Shine Sweep --- */
.medical-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent 45%,
      rgba(255, 255, 255, 0.7) 50%,
      transparent 55%);
  transform: rotate(30deg) translateY(-100%);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.medical-card:hover::after {
  transform: rotate(30deg) translateY(100%);
}

.medical-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--border-color-hover);
}

.medical-card:hover::before {
  opacity: 1;
  height: 7px;
}

/* --- Staggered Card Entrance Animations --- */
.card-1 {
  animation-delay: 0.1s;
}

.card-2 {
  animation-delay: 0.2s;
}

.card-3 {
  animation-delay: 0.3s;
}

.card-4 {
  animation-delay: 0.4s;
}

.card-5 {
  animation-delay: 0.5s;
}

.card-6 {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Floating Keyframe Animation for Badges --- */
@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* --- Pulse Glow Animation for Avatar Ring --- */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.5);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(6, 182, 212, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
  }
}

/* --- Hero Profile Card --- */
.card-hero {
  grid-column: span 2;
  background: linear-gradient(135deg, #ffffff 0%, var(--medical-light-bg) 100%);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}

.avatar-frame {
  position: relative;
  flex-shrink: 0;
}

.avatar-img {
  width: 110px;
  height: 110px;
  border-radius: 20px;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.15);
  animation: pulseGlow 3s infinite;
  transition: transform 0.4s ease;
}

.medical-card:hover .avatar-img {
  transform: scale(1.08) rotate(-2deg);
}

/* --- ANIMATION 4: Animated Gradient Text --- */
.hero-info h1,
.stat-number {
  font-family: Poppins, sans-serif;
  background: linear-gradient(135deg, var(--medical-blue-dark), var(--medical-cyan), var(--medical-blue));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGradientShift 5s ease infinite;
}

@keyframes textGradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero-info h1 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-info .subtitle {
  font-size: 1rem;
  color: var(--medical-blue);
  font-weight: 600;
  margin-top: 4px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--medical-sky);
  color: var(--medical-blue-dark);
  border: 1px solid var(--border-color);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  animation: floatBadge 4s ease-in-out infinite;
}

/* --- Stat Widget --- */
.card-stat {
  background: linear-gradient(180deg, var(--medical-light-bg) 0%, #ffffff 100%);
  text-align: center;
  align-items: center;
  justify-content: center;
}

.stat-number {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--medical-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

.card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--medical-blue);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
  display: block;
}

.abt_card-title {
  font-family: Poppins, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.abt_card-body p {
  font-size: 0.925rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 10px;
}

.abt_card-body p:last-child {
  margin-bottom: 0;
}

/* Spans 2 Columns for Wide Cards */
.card-wide {
  grid-column: span 2;
}

/* --- ANIMATION 5: Staggered Spring Pop-In for Chips --- */
.mentor-grid,
.flag-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.mentor-chip,
.flag-tag {
  opacity: 0;
  animation: chipPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transition: all 0.3s ease;
}

.mentor-chip {
  background: var(--medical-light-bg);
  border: 1.5px solid var(--border-color);
  color: var(--text-dark);
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mentor-chip::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--medical-cyan);
}

.mentor-chip:hover {
  background: var(--medical-blue);
  color: #ffffff;
  border-color: var(--medical-blue);
  transform: translateY(-3px) scale(1.03);
}

.flag-tag {
  background: #f8fafc;
  border: 1.5px solid var(--border-color);
  color: var(--text-body);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.775rem;
  font-weight: 600;
}

.flag-tag:hover {
  border-color: var(--medical-cyan);
  color: var(--medical-blue);
  background: var(--medical-sky);
  transform: translateY(-2px) scale(1.06);
}

@keyframes chipPop {
  0% {
    opacity: 0;
    transform: scale(0.6) translateY(12px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Chip animation delay sequence */
.mentor-chip:nth-child(1),
.flag-tag:nth-child(1) {
  animation-delay: 0.5s;
}

.mentor-chip:nth-child(2),
.flag-tag:nth-child(2) {
  animation-delay: 0.6s;
}

.mentor-chip:nth-child(3),
.flag-tag:nth-child(3) {
  animation-delay: 0.7s;
}

.mentor-chip:nth-child(4),
.flag-tag:nth-child(4) {
  animation-delay: 0.8s;
}

.mentor-chip:nth-child(5),
.flag-tag:nth-child(5) {
  animation-delay: 0.9s;
}

.flag-tag:nth-child(6) {
  animation-delay: 1.0s;
}

.flag-tag:nth-child(7) {
  animation-delay: 1.1s;
}

.flag-tag:nth-child(8) {
  animation-delay: 1.2s;
}

/* Medical Highlight Box */
.medical-quote {
  background: var(--medical-light-bg);
  border-left: 4px solid var(--medical-blue);
  padding: 12px 16px;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 0.875rem;
  color: var(--medical-blue-dark);
  margin-top: 14px;
}

/* --- Responsive Behavior --- */
@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-hero,
  .card-wide {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .card-hero,
  .card-wide,
  .card-stat {
    grid-column: span 1;
  }

  .card-hero {
    flex-direction: column;
    text-align: center;
  }

  .pill-badge {
    margin: 0 auto 10px auto;
  }
}