@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --container: 1120px;
  --padding: 12.5px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

h1 {
  font-size: clamp(1.5rem, 5vw, 3rem);
}

html,
body {
  height: 100%;
}

html,
body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  height: auto;
  padding: var(--padding) 0;
  position: relative;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: saturate(160%) blur(10px);
  background: linear-gradient(180deg, rgb(13, 94, 141), rgb(13, 99, 149));
  font-size: large;
  overflow: hidden;
}

.hamburger {
  appearance: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

.hamburger-box {
  position: relative;
  width: 24px;
  height: 14px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.hamburger-inner {
  top: 6px;
}

.hamburger-inner::before {
  top: -6px;
}

.hamburger-inner::after {
  top: 6px;
}

.hamburger.is-active .hamburger-inner {
  transform: rotate(45deg);
}

.hamburger.is-active .hamburger-inner::before {
  transform: translateY(6px) rotate(90deg);
}

.hamburger.is-active .hamburger-inner::after {
  transform: translateY(-6px) rotate(90deg);
}

@media (max-width: 955px) {
  .hamburger {
    display: inline-flex;
  }
  .nav {
    display: none;
  }
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-logo {
  width: 250px;
  filter: brightness(0) invert(1);
  padding: 1.5rem;
}

.nav {
  position: relative;
}

.nav-list {
  list-style: none;
  display: flex;
}

.nav-list a {
  color: #ffffffd8;
  text-decoration: none;
  padding: 12px 10px;
  border-radius: 8px;
}

.nav-list a:hover {
  color: #ffffff;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(84vw, 360px);
  height: 100dvh;
  background: linear-gradient(
      180deg,
      rgba(144, 224, 255, 0.28),
      rgba(144, 224, 255, 0.08)
    ),
    linear-gradient(180deg, rgba(13, 94, 141, 0.25), rgba(13, 99, 149, 0.25));
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateX(100%);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 120;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 72px 20px 20px 20px;
  display: grid;
  gap: 8px;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 12px 10px;
  border-radius: 8px;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  z-index: 110;
}

.hero {
  position: relative;
  height: 520px;
}

.hero .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero_background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  opacity: 40%;
}

.main_scene4 {
  position: absolute;
  width: min(42vw, 520px);
  max-width: 90vw;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
  animation: medicineBox-intro 1s cubic-bezier(0.6, 0.1, 0.3, 1) forwards;
  box-sizing: border-box;
  overflow-x: clip;
  z-index: 10;
  will-change: transform, opacity;
  /* JS will set left: 50%, top, and transform for centering at the boundary */
  /* Remove right, left, margin-right, and transform to avoid conflicts with JS */
}

@media (max-width: 720px) {
  .main_scene4 {
    width: min(60vw, 420px);
    max-width: 98vw;
    animation-delay: 120ms;
    /* No right/left/bottom/transform: JS will handle positioning */
  }
}

@media (prefers-reduced-motion: reduce) {
  .main_scene4 {
    animation: none !important;
    opacity: 1 !important;
  }
}

.glass-card {
  background: rgba(0, 0, 0, 0.171);
  backdrop-filter: blur(2px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-radius: 16px;
  padding: 28px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  width: min(100%, 640px);
  max-width: 640px;
  margin: 2%;
  overflow-wrap: anywhere;
}

.glass-card h1 {
  margin-bottom: 8px;
  line-height: 1.2;
}

.glass-card h1,
.glass-card p,
.glass-card button {
  opacity: 0;
  transform: translateY(14px);
  animation: heroItemsRise 500ms ease-out forwards;
}

.glass-card h1 {
  animation-delay: 260ms;
}

.glass-card p {
  animation-delay: 360ms;
}

.glass-card button {
  animation-delay: 460ms;
}

@keyframes heroCardEnter {
  from {
    transform: translate(60%, 30%);
    opacity: 0;
  }
  to {
    transform: translate(8%, 0);
    opacity: 1;
  }
}

@keyframes heroItemsRise {
  from {
    transform: translateY(14px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes heroCardEnterMobile {
  from {
    transform: translate(40%, 30%);
    opacity: 0;
  }
  to {
    transform: translate(0, 0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .glass-card {
    padding: 22px;
    width: calc(100% - 32px);
    max-width: none;
    animation-name: heroCardEnterMobile;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glass-card,
  .glass-card h1,
  .glass-card p,
  .glass-card button {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .decoration1 svg,
  .decoration2 svg,
  .decoration3 svg {
    transition: none !important;
    transform: none !important;
  }
}

.glass-card h1 span {
  color: rgb(0, 199, 178);
  font-weight: 700;
}

.glass-card p {
  margin-bottom: 16px;
  padding: var(--padding) 0;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.92);
}

.glass-card button {
  background: linear-gradient(180deg, #0d5e8d, #0d6395);
  color: #ffffff;
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 16px rgba(13, 99, 149, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.glass-card button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(13, 99, 149, 0.45);
}

.glass-card button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(13, 99, 149, 0.35);
}

.glass-card button:focus-visible {
  outline: 3px solid rgba(144, 224, 255, 0.7);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .glass-card {
    padding: 20px;
  }
  .glass-card button {
    width: 100%;
  }
  .main_scene4 {
    width: min(70vw, 300px);
    opacity: 1; /* fixed: was 0.35 which made it transparent */
    filter: none; /* remove drop-shadow on mobile — too expensive on phones */
  }
}

.slogan_slider {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
}

.motivational-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  filter: brightness(0.7) contrast(0.8) saturate(0.6);
}

@keyframes motivationalCardEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.about_section {
  position: relative;
  width: 100%;
  min-height: 700px;
  height: auto; /* content-based height */
  padding-bottom: 120px; /* extra space (adjust as needed) */
  background: linear-gradient(
    135deg,
    rgb(224, 252, 249) 0%,
    rgb(240, 255, 255) 100%
  );
  box-shadow: inset 0 4px 32px 0 rgba(0, 199, 178, 0.1),
    inset 0 -4px 32px 0 rgba(0, 199, 178, 0.08);
}

.waves {
  position: absolute;
  bottom: 0px;
  right: 0;
  left: 0;
  width: 100%;
  height: 160px;
  pointer-events: none;
  z-index: 10;
  display: block;
}

.about_section .container {
  min-height: inherit;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gradient-container {
  position: relative;
  width: 100%;
  height: fit-content;

  background: linear-gradient(
    135deg,
    rgb(13, 94, 141) 0%,
    rgb(16, 105, 150) 15%,
    rgb(19, 116, 159) 30%,
    rgb(13, 94, 141) 45%,
    rgb(10, 83, 132) 60%,
    rgb(13, 94, 141) 75%,
    rgb(16, 105, 150) 90%,
    rgb(13, 94, 141) 100%
  );
  background-size: 300% 300%;
  animation: medicalGradientFlow 20s linear infinite;
  border-radius: 20px;
  margin: 0 auto;
  max-width: 95%;
  box-shadow: 0 20px 40px rgba(13, 94, 141, 0.25);
  overflow: hidden;

  /* Use flex to allow reordering on small screens */
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: stretch;
  gap: 0;
}

.outer_gradient {
  position: relative;

  width: fit-content;
  height: fit-content;
}

.sparkler {
  position: absolute;
  width: 110px;
  top: -55px;
  left: 30px;
  z-index: 11;
}
@keyframes medicalGradientFlow {
  0% {
    background-position: 0% 0%;
  }
  25% {
    background-position: 100% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

.gradient_picture {
  position: absolute;
  top: 0;
  height: 100%;
  width: 45%;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  order: 2;
  background-color: yellow;
  overflow: hidden;
  background: url(img/young-doctor-showing-data-senior-colleague.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.gradient_picture .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Gradient overlay: white to transparent, bottom to top */
  background: linear-gradient(to top, white 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}

.gradient-content {
  width: 60%;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: white;
  text-align: center;
  order: 1;
  position: relative;
}

.gradient-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  line-height: 1.1;
}

.gradient-content h1 span {
  color: rgb(0, 199, 178);
}

.gradient-content p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.gradient-content button {
  padding: 12px 32px;
  font-size: 1.08rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background: #0dc9b2;
  box-shadow: 0 0 16px 4px rgba(0, 199, 178, 0.35),
    0 4px 18px rgba(13, 94, 141, 0.18);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
  letter-spacing: 0.04em;
  color: #fff;
}

.gradient-content button:hover,
.gradient-content button:focus {
  box-shadow: 0 0 12px 4px rgba(0, 199, 178, 0.55),
    0 8px 28px rgba(13, 94, 141, 0.22);
  outline: none;
}

.about_section .container .gradient-content div {
  width: 60%;
}
.about_section .container .gradient-content div * {
  padding-bottom: var(--padding);
}

.gradient-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 30%,
    rgba(255, 255, 255, 0.06) 70%,
    rgba(255, 255, 255, 0.08) 100%
  );
  border-radius: 20px;
  z-index: 1;
  animation: medicalPulse 15s ease-in-out infinite;
}

@keyframes medicalPulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.8;
  }
}

@media (max-width: 900px) {
  .gradient-container {
    max-width: 98%;
    border-radius: 16px;
  }

  .gradient-content {
    padding: 30px 20px;
  }
}

@media (max-width: 700px) {
  .gradient-container {
    flex-direction: column;
    align-items: stretch;
  }
  .gradient_picture {
    position: relative;
    left: 0;
    height: 500px;
    width: 100%;
    order: 1;
    justify-content: center;
    align-items: center;
    min-height: 80px;
  }
  .gradient-content {
    width: 100%;
    order: 2;
    padding: 20px 10px;
  }
}

@media (max-width: 520px) {
  .gradient-container {
    max-width: 100%;
    border-radius: 12px;
    margin: 0;
  }

  .gradient-content {
    padding: 20px 15px;
  }

  .gradient-container {
    animation: medicalGradientFlow 25s linear infinite;
  }

  .gradient-container::before {
    animation: medicalPulse 18s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gradient-container {
    animation: none;
    background: rgb(13, 94, 141);
  }
}

/* Responsive waves at the bottom of the section */

.wave {
  position: absolute;
  left: 0;
  width: 100%;
  min-width: 600px;
  height: 100%;
  background: url(img/wave.webp) repeat-x;
  background-size: 1000px 160px;
  bottom: 0;
  will-change: background-position-x;
}

.wave1 {
  animation: animate 30s linear infinite;
  z-index: 1000;
  opacity: 1;
  animation-delay: 0s;
  bottom: 0;
}

.wave2 {
  animation: animate2 15s linear infinite;
  z-index: 999;
  opacity: 0.4;
  animation-delay: -5s;
  bottom: 8px;
}

.wave3 {
  animation: animate 30s linear infinite;
  z-index: 998;
  opacity: 0.2;
  animation-delay: -2s;
  bottom: 16px;
}

.wave4 {
  animation: animate2 15s linear infinite;
  z-index: 997;
  opacity: 0.6;
  animation-delay: -7s;
  bottom: 24px;
}

/* Mission section */

.our_mission {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.our_mission .container {
  position: relative;
  height: 100%;
  padding: 0 3%;
  min-height: inherit;
}

.mission_content {
  padding: var(--padding) 0;
}
.our_mission h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  line-height: 1.1;
  color: #0d5e8d;
}

.our_mission h1 span {
  color: rgb(0, 199, 178);
}

.our_mission p {
  margin-bottom: 16px;
  padding: var(--padding, 0) 0;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(13, 94, 141, 0.92);
  font-weight: 400;
  line-height: 1.5;
}

.our_mission button {
  background: linear-gradient(180deg, #0d5e8d, #0d6395);
  color: #ffffff;
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 16px rgba(13, 99, 149, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.our_mission button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(13, 99, 149, 0.45);
}

.our_mission button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(13, 99, 149, 0.35);
}

.our_mission button:focus-visible {
  outline: 3px solid rgba(144, 224, 255, 0.7);
  outline-offset: 2px;
}

.mission_illustration {
  width: 60%;
  max-width: 100%;
  position: absolute;
  bottom: 0;
  right: 0;
  height: auto;
  z-index: -1;
}
.section_group {
  position: relative;
  height: fit-content;
  width: 100%;
}
.our_specialities {
  position: relative;
  background-color: rgb(10, 83, 132);
  min-height: 700px;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0 4vw;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.our_specialities .container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 48px;
  padding: 0 var(--padding);
  height: 60%;
  box-sizing: border-box;
  margin: 4% 0;
}

.specialities_content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  color: #fff;
  max-width: 520px;
  min-width: 320px;
  width: 40%;
  padding: 60px 0 60px 0;
  margin: 0;
  z-index: 2;
  box-sizing: border-box;
}

.specialities_content h3 {
  color: #00cbb2;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5em;
  letter-spacing: 0.01em;
  text-align: left;
}

.specialities_content h1 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.7em;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-align: left;
}

.specialities_content p {
  color: #e0e6ed;
  font-size: 1.08rem;
  font-weight: 400;
  margin-bottom: 1.5em;
  line-height: 1.5;
  max-width: 100%;
  text-align: left;
}

.specialities_content button {
  background: linear-gradient(90deg, #00cbb2 0%, #1ed6ff 100%);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 203, 178, 0.18);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  outline: none;
  width: 160px;
  align-self: flex-start;
}

.specialities_content button:hover,
.specialities_content button:focus-visible {
  background: linear-gradient(90deg, #1ed6ff 0%, #00cbb2 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(0, 203, 178, 0.28);
}

.specialities_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 32px 32px;
  align-items: stretch;
  justify-items: stretch;
  width: 48%;
  max-width: 520px;
  min-width: 320px;
  background: transparent;
  box-sizing: border-box;
  z-index: 2;
}

.speciality_card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  background: rgba(13, 94, 141, 0.92);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0, 203, 178, 0.1);
  border: 1.5px solid rgba(0, 203, 178, 0.18);
  padding: 32px 24px 24px 24px;
  min-width: 0;
  max-width: 100%;
  min-height: 120px;
  max-height: 180px;
  position: relative;
  text-align: left;
  transition: box-shadow 0.2s, border 0.2s, background 0.2s, padding 0.2s,
    transform 0.18s;
  margin: 0.25rem;
}

.speciality_card:hover,
.speciality_card:focus-visible {
  box-shadow: 0 6px 28px rgba(0, 203, 178, 0.18);
  transform: translateY(-4px) scale(1.025);
  border-color: #00cbb2;
}

.speciality_card .icon {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}

.speciality_card h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #00cbb2;
  margin: 0;
}

.speciality_card.dark {
  background: rgba(0, 203, 178, 0.13);
  border: 1.5px solid #00cbb2;
  color: #fff;
}

.speciality_card.dark h4 {
  color: #fff;
}

.speciality_card.dark .icon svg {
  filter: brightness(0) invert(1) drop-shadow(0 0 0 #00cbb2);
}

.speciality_card.accent {
  background: linear-gradient(135deg, #1ed6ff 60%, #00cbb2 100%);
  color: #fff;
  border: 1.5px solid #1ed6ff;
}

.speciality_card.accent h4 {
  color: #fff;
}

.speciality_card.accent .icon svg {
  filter: brightness(0) invert(1);
}

/* Responsive: stack vertically and center align on medium screens */
@media (max-width: 1100px) {
  .our_specialities .container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .specialities_content,
  .specialities_grid {
    width: 100%;
    max-width: 700px;
    min-width: 0;
  }
  .specialities_content {
    align-items: center;
    text-align: center;
    padding: 40px 0 24px 0;
  }
  .specialities_content h3,
  .specialities_content h1,
  .specialities_content p {
    text-align: center;
  }
  .specialities_content button {
    align-self: center;
  }
}

@media (max-width: 900px) {
  .our_specialities {
    min-height: 600px;
    padding: 0 2vw;
  }
  .our_specialities .container {
    gap: 28px;
  }
  .specialities_content {
    gap: 14px;
    padding: 32px 0 16px 0;
  }
  .specialities_content h1 {
    font-size: 1.7rem;
  }
  .specialities_grid {
    gap: 18px 0;
    max-width: 100%;
  }
  .speciality_card {
    min-height: 100px;
    max-height: 160px;
    align-items: center;
    text-align: center;
    padding: 24px 12px 18px 12px;
  }
}

@media (max-width: 600px) {
  .our_specialities {
    min-height: 400px;
    padding: 0 1vw;
  }
  .our_specialities .container {
    gap: 18px;
  }
  .specialities_content {
    gap: 10px;
    padding: 18px 0 8px 0;
  }
  .specialities_content h1 {
    font-size: 1.1rem;
  }
  .specialities_content p {
    font-size: 0.98rem;
    max-width: 100%;
  }
  .specialities_content button {
    padding: 12px 0;
    font-size: 0.98rem;
    width: 100%;
  }
  .specialities_grid {
    grid-template-columns: 1fr;
    gap: 12px 0;
    max-width: 100%;
  }
  .speciality_card {
    min-height: 80px;
    max-height: 140px;
    padding: 16px 8px 12px 8px;
  }
}

.specialities_background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  z-index: 0;
  opacity: 15%;
}
.stayInKnow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  transform: translate(-50%, -50%);
  height: 250px;
  background: #fff;
  border-radius: 1rem;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  z-index: 1;

  /* Floating effect: soft shadow + subtle glow */
  box-shadow: -5px 0px 50px -5px rgba(255, 255, 255, 0.203);
}

.stayInKnow_picture {
  position: relative;
  width: 37%;
  height: 100%;
  background: url(img/stayInKnow.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(95%) contrast(95%) brightness(98%);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.outer_content_picture {
  height: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
  margin: 1.5rem 0;
  padding: 0 var(--padding);
}

.stayInKnow_picture h2 {
  margin: 1rem 0;
  font-size: 1.7rem;
  color: #fff;
  letter-spacing: 0.04em;
  font-weight: 700;
  text-align: center;
}

.stayInKnow_picture .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  min-height: 50px;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(13, 94, 141, 0.08);
  margin-right: 18px;
  flex-shrink: 0;
}

.stayInKnow_picture .icon img {
  width: 38px;
  height: 38px;
  filter: invert(53%) sepia(99%) saturate(749%) hue-rotate(134deg)
    brightness(97%) contrast(101%);
  /* Harmonize with accent color */
  display: block;
}

/* The overlay in your HTML is .overlay, not .stayInKnow_overlay */
.stayInKnow_picture .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Gradient overlay: white to transparent, bottom to top */
  background: linear-gradient(to top, rgb(0, 199, 178) 0%, transparent 80%);
  pointer-events: none;
  display: block;
}

.stayInKnow_content {
  padding: 0 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.stayInKnow_form {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.251);
  padding: 0;
  display: flex;
  align-items: center;
  margin: var(--padding) 0;
}

.stayInKnow_form input[type='email'] {
  flex: 1 1 0;
  border: none;
  outline: none;
  padding: 0 24px;
  font-size: 1rem;
  height: 54px;
  border-radius: 999px;
  background: transparent;
  color: #222;
  transition: box-shadow 0.2s;
  box-shadow: none;
}

.stayInKnow_form input[type='email']::placeholder {
  color: #bdbdbd;
  opacity: 1;
  font-weight: 400;
}

.stayInKnow_form button[type='submit'] {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  outline: none;
  background: linear-gradient(180deg, #0d5e8d, #0d6395);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  padding: 0 48px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: none;
  text-transform: lowercase;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stayInKnow_form button[type='submit']:hover,
.stayInKnow_form button[type='submit']:focus {
  /* On click: slightly darker gradient for active state */
  background: linear-gradient(180deg, #0a466a, #0b527a);
}
.stayInKnow_intro {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 18px;
  padding: 0 0 0 2px;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.stayInKnow_intro .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 56px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #e0fcf9 0%, #f0ffff 100%);
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(13, 94, 141, 0.08);
  margin-right: 18px;
  flex-shrink: 0;
}

.stayInKnow_intro .icon img {
  width: 38px;
  height: 38px;
  filter: invert(53%) sepia(99%) saturate(749%) hue-rotate(134deg)
    brightness(97%) contrast(101%);
  /* Harmonize with accent color */
  display: block;
}

.stayInKnow_intro-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.stayInKnow_intro h3 {
  margin: 0 0 2px 0;
  font-size: 1.32rem;
  font-weight: 700;
  color: #0d5e8d;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 #fff, 0 2px 8px rgba(13, 94, 141, 0.04);
}

.stayInKnow_intro p {
  margin: 0;
  font-size: 0.98rem;
  color: #444;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.01em;
  opacity: 0.92;
  max-width: 420px;
}


footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  background-color: #0a466a;
  color: #eaf6fb !important;
  padding: 40px 6vw 30px 6vw;
  gap: 30px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1rem;
  height: auto;
}

.footer-brand {
  flex: 2 1 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 220px;
  
}


.footer-brand .footer-logo {
  width: 300px;
  margin-bottom: 8px;
  filter: brightness(0) invert(1);
}



.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}


.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #00cbb2;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: background 0.2s;
  text-decoration: none;
  
}
.footer-social-link:hover {
  background: #fff;
  color: #00cbb2;
}

.footer-links,
.footer-contact {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
}

.footer-section {
  margin-bottom: 8px;
}

.footer-title {
  width: fit-content;
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
  font-weight: 550;
  padding-bottom: var(--padding);
  border-bottom: 4px solid #00cbb2;
}

.footer-link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #eaf6fb;
}

.footer-link-item i {
  color: #1de9b6;
  font-size: 1.1rem;
  min-width: 20px;
}

.footer-link-item a {
  color: #eaf6fb;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
  font-weight: 100;
}
.footer-link-item a:hover {
  color: #1de9b6;
}

.footer-contact {
  flex: 1.2 1 0;
  min-width: 220px;
  gap: 14px;
}


.footer-contact-section {
  background: #06113a;
  border-radius: 8px;
  padding: 24px 18px 18px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.04);
  max-width: 520px;
}

.footer-contact-icon-box {
  background: #00e6d8;
  border-radius: 8px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-contact-icon-box i {
  color: #fff;
  font-size: 2rem;
}

.footer-contact-info{
 display: flex;
 background-color: #0d5e8d;
 padding: var(--padding);
 border-radius: 10px;
 margin-top: var(--padding);
}

.footer-contact-icon{
  padding: 1.5rem 1rem;
  margin: var(--padding) var(--padding) 0 0;
  background-color: #00cbb2;
  font-size: 20px;
  border-radius: 5px;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-contact-heading {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 4px 0;
  letter-spacing: 0.01em;
}

.footer-contact-number {
  color: #8ca6c6;
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.01em;
}

.footer-contact-description {
  color: #fff;
  font-size: .85rem;
  margin-top: 22px;
  margin-bottom: 0;
  max-width: 520px;
  line-height: 1.5;
}


/* Responsive styles */
@media (max-width: 1020px) {
  footer {
    gap: 24px;
    padding: 32px 3vw 24px 3vw;
  }
  .footer-brand,
  .footer-links,
  .footer-contact {
    min-width: 350px;
  }
}

@media (max-width: 520px) {
  footer {
    flex-direction: column;
    padding: 28px 16px;
    gap: 24px;
  }
  .footer-brand,
  .footer-links,
  .footer-contact {
    min-width: 0;
    width: 100%;
  }
  .footer-brand .footer-logo {
    width: 180px;
  }
}


/* Responsive: stack picture on top, content below for small screens */
@media (max-width: 750px) {
  .stayInKnow {
    flex-direction: column;
    width: 85%;
    height: 600px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1rem;
  }
  .stayInKnow_picture {
    width: 100%;
    height: 550px;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-position: top;
  }
  .stayInKnow_content {
    width: 100%;
    padding: 0 var(--padding);
    box-sizing: border-box;
  }
  .stayInKnow_intro {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    margin-bottom: 12px;
  }
  .stayInKnow_intro .icon {
    min-width: 36px;
    min-height: 36px;
    width: 36px;
    height: 36px;
    margin-right: 10px;
    border-radius: 8px;
  }
  .stayInKnow_intro .icon img {
    width: 24px;
    height: 24px;
  }
  .stayInKnow_intro h3 {
    font-size: 1rem;
  }
  .stayInKnow_intro p {
    font-size: 0.95rem;
  }
}

@media (max-width: 400px) {
  .stayInKnow {
    width: 95%;
    height: auto;
    min-height: 520px;
  }
}

.motivational_quotes {
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(
    135deg,
    rgb(224, 252, 249) 0%,
    rgb(240, 255, 255) 100%
  );
}

/* Responsive height - increases as screen gets smaller */
@media (max-width: 1200px) {
  .motivational_quotes {
    height: 520px;
  }
}

@media (max-width: 900px) {
  .motivational_quotes {
    height: 570px;
  }
}

@media (max-width: 768px) {
  .motivational_quotes {
    height: 620px;
  }
}

@media (max-width: 600px) {
  .motivational_quotes {
    height: 670px;
  }
}

@media (max-width: 480px) {
  .motivational_quotes {
    height: 720px;
  }
}
.motivational_quotes::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: block;
  background-image: url('img/one-curved%20wave.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  pointer-events: none;
  z-index: 1;
}

.outer_swiper {
  position: relative;
  top: 50px;
}

@media (max-width: 1200px) {
  .outer_swiper {
    top: 70px;
  }
}

@media (max-width: 900px) {
  .outer_swiper {
    top: 80px;
  }
}

@media (max-width: 768px) {
  .outer_swiper {
    top: 90px;
  }
}

@media (max-width: 600px) {
  .outer_swiper {
    top: 100px;
  }
}

@media (max-width: 480px) {
  .outer_swiper {
    top: 110px;
  }
}

.slide-content {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 1.2rem;
  box-shadow: none;
  padding: 36px 32px 32px 32px;
  color: #0d5e8d;
  text-align: center;
  cursor: pointer;
}

.slide-content h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #0d638d;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(13, 99, 149, 0.08);
}

.slide-content p {
  font-size: 1.35rem;
  font-weight: 500;
  color: #1a3c4e;
  margin: 0 auto;
  line-height: 1.7;
  letter-spacing: 0.2px;
  max-width: 420px;
  word-break: break-word;
  white-space: normal;
}

@media (max-width: 600px) {
  .slide-content {
    padding: 22px 10px 18px 10px;
    min-height: 140px;
    border-radius: 0.8rem;
  }
  .slide-content h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
  }
  .slide-content p {
    font-size: 1.08rem;
    max-width: 95vw;
  }
}

@media (max-width: 900px) {
  .mission_illustration {
    width: 80%;
  }
}

@media (max-width: 600px) {
  .mission_illustration {
    width: 100%;
  }
}

@keyframes animate {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: 1000px;
  }
}

@keyframes animate2 {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: -1000px;
  }
}

/* Responsive adjustments for waves */
@media (max-width: 900px) {
  .waves {
    height: 90px;
  }
  .wave {
    background-size: 800px 90px;
    min-width: 400px;
  }
}

@media (max-width: 600px) {
  .waves {
    height: 60px;
  }
  .wave {
    background-size: 600px 60px;
    min-width: 300px;
  }
  .wave2 {
    bottom: 4px;
  }
  .wave3 {
    bottom: 8px;
  }
  .wave4 {
    bottom: 12px;
  }
}

@media (max-width: 480px) {
  .waves {
    height: 40px;
  }
  .wave {
    background-size: 400px 40px;
    min-width: 200px;
  }
  .wave2 {
    bottom: 2px;
  }
  .wave3 {
    bottom: 4px;
  }
  .wave4 {
    bottom: 6px;
  }
}

/* Quote images styling */
.quotes {
  width: 60px;
  height: 60px;
  filter: invert(53%) sepia(99%) saturate(749%) hue-rotate(134deg)
    brightness(97%) contrast(101%);
  opacity: 0.8;
  position: absolute;
  z-index: 1;
}

.quotes:first-of-type {
  left: 10%;
  top: -10%;
  z-index: 2;
}

.quotes:last-of-type {
  right: 10%;
  top: -10%;
  z-index: 2;
  transform: rotate(180deg);
}

/* SDGS section base — overrides any inline height attribute */
.SDGS {
  position: relative;
  overflow: hidden;
  --sdgs-fixed-w: 1366px;
  min-height: clamp(220px, 28vh, 520px);
  display: block;
  padding: 1rem 0 0 0;
  height: auto !important; /* defeats any inline height="500px" */
}


/* container that holds the scrolling track */
.SDGS .sdgs-bar {
  /* fixed-size bar anchored to the bottom of the section and centered
     in the viewport using transform. This makes layout identical on all
     devices (non-responsive). */
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--sdgs-fixed-w);
  height: 150px; /* fixed height as requested */
  pointer-events: none; /* decorative */
  z-index: 0; /* behind section content */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* the track is twice the visible width and scrolls left continuously
   Two identical images inside the track make a seamless loop */
.SDGS {
  /* expose a CSS var for the sdgs image width (px). If not set, fall back to 100vw */
  --sdgs-img-w: 100vw;
  --sdgs-duration: 40s; /* slower default duration */
}

.SDGS .sdgs-bar__track {
  /* Fixed track width: 3 × the fixed SDGS width */
  width: calc(var(--sdgs-fixed-w) * 3);
  position: absolute;
  left: 0; /* start at the left edge of the viewport-spanning bar */
  transform: none; /* avoid centering shifts that make animation start mid-screen */
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 100%;
  will-change: transform;
  /* JS drives the animation via requestAnimationFrame; remove CSS animation
     so there's a single source of truth and no conflicts across breakpoints. */
  animation: none;
  animation-play-state: paused;
}

.SDGS .sdgs-bar__img {
  /* each image occupies exactly the fixed SDGS width */
  flex: 0 0 var(--sdgs-fixed-w);
  width: var(--sdgs-fixed-w);
  min-width: var(--sdgs-fixed-w);
  height: 100%;
  object-fit: contain; /* show entire image without cropping */
  object-position: left center; /* ensure the image starts at the left edge */
  display: block;
  background-color: transparent; /* avoid white strip if image has transparency */
  box-sizing: border-box;
}

/* hide tiny seam caused by subpixel rounding by overlapping the second image 1px */
.SDGS .sdgs-bar__img + .sdgs-bar__img {
  margin-left: -1px;
}

/* Ensure section content (everything except the sdgs-bar) sits above the bar */
.SDGS > *:not(.sdgs-bar) {
  position: relative;
  z-index: 1;
}

/* On small screens increase the height so icons are visible and tappable */
@media (max-width: 720px) {
  .SDGS .sdgs-bar {
    height: 150px; /* keep fixed height on small screens */
  }
}

@keyframes sdgs-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    /* move left by exactly one image width */
    transform: translate3d(calc(var(--sdgs-img-w) * -1), 0, 0);
  }
}

/* Respect prefers-reduced-motion: stop animation and show the first image */
@media (prefers-reduced-motion: reduce) {
  .SDGS .sdgs-bar__track {
    animation: none;
    transform: translateX(0) !important;
  }
}

/* When the SDGS section has the `in-view` class, run the animation */
.SDGS.in-view .sdgs-bar__track {
  animation-play-state: running;
}

@media (max-width: 520px) {
  .SDGS .sdgs-bar {
    height: 150px; /* keep fixed height on very small screens */
  }
}


/* ══════════════════════════════════════════════════════════
   SDGS STATEMENT SECTION — new styles
   ══════════════════════════════════════════════════════════ */

/* Override section to accommodate the new statement panel */
.SDGS {
  padding: 0 0 160px 0; /* bottom padding = room for the scrolling bar */
  min-height: 0;
}

/* ── Statement container ─────────────────────────────────── */
.sdgs-statement {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 72px 16px 48px;
  box-sizing: border-box;
}

.sdgs-statement__inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

/* ── Badge ───────────────────────────────────────────────── */
.sdgs-statement__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 199, 178, 0.12);
  border: 1px solid rgba(0, 199, 178, 0.4);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0d6395;
  margin-bottom: 28px;
}

