/*
 * Sobul visual refresh — load this file AFTER the site's existing stylesheet.
 * This is a presentational layer for the current markup. Text containing
 * question marks, email destinations, course data and form delivery must be
 * repaired in the application; CSS cannot correct those issues.
 */

:root {
  --sobul-navy: #15324e;
  --sobul-navy-deep: #10283f;
  --sobul-blue: #176fa7;
  --sobul-sky: #4b9bcf;
  --sobul-sky-light: #eaf5fb;
  --sobul-surface: #f6f9fc;
  --sobul-ink: #23394d;
  --sobul-muted: #4e6172;
  --sobul-border: #dce7ee;
  --sobul-radius: 18px;
  --sobul-shadow: 0 14px 38px rgba(20, 53, 78, 0.09);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--sobul-ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

main {
  overflow: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--sobul-navy);
  line-height: 1.35;
}

a {
  color: var(--sobul-blue);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--sobul-navy);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--sobul-blue);
  outline-offset: 3px;
}

/* Utility bar and primary navigation */
#topbar {
  background: var(--sobul-navy-deep);
  padding: 7px 0;
  color: #e6f2fa;
  font-size: 13px;
}

#topbar .contact-info i,
#topbar .contact-info i a,
#topbar .contact-info i span,
#topbar .social-links a {
  color: #e6f2fa;
}

#topbar a:hover,
#topbar .social-links a:hover {
  color: #8ed0f2;
}

#header {
  height: 76px;
  background: #fff;
  box-shadow: 0 7px 25px rgba(16, 40, 63, 0.08);
}

#header .logo img {
  max-height: 56px;
  width: auto;
}

.scrolled-offset {
  margin-top: 76px;
}

.navbar a,
.navbar a:focus {
  padding: 10px 12px;
  color: var(--sobul-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: var(--sobul-blue);
}

.navbar .dropdown ul {
  border: 1px solid var(--sobul-border);
  border-radius: 12px;
  box-shadow: var(--sobul-shadow);
}

.navbar .dropdown ul a {
  white-space: normal;
  line-height: 1.5;
}

.navbar .getstarted,
.navbar .getstarted:focus {
  background: var(--sobul-blue);
  border-radius: 999px;
  color: #fff;
  margin-right: 12px;
  padding: 10px 18px;
}

.navbar .getstarted:hover,
.navbar .getstarted:focus:hover {
  background: var(--sobul-navy);
}

.navbar button.getstarted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 76px;
  height: 40px;
  margin: 0 8px 0 0;
  padding: 7px 12px;
  white-space: nowrap;
  line-height: 1.3;
}

.mobile-nav-toggle {
  color: var(--sobul-navy);
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 0;
  background: transparent;
  line-height: 1;
}

.navbar-mobile ul {
  border-radius: 16px;
  box-shadow: var(--sobul-shadow);
}

.navbar-mobile a,
.navbar-mobile a:focus {
  min-height: 46px;
  padding: 12px 18px;
  font-size: 16px;
}

/* Home hero: retain the site's photograph, add a readable blue overlay. */
#hero {
  height: min(72vh, 720px);
  min-height: 530px;
  margin-bottom: 0;
  background: var(--sobul-navy);
}

#hero .carousel-item {
  height: min(72vh, 720px);
  min-height: 530px;
  background-position: center;
}

#hero .carousel-item::before {
  background: linear-gradient(270deg,
    rgba(10, 37, 62, 0.94) 0%,
    rgba(14, 51, 80, 0.84) 36%,
    rgba(16, 51, 76, 0.36) 72%,
    rgba(16, 51, 76, 0.2) 100%);
}

#hero .carousel-container {
  z-index: 1;
  justify-content: flex-start;
  direction: rtl;
  padding: 62px clamp(28px, 7vw, 112px) 74px;
}

#hero .carousel-content {
  width: min(100%, 700px);
  text-align: right;
}

#hero h1,
#hero h2 {
  color: #fff;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.25;
  margin-bottom: 17px;
  text-wrap: balance;
}

#hero h2 span {
  color: #9ad8f3;
}

#hero p {
  width: 100%;
  max-width: 610px;
  margin: 0 0 24px;
  color: #edf7fc;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.8;
}

#hero .btn-get-started {
  margin: 6px 0 6px 12px;
  padding: 13px 25px;
  border: 2px solid var(--sobul-sky);
  border-radius: 999px;
  background: var(--sobul-sky);
  color: var(--sobul-navy-deep);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
}

#hero .btn-get-started:hover {
  border-color: #fff;
  background: #fff;
  color: var(--sobul-navy-deep);
}

#hero .btn-get-started + .btn-get-started {
  border-color: rgba(255, 255, 255, 0.8);
  background: transparent;
  color: #fff;
}

#hero .btn-get-started + .btn-get-started:hover {
  background: #fff;
  color: var(--sobul-navy-deep);
}

#hero .sobul-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 15px;
  border: 1px solid rgba(193, 229, 247, 0.48);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: #d9f1fd;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

#hero .sobul-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

#hero .sobul-hero-actions .btn-get-started {
  margin: 0;
}

#hero .sobul-secondary {
  border-color: rgba(255, 255, 255, 0.8);
  background: transparent;
  color: #fff;
}

#hero .sobul-secondary:hover {
  background: #fff;
  color: var(--sobul-navy-deep);
}

#hero .sobul-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #deeff8;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(222, 239, 248, 0.5);
  text-underline-offset: 5px;
}

#hero .sobul-profile-link:hover {
  color: #fff;
  text-decoration-color: #fff;
}

#hero .carousel-control-prev,
#hero .carousel-control-next {
  width: 6%;
  min-width: 42px;
}

#hero .carousel-control-next-icon,
#hero .carousel-control-prev-icon {
  color: #fff;
  font-size: 38px;
}

#hero .carousel-indicators li {
  width: 9px;
  height: 9px;
  margin: 0 5px 20px;
  background: #fff;
  opacity: 0.55;
}

#hero .carousel-indicators li.active {
  width: 26px;
  background: #9ad8f3;
  opacity: 1;
}

/* Shared section rhythm and introductory content */
section {
  padding-bottom: 76px;
}

.section-bg {
  background: var(--sobul-surface);
}

.section-title {
  padding-bottom: 30px;
}

.section-title h2 {
  color: var(--sobul-navy);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-title h2::after {
  height: 4px;
  width: 54px;
  right: calc(50% - 27px);
  border-radius: 999px;
  background: var(--sobul-sky);
}

.section-title p {
  color: var(--sobul-muted);
  font-size: 17px;
  line-height: 1.8;
}

.clients {
  padding: 24px 0 30px;
  background: #fff;
  border-bottom: 1px solid var(--sobul-border);
}

.clients .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 95px;
  padding: 10px 16px;
}

