* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, Arial, sans-serif;
}

body {
  color: #111827;
  background: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  position: fixed;
  top: 10px;
  width: 100%;
  height: 100px;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  z-index: 1000;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}
.logo img{

height:200px;

width:350px;

transition:.3s;

cursor:pointer;

}

.logo img:hover{

transform:scale(1.25);

}
.logo {
  position: relative;
  top: 10px;
  font-size: 24px;
  font-weight: 800;
  color: #0057B8;
}

nav {
  display: flex;
  gap: 26px;
  font-size: 15px;
  font-weight: 500;
}

.header-buttons {
  display: flex;
  gap: 12px;
}
.header-right{
    display:flex;
    align-items:center;
    gap:15px;
}

/* Language selector */

.language-switcher {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.language-dropdown {
  position: relative;
}

.language-dropdown summary {
  list-style: none;
}

.language-dropdown summary::-webkit-details-marker {
  display: none;
}

.language-dropdown-toggle {
  height: 40px;
  min-width: 68px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #d8e2ee;
  border-radius: 999px;
  background: #ffffff;
  color: #0B2D5C;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 3px 10px rgba(11,45,92,.06);
  transition: border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.language-dropdown-toggle:hover,
.language-dropdown[open] .language-dropdown-toggle {
  border-color: #0057B8;
  background: #f5f9ff;
  color: #0057B8;
  box-shadow: 0 5px 14px rgba(0,87,184,.12);
}

.language-arrow {
  font-size: 10px;
  transition: transform .2s ease;
}

.language-dropdown[open] .language-arrow {
  transform: rotate(180deg);
}

.language-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1200;
  width: 172px;
  padding: 7px;
  border: 1px solid #e1e8f0;
  border-radius: 14px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 14px 34px rgba(11,45,92,.16);
}

.language-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 25px;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-top: 1px solid #e1e8f0;
  border-left: 1px solid #e1e8f0;
  transform: rotate(45deg);
}

.language-dropdown-menu a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 11px;
  border-radius: 9px;
  color: #243b55;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}

.language-dropdown-menu a:hover {
  background: #eef6ff;
  color: #0057B8;
}

.language-dropdown-menu a.active {
  background: #0057B8;
  color: #ffffff;
}

/* WhatsApp */

.whatsapp-btn{
    background:#00A676;
    color:white;
    text-decoration:none;
    padding:10px 20px;
    border-radius:30px;
    font-weight:600;
    transition:.3s;
}

.whatsapp-btn:hover{
    transform:translateY(-2px);
}

/* Opinion Button */

.opinion-btn{
    background:#0057B8;
    color:white;
    text-decoration:none;
    padding:12px 24px;
    border-radius:30px;
    font-weight:700;
    transition:.3s;
}

.opinion-btn:hover{
    background:#00418a;
}
.btn {
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-block;
  transition: 0.3s;
}
html[dir="rtl"]{
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .two-column{
    flex-direction: row-reverse;
}

html[dir="rtl"] nav{
    direction: rtl;
}

html[dir="rtl"] .cards{
    direction: rtl;
}

html[lang="ar"] .hero{
    background-image:url('../images/hero/hero-main-arabic.png');
}

.btn-blue {
  background: #0057B8;
  color: white;
}

.btn-green {
  background: #00A676;
  color: white;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,87,184,0.25);
}

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:140px 70px 20px;
    background-image:url("images/hero/her-main-colored.png");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    gap:60px;
}


.hero-text{
    flex:1;
}

.hero-text h1{
    font-size:72px;
    line-height:1.1;
    margin-bottom:75px;
    color:#0B2D5C;
}

.hero-text p{
    font-size:22px;
    color:#475569;
    margin-bottom:75px;
    max-width:650px;
}

.hero-image{
    flex:1;
}

.hero-image img{
    width:100%;
    max-width:900px;
    height:auto;
    display:block;
}

.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,20,45,0.92) 0%,
    rgba(0,20,45,0.70) 38%,
    rgba(0,20,45,0.20) 75%
  );
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  animation: heroZoom 7s ease forwards;
}

.hero-content{
    position:absolute;

    left:8%;
    top:50%;

    transform:translateY(-50%);

    width:42%;

    z-index:10;

    color:white;
}

.hero-content h1{

    font-size:72px;

    line-height:1.05;

    margin-bottom:25px;

    font-weight:700;

}

.hero-content p{

    font-size:22px;

    line-height:1.7;

    color:#e5e7eb;

    margin-bottom:35px;

}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 36px;
  cursor: pointer;
}

.hero-arrow.prev {
  left: 30px;
}

.hero-arrow.next {
  right: 30px;
}

.hero-dots {
  position: absolute;
  bottom: 35px;
  left: 80px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.45);
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: white;
}

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

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

.about-platform{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

    padding:110px 8%;

}

.about-image img{

    width:100%;

    border-radius:24px;

    box-shadow:0 30px 60px rgba(0,0,0,.15);

}

.hero-eyebrow{

    color:#0f9bd7;

    font-size:14px;

    font-weight:700;

    letter-spacing:3px;

    text-transform:uppercase;

}
.section-tag{

    color:#0f9bd7;

    font-size:14px;

    font-weight:700;

    letter-spacing:3px;

    text-transform:uppercase;

}

.about-content h2{

    font-size:52px;

    margin:18px 0 25px;

    color:#07294d;

    line-height:1.2;

}

.about-content .lead{

    font-size:20px;

    color:#555;

    line-height:1.8;

    margin-bottom:40px;

}

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:30px;

    margin-bottom:45px;

}

.feature{

    display:flex;

    gap:18px;

}

.icon{

    width:65px;

    height:65px;

    border-radius:18px;

    background:#eaf7fd;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:30px;

}

.feature h3{

    margin-bottom:8px;

    color:#07294d;

}

.feature p{

    color:#666;

    line-height:1.7;

}
section {
  padding: 100px 80px;
}

.section-title {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 60px;
}

.section-title h2 {
  font-size: 46px;
  margin-bottom: 16px;
  color: #111827;
}

