.soroban-logo a {
  align-items: center;
  color: #202a44;
  display: inline-flex;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.soroban-logo small {
  color: #e84b3a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.brand-mark {
  align-items: center;
  background: #e84b3a;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 28px;
  height: 52px;
  justify-content: center;
  margin-right: 12px;
  width: 52px;
}

.soroban-hero {
  background: linear-gradient(rgba(20, 32, 58, .58), rgba(20, 32, 58, .58)), url("../images/slider1.jpg") center/cover;
  min-height: 620px;
  padding: 150px 0 90px;
}

.soroban-hero h1 {
  color: #fff;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 22px;
}

.soroban-hero p {
  color: #fff;
  font-size: 20px;
  line-height: 1.7;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.soroban-btn,
.soroban-btn-outline {
  border-radius: 6px;
  display: inline-block;
  font-weight: 800;
  padding: 15px 24px;
  text-decoration: none;
}

.soroban-btn {
  background: #e84b3a;
  color: #fff;
}

.soroban-btn-outline {
  border: 2px solid #fff;
  color: #fff;
}

.soroban-btn:hover,
.soroban-btn-outline:hover {
  color: #fff;
  opacity: .9;
  text-decoration: none;
}

.abacus-panel {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(25, 35, 56, .15);
  padding: 24px;
}

.abacus {
  background: #f6d79d;
  border: 10px solid #7c4a26;
  border-radius: 8px;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(5, 1fr);
  margin: 18px 0;
  min-height: 290px;
  overflow: hidden;
}

.rod {
  border-left: 2px solid rgba(124, 74, 38, .55);
  min-height: 290px;
  position: relative;
}

.rod:first-child {
  border-left: 0;
}

.beam {
  background: #7c4a26;
  height: 9px;
  left: 0;
  position: absolute;
  right: 0;
  top: 92px;
}

.bead {
  background: #e84b3a;
  border: 3px solid #9d2d22;
  border-radius: 50%;
  cursor: pointer;
  height: 38px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  transition: top .18s ease;
  width: 58px;
}

.bead.heaven {
  top: 26px;
}

.rod.active-heaven .bead.heaven {
  top: 50px;
}

.bead.earth-1 { top: 118px; }
.bead.earth-2 { top: 162px; }
.bead.earth-3 { top: 206px; }
.bead.earth-4 { top: 250px; }
.rod.earth-count-1 .bead.earth-1 { top: 96px; }
.rod.earth-count-2 .bead.earth-1 { top: 96px; }
.rod.earth-count-2 .bead.earth-2 { top: 140px; }
.rod.earth-count-3 .bead.earth-1 { top: 96px; }
.rod.earth-count-3 .bead.earth-2 { top: 140px; }
.rod.earth-count-3 .bead.earth-3 { top: 184px; }
.rod.earth-count-4 .bead.earth-1 { top: 96px; }
.rod.earth-count-4 .bead.earth-2 { top: 140px; }
.rod.earth-count-4 .bead.earth-3 { top: 184px; }
.rod.earth-count-4 .bead.earth-4 { top: 228px; }

.practice-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 35px rgba(25, 35, 56, .1);
  margin-bottom: 24px;
  padding: 26px;
}

.metric-strip {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 34px;
}

.metric-strip div {
  background: rgba(255, 255, 255, .94);
  border-radius: 8px;
  color: #202a44;
  padding: 18px;
}

.metric-strip strong {
  display: block;
  font-size: 30px;
}

.admin-shell {
  background: #f5f7fb;
  min-height: 100vh;
}

.language-switcher {
  align-items: center;
  flex: 0 0 auto;
  display: inline-flex;
  gap: 6px;
  margin-right: 0;
  position: relative;
  z-index: 3;
}

.language-switcher a {
  border: 1px solid #e5e8ef;
  border-radius: 5px;
  color: #202a44;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 8px 9px;
  position: relative;
  text-decoration: none;
  z-index: 4;
}

.language-switcher a.active {
  background: #e84b3a;
  border-color: #e84b3a;
  color: #fff;
}

.rtl-site {
  direction: rtl;
  text-align: right;
}

.rtl-site .mr-auto {
  margin-left: auto !important;
  margin-right: 0 !important;
}

.rtl-site .brand-mark {
  margin-left: 12px;
  margin-right: 0;
}

.rtl-site .language-switcher {
  margin-left: 12px;
  margin-right: 0;
}

.rtl-site .footer-links {
  padding-right: 0;
}

.admin-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(32, 42, 68, .08);
  margin-bottom: 22px;
  padding: 22px;
}

.admin-nav {
  background: #202a44;
  padding: 14px 0;
}

.admin-nav a {
  color: #fff;
  font-weight: 700;
  margin-right: 18px;
}

.status-pill {
  border-radius: 999px;
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  text-transform: uppercase;
}