.clients .swiper-slide img {
  max-height: 78px;
  width: auto;
  object-fit: contain;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-color: var(--sobul-sky);
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background: var(--sobul-blue);
}

.skills,
.about,
.contact {
  padding-top: 76px;
}

.skills .content h3,
.about .content h3 {
  color: var(--sobul-navy);
  font-size: clamp(23px, 2.3vw, 31px);
  line-height: 1.4;
}

.skills .content p,
.about .content p {
  color: var(--sobul-muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
  text-align: start;
}

.skills .content ul li,
.about .content ul li {
  line-height: 1.75;
  padding-bottom: 12px;
}

.skills .content ul i,
.about .content ul i {
  color: var(--sobul-blue);
}

#skills img {
  width: 100%;
  border-radius: var(--sobul-radius);
  box-shadow: var(--sobul-shadow);
}

.sobul-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
  color: var(--sobul-blue);
  font-weight: 700;
}

.sobul-services {
  padding: 78px 0;
  background: var(--sobul-surface);
}

.sobul-service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 30px;
  border: 1px solid var(--sobul-border);
  border-radius: var(--sobul-radius);
  background: #fff;
  box-shadow: var(--sobul-shadow);
  color: var(--sobul-ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.sobul-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 19px 44px rgba(20, 53, 78, 0.15);
  color: var(--sobul-ink);
}

.sobul-service-card > i {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 15px;
  background: var(--sobul-sky-light);
  color: var(--sobul-blue);
  font-size: 27px;
}

.sobul-service-card h3 {
  margin-bottom: 9px;
  font-size: 21px;
}

.sobul-service-card p {
  margin-bottom: 22px;
  color: var(--sobul-muted);
  font-size: 16px;
  line-height: 1.8;
}

.sobul-service-card span {
  margin-top: auto;
  color: var(--sobul-blue);
  font-weight: 700;
}

.featured .icon-box,
.services .icon-box,
.contact .info-box {
  height: 100%;
  border: 1px solid var(--sobul-border);
  border-radius: var(--sobul-radius);
  background: #fff;
  box-shadow: var(--sobul-shadow);
}

.featured .icon-box:hover,
.services .icon-box:hover {
  transform: translateY(-3px);
}

.breadcrumbs {
  background: var(--sobul-sky-light);
}

.breadcrumbs h1,
.breadcrumbs h2 {
  color: var(--sobul-navy);
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

/* Course cards used on the home page and programme listing. */
.team .member {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--sobul-border);
  border-radius: var(--sobul-radius);
  background: #fff;
  box-shadow: var(--sobul-shadow);
  text-align: right;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.team .member:hover {
  transform: translateY(-4px);
  box-shadow: 0 19px 44px rgba(20, 53, 78, 0.15);
}

.team .member img {
  display: block;
  width: 100%;
  max-height: 290px;
  margin: 0 0 18px;
  object-fit: contain;
  background: var(--sobul-surface);
}

.team .member h4,
.team .member span,
.team .member p {
  padding-inline: 20px;
}

.team .member h4 {
  color: var(--sobul-navy);
  font-size: 19px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.team .member span {
  color: var(--sobul-muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.6;
}

.team .member p {
  color: var(--sobul-muted);
  font-size: 15px;
  font-style: normal;
  line-height: 1.7;
  padding-top: 8px;
}

.team .member .social {
  padding: 0 20px 20px;
}

.sobul-programmes {
  padding-top: 25px;
}

.sobul-programmes .row > [class*="col"] > a {
  display: block;
  width: 100%;
  color: inherit;
}

.sobul-programmes .member img {
  height: 190px;
  max-height: 190px;
  margin-bottom: 0;
  padding: 53px 32px 24px !important;
  object-fit: contain;
}

.sobul-programme-body {
  padding: 18px 20px 23px !important;
}

.sobul-programme-body h4,
.sobul-programme-body span {
  padding-inline: 0;
}

.sobul-empty-state {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px;
  border: 1px solid var(--sobul-border);
  border-radius: var(--sobul-radius);
  background: var(--sobul-surface);
  text-align: center;
}

.sobul-empty-state h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.sobul-empty-state p {
  color: var(--sobul-muted);
  font-size: 16px;
}

.sobul-section-action {
  margin-top: 30px;
  text-align: center;
}

.sobul-section-action a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--sobul-blue);
  border-radius: 999px;
  color: var(--sobul-blue);
  font-weight: 700;
}

.sobul-section-action a:hover {
  background: var(--sobul-blue);
  color: #fff;
}

.hema2,
.hema3 {
  top: 14px;
  border-radius: 999px;
  background: var(--sobul-blue);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
  padding: 7px 12px;
}

.hema2 {
  right: 14px;
}

.hema3 {
  left: 14px;
}

/* Forms and contact details */
.contact .info-box {
  padding: 27px 22px;
}

.contact .info-box i {
  border-color: var(--sobul-sky-light);
  color: var(--sobul-blue);
}

.contact .info-box h3 {
  color: var(--sobul-navy);
}

.contact .info-box p {
  color: var(--sobul-muted);
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.contact .php-email-form {
  border: 1px solid var(--sobul-border);
  border-radius: var(--sobul-radius);
  background: #fff;
  box-shadow: var(--sobul-shadow);
  padding: clamp(20px, 3vw, 36px);
}

main label {
  color: var(--sobul-navy);
  font-weight: 700;
  margin-bottom: 6px;
}

main :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="file"]) {
  max-width: 100%;
  min-height: 46px;
  border: 1px solid #cbdbe6;
  border-radius: 11px;
  background: #fff;
  color: var(--sobul-ink);
  font-size: 15px;
  padding: 11px 14px;
}

main textarea,
.modal-body textarea {
  min-height: 130px !important;
  resize: vertical;
}

main :is(input, select, textarea)::placeholder {
  color: var(--sobul-muted);
  opacity: 1;
}

main :is(input, select, textarea):focus {
  border-color: var(--sobul-blue);
  box-shadow: 0 0 0 3px rgba(75, 155, 207, 0.16);
}