.section-title p {
  color: #6b7280;
  font-size: 18px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.two-column img {
  width: 100%;
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

.two-column h2 {
  font-size: 44px;
  margin-bottom: 22px;
}

.two-column p {
  color: #6b7280;
  font-size: 18px;
  margin-bottom: 24px;
}
.card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px);
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  padding: 34px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 55px rgba(0,87,184,0.18);
}

.card span {
  font-size: 36px;
  display: block;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.card p {
  color: #6b7280;
  font-size: 15px;
}

.dark-section {
  background: #050b18;
  color: white;
}

.dark-section .section-title h2 {
  color: white;
}

.dark-section .card {
  background: linear-gradient(145deg, #0f172a, #111827);
  color: white;
  border: 1px solid rgba(255,255,255,0.08);
}

.ai-box {
  background: linear-gradient(135deg, #0057B8, #00A676);
  color: white;
  border-radius: 40px;
  padding: 70px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.upload-box {
  background: white;
  color: #111827;
  border-radius: 30px;
  padding: 35px;
  text-align: center;
}

.upload-box input,
.upload-box textarea {
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  border: 1px solid #d1d5db;
  border-radius: 14px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 18px;
  text-align: center;
}

.step {
  background: #f8fafc;
  padding: 26px 18px;
  border-radius: 24px;
  font-weight: 700;
}

.cta {
  background: linear-gradient(135deg, #0057B8, #003b7a);
  color: white;
  text-align: center;
  border-radius: 45px;
  margin: 80px;
  padding: 90px 30px;
}

.cta h2 {
  font-size: 48px;
  margin-bottom: 22px;
}

footer {
  background: #050b18;
  color: white;
  padding: 70px 80px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

footer h3 {
  margin-bottom: 18px;
  color: white;
}

footer p,
footer a {
  color: #9ca3af;
  display: block;
  margin-bottom: 10px;
}

.footer-logo img{
    height:100px;
    width:auto;
    margin-bottom:5px;
}
.whatsapp {
  position: fixed;
  right: 25px;
  bottom: 25px;
  background: #00A676;
  color: white;
  padding: 16px 22px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
  z-index: 1001;
}

@media (max-width: 1000px) {
  header {
    padding: 0 24px;
  }

  nav {
    display: none;
  }

  .hero h1 {
    font-size: 46px;
  }

  section {
    padding: 70px 24px;
  }

  .two-column,
  .ai-box {
    grid-template-columns: 1fr;
  }

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

  .card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  }
  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 50px 24px;
  }

  .cta {
    margin: 30px 24px;
  }
}

@media (max-width: 600px) {
  .cards,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 130px 24px 60px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .header-buttons .btn-green {
    display: none;
  }
}

/* =========================
   SPECIALTY PAGES
========================= */

.specialty-hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 150px 80px 80px;
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* =================================
   NEUROSURGERY PAGE
================================= */

.neurosurgery-hero{
  min-height:85vh;

  background:
    linear-gradient(
      90deg,
      rgba(0,20,45,0.97) 0%,
      rgba(0,20,45,0.88) 31%,
      rgba(0,20,45,0.38) 64%,
      rgba(0,20,45,0.08) 100%
    ),
    url("images/specialties/neurosurgery-hero.png");

  background-size:cover;
  background-position:center right;
  background-repeat:no-repeat;

  display:flex;
  align-items:center;

  padding:160px 80px 90px;

  color:#ffffff;
}

.neurosurgery-hero .department-content{
  max-width:760px;
}

.neurosurgery-hero .department-content h1{
  max-width:720px;
  margin:18px 0 24px;
  font-size:68px;
  line-height:1.08;
}

.neurosurgery-hero .department-content p{
  max-width:720px;
  font-size:20px;
  line-height:1.75;
}

.neurosurgery-conditions{
  background:#f7fafc;
}

.hybrid-or-section{
  background:#f1f7fb;
}

.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:30px;
}

.neurosurgery-conditions .card,
.dark-section .card{
  height:100%;
}

.neurosurgery-conditions .card p,
.dark-section .card p{
  line-height:1.75;
}

/* Responsive */

@media (max-width:1000px){

  .neurosurgery-hero{
    min-height:75vh;
    padding:140px 24px 70px;
    background-position:65% center;
  }

  .neurosurgery-hero .department-content{
    max-width:650px;
  }

  .neurosurgery-hero .department-content h1{
    font-size:52px;
  }

}

@media (max-width:600px){

  .neurosurgery-hero{
    min-height:82vh;
    padding:130px 20px 60px;
    background-position:72% center;
  }

  .neurosurgery-hero .department-content h1{
    font-size:40px;
  }

  .neurosurgery-hero .department-content p{
    font-size:16px;
    line-height:1.65;
  }

  .hero-buttons{
    flex-direction:column;
    align-items:flex-start;
  }

}

.specialty-hero-content {
  max-width: 760px;
}

.specialty-hero-content h1 {
  font-size: 68px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.specialty-hero-content p {
  font-size: 22px;
  color: #e5e7eb;
  margin-bottom: 34px;
}

.training-section {
  background: #f8fafc;
}

.department-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 160px 80px 90px;
  color: white;
  background-size: cover;
  background-position: center;
}

.oncology-hero{
  min-height: 85vh;
  background:
    linear-gradient(90deg, rgba(0,20,45,0.92) 0%, rgba(0,20,45,0.72) 35%, rgba(0,20,45,0.25) 70%),
    url("images/specialties/oncolog-hero.png");
  background-size: cover;
  background-position: center right;
  display: flex;
  align-items: center;
  padding: 160px 80px 90px;
  color: white;
}

.department-content{
  max-width: 720px;
}

.department-content h1{
  font-size: 72px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.department-content p{
  font-size: 22px;
  max-width: 650px;
  margin-bottom: 34px;
  color: #e5e7eb;
}
.bmt-hero {
  background:
    linear-gradient(
        rgba(0,20,45,0.30),
        rgba(0,20,45,0.30)
    ),
    url("images/specialties/bmt1.png");
  background-size: cover;
  background-position: center;
}

.cardiology-hero {
  background:
    linear-gradient(rgba(0,20,45,0.40), rgba(0,20,45,0.40)),
    url("images/specialties/cardiology1.png");
  background-size: cover;
  background-position: center;
}

.specialty-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 160px 80px 90px;
  color: white;
}

.specialty-content {
  max-width: 780px;
}

.specialty-content h1 {
  font-size: 72px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.specialty-content p {
  font-size: 22px;
  max-width: 680px;
  margin-bottom: 34px;
  color: #e5e7eb;
}

.card strong {
  display: block;
  margin-top: 15px;
  color: #0057B8;
  font-weight: 800;
}

.dark-section .card strong {
  color: #00A676;
}

@media (max-width: 1000px) {
  .specialty-hero {
    padding: 140px 24px 70px;
  }

  .specialty-content h1 {
    font-size: 46px;
  }

  .specialty-content p {
    font-size: 18px;
  }
}

.dentistry-hero {
  background:
    linear-gradient(rgba(0,20,45,0.35), rgba(0,20,45,0.35)),
    url("images/specialties/Dental-care.png");
  background-size: cover;
  background-position: center;
}

.specialty-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 160px 80px 90px;
  color: white;
}

.specialty-content {
  max-width: 780px;
}

.specialty-content h1 {
  font-size: 72px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.specialty-content p {
  font-size: 22px;
  max-width: 680px;
  margin-bottom: 34px;
  color: #e5e7eb;
}

.card strong {
  display: block;
  margin-top: 15px;
  color: #0057B8;
  font-weight: 800;
}

.dark-section .card strong {
  color: #00A676;
}

@media (max-width: 1000px) {
  .specialty-hero {
    padding: 140px 24px 70px;
  }

  .specialty-content h1 {
    font-size: 46px;
  }

  .specialty-content p {
    font-size: 18px;
  }
}

.nuclear-medicine-hero {
  background:
    linear-gradient(rgba(0,20,45,0.30), rgba(0,20,45,0.30)),
    url("images/specialties/nuclear-medicine2.png");
  background-size: cover;
  background-position: center;
}

.specialty-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 160px 80px 90px;
  color: white;
}

.specialty-content {
  max-width: 780px;
}

.specialty-content h1 {
  font-size: 72px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.specialty-content p {
  font-size: 22px;
  max-width: 680px;
  margin-bottom: 34px;
  color: #e5e7eb;
}

.card strong {
  display: block;
  margin-top: 15px;
  color: #0057B8;
  font-weight: 800;
}

.dark-section .card strong {
  color: #00A676;
}

@media (max-width: 1000px) {
  .specialty-hero {
    padding: 140px 24px 70px;
  }

  .specialty-content h1 {
    font-size: 46px;
  }

  .specialty-content p {
    font-size: 18px;
  }
}
.orthopedics-hero {
  background:
    linear-gradient(rgba(0,20,45,0.35), rgba(0,20,45,0.35)),
    url("images/specialties/orthopedic.png");
  background-size: cover;
  background-position: center;
}

.specialty-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 160px 80px 90px;
  color: white;
}

.specialty-content {
  max-width: 780px;
}

.specialty-content h1 {
  font-size: 72px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.specialty-content p {
  font-size: 22px;
  max-width: 680px;
  margin-bottom: 34px;
  color: #e5e7eb;
}

.card strong {
  display: block;
  margin-top: 15px;
  color: #0057B8;
  font-weight: 800;
}

.dark-section .card strong {
  color: #00A676;
}

@media (max-width: 1000px) {
  .specialty-hero {
    padding: 140px 24px 70px;
  }

  .specialty-content h1 {
    font-size: 46px;
  }

  .specialty-content p {
    font-size: 18px;
  }
}

/* =================================
   GENERAL SURGERY PAGE
================================= */

.general-surgery-hero{
  min-height:85vh;

  background:
    linear-gradient(
      90deg,
      rgba(0,20,45,0.50) 0%,
      rgba(0,20,45,0.50) 31%,
      rgba(0,20,45,0.38) 64%,
      rgba(0,20,45,0.08) 100%
    ),
    url("images/specialties/general-surgery-hero.png");

  background-size:cover;
  background-position:center right;
  background-repeat:no-repeat;

  display:flex;
  align-items:center;

  padding:70px 80px 90px;

  color:#ffffff;
}

.general-surgery-hero .department-content{
  max-width:760px;
}

.general-surgery-hero .department-content h1{
  max-width:720px;
  margin:18px 0 24px;
  font-size:68px;
  line-height:1.08;
}

.general-surgery-hero .department-content p{
  max-width:720px;
  font-size:20px;
  line-height:1.75;
}

.general-surgery-conditions{
  background:#f7fafc;
}

.laparoscopic-section{
  background:#f1f7fb;
}

.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:30px;
}

.general-surgery-conditions .card,
.dark-section .card{
  height:100%;
}

.general-surgery-conditions .card p,
.dark-section .card p{
  line-height:1.75;
}

.general-surgery-conditions .card p + p,
.dark-section .card p + p{
  margin-top:12px;
}

/* Responsive */

@media (max-width:1000px){

  .general-surgery-hero{
    min-height:75vh;
    padding:140px 24px 70px;
    background-position:65% center;
  }

  .general-surgery-hero .department-content{
    max-width:650px;
  }

  .general-surgery-hero .department-content h1{
    font-size:52px;
  }

}

@media (max-width:600px){

  .general-surgery-hero{
    min-height:82vh;
    padding:130px 20px 60px;
    background-position:72% center;
  }

  .general-surgery-hero .department-content h1{
    font-size:40px;
  }

  .general-surgery-hero .department-content p{
    font-size:16px;
    line-height:1.65;
  }

  .hero-buttons{
    flex-direction:column;
    align-items:flex-start;
  }

}

/* =================================
   PHYSICAL REHABILITATION & SPA
================================= */

.rehabilitation-hero{
  min-height:85vh;

  background:
    linear-gradient(
      90deg,
      rgba(0,20,45,0.97) 0%,
      rgba(0,20,45,0.88) 31%,
      rgba(0,20,45,0.40) 64%,
      rgba(0,20,45,0.08) 100%
    ),
    url("images/specialties/rehabilitation-hero.png");

  background-size:cover;
  background-position:center right;
  background-repeat:no-repeat;

  display:flex;
  align-items:center;

  padding:160px 80px 90px;

  color:#ffffff;
}

.rehabilitation-hero .department-content{
  max-width:800px;
}

.rehabilitation-hero .department-content h1{
  max-width:780px;
  margin:18px 0 24px;
  font-size:64px;
  line-height:1.08;
}

.rehabilitation-hero .department-content p{
  max-width:740px;
  font-size:20px;
  line-height:1.75;
}

.rehabilitation-conditions{
  background:#f7fafc;
}

.aquatic-rehabilitation-section,
.robotic-rehabilitation-section,
.medical-spa-section{
  background:#f1f7fb;
}

.thermal-spa-section{
  background:#ffffff;
}

.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:30px;
}

.rehabilitation-conditions .card,
#aquatic-therapy .card,
#thermal-water-programs .card,
#robotic-rehabilitation .card,
#neurological-rehabilitation .card,
#medical-spa .card{
  height:100%;
}

.rehabilitation-conditions .card p,
#aquatic-therapy .card p,
#thermal-water-programs .card p,
#robotic-rehabilitation .card p,
#neurological-rehabilitation .card p,
#medical-spa .card p{
  line-height:1.75;
}