.sdgs-statement__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00c7b2;
  animation: sdg-pulse 2s ease-in-out infinite;
}

@keyframes sdg-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(1.25); }
}

/* ── Heading ─────────────────────────────────────────────── */
.sdgs-statement__heading {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #0d5e8d;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.sdgs-statement__heading em {
  font-style: normal;
  color: #00c7b2;
  position: relative;
  display: inline-block;
}

.sdgs-statement__heading em::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #00c7b2, #1ed6ff);
  transform-origin: left;
  animation: sdg-underline 2.4s ease-in-out infinite alternate;
}

@keyframes sdg-underline {
  from { transform: scaleX(0.6); opacity: 0.6; }
  to   { transform: scaleX(1);   opacity: 1;   }
}

/* ── Sub text ────────────────────────────────────────────── */
.sdgs-statement__sub {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: #3a6b8a;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 52px;
}

/* ── Goal cards grid ─────────────────────────────────────── */
.sdgs-statement__goals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  text-align: left;
}

/* ── Individual goal card ────────────────────────────────── */
.sdgs-goal-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 199, 178, 0.2);
  padding: 24px 20px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: 0 4px 24px rgba(13, 94, 141, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.sdgs-goal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(13, 94, 141, 0.13);
}

/* ── Goal number badge ───────────────────────────────────── */
.sdgs-goal-card__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}