main :is(button[type="submit"], input[type="submit"], .btn-primary, .butt2),
.contact .php-email-form button[type="submit"] {
  min-height: 46px;
  border: 1px solid var(--sobul-blue);
  border-radius: 999px;
  background: var(--sobul-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 25px;
  transition: background-color 180ms ease, border-color 180ms ease;
}

main :is(button[type="submit"], input[type="submit"], .btn-primary, .butt2):hover,
.contact .php-email-form button[type="submit"]:hover {
  border-color: var(--sobul-navy);
  background: var(--sobul-navy);
  color: #fff;
}

.contact iframe {
  width: 100%;
  border: 0;
  border-radius: var(--sobul-radius);
}

/* About page and consultation page additions in the local PHP revision. */
.sobul-about,
.sobul-consulting {
  padding: 78px 0;
}

.sobul-about-image {
  display: block;
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--sobul-shadow);
}

.sobul-section-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--sobul-blue);
  font-size: 15px;
  font-weight: 700;
}

.sobul-about h2,
.sobul-consulting h2 {
  font-size: clamp(28px, 3vw, 42px);
  margin-bottom: 18px;
}

.sobul-about p,
.sobul-consulting p {
  color: var(--sobul-muted);
  font-size: 17px;
  line-height: 1.9;
}

.sobul-check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.sobul-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 11px;
  line-height: 1.75;
}

.sobul-check-list i {
  flex: 0 0 auto;
  color: var(--sobul-blue);
  font-size: 19px;
}

.sobul-values {
  margin-top: 42px;
}

.sobul-value-card {
  height: 100%;
  padding: 27px;
  border: 1px solid var(--sobul-border);
  border-radius: var(--sobul-radius);
  background: var(--sobul-surface);
}

.sobul-value-card > i {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 17px;
  border-radius: 14px;
  background: var(--sobul-sky-light);
  color: var(--sobul-blue);
  font-size: 24px;
}

.sobul-value-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.sobul-value-card p {
  margin-bottom: 0;
  font-size: 15px;
}

.sobul-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 24px;
  border: 1px solid var(--sobul-blue);
  border-radius: 999px;
  background: var(--sobul-blue);
  color: #fff;
  font-weight: 700;
}

.sobul-cta:hover {
  border-color: var(--sobul-navy);
  background: var(--sobul-navy);
  color: #fff;
}

.modal-content {
  overflow: hidden;
  border: 1px solid var(--sobul-border);
  border-radius: var(--sobul-radius);
  box-shadow: 0 25px 70px rgba(16, 40, 63, 0.2);
}

.modal-header,
.modal-footer {
  border-color: var(--sobul-border);
}

.modal-title {
  color: var(--sobul-navy);
  font-weight: 700;
}

.modal-body label {
  color: var(--sobul-navy);
  font-weight: 700;
}

.modal-body :is(input, select, textarea) {
  min-height: 46px;
  border-radius: 11px;
  border-color: #cbdbe6;
}

.modal-footer .butt2 {
  border-radius: 999px;
  font-weight: 700;
}

/* Footer and the floating WhatsApp link */
#footer {
  background: var(--sobul-navy-deep);
  color: #eaf3f8;
}

#footer .footer-top {
  border-color: rgba(255, 255, 255, 0.12);
  background: var(--sobul-navy);
  padding-top: 55px;
}

#footer .footer-top h4,
#footer .footer-top .footer-info h3 {
  color: #fff;
  font-weight: 700;
  line-height: 1.4;
}

#footer .footer-top .footer-info p,
#footer .footer-top .footer-contact p,
#footer .footer-top .footer-links ul a {
  color: #dbe9f2;
  line-height: 1.75;
}

#footer .footer-top .footer-links ul li {
  padding: 7px 0;
}

#footer .footer-top .footer-links ul a:hover,
#footer .footer-top .social-links a:hover {
  color: #fff;
}

#footer .footer-top .social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
}

#footer .footer-top .social-links a:hover {
  background: var(--sobul-blue);
}

#footer .copyright,
#footer .credits {
  color: #dbe9f2;
}

.float {
  right: 22px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  box-shadow: 0 10px 28px rgba(17, 81, 47, 0.22);
  z-index: 996;
}

.my-float {
  margin-top: 13px;
}

/* Smaller screens: retain the RTL flow and generous tap targets. */
@media (max-width: 1199px) {
  .navbar a,
  .navbar a:focus {
    padding-inline: 8px;
    font-size: 13px;
  }
}

@media (max-width: 991px) {
  #topbar .social-links {
    display: none;
  }

  #header {
    height: 68px;
  }

  #header .logo img {
    max-height: 48px;
  }

  .scrolled-offset {
    margin-top: 68px;
  }

  #hero {
    height: 630px;
    min-height: 630px;
  }

  #hero .carousel-item {
    height: 630px;
    min-height: 630px;
  }

  #hero .carousel-container {
    padding: 56px 56px 76px;
  }

  #hero .carousel-item::before {
    background: linear-gradient(270deg,
      rgba(10, 37, 62, 0.94),
      rgba(14, 51, 80, 0.76) 65%,
      rgba(16, 51, 76, 0.44));
  }
}

@media (max-width: 767px) {
  #topbar {
    font-size: 11px;
    padding: 5px 0;
  }

  #topbar .contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3px 12px;
  }

  #hero {
    height: 650px;
    min-height: 650px;
  }

  #hero .carousel-item {
    height: 650px;
    min-height: 650px;
    background-position: center;
  }

  #hero .carousel-item::before {
    background: linear-gradient(180deg,
      rgba(12, 38, 63, 0.75),
      rgba(10, 37, 62, 0.95));
  }

  #hero .carousel-container {
    align-items: center;
    padding: 45px 20px 78px;
  }

  #hero .carousel-content {
    width: 100%;
    text-align: center;
  }

  #hero h1,
  #hero h2 {
    font-size: clamp(25px, 7vw, 38px);
    margin-bottom: 13px;
  }

  #hero p {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 19px;
  }

  #hero .btn-get-started {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    margin: 5px;
    padding: 10px 18px;
  }

  #hero .carousel-control-prev,
  #hero .carousel-control-next {
    width: 35px;
    min-width: 35px;
  }

  #hero .carousel-control-next-icon,
  #hero .carousel-control-prev-icon {
    font-size: 29px;
  }

  section {
    padding-bottom: 56px;
  }

  .skills,
  .about,
  .contact {
    padding-top: 56px;
  }

  .clients {
    padding: 14px 0 22px;
  }

  .clients .swiper-slide {
    min-height: 76px;
  }

  .clients .swiper-slide img {
    max-height: 58px;
  }

  .team .member {
    margin-bottom: 18px;
  }

  .sobul-services,
  .sobul-about,
  .sobul-consulting {
    padding: 58px 0;
  }

  .sobul-service-card {
    padding: 25px;
  }

  .sobul-values {
    margin-top: 28px;
  }

  .contact .php-email-form {
    padding: 20px;
  }

  #footer .footer-top {
    padding-top: 42px;
  }

  .float {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    font-size: 25px;
  }

  .my-float {
    margin-top: 12px;
  }
}