.rehabilitation-conditions .card p + p,
#aquatic-therapy .card p + p,
#thermal-water-programs .card p + p,
#robotic-rehabilitation .card p + p,
#neurological-rehabilitation .card p + p,
#medical-spa .card p + p{
  margin-top:12px;
}

/* RESPONSIVE */

@media (max-width:1000px){

  .rehabilitation-hero{
    min-height:75vh;
    padding:140px 24px 70px;
    background-position:65% center;
  }

  .rehabilitation-hero .department-content{
    max-width:680px;
  }

  .rehabilitation-hero .department-content h1{
    font-size:50px;
  }

}

@media (max-width:600px){

  .rehabilitation-hero{
    min-height:85vh;
    padding:130px 20px 60px;
    background-position:72% center;
  }

  .rehabilitation-hero .department-content h1{
    font-size:38px;
  }

  .rehabilitation-hero .department-content p{
    font-size:16px;
    line-height:1.65;
  }

  .hero-buttons{
    flex-direction:column;
    align-items:flex-start;
  }

}

.plastic-surgery-hero {
  background:
    linear-gradient(rgba(0,20,45,0.35), rgba(0,20,45,0.35)),
    url("images/specialties/plastic.png");
  background-size: cover;
  background-position: center;
}

.specialty-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 160px 80px 90px;
  color: white;
}