/* SDG official palette */
.sdg-3  { background: #4C9F38; }
.sdg-17 { background: #19486A; }
.sdg-9  { background: #F36D25; }
.sdg-10 { background: #DD1367; }

/* ── Card body text ──────────────────────────────────────── */
.sdgs-goal-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sdgs-goal-card__body strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0d5e8d;
  line-height: 1.2;
}

.sdgs-goal-card__body span {
  font-size: 0.88rem;
  color: #4a6f87;
  line-height: 1.5;
}

/* ── Responsive tweaks for SDGS statement ────────────────── */
@media (max-width: 600px) {
  .sdgs-statement {
    padding: 48px 16px 36px;
  }
  .sdgs-statement__goals {
    grid-template-columns: 1fr;
  }
  .sdgs-goal-card {
    padding: 18px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sdgs-statement__badge-dot,
  .sdgs-statement__heading em::after {
    animation: none;
  }
}
/* =====================================================
   PERFORMANCE OVERRIDES & NEW ANIMATIONS
   ===================================================== */

/* 1. Promote hero image to its own layer */
.hero_background {
  will-change: transform;
}

/* 2. Speciality cards — smoother hover */
.speciality_card {
  will-change: transform;
}

/* 3. SDGS goal cards */
.sdgs-goal-card {
  will-change: transform;
}

/* 4. Swiper fade effect tweak for smoothness */
.swiper-slide {
  backface-visibility: hidden;
}

/* 5. Nav link underline slide-in effect */
.nav-list a {
  position: relative;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #00c7b2;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav-list a:hover::after {
  transform: scaleX(1);
}

/* 6. Speciality card icon pop on hover */
.speciality_card:hover .icon img {
  transform: scale(1.15) rotate(-5deg);
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1);
}
.speciality_card .icon img {
  transition: transform 0.2s ease;
}

/* 7. Button shimmer on the hero CTA */
.glass-card button {
  position: relative;
  overflow: hidden;
}
.glass-card button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  border-radius: inherit;
}
.glass-card button:hover::after {
  transform: translateX(0);
}

/* 8. Footer social icons — smooth scale */
.footer-social-link {
  transition: background 0.2s, transform 0.2s cubic-bezier(.34,1.56,.64,1), color 0.2s;
}
.footer-social-link:hover {
  transform: scale(1.18);
}

/* 9. Disable will-change for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero_background, .speciality_card, .sdgs-goal-card {
    will-change: auto;
  }
}