@media (max-width: 380px) {
  #hero {
    height: 690px;
    min-height: 690px;
  }

  #hero .carousel-item {
    height: 690px;
    min-height: 690px;
  }

  #hero .btn-get-started {
    width: min(100%, 250px);
  }
}

/* The same stylesheet is loaded by the English pages. */
html[lang="en"] #hero .carousel-item::before {
  background: linear-gradient(90deg,
    rgba(10, 37, 62, 0.94) 0%,
    rgba(14, 51, 80, 0.84) 36%,
    rgba(16, 51, 76, 0.36) 72%,
    rgba(16, 51, 76, 0.2) 100%);
}

html[lang="en"] #hero .carousel-container {
  direction: ltr;
}

html[lang="en"] #hero .carousel-content,
html[lang="en"] .team .member {
  text-align: left;
}

html[lang="en"] #hero .sobul-hero-actions {
  justify-content: flex-start;
}

html[lang="en"] .navbar > ul > li > a {
  padding-inline: 8px;
  font-size: 13px;
}

.sobul-news-section {
  padding: 72px 0;
}

.sobul-empty-state {
  max-width: 660px;
  padding: 48px 28px;
  border: 1px solid #dce9f2;
  border-radius: 18px;
  background: #f7fbfe;
}

.sobul-empty-state > i {
  display: inline-block;
  margin-bottom: 16px;
  color: #318fc8;
  font-size: 42px;
}

.sobul-empty-state h2,
.sobul-news-card h2 {
  color: #173a5c;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
}

.sobul-empty-state p {
  margin: 16px 0 26px;
  color: #53697b;
}

.sobul-news-card {
  overflow: hidden;
  border: 1px solid #dce9f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 51, 79, 0.06);
}

.sobul-news-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sobul-news-card time {
  color: #617588;
  font-size: 0.9rem;
}

.sobul-news-card p {
  margin: 18px 0 0;
  line-height: 1.9;
}

@media (max-width: 1399px) {
  html[lang="en"] .navbar:not(.navbar-mobile) > ul {
    display: none;
  }

  html[lang="en"] .mobile-nav-toggle {
    display: block;
  }
}

@media (max-width: 1199px) {
  .navbar:not(.navbar-mobile) > ul {
    display: none;
  }

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

@media (max-width: 767px) {
  html[lang="en"] #hero .carousel-item::before {
    background: linear-gradient(180deg,
      rgba(12, 38, 63, 0.75),
      rgba(10, 37, 62, 0.95));
  }

  html[lang="en"] #hero .carousel-content {
    text-align: center;
  }

  #hero .sobul-hero-actions {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

/* Clear text and predictable spacing across the shared footer. */
#footer .footer-top {
  color: #f1f7fb;
}

#footer .footer-top .row {
  row-gap: 28px;
}

#footer .footer-top h4,
#footer .footer-top .footer-info h3 {
  color: #b9e5f8 !important;
  font-size: 1.08rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

#footer .footer-top .footer-info p,
#footer .footer-top .footer-contact p,
#footer .footer-top .footer-links ul a,
#footer .footer-top .footer-contact strong {
  color: #f1f7fb;
  font-size: 0.98rem;
  line-height: 1.85;
}

#footer .footer-top .footer-links ul a,
#footer .footer-top .footer-contact a {
  color: #f1f7fb;
  text-decoration-color: rgba(185, 229, 248, 0.65);
  text-underline-offset: 4px;
}

#footer .footer-top .footer-contact a {
  overflow-wrap: anywhere;
}

#footer .footer-top .footer-links ul a:hover,
#footer .footer-top .footer-contact a:hover,
#footer .footer-top .footer-links ul a:focus-visible,
#footer .footer-top .footer-contact a:focus-visible {
  color: #b9e5f8;
  text-decoration: underline;
}

#footer .footer-top .footer-links ul i {
  color: #b9e5f8;
}

#footer .footer-top .social-links a {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.23);
}

#footer :focus-visible {
  outline-color: #b9e5f8;
}

#footer .copyright,
#footer .credits {
  color: #dcecf5;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Programme detail sections use clear headings and readable ordered content. */
.sobul-course-fact {
  min-height: 100%;
  padding: 13px 15px !important;
  border: 1px solid var(--sobul-border);
  border-radius: 12px !important;
  background: #f9fcfe;
  color: var(--sobul-ink);
  font-size: 0.96rem;
  line-height: 1.75;
}

.sobul-course-fact i,
.sobul-course-fact a {
  color: var(--sobul-blue);
}

.sobul-course-fact strong {
  color: var(--sobul-navy);
  font-weight: 700;
}

#team [style*="color:#4b9bcf"] {
  color: var(--sobul-ink) !important;
}

.sobul-detail-section {
  margin-block: 22px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--sobul-border);
  border-radius: var(--sobul-radius);
  background: #fff;
  box-shadow: 0 9px 27px rgba(20, 53, 78, 0.07);
}

.sobul-detail-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--sobul-navy);
  font-size: clamp(1.28rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.45;
}

.sobul-detail-heading h2 {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.sobul-detail-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--sobul-sky-light);
  color: var(--sobul-blue);
  font-size: 1.35rem;
}

.sobul-detail-content {
  max-width: 78ch;
  color: var(--sobul-ink);
  font-size: 1rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.sobul-detail-paragraph {
  margin: 0 0 1rem;
  color: var(--sobul-ink);
  font-size: 1rem;
  line-height: 1.9;
}

.sobul-detail-paragraph:last-child {
  margin-bottom: 0;
}

.sobul-detail-list {
  counter-reset: sobul-detail-step;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--sobul-ink);
  line-height: 1.85;
}

.sobul-detail-list li {
  counter-increment: sobul-detail-step;
  position: relative;
  min-height: 36px;
  padding-inline-start: 48px;
  margin-bottom: 0.85rem;
}

.sobul-detail-list li:last-child {
  margin-bottom: 0;
}

.sobul-detail-list li::before {
  content: counter(sobul-detail-step);
  position: absolute;
  inset-inline-start: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #b7d7ea;
  border-radius: 50%;
  background: var(--sobul-sky-light);
  color: var(--sobul-navy);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
}