.specialty-content {
  max-width: 780px;
}

.specialty-content h1 {
  font-size: 72px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.specialty-content p {
  font-size: 22px;
  max-width: 680px;
  margin-bottom: 34px;
  color: #e5e7eb;
}

.urology-hero{
  min-height:85vh;

  background:
    linear-gradient(
      90deg,
      rgba(0,20,45,0.95) 0%,
      rgba(0,20,45,0.82) 32%,
      rgba(0,20,45,0.30) 65%,
      rgba(0,20,45,0.05) 100%
    ),
    url("images/specialties/urology.png");

  background-size:cover;
  background-position:center right;
  background-repeat:no-repeat;

  display:flex;
  align-items:center;

  padding:160px 80px 90px;

  color:white;
}

.urology-conditions{
  background:#f8fafc;
}

.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}
.card strong {
  display: block;
  margin-top: 15px;
  color: #0057B8;
  font-weight: 800;
}

.dark-section .card strong {
  color: #00A676;
}

@media (max-width: 1000px) {
  .specialty-hero {
    padding: 140px 24px 70px;
  }

  .specialty-content h1 {
    font-size: 46px;
  }

  .specialty-content p {
    font-size: 18px;
  }
}

.womens-health-hero{
  min-height:85vh;

  background:
    linear-gradient(
      90deg,
      rgba(0,20,45,0.96) 0%,
      rgba(0,20,45,0.84) 32%,
      rgba(0,20,45,0.32) 65%,
      rgba(0,20,45,0.05) 100%
    ),
    url("images/specialties/womens-health-hero.png");

  background-size:cover;
  background-position:center right;
  background-repeat:no-repeat;

  display:flex;
  align-items:center;

  padding:160px 80px 90px;

  color:white;
}

.womens-health-conditions{
  background:#f8fafc;
}

.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

@media (max-width:1000px){

  .womens-health-hero{
    min-height:75vh;
    padding:140px 24px 70px;
    background-position:65% center;
  }

}

@media (max-width:600px){

  .womens-health-hero{
    min-height:80vh;
    background-position:70% center;
  }

  .womens-health-hero .department-content h1{
    font-size:42px;
  }

  .womens-health-hero .department-content p{
    font-size:17px;
  }

}
/* advanced treatments */

.actinium-225-hero {
  background:
    linear-gradient(rgba(0,20,45,0.70), rgba(0,20,45,0.70)),
    url("images/specialties/actinium-225.png");
  background-size: cover;
  background-position: center;
}

.advanced-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 160px 80px 90px;
  color: white;
}

.advanced-content {
  max-width: 820px;
}

.advanced-content h1 {
  font-size: 70px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.advanced-content p {
  font-size: 22px;
  max-width: 720px;
  margin-bottom: 34px;
  color: #e5e7eb;
}

@media (max-width: 1000px) {
  .advanced-hero {
    padding: 140px 24px 70px;
  }

  .advanced-content h1 {
    font-size: 42px;
  }

  .advanced-content p {
    font-size: 18px;
  }
}
/*------------------------*/
.cyberknife-hero {
  background:
    linear-gradient(rgba(0,20,45,0.70), rgba(0,20,45,0.70)),
    url("images/specialties/cyberknife.png");
  background-size: cover;
  background-position: center;
}

.advanced-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 160px 80px 90px;
  color: white;
}

.advanced-content {
  max-width: 820px;
}

.advanced-content h1 {
  font-size: 70px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.advanced-content p {
  font-size: 22px;
  max-width: 720px;
  margin-bottom: 34px;
  color: #e5e7eb;
}

@media (max-width: 1000px) {
  .advanced-hero {
    padding: 140px 24px 70px;
  }

  .advanced-content h1 {
    font-size: 42px;
  }

  .advanced-content p {
    font-size: 18px;
  }
}
/*----------gammaknife*/

.gamma-knife-hero {
  background:
    linear-gradient(rgba(0,20,45,0.70), rgba(0,20,45,0.70)),
    url("images/specialties/gamma-knife.png");
  background-size: cover;
  background-position: center;
}

.advanced-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 160px 80px 90px;
  color: white;
}