.status-new { background: #fff0ec; color: #d93624; }
.status-contacted { background: #e9f6ee; color: #267a43; }
.status-closed { background: #eef1f6; color: #56606f; }

@media (max-width: 767px) {
  .soroban-hero {
    min-height: 560px;
    padding: 115px 0 60px;
  }

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

  .bead {
    height: 34px;
    width: 46px;
  }
}

/* FuturMind Soroban redesign patch */
:root {
  --fm-bg: #fff8ed;
  --fm-card: #ffffff;
  --fm-primary: #243447;
  --fm-muted: #6b7280;
  --fm-orange: #f26b4f;
  --fm-gold: #ffb84d;
  --fm-green: #2a9d8f;
  --fm-soft-green: #eaf6ef;
  --fm-soft-gold: #fff3cd;
  --fm-shadow: 0 22px 60px rgba(22, 34, 51, .12);
}

body {
  background: var(--fm-bg);
  color: var(--fm-primary);
}

.header-wrap {
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 35px rgba(36, 52, 71, .08);
  backdrop-filter: blur(12px);
}

.header_info {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: flex-end;
  min-width: 0;
}

.header_info > div {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.header_info .search {
  flex: 0 0 auto;
}

.header_info .search a {
  height: 42px;
  line-height: 42px;
  width: 42px;
}

.brand-mark {
  background: linear-gradient(135deg, var(--fm-orange), var(--fm-gold));
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(242, 107, 79, .28);
}

.soroban-logo small,
.language-switcher a.active {
  color: #fff;
}

.soroban-logo small {
  color: var(--fm-orange);
}

.loginwrp a,
.soroban-btn,
.readmore a {
  background: linear-gradient(135deg, var(--fm-orange), var(--fm-gold));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(242, 107, 79, .24);
  color: #fff !important;
}

.loginwrp {
  flex: 0 1 auto;
  min-width: 0;
}

.loginwrp a {
  padding: 13px 18px;
  white-space: nowrap;
}

.soroban-btn,
.soroban-btn-outline {
  border-radius: 999px;
  padding: 15px 26px;
}

.soroban-btn-outline {
  background: rgba(255, 255, 255, .16);
  border: 2px solid rgba(255, 255, 255, .65);
  color: #fff;
}

.soroban-hero {
  background: radial-gradient(circle at 10% 20%, rgba(255, 184, 77, .24), transparent 28%), linear-gradient(135deg, #243447 0%, #1d2b3f 55%, #2a9d8f 140%);
  min-height: auto;
  overflow: hidden;
  padding: 145px 0 95px;
  position: relative;
}

.hero-orb {
  border-radius: 999px;
  filter: blur(.2px);
  opacity: .36;
  position: absolute;
}

.hero-orb-one {
  background: var(--fm-gold);
  height: 340px;
  left: -120px;
  top: 120px;
  width: 340px;
}

.hero-orb-two {
  background: var(--fm-green);
  bottom: -140px;
  height: 420px;
  right: -160px;
  width: 420px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-weight: 800;
  letter-spacing: .04em;
  margin-bottom: 22px;
  padding: 10px 16px;
  text-transform: uppercase;
}

.soroban-hero h1 {
  max-width: 720px;
}

.soroban-hero p {
  color: rgba(255,255,255,.88);
  max-width: 660px;
}

.hero-visual-card {
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 38px;
  box-shadow: var(--fm-shadow);
  margin-left: auto;
  max-width: 560px;
  padding: 16px;
  position: relative;
  z-index: 2;
}

.hero-visual-card img {
  border-radius: 28px;
  display: block;
  width: 100%;
}

.floating-badge {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 35px rgba(22,34,51,.14);
  color: var(--fm-primary);
  min-width: 170px;
  padding: 14px 18px;
  position: absolute;
}

.floating-badge strong,
.floating-badge span {
  display: block;
}

.floating-badge strong {
  font-size: 18px;
  font-weight: 900;
}

.floating-badge span {
  color: var(--fm-muted);
  font-size: 13px;
  font-weight: 700;
}

.badge-top { right: -18px; top: 46px; }
.badge-bottom { bottom: 42px; left: -20px; }

.metric-strip {
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  max-width: 680px;
}

.metric-strip div {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.50);
  box-shadow: 0 12px 25px rgba(0,0,0,.08);
}

.soroban-feature-wrap {
  background: transparent;
  margin-top: -42px;
  position: relative;
  z-index: 5;
}

.soroban-feature-wrap .row > li {
  display: flex;
  margin-bottom: 24px;
}

.categories-course {
  border-radius: 24px;
  box-shadow: var(--fm-shadow);
  display: flex;
  min-height: 305px;
  overflow: visible;
  transition: transform .22s ease, box-shadow .22s ease;
  width: 100%;
}

.soroban-feature-wrap .item-inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
  padding: 34px 22px 28px;
  width: 100%;
}

.soroban-feature-wrap .cours-icon {
  flex: 0 0 auto;
  margin: 0 0 22px;
}

.categories-course:hover,
.soroban-class-card:hover,
.soroban-note-card:hover {
  box-shadow: 0 30px 75px rgba(22, 34, 51, .16);
  transform: translateY(-5px);
}

.coure-icon-inner {
  align-items: center;
  background: var(--fm-soft-gold);
  border-radius: 18px;
  display: inline-flex;
  height: 116px;
  justify-content: center;
  line-height: 1;
  padding: 22px;
  width: 116px;
}

.soroban-feature-wrap .coure-icon-inner img {
  display: block;
  height: 72px;
  max-height: 72px;
  max-width: 72px;
  object-fit: contain;
  width: 72px;
}

.soroban-feature-wrap .cours-title {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: flex-start;
}

.soroban-feature-wrap .categories-course h4 {
  margin-bottom: 22px;
  min-height: 58px;
}

.soroban-feature-wrap .categories-course p {
  margin-bottom: 0;
}

.method-wrap {
  background: var(--fm-bg);
  padding: 80px 0 30px;
}

.method-title span {
  color: var(--fm-orange);
  display: block;
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.method-title h2 {
  color: var(--fm-primary);
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 900;
  line-height: 1.12;
}

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

.method-card {
  background: #fff;
  border: 1px solid rgba(36,52,71,.08);
  border-radius: 24px;
  box-shadow: 0 16px 45px rgba(22,34,51,.08);
  min-height: 210px;
  padding: 26px;
}

.method-card b {
  color: var(--fm-orange);
  display: block;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 18px;
}

.method-card h3 {
  color: var(--fm-primary);
  font-size: 22px;
  font-weight: 900;
}

.method-card p {
  color: var(--fm-muted);
  line-height: 1.7;
}

.about-wrap {
  background: linear-gradient(180deg, var(--fm-bg), #fff);
}

.about-visual img,
.about-page-visual {
  border-radius: 36px;
  box-shadow: var(--fm-shadow);
}

.about_box .title h1,
.title h1 {
  color: var(--fm-primary);
  font-weight: 900;
}

.edu_list .learing-wrp {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(36,52,71,.08);
  margin-bottom: 14px;
  padding: 14px;
}

.class-wrap {
  background: #fff;
}

.class_box.soroban-class-card,
.blog_box.soroban-note-card,
.testimonials_sec,
.practice-card,
.abacus-panel {
  border: 1px solid rgba(36,52,71,.08);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(22,34,51,.10);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}

.class_Img img,
.blogImg img {
  height: 250px;
  object-fit: cover;
  width: 100%;
}

.class-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.class-meta span {
  background: var(--fm-soft-green);
  border-radius: 999px;
  color: #277151;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
}

.class-meta span:last-child {
  background: var(--fm-soft-gold);
  color: #8a4f00;
}

.soroban-class-card .students_box {
  border-top: 1px solid rgba(36,52,71,.08);
  margin-top: 18px;
  padding-top: 16px;
}

.choice-wrap {
  background: radial-gradient(circle at 15% 30%, rgba(255, 184, 77, .26), transparent 28%), linear-gradient(135deg, #243447, #2a9d8f 160%);
}

.video-wrap {
  background: var(--fm-bg);
}

.abacus-panel {
  border-radius: 32px;
}

.abacus {
  border-radius: 18px;
}

.testimonials-wrap {
  background: #fff;
}

.clientImg img {
  border-radius: 999px;
  object-fit: cover;
}

.blog-wrap {
  background: var(--fm-bg);
}

.soroban-note-card .blog_info {
  background: #fff;
}

.enroll-wrap {
  background: radial-gradient(circle at 80% 20%, rgba(255, 184, 77, .32), transparent 26%), linear-gradient(135deg, #f26b4f, #243447 115%);
}

.innerHeading-wrap {
  background: linear-gradient(rgba(36,52,71,.82), rgba(36,52,71,.82)), url("../images/hero-soroban.svg") center/cover;
}

.soroban-classes-page,
.soroban-about-page {
  background: var(--fm-bg);
}

@media (max-width: 991px) {
  .soroban-hero {
    padding-top: 120px;
  }

  .hero-visual-card {
    margin: 42px 0 0;
  }

  .method-grid {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .floating-badge {
    position: static;
    margin: 12px 0 0;
  }
}

@media (max-width: 767px) {
  .soroban-hero {
    padding: 105px 0 58px;
  }

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

  .hero-eyebrow {
    font-size: 12px;
  }

  .class_Img img,
  .blogImg img {
    height: 220px;
  }
}

@media (max-width: 1199px) {
  .header_info {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .loginwrp a {
    padding: 11px 16px;
  }
}