.sobul-detail-list li:not(:last-child)::after {
  content: '';
  position: absolute;
  inset-inline-start: 16px;
  top: 40px;
  bottom: -12px;
  width: 2px;
  background: var(--sobul-border);
}

.sobul-speaker-card {
  background: #fff;
}

.sobul-speaker-card .row {
  overflow: hidden;
  border: 1px solid var(--sobul-border);
  border-radius: 15px;
  background: var(--sobul-surface);
}

.sobul-speaker-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center top;
  background: var(--sobul-sky-light);
}

.sobul-speaker-name {
  margin: 0 0 8px;
  color: var(--sobul-navy);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.5;
}

.sobul-speaker-card .sobul-detail-content {
  max-width: none;
  padding: clamp(20px, 3vw, 30px);
  color: var(--sobul-ink);
}

/* Existing home programme cards share the same legible card treatment. */
.team a:focus-visible .member,
.sobul-programmes a:focus-visible .member {
  outline: 3px solid var(--sobul-blue);
  outline-offset: 4px;
  box-shadow: 0 16px 36px rgba(20, 53, 78, 0.16);
}

.sobul-programmes .member img {
  width: 100%;
  height: 205px;
  max-height: 205px;
  margin: 0;
  padding: 12px !important;
  object-fit: contain;
  background: linear-gradient(135deg, #eaf5fb, #f6f9fc);
}

.sobul-programme-body {
  min-height: 126px;
  background: #fff;
}

.sobul-programme-body h4 {
  color: var(--sobul-navy);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.5;
}

.sobul-programme-body span {
  color: var(--sobul-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 767px) {
  #footer .footer-top {
    padding-block: 40px 30px;
  }

  #footer .footer-top .row {
    row-gap: 22px;
  }

  #footer .footer-top :is(.footer-info, .footer-links, .footer-contact) {
    text-align: start;
  }

  #footer .copyright,
  #footer .credits {
    text-align: center;
  }

  .sobul-detail-section {
    margin-block: 15px;
    padding: 20px;
  }

  .sobul-detail-heading {
    align-items: flex-start;
    margin-bottom: 15px;
  }

  .sobul-speaker-card {
    padding: 20px;
  }

  .sobul-speaker-photo {
    height: 200px;
    min-height: 200px;
  }

  .sobul-speaker-card .sobul-detail-content {
    padding: 20px;
  }
}

/* Training search and cards: all essential details remain readable outside posters. */
.sobul-training {
  background: var(--sobul-surface);
}

.sobul-training-filters {
  margin-bottom: 22px;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--sobul-border);
  border-radius: var(--sobul-radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 53, 78, 0.07);
}

.sobul-training-filter-grid label {
  color: var(--sobul-navy);
  font-size: 0.94rem;
  font-weight: 700;
}

.sobul-training-filter-grid :is(input, select) {
  min-height: 46px;
  border-color: #b7cbd8;
  border-radius: 10px;
  color: var(--sobul-ink);
  background-color: #fff;
}

.sobul-training-filters .btn-outline-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid #9db9ca;
  border-radius: 999px;
  color: var(--sobul-navy);
  font-weight: 700;
}

.sobul-training-filters .btn-outline-secondary:hover,
.sobul-training-filters .btn-outline-secondary:focus-visible {
  border-color: var(--sobul-blue);
  background: var(--sobul-sky-light);
  color: var(--sobul-navy);
}

.sobul-training-results {
  margin: 0 0 20px;
  padding-inline-start: 12px;
  border-inline-start: 4px solid var(--sobul-blue);
  color: var(--sobul-ink);
  font-size: 0.98rem;
  font-weight: 700;
}

.sobul-training-group-title {
  margin: 18px 0 3px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sobul-border);
  color: var(--sobul-navy);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
}

.sobul-training-card {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--sobul-ink);
  text-align: start;
  text-decoration: none;
}

.sobul-training-card:hover,
.sobul-training-card:focus-visible {
  color: var(--sobul-ink);
  text-decoration: none;
}

.sobul-training-card-surface {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--sobul-border);
  border-radius: var(--sobul-radius);
  background: #fff;
  box-shadow: 0 11px 30px rgba(20, 53, 78, 0.09);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.sobul-training-card:hover .sobul-training-card-surface,
.sobul-training-card:focus-visible .sobul-training-card-surface {
  transform: translateY(-3px);
  border-color: #9cc7dd;
  box-shadow: 0 18px 38px rgba(20, 53, 78, 0.16);
}

.sobul-training-card:focus-visible {
  outline: 3px solid var(--sobul-blue);
  outline-offset: 4px;
  border-radius: var(--sobul-radius);
}

.sobul-training-card-media {
  display: grid;
  place-items: center;
  height: 210px;
  padding: 12px;
  overflow: hidden;
  border-bottom: 1px solid var(--sobul-border);
  background: linear-gradient(135deg, #e8f3fa, #f5f9fc);
}

.sobul-training-card .sobul-training-card-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 186px;
  max-height: none;
  margin: 0;
  padding: 0 !important;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 28%;
  background: transparent;
  box-shadow: 0 6px 16px rgba(20, 53, 78, 0.12);
}

.sobul-training-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  padding: 20px 22px 22px;
  text-align: start;
}

.sobul-training-card .sobul-training-card-body h4 {
  margin: 0;
  padding: 0;
  color: var(--sobul-navy);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.55;
}

.sobul-training-card .sobul-training-card-body .sobul-training-card-status {
  align-self: flex-start;
  padding: 5px 11px;
  border: 1px solid #b8d6e7;
  border-radius: 999px;
  background: var(--sobul-sky-light);
  color: #155477;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.sobul-training-card .sobul-training-card-status.is-ongoing {
  border-color: #a8d6bd;
  background: #e7f5ec;
  color: #216040;
}

.sobul-training-card .sobul-training-card-status.is-past {
  border-color: #c7d4dc;
  background: #eff3f5;
  color: #44596a;
}

.sobul-training-card .sobul-training-card-status.is-undated {
  border-color: #eed7a9;
  background: #fff7e8;
  color: #70531e;
}

.sobul-training-card-meta {
  display: grid;
  gap: 0;
  margin: 0;
}

.sobul-training-card-meta > div {
  display: grid;
  grid-template-columns: minmax(88px, 36%) minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #edf2f6;
}