.advanced-content {
  max-width: 820px;
}

.advanced-content h1 {
  font-size: 70px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.advanced-content p {
  font-size: 22px;
  max-width: 720px;
  margin-bottom: 34px;
  color: #e5e7eb;
}

@media (max-width: 1000px) {
  .advanced-hero {
    padding: 140px 24px 70px;
  }

  .advanced-content h1 {
    font-size: 42px;
  }

  .advanced-content p {
    font-size: 18px;
  }
}
 /*-------------hipec*/

 .hipec-hero {
  background:
    linear-gradient(rgba(0,20,45,0.70), rgba(0,20,45,0.70)),
    url("images/specialties/hipec.png");
  background-size: cover;
  background-position: center;
}

.advanced-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 160px 80px 90px;
  color: white;
}

.advanced-content {
  max-width: 820px;
}

.advanced-content h1 {
  font-size: 70px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.advanced-content p {
  font-size: 22px;
  max-width: 720px;
  margin-bottom: 34px;
  color: #e5e7eb;
}

@media (max-width: 1000px) {
  .advanced-hero {
    padding: 140px 24px 70px;
  }

  .advanced-content h1 {
    font-size: 42px;
  }

  .advanced-content p {
    font-size: 18px;
  }
}
/*----------Lutetium-177*/
.lutetium-177-hero {
  background:
    linear-gradient(rgba(0,20,45,0.70), rgba(0,20,45,0.70)),
    url("images/specialties/lutitium.png");
  background-size: cover;
  background-position: center;
}

.advanced-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 160px 80px 90px;
  color: white;
}

.advanced-content {
  max-width: 820px;
}

.advanced-content h1 {
  font-size: 70px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.advanced-content p {
  font-size: 22px;
  max-width: 720px;
  margin-bottom: 34px;
  color: #e5e7eb;
}

@media (max-width: 1000px) {
  .advanced-hero {
    padding: 140px 24px 70px;
  }

  .advanced-content h1 {
    font-size: 42px;
  }

  .advanced-content p {
    font-size: 18px;
  }
}
/*--------radioempolization*/

.radioembolization-hero {
  background:
    linear-gradient(rgba(0,20,45,0.70), rgba(0,20,45,0.70)),
    url("images/specialties/radioembolization.png");
  background-size: cover;
  background-position: center;
}

.advanced-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 160px 80px 90px;
  color: white;
}

.advanced-content {
  max-width: 820px;
}

.advanced-content h1 {
  font-size: 70px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.advanced-content p {
  font-size: 22px;
  max-width: 720px;
  margin-bottom: 34px;
  color: #e5e7eb;
}

@media (max-width: 1000px) {
  .advanced-hero {
    padding: 140px 24px 70px;
  }

  .advanced-content h1 {
    font-size: 42px;
  }

  .advanced-content p {
    font-size: 18px;
  }
}
/*-----------------radium223*/

.radium-223-hero {
  background:
    linear-gradient(rgba(0,20,45,0.70), rgba(0,20,45,0.70)),
    url("images/specialties/radium-223.png");
  background-size: cover;
  background-position: center;
}

.advanced-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 160px 80px 90px;
  color: white;
}

.advanced-content {
  max-width: 820px;
}

.advanced-content h1 {
  font-size: 70px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.advanced-content p {
  font-size: 22px;
  max-width: 720px;
  margin-bottom: 34px;
  color: #e5e7eb;
}

@media (max-width: 1000px) {
  .advanced-hero {
    padding: 140px 24px 70px;
  }

  .advanced-content h1 {
    font-size: 42px;
  }

  .advanced-content p {
    font-size: 18px;
  }
}
/*-----------robotic-surgery*/
.robotic-surgery-hero {
  background:
    linear-gradient(rgba(0,20,45,0.70), rgba(0,20,45,0.70)),
    url("images/specialties/robotic-surgery.png");
  background-size: cover;
  background-position: center;
}

.advanced-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 160px 80px 90px;
  color: white;
}

.advanced-content {
  max-width: 820px;
}

.advanced-content h1 {
  font-size: 70px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.advanced-content p {
  font-size: 22px;
  max-width: 720px;
  margin-bottom: 34px;
  color: #e5e7eb;
}

@media (max-width: 1000px) {
  .advanced-hero {
    padding: 140px 24px 70px;
  }

  .advanced-content h1 {
    font-size: 42px;
  }

  .advanced-content p {
    font-size: 18px;
  }
}

#library .card{
    display:block;
    text-decoration:none;
    color:inherit;
    cursor:pointer;
    transition:0.3s;
}

#library .card:hover{
    transform:translateY(-8px);
}

/* =================================
   RADIATION ONCOLOGY PAGE
================================= */

.radiation-oncology-hero{
  min-height:85vh;

  background:
    linear-gradient(
      90deg,
      rgba(0,20,45,0.97) 0%,
      rgba(0,20,45,0.88) 30%,
      rgba(0,20,45,0.38) 65%,
      rgba(0,20,45,0.08) 100%
    ),
    url("images/specialties/radiation-oncology-hero.png");

  background-size:cover;
  background-position:center right;
  background-repeat:no-repeat;

  display:flex;
  align-items:center;

  padding:160px 80px 90px;

  color:white;
}

.radiation-conditions{
  background:#f8fafc;
}

.organ-protection{
  background:#f4f8fc;
}

.radiation-oncology-hero .department-content{
  max-width:760px;
}

.radiation-oncology-hero .department-content h1{
  font-size:68px;
  line-height:1.08;
  margin:18px 0 24px;
}

.radiation-oncology-hero .department-content p{
  max-width:720px;
  font-size:20px;
  line-height:1.75;
}

.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:30px;
}

.card strong{
  display:block;
  margin-top:12px;
  color:#0c6fae;
  line-height:1.6;
}

.dark-section .card strong{
  color:#42c8ff;
}

/* RESPONSIVE */

@media (max-width:1000px){

  .radiation-oncology-hero{
    min-height:75vh;
    padding:140px 24px 70px;
    background-position:65% center;
  }

  .radiation-oncology-hero .department-content{
    max-width:650px;
  }

  .radiation-oncology-hero .department-content h1{
    font-size:52px;
  }

}

@media (max-width:600px){

  .radiation-oncology-hero{
    min-height:82vh;
    padding:130px 20px 60px;
    background-position:72% center;
  }

  .radiation-oncology-hero .department-content h1{
    font-size:40px;
  }

  .radiation-oncology-hero .department-content p{
    font-size:16px;
    line-height:1.65;
  }

  .hero-buttons{
    flex-direction:column;
    align-items:flex-start;
  }

}

/* =================================
   ADDICTION & MENTAL HEALTH PAGE
================================= */

.mental-health-hero{
  min-height:85vh;

  background:
    linear-gradient(
      90deg,
      rgba(0,20,45,0.97) 0%,
      rgba(0,20,45,0.88) 31%,
      rgba(0,20,45,0.40) 64%,
      rgba(0,20,45,0.08) 100%
    ),
    url("images/specialties/mental-health-hero.png");

  background-size:cover;
  background-position:center right;
  background-repeat:no-repeat;

  display:flex;
  align-items:center;

  padding:160px 80px 90px;

  color:#ffffff;
}

.mental-health-hero .department-content{
  max-width:760px;
}

.mental-health-hero .department-content h1{
  max-width:720px;
  margin:18px 0 24px;
  font-size:68px;
  line-height:1.08;
}

.mental-health-hero .department-content p{
  max-width:720px;
  font-size:20px;
  line-height:1.75;
}

.mental-health-conditions{
  background:#f7fafc;
}

.confidential-care{
  background:#f1f7fb;
}

.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:30px;
}