.sobul-training-card-meta dt,
.sobul-training-card-meta dd {
  margin: 0;
  padding: 0;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.sobul-training-card-meta dt {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--sobul-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.sobul-training-card-meta dt i {
  flex: 0 0 auto;
  color: var(--sobul-blue);
}

.sobul-training-card-meta dd {
  color: var(--sobul-ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.sobul-training-card-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 4px;
}

.sobul-training-card .sobul-training-card-prices span {
  padding: 5px 9px;
  border: 1px solid #c5dfea;
  border-radius: 8px;
  background: #eff8fc;
  color: var(--sobul-navy);
  font-size: 0.86rem;
  line-height: 1.5;
}

.sobul-training-card-prices strong {
  color: var(--sobul-navy-deep);
  font-weight: 800;
}

.sobul-training-card .sobul-training-card-body .sobul-training-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--sobul-border);
  color: var(--sobul-blue);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
}

.sobul-training-card:hover .sobul-training-card-link,
.sobul-training-card:focus-visible .sobul-training-card-link {
  color: var(--sobul-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

html[lang="en"] .sobul-training-card-link i {
  transform: rotate(180deg);
}

@media (max-width: 767px) {
  .sobul-training-filters {
    padding: 18px;
  }

  .sobul-training-card-media {
    height: 195px;
  }

  .sobul-training-card .sobul-training-card-media img {
    height: 171px;
  }

  .sobul-training-card-body {
    padding: 18px;
  }
}

@media (max-width: 575px) {
  .sobul-training-filter-grid > [class*="col"] {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .sobul-training-card-surface,
  .sobul-training-card-body {
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .sobul-training-card-meta > div {
    grid-template-columns: minmax(80px, 34%) minmax(0, 1fr);
    gap: 6px;
  }
}

/* Home hero: give the message its own light surface and leave the team visible. */
#hero,
#hero .carousel-item {
  height: clamp(540px, 68svh, 660px);
  min-height: 0;
}

#hero {
  background: #f7fafc;
}

#hero .carousel-item {
  background-color: #f7fafc;
  background-position: 42% center;
  background-repeat: no-repeat;
}

#hero .carousel-item::before {
  background: linear-gradient(270deg,
    #f7fafc 0%,
    #f7fafc 39%,
    rgba(247, 250, 252, 0.97) 48%,
    rgba(247, 250, 252, 0.7) 57%,
    rgba(247, 250, 252, 0) 70%);
}

#hero .carousel-container {
  padding: 58px clamp(40px, 6.5vw, 108px) 78px;
}

#hero .carousel-content {
  width: min(43%, 540px);
  max-width: none;
  text-align: start;
}

#hero h1,
#hero h2 {
  margin: 0 0 19px;
  color: var(--sobul-navy-deep);
  font-size: clamp(38px, 3.6vw, 58px);
  font-weight: 800;
  line-height: 1.23;
  text-wrap: balance;
}

#hero h1 span,
#hero h2 span {
  color: var(--sobul-blue);
}

#hero p {
  max-width: 500px;
  margin-bottom: 28px;
  color: var(--sobul-ink);
  font-size: clamp(16px, 1.28vw, 19px);
  line-height: 1.75;
}

#hero .sobul-eyebrow {
  margin-bottom: 21px;
  border-color: #c7deec;
  background: #e6f3fa;
  color: var(--sobul-navy);
}

#hero .sobul-hero-actions {
  gap: 11px;
  margin-bottom: 17px;
}

#hero .sobul-hero-actions .btn-get-started {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  margin: 0;
  padding: 12px 21px;
  border: 1px solid var(--sobul-blue);
  border-radius: 12px;
  background: var(--sobul-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(23, 111, 167, 0.15);
}

#hero .sobul-hero-actions .btn-get-started:hover,
#hero .sobul-hero-actions .btn-get-started:focus-visible {
  border-color: var(--sobul-navy-deep);
  background: var(--sobul-navy-deep);
  color: #fff;
}

#hero .sobul-hero-actions .sobul-secondary,
#hero .sobul-hero-actions .btn-get-started + .btn-get-started {
  border-color: #a9c6d9;
  background: #fff;
  color: var(--sobul-navy);
  box-shadow: none;
}

#hero .sobul-hero-actions .sobul-secondary:hover,
#hero .sobul-hero-actions .sobul-secondary:focus-visible,
#hero .sobul-hero-actions .btn-get-started + .btn-get-started:hover,
#hero .sobul-hero-actions .btn-get-started + .btn-get-started:focus-visible {
  border-color: var(--sobul-blue);
  background: #eaf5fb;
  color: var(--sobul-navy-deep);
}

#hero .sobul-profile-link {
  color: var(--sobul-muted);
  text-decoration-color: #a9c6d9;
}

#hero .sobul-profile-link:hover,
#hero .sobul-profile-link:focus-visible {
  color: var(--sobul-blue);
  text-decoration-color: var(--sobul-blue);
}

#hero .carousel-control-prev,
#hero .carousel-control-next {
  top: auto;
  right: auto;
  bottom: 26px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 1px solid rgba(21, 50, 78, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.93);
  color: var(--sobul-navy);
  opacity: 1;
  box-shadow: 0 5px 18px rgba(16, 40, 63, 0.12);
}

#hero .carousel-control-prev { left: clamp(24px, 4vw, 72px); }
#hero .carousel-control-next { left: calc(clamp(24px, 4vw, 72px) + 54px); }

#hero .carousel-control-prev:hover,
#hero .carousel-control-next:hover,
#hero .carousel-control-prev:focus-visible,
#hero .carousel-control-next:focus-visible {
  background: var(--sobul-navy);
  color: #fff;
}

#hero .carousel-control-prev-icon,
#hero .carousel-control-next-icon {
  width: auto;
  height: auto;
  background-image: none;
  color: inherit;
  font-size: 21px;
}

#hero .carousel-indicators {
  right: auto;
  bottom: 31px;
  left: clamp(148px, 15vw, 230px);
  justify-content: flex-start;
  width: auto;
  margin: 0;
}

#hero .carousel-indicators li {
  margin: 0 5px;
  background: var(--sobul-navy);
  opacity: 0.45;
}

#hero .carousel-indicators li.active {
  background: var(--sobul-blue);
  opacity: 1;
}

html[lang="en"] #hero .carousel-item::before {
  background: linear-gradient(90deg,
    #f7fafc 0%,
    #f7fafc 39%,
    rgba(247, 250, 252, 0.97) 48%,
    rgba(247, 250, 252, 0.7) 57%,
    rgba(247, 250, 252, 0) 70%);
}

html[lang="en"] #hero .carousel-control-prev {
  left: auto;
  right: clamp(24px, 4vw, 72px);
}

html[lang="en"] #hero .carousel-control-next {
  left: auto;
  right: calc(clamp(24px, 4vw, 72px) + 54px);
}

html[lang="en"] #hero .carousel-indicators {
  right: clamp(148px, 15vw, 230px);
  left: auto;
  justify-content: flex-end;
}

@media (max-width: 991px) {
  #hero,
  #hero .carousel-item {
    height: 600px;
    min-height: 0;
  }

  #hero .carousel-container {
    padding: 54px 48px 74px;
  }

  #hero .carousel-content {
    width: 49%;
  }

  #hero h1,
  #hero h2 {
    font-size: clamp(34px, 4.5vw, 46px);
  }
}

@media (max-width: 767px) {
  #hero,
  #hero .hero-container,
  #heroCarousel,
  #hero .carousel-inner {
    height: auto;
    min-height: 0;
  }

  #hero .carousel-item {
    height: auto;
    min-height: 760px;
    background-color: #f7fafc;
    background-size: auto 350px;
    background-position: center top;
    background-repeat: no-repeat;
  }

  #hero .carousel-item::before,
  html[lang="en"] #hero .carousel-item::before {
    background: linear-gradient(180deg,
      rgba(247, 250, 252, 0) 0%,
      rgba(247, 250, 252, 0.1) 24%,
      rgba(247, 250, 252, 0.75) 39%,
      #f7fafc 47%,
      #f7fafc 100%);
  }

  #hero .carousel-container {
    height: auto;
    min-height: 760px;
    align-items: flex-end;
    justify-content: center;
    padding: 350px 22px 82px;
  }

  #hero .carousel-content,
  html[lang="en"] #hero .carousel-content {
    width: 100%;
    max-width: 540px;
    text-align: center;
  }

  #hero h1,
  #hero h2 {
    font-size: clamp(30px, 7.4vw, 42px);
  }

  #hero p {
    max-width: none;
    font-size: 16px;
  }

  #hero .sobul-hero-actions,
  html[lang="en"] #hero .sobul-hero-actions {
    justify-content: center;
  }

  #hero .sobul-profile-link {
    justify-content: center;
  }

  #hero .carousel-control-prev,
  #hero .carousel-control-next,
  html[lang="en"] #hero .carousel-control-prev,
  html[lang="en"] #hero .carousel-control-next {
    right: auto;
    bottom: 17px;
  }

  #hero .carousel-control-prev,
  html[lang="en"] #hero .carousel-control-prev { left: 18px; }
  #hero .carousel-control-next,
  html[lang="en"] #hero .carousel-control-next { left: 70px; }

  #hero .carousel-indicators,
  html[lang="en"] #hero .carousel-indicators {
    right: 18px;
    bottom: 31px;
    left: auto;
    justify-content: flex-end;
  }
}

@media (max-width: 380px) {
  #hero .carousel-item,
  #hero .carousel-container {
    min-height: 800px;
  }

  #hero .carousel-container {
    padding-top: 325px;
  }

  #hero .sobul-hero-actions .btn-get-started {
    width: 100%;
  }
}

/* Homepage editorial hero — infographic-led layout */
#hero.sobul-story-hero {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: clamp(32px, 3.3vw, 52px) 0 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(65, 158, 205, .13), transparent 28%),
    radial-gradient(circle at 5% 88%, rgba(50, 136, 180, .09), transparent 30%),
    #f6f9fb;
}

#hero.sobul-story-hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  opacity: .35;
  background-image: radial-gradient(#a5c9dc 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 36%, #000 100%);
}

#hero .sobul-story-decor {
  position: absolute;
  z-index: 0;
  width: 360px;
  height: 360px;
  inset-block-start: -185px;
  inset-inline-start: -125px;
  border: 1px solid rgba(53, 145, 191, .19);
  border-radius: 50%;
  box-shadow: 0 0 0 56px rgba(53, 145, 191, .035), 0 0 0 112px rgba(53, 145, 191, .025);
  pointer-events: none;
}

#hero .sobul-story-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 78px);
}

#hero .sobul-story-copy {
  min-width: 0;
  padding-block: 10px;
}

#hero .sobul-story-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: #17628e;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
}

#hero .sobul-story-eyebrow-mark {
  display: inline-block;
  width: 22px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(90deg, #4b9bcf 0 65%, #d9aa54 65% 100%);
  transform: skew(-24deg);
}

#hero .sobul-story-copy h1 {
  max-width: 690px;
  margin: 0 0 22px;
  color: #112c45;
  font-size: clamp(37px, 4.1vw, 64px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -.025em;
  text-wrap: balance;
}

#hero .sobul-story-copy h1 span {
  display: inline;
  color: #176fa7;
}

#hero .sobul-story-intro {
  max-width: 550px;
  margin: 0 0 29px;
  color: #425c70;
  font-size: clamp(16px, 1.27vw, 19px);
  font-weight: 500;
  line-height: 1.9;
}

#hero .sobul-story-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
}

#hero .sobul-story-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 54px;
  padding: 11px 23px;
  border: 1px solid #176fa7;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease, border-color .18s ease;
}

#hero .sobul-story-actions a:hover,
#hero .sobul-story-actions a:focus-visible {
  transform: translateY(-2px);
}

#hero .sobul-story-primary {
  color: #fff;
  background: #176fa7;
  box-shadow: 0 11px 22px rgba(23, 111, 167, .19);
}

#hero .sobul-story-primary:hover,
#hero .sobul-story-primary:focus-visible {
  color: #fff;
  border-color: #103c60;
  background: #103c60;
}

#hero .sobul-story-secondary {
  color: #16456a;
  background: #fff;
}

#hero .sobul-story-secondary:hover,
#hero .sobul-story-secondary:focus-visible {
  color: #103c60;
  border-color: #103c60;
  background: #eaf4f9;
}

#hero .sobul-story-about {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  color: #17628e;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #a6c6d8;
  text-underline-offset: 5px;
}

#hero .sobul-story-about:hover,
#hero .sobul-story-about:focus-visible {
  color: #103c60;
  text-decoration-color: currentColor;
}

#hero .sobul-story-visual {
  position: relative;
  min-width: 0;
  padding: 15px 13px 18px 0;
}

#hero .sobul-story-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 19px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 25px;
  background: linear-gradient(145deg, #174c72 0%, #0f2e4c 100%);
  box-shadow: 0 26px 55px rgba(18, 53, 77, .20), 0 6px 15px rgba(18, 53, 77, .12);
}

#hero .sobul-story-photo-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 25px;
  margin-bottom: 12px;
  color: #d8ecf6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