.dark-section .timeline .step {
  background: #f8fafc;
  color: #0b2d5c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

.dark-section .timeline .step br {
  display: block;
  margin-bottom: 8px;
}

.dark-section .timeline .step {
  font-size: 16px;
  line-height: 1.5;
}

.dark-section .section-title p {
  color: #94a3b8;
}
/* Improve detailed cards */

.mental-health-conditions .card,
.dark-section .card{
  height:100%;
}

.mental-health-conditions .card p,
.dark-section .card p{
  line-height:1.75;
}

/* Responsive */

@media (max-width:1000px){

  .mental-health-hero{
    min-height:75vh;
    padding:140px 24px 70px;
    background-position:65% center;
  }

  .mental-health-hero .department-content{
    max-width:650px;
  }

  .mental-health-hero .department-content h1{
    font-size:52px;
  }

}

@media (max-width:600px){

  .mental-health-hero{
    min-height:82vh;
    padding:130px 20px 60px;
    background-position:72% center;
  }

  .mental-health-hero .department-content h1{
    font-size:40px;
  }

  .mental-health-hero .department-content p{
    font-size:16px;
    line-height:1.65;
  }

  .hero-buttons{
    flex-direction:column;
    align-items:flex-start;
  }

}
.article-hero{min-height:62vh;display:flex;align-items:center;padding:150px 80px 80px;color:#fff;background-size:cover;background-position:center}
.article-hero-content{max-width:860px}.article-hero-content h1{font-size:58px;line-height:1.08;margin-bottom:22px}.article-hero-content p{font-size:21px;color:#e5e7eb;max-width:760px}
.article-section{padding:90px 80px;background:#fff}.medical-article{max-width:980px;margin:auto}.medical-article h2{font-size:34px;color:#0B2D5C;margin:42px 0 16px}.medical-article h3{font-size:24px;color:#0057B8;margin:28px 0 12px}.medical-article p,.medical-article li{font-size:18px;line-height:1.8;color:#4b5563}.medical-article ul{margin-left:24px;margin-bottom:20px}
.article-note{margin:40px 0;padding:28px;border-left:5px solid #00A8B5;background:#f8fafc;border-radius:18px}
.article-cta{margin-top:60px;padding:45px;border-radius:30px;background:linear-gradient(135deg,#0057B8,#00A8B5);color:#fff}.article-cta h2,.article-cta p{color:#fff}
.article-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin:35px 0}.article-box{padding:28px;border-radius:24px;background:#f8fafc;box-shadow:0 10px 30px rgba(0,0,0,.06)}.article-box h3{margin-top:0}
@media(max-width:1000px){.article-hero{padding:140px 24px 70px}.article-section{padding:70px 24px}.article-hero-content h1{font-size:40px}.article-grid{grid-template-columns:1fr}}

/* =================================
   CANCER TREATMENT CENTER PAGE
================================= */

.cancer-treatment-hero{
  min-height:85vh;

  background:
    linear-gradient(
      90deg,
      rgba(0,20,45,0.97) 0%,
      rgba(0,20,45,0.88) 31%,
      rgba(0,20,45,0.40) 64%,
      rgba(0,20,45,0.08) 100%
    ),
    url("images/specialties/cancer-treatment-hero.png");

  background-size:cover;
  background-position:center right;
  background-repeat:no-repeat;

  display:flex;
  align-items:center;

  padding:160px 80px 90px;

  color:#ffffff;
}

.cancer-treatment-hero .department-content{
  max-width:780px;
}

.cancer-treatment-hero .department-content h1{
  max-width:760px;
  margin:18px 0 24px;
  font-size:68px;
  line-height:1.08;
}

.cancer-treatment-hero .department-content p{
  max-width:740px;
  font-size:20px;
  line-height:1.75;
}

.cancer-treatment-conditions,
.cancer-documents-section{
  background:#f7fafc;
}

.radiation-treatment-section{
  background:#f1f7fb;
}

.cancer-treatment-conditions .card,
.cancer-documents-section .card,
.dark-section .card{
  height:100%;
}

.cancer-treatment-conditions .card p,
.cancer-documents-section .card p,
.dark-section .card p{
  line-height:1.75;
}

.cancer-treatment-conditions .card p + p,
.cancer-documents-section .card p + p,
.dark-section .card p + p{
  margin-top:12px;
}

/* Responsive */

@media (max-width:1000px){

  .cancer-treatment-hero{
    min-height:75vh;
    padding:140px 24px 70px;
    background-position:65% center;
  }

  .cancer-treatment-hero .department-content{
    max-width:650px;
  }

  .cancer-treatment-hero .department-content h1{
    font-size:52px;
  }

}

@media (max-width:600px){

  .cancer-treatment-hero{
    min-height:82vh;
    padding:130px 20px 60px;
    background-position:72% center;
  }

  .cancer-treatment-hero .department-content h1{
    font-size:40px;
  }

  .cancer-treatment-hero .department-content p{
    font-size:16px;
    line-height:1.65;
  }

  .hero-buttons{
    flex-direction:column;
    align-items:flex-start;
  }

}

/* =========================================================
   GLOBAL RESPONSIVE OVERRIDES
   Added to support phones, tablets, laptops and large screens
========================================================= */

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

body {
  overflow-x: hidden;
  min-width: 0;
}

img,
video,
svg,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

input,
textarea,
select,
button {
  max-width: 100%;
  font: inherit;
}

section[id] {
  scroll-margin-top: 110px;
}

header {
  left: 0;
  right: 0;
  width: auto;
  max-width: 100%;
  gap: 24px;
}

.logo {
  top: 0;
  flex: 0 0 auto;
}

.logo img {
  width: clamp(150px, 16vw, 260px);
  height: auto;
  max-height: 86px;
  object-fit: contain;
}

.logo img:hover {
  transform: scale(1.04);
}

nav {
  min-width: 0;
  justify-content: center;
}

nav a {
  white-space: nowrap;
}

.header-right {
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: #0057b8;
  cursor: pointer;
  flex: 0 0 auto;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: #fff;
  transition: transform .25s ease, opacity .25s ease;
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-slider {
  min-height: 650px;
  height: 100svh;
}

.hero-content {
  width: min(650px, 48%);
}

.hero-content h1,
.hero-text h1,
.department-content h1,
.specialty-content h1,
.specialty-hero-content h1,
.article-hero-content h1 {
  overflow-wrap: anywhere;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
}

.hero-content p {
  font-size: clamp(1rem, 1.45vw, 1.375rem);
}

.about-content h2,
.section-title h2,
.cta h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

section,
.about-platform,
.article-section {
  padding-left: clamp(20px, 6vw, 80px);
  padding-right: clamp(20px, 6vw, 80px);
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.card {
  min-width: 0;
}

.timeline {
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
}

.ai-box,
.about-platform,
.two-column {
  min-width: 0;
}

.upload-box input,
.upload-box textarea {
  font-size: 16px;
}

.cta {
  margin-left: clamp(20px, 6vw, 80px);
  margin-right: clamp(20px, 6vw, 80px);
}

footer {
  grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(140px, 1fr));
}

/* ===========================
   SUB FOOTER
=========================== */

.sub-footer{
    background:#050b18 ;
    border-top:1px solid rgba(255,255,255,.08);
    padding:20px 40px;
}

.sub-footer-container{
    max-width:1400px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}

.copyright{
    color:#B8C3D1;
    font-size:14px;
}

.copyright strong{
    color:#ffffff;
}

.footer-links{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}

.footer-links a{
    color:#D7E2EF;
    text-decoration:none;
    font-size:14px;
    transition:.3s;
}

.footer-links a:hover{
    color:#00C389;
}

.footer-links span{
    color:#5C718D;
}

.footer-slogan{
    color:#9FB4C9;
    font-size:14px;
    font-style:italic;
    letter-spacing:.3px;
}

/* ==========================================
   LEGAL PAGES
========================================== */

.legal-header{

    padding:140px 0 60px;

    background:#F7FAFD;

    border-bottom:1px solid #E6ECF2;

    text-align:center;

}

.legal-header .container{

    max-width:900px;

    margin:auto;

    padding:0 25px;

}

.legal-tag{

    display:inline-block;

    padding:8px 18px;

    border-radius:50px;

    background:#EAF4FF;

    color:#0057B8;

    font-size:13px;

    font-weight:600;

    letter-spacing:.5px;

    text-transform:uppercase;

}

.legal-header h1{

    margin:20px 0;

    color:#0B2D5C;

    font-size:48px;

}

.legal-header p{

    color:#667085;

    font-size:19px;

    line-height:1.8;

}

@media(max-width:768px){

    .legal-header{

        padding:120px 20px 50px;

    }

    .legal-header h1{

        font-size:34px;

    }

    .legal-header p{

        font-size:17px;

    }

}
@media (max-width:900px){

    .sub-footer-container{
        flex-direction:column;
        text-align:center;
    }

}

@media (max-width: 1250px) {
  header {
    height: 88px;
    padding: 0 24px;
  }

  .logo img {
    width: 185px;
    max-height: 72px;
  }

  nav {
    gap: 15px;
    font-size: 13px;
  }

  .header-right {
    gap: 8px;
  }

  .language-dropdown-toggle {
    height: 38px;
    min-width: 62px;
    padding: 0 12px;
  }

  .whatsapp-btn,
  .opinion-btn {
    padding: 9px 13px;
    font-size: 13px;
  }
}

@media (max-width: 1100px) {
  body.menu-open {
    overflow: hidden;
  }

  header {
    top: 0;
    height: 80px;
    padding: 0 20px;
    border-radius: 0;
  }

  .logo img {
    width: 175px;
    max-height: 66px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  header nav {
    display: flex;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    max-height: calc(100svh - 80px);
    padding: 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    overflow-y: auto;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .12);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform .28s ease, opacity .28s ease, visibility .28s ease;
  }

  body.menu-open header nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  header nav a {
    display: block;
    padding: 13px 15px;
    border-radius: 12px;
    font-size: 16px;
  }

  header nav a:hover {
    background: #eef6ff;
  }

  .header-right {
    margin-left: auto;
  }

  .opinion-btn {
    display: none;
  }

  .hero-slider {
    min-height: 700px;
  }

  .hero-content {
    left: 7%;
    width: min(620px, 66%);
  }

  .about-platform,
  .ai-box,
  .two-column {
    grid-template-columns: 1fr;
  }

  .about-image {
    max-width: 760px;
    margin: 0 auto;
  }

  footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* ========================================
   HERO LANGUAGE LINKS
======================================== */

.hero-language-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px 22px;
    padding: 14px 20px;

    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.hero-language-links a {
    position: relative;

    color: inherit;
    text-decoration: none;

    opacity: 0.75;

    transition:
        opacity 0.25s ease,
        color 0.25s ease;
}

.hero-language-links a:hover {
    opacity: 1;
}

/* ========================================
   WE SPEAK YOUR LANGUAGE
======================================== */

.we-speak-languages {
    width: 100%;
    padding: 26px 20px 30px;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.we-speak-inner {
    max-width: 1250px;
    margin: 0 auto;
    text-align: center;
}

/* Title */
.we-speak-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    margin-bottom: 18px;

    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.we-speak-icon {
    font-size: 23px;
}

/* Language buttons */
.we-speak-links {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px;
}

.we-speak-links a {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 12px 22px;

    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;

    background: #fff;

    color: #222;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;

    text-decoration: none;

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

.we-speak-links a:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 0, 0, 0.25);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}

/* Tablet */
@media (max-width: 992px) {

    .we-speak-links a {
        font-size: 15px;
        padding: 11px 18px;
    }

}

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

    .we-speak-languages {
        padding: 20px 14px 24px;
    }

    .we-speak-title {
        font-size: 17px;
        margin-bottom: 15px;
    }

    .we-speak-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .we-speak-links a {
        width: 100%;
        min-height: 50px;

        padding: 10px 8px;

        font-size: 14px;
    }

    /* English takes full width when needed */
    .we-speak-links a:first-child {
        grid-column: 1 / -1;
    }
}
@media (max-width: 760px) {
  header {
    padding: 0 14px;
  }

  .logo img {
    width: 150px;
  }

  .header-right .whatsapp-btn {
    display: none;
  }

  .language-dropdown-toggle {
    height: 38px;
    min-width: 58px;
    padding: 0 11px;
    font-size: 12px;
  }

  .language-dropdown-menu {
    width: 160px;
    right: 0;
  }

  .hero-slider {
    min-height: 680px;
    height: 100svh;
  }

  .hero-slide {
    background-position: 68% center;
  }

  .hero-slide::before {
    background: linear-gradient(90deg, rgba(0,20,45,.94) 0%, rgba(0,20,45,.78) 55%, rgba(0,20,45,.45) 100%);
  }

  .hero-content {
    left: 20px;
    right: 20px;
    top: 52%;
    width: auto;
  }

  .hero-content h1 {
    margin-bottom: 16px;
    font-size: clamp(2.15rem, 10vw, 3.25rem);
  }

  .hero-content p {
    margin-bottom: 24px;
    line-height: 1.55;
  }

  .hero-content .btn {
    margin: 5px 5px 5px 0;
    padding: 11px 16px;
    font-size: 14px;
  }

  .hero-arrow {
    top: auto;
    bottom: 22px;
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .hero-arrow.prev {
    left: 20px;
  }

  .hero-arrow.next {
    right: 20px;
  }

  .hero-dots {
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
  }

  section,
  .about-platform,
  .article-section {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .about-platform {
    gap: 38px;
  }

  .about-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    align-items: flex-start;
  }

  .icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    font-size: 25px;
  }

  .ai-box {
    padding: 28px 18px;
    border-radius: 26px;
    gap: 28px;
  }

  .upload-box {
    padding: 24px 16px;
    border-radius: 22px;
  }

  .cta {
    margin-top: 28px;
    margin-bottom: 28px;
    padding: 58px 20px;
    border-radius: 28px;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 50px 20px 90px;
  }

  .whatsapp {
    right: 14px;
    bottom: 14px;
    padding: 12px 16px;
    font-size: 14px;
  }

  .specialty-hero,
  .department-hero,
  .article-hero,
  .neurosurgery-hero,
  .general-surgery-hero,
  .rehabilitation-hero,
  .mental-health-hero,
  .cancer-treatment-hero {
    min-height: 76svh;
    padding: 120px 20px 60px;
  }

  .department-content h1,
  .specialty-content h1,
  .specialty-hero-content h1,
  .article-hero-content h1,
  .neurosurgery-hero .department-content h1,
  .general-surgery-hero .department-content h1,
  .rehabilitation-hero .department-content h1,
  .mental-health-hero .department-content h1,
  .cancer-treatment-hero .department-content h1 {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }
}


@media (max-width: 430px) {
  .language-dropdown-toggle {
    min-width: 54px;
    padding: 0 10px;
  }

  .language-dropdown-menu {
    width: 154px;
  }
}

@media (max-width: 430px) {
  .logo img {
    width: 128px;
  }

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

  .hero-content .btn {
    display: block;
    width: 100%;
    margin: 9px 0 0;
    text-align: center;
  }

  .section-title {
    margin-bottom: 38px;
  }

  .card {
    padding: 25px 20px;
    border-radius: 22px;
  }

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

@media (min-width: 1700px) {
  header,
  section,
  .about-platform,
  footer {
    padding-left: max(80px, calc((100vw - 1600px) / 2));
    padding-right: max(80px, calc((100vw - 1600px) / 2));
  }

  .hero-content {
    left: max(8%, calc((100vw - 1600px) / 2));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ===============================
   COOKIE POLICY HERO
================================ */

.cookie-policy-hero {
    background:
        linear-gradient(
            90deg,
            rgba(0, 20, 45, 0.88) 0%,
            rgba(0, 20, 45, 0.72) 38%,
            rgba(0, 20, 45, 0.18) 70%,
            rgba(0, 20, 45, 0.05) 100%
        ),
        url("images/legal/cookies.png");

    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.medical-disclaimer-hero {
  background:
    linear-gradient(90deg,
      rgba(0,20,45,0.52) 0%,
      rgba(0,20,45,0.24) 50%,
      rgba(0,20,45,0.04) 100%
    ),
    url("images/legal/disclamair.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.privacy-policy-hero {
  background:
    linear-gradient(90deg,
      rgba(0,20,45,0.48) 0%,
      rgba(0,20,45,0.22) 50%,
      rgba(0,20,45,0.03) 100%
    ),
    url("images/legal/privacy.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.terms-conditions-hero {
  background:
    linear-gradient(90deg,
      rgba(0,20,45,0.50) 0%,
      rgba(0,20,45,0.23) 50%,
      rgba(0,20,45,0.03) 100%
    ),
    url("images/legal/terms&conditions.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