#hero .sobul-story-photo-spark {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #d9aa54;
  box-shadow: 0 0 0 5px rgba(217, 170, 84, .13);
}

#hero .sobul-story-photo img {
  display: block;
  width: 100%;
  height: clamp(225px, 21vw, 290px);
  border-radius: 13px;
  object-fit: cover;
  object-position: center 47%;
  background: #d7e0e7;
}

#hero .sobul-story-photo figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding-top: 13px;
  color: #f4f9fc;
  font-size: 14px;
  font-weight: 700;
}

#hero .sobul-story-photo-lines {
  display: inline-flex;
  align-items: end;
  gap: 4px;
  height: 16px;
}

#hero .sobul-story-photo-lines b {
  display: block;
  width: 17px;
  height: 3px;
  border-radius: 2px;
  background: #67b4da;
}

#hero .sobul-story-photo-lines b:nth-child(2) { height: 8px; }
#hero .sobul-story-photo-lines b:nth-child(3) { height: 13px; background: #d9aa54; }

#hero .sobul-story-orbit {
  position: absolute;
  z-index: 0;
  width: 155px;
  height: 155px;
  inset-block-end: -6px;
  inset-inline-end: -10px;
  border: 2px solid rgba(62, 155, 200, .28);
  border-radius: 50%;
}

#hero .sobul-story-orbit span:first-child {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(62, 155, 200, .35);
  border-radius: 50%;
}

#hero .sobul-story-orbit span:last-child {
  position: absolute;
  width: 13px;
  height: 13px;
  inset-block-start: 18px;
  inset-inline-end: 12px;
  border-radius: 50%;
  background: #d9aa54;
}

#hero .sobul-story-journey {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(145px, .8fr) minmax(0, 3fr);
  align-items: center;
  gap: 20px;
  margin-top: clamp(22px, 2vw, 30px);
  padding: 23px 27px;
  border: 1px solid #dbe8ef;
  border-radius: 19px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 30px rgba(32, 77, 109, .08);
}

#hero .sobul-story-journey-title {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-inline-end: 12px;
  border-inline-end: 1px solid #d6e4ed;
}

#hero .sobul-story-journey-title span {
  color: #176fa7;
  font-size: 12px;
  font-weight: 800;
}

#hero .sobul-story-journey-title strong {
  color: #163a57;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
}

#hero .sobul-story-journey ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#hero .sobul-story-journey ol::before {
  position: absolute;
  top: 21px;
  inset-inline: 42px;
  height: 1px;
  content: "";
  background: #cbdfe9;
}

#hero .sobul-story-journey li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

#hero .sobul-story-step-icon {
  position: relative;
  z-index: 1;
  display: inline-grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  place-items: center;
  border: 1px solid #cfe4ef;
  border-radius: 12px;
  color: #176fa7;
  background: #ecf6fa;
  font-size: 19px;
}

#hero .sobul-story-journey li:last-child .sobul-story-step-icon {
  border-color: #176fa7;
  color: #fff;
  background: #176fa7;
}

#hero .sobul-story-journey li span:last-child {
  min-width: 0;
}

#hero .sobul-story-journey li strong,
#hero .sobul-story-journey li small {
  display: block;
}

#hero .sobul-story-journey li strong {
  color: #153a58;
  font-size: 16px;
  font-weight: 800;
}

#hero .sobul-story-journey li small {
  margin-top: 2px;
  color: #4d687b;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1199px) {
  #hero .sobul-story-layout {
    gap: 32px;
  }
  #hero .sobul-story-copy h1 {
    font-size: clamp(38px, 4.2vw, 52px);
  }
  #hero .sobul-story-photo img {
    height: 255px;
  }
  #hero .sobul-story-journey {
    grid-template-columns: 155px minmax(0, 1fr);
  }
}

@media (max-width: 991px) {
  #hero.sobul-story-hero {
    padding-top: 45px;
  }
  #hero .sobul-story-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 23px;
  }
  #hero .sobul-story-copy h1 {
    font-size: clamp(33px, 4.3vw, 44px);
  }
  #hero .sobul-story-intro {
    font-size: 15px;
  }
  #hero .sobul-story-photo {
    padding: 13px;
  }
  #hero .sobul-story-photo img {
    height: 240px;
  }
  #hero .sobul-story-journey {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  #hero .sobul-story-journey-title {
    border-inline-end: 0;
    padding: 0;
  }
}

@media (max-width: 767px) {
  #hero.sobul-story-hero {
    padding: 28px 0 34px;
  }
  #hero.sobul-story-hero::before {
    opacity: .2;
  }
  #hero .sobul-story-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }
  #hero .sobul-story-visual {
    padding: 0 8px;
  }
  #hero .sobul-story-photo {
    max-width: 610px;
    margin-inline: auto;
    padding: 11px;
    border-radius: 19px;
  }
  #hero .sobul-story-photo-top {
    margin-bottom: 7px;
    font-size: 11px;
  }
  #hero .sobul-story-photo img {
    height: clamp(190px, 48vw, 305px);
    border-radius: 10px;
  }
  #hero .sobul-story-photo figcaption {
    min-height: 31px;
    padding-top: 8px;
    font-size: 12px;
  }
  #hero .sobul-story-orbit {
    display: none;
  }
  #hero .sobul-story-copy {
    padding: 0 2px;
  }
  #hero .sobul-story-eyebrow {
    margin-bottom: 13px;
    font-size: 12px;
  }
  #hero .sobul-story-copy h1 {
    max-width: 630px;
    margin-bottom: 14px;
    font-size: clamp(33px, 8vw, 45px);
  }
  #hero .sobul-story-intro {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.8;
  }
  #hero .sobul-story-journey {
    margin-top: 31px;
    padding: 20px;
  }
  #hero .sobul-story-journey ol {
    gap: 16px;
  }
  #hero .sobul-story-journey li {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  #hero .sobul-story-journey ol::before {
    display: none;
  }
}

@media (max-width: 700px) {
  #hero .sobul-story-journey ol {
    display: flex;
    flex-direction: column;
    gap: 17px;
  }
  #hero .sobul-story-journey li {
    align-items: center;
    flex-direction: row;
  }
  #hero .sobul-story-journey ol::before {
    display: block;
    top: 18px;
    bottom: 18px;
    height: auto;
    width: 1px;
    inset-inline-start: 21px;
    inset-inline-end: auto;
  }
}

@media (max-width: 520px) {
  #hero .sobul-story-actions a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #hero .sobul-story-actions a {
    transition: none;
  }
}
