﻿/* ========== Variables — Clinical Clarity ========== */
@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: bold;
	src: url('/css/fonts/ir/eot/IRANSansWeb_Bold.eot');
	src: url('/css/fonts/ir/eot/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'),
		url('/css/fonts/ir/woff2/IRANSansWeb_Bold.woff2') format('woff2'),
		url('/css/fonts/ir/woff/IRANSansWeb_Bold.woff') format('woff'),
		url('/css/fonts/ir/ttf/IRANSansWeb_Bold.ttf') format('truetype');
}

@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: 500;
	src: url('/css/fonts/ir/eot/IRANSansWeb_Medium.eot');
	src: url('/css/fonts/ir/eot/IRANSansWeb_Medium.eot?#iefix') format('embedded-opentype'),
		url('/css/fonts/ir/woff2/IRANSansWeb_Medium.woff2') format('woff2'),
		url('/css/fonts/ir/woff/IRANSansWeb_Medium.woff') format('woff'),
		url('/css/fonts/ir/ttf/IRANSansWeb_Medium.ttf') format('truetype');
}
@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: 300;
	src: url('/css/fonts/ir/eot/IRANSansWeb_Light.eot');
	src: url('/css/fonts/ir/eot/IRANSansWeb_Light.eot?#iefix') format('embedded-opentype'),
		url('/css/fonts/ir/woff2/IRANSansWeb_Light.woff2') format('woff2'),
		url('/css/fonts/ir/woff/IRANSansWeb_Light.woff') format('woff'),
		url('/css/fonts/ir/ttf/IRANSansWeb_Light.ttf') format('truetype');
}


@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: 200;
	src: url('/css/fonts/ir/eot/IRANSansWeb_UltraLight.eot');
	src: url('/css/fonts/ir/eot/IRANSansWeb_UltraLight.eot?#iefix') format('embedded-opentype'),
		url('/css/fonts/ir/woff2/IRANSansWeb_UltraLight.woff2') format('woff2'),
		url('/css/fonts/ir/woff/IRANSansWeb_UltraLight.woff') format('woff'),
		url('/css/fonts/ir/ttf/IRANSansWeb_UltraLight.ttf') format('truetype');
}
@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: normal;
	src: url('/css/fonts/ir/eot/IRANSansWeb.eot');
	src: url('/css/fonts/ir/eot/IRANSansWeb.eot?#iefix') format('embedded-opentype'),
		url('/css/fonts/ir/woff2/IRANSansWeb.woff2') format('woff2'),
		url('/css/fonts/ir/woff/IRANSansWeb.woff') format('woff'),
		url('/css/fonts/ir/ttf/IRANSansWeb.ttf') format('truetype');
}

body{
	font-family: IRANSans !important;
	text-align: right;
	overflow-x: hidden;
}

h1, h2, h3, h4 {
	font-family: IRANSans !important;
}
a {
	font-family: IRANSans !important;
}
p {
	font-family: IRANSans !important;
}
span{
	font-family: IRANSans !important;

}
:root {
  --font-main: "IRANSans", Tahoma, "Segoe UI", sans-serif;
  --navy: #0b2c4d;
  --navy-deep: #071f38;
  --accent: #2f7cf6;
  --accent-soft: #e8f1fe;
  --accent-hover: #1f66d6;
  --accent-rgb: 47, 124, 246;
  --text-dark: #152536;
  --text-nav: #3d4f63;
  --muted: #8b9aab;
  --white: #ffffff;
  --surface: #ffffff;
  --canvas: #f3f7fb;
  --line: #e4ebf2;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(11, 44, 77, 0.05);
  --shadow-md: 0 10px 30px rgba(11, 44, 77, 0.08);
  --top-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-family-sans-serif: var(--font-main);
}

/* ========== Base ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font-main);
}

body {
  margin: 0;
  font-family: var(--font-main) !important;
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(47, 124, 246, 0.08), transparent 55%),
    radial-gradient(900px 420px at 0% 30%, rgba(11, 44, 77, 0.05), transparent 50%),
    var(--canvas);
  color: var(--text-dark);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea,
.btn,
.form-control,
.navbar,
.dropdown-menu,
h1, h2, h3, h4, h5, h6,
p, a, span, li, label {
  font-family: var(--font-main);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease), transform 0.25s var(--ease), opacity 0.2s ease;
}

a:hover {
  text-decoration: none;
  opacity: 1;
}

/* ========== Header 2026 — Glass + Mega Menu ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-utility {
  background: linear-gradient(90deg, var(--navy-deep), var(--navy) 55%, #1a4a7a);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
}

.header-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.utility-right,
.utility-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.utility-phone,
.utility-mail,
.lang-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.utility-phone:hover,
.utility-mail:hover,
.lang-link:hover {
  color: #fff;
}

.utility-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.25);
}

.header-utility .social-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-utility .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 12px;
}

.header-utility .social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* Main glass bar */
.header-nav {
  position: relative;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(11, 44, 77, 0.06);
  box-shadow: 0 8px 28px rgba(11, 44, 77, 0.06);
  padding: 0;
}

.header-main {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.header-nav .navbar-brand,
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 0 12px;
  padding: 0;
  white-space: nowrap;
}

.brand-logo {
  width: auto;
  height: 58px;
  max-width: 150px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.35;
  text-align: right;
}

.brand-text span:last-child {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-nav);
}

.header-menu {
  align-items: center;
}

.header-nav .nav-link {
  position: relative;
  color: var(--text-nav);
  font-size: 13.5px;
  font-weight: 600;
  padding: 18px 12px;
  white-space: nowrap;
  border-radius: 10px;
}

.header-nav .nav-link::before {
  content: "";
  position: absolute;
  right: 18%;
  left: 18%;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.28s var(--ease);
}

.header-nav .nav-link:hover,
.header-nav .nav-link.active,
.header-nav .nav-item.show > .nav-link,
.header-nav .mega-dropdown.show > .nav-link {
  color: var(--navy);
  opacity: 1;
}

.header-nav .nav-link:hover::before,
.header-nav .nav-link.active::before,
.header-nav .nav-item.show > .nav-link::before,
.header-nav .mega-dropdown.show > .nav-link::before {
  transform: scaleX(1);
}

.header-nav .dropdown-toggle::after {
  margin-right: 6px;
  margin-left: 0;
  vertical-align: 2px;
  border-top: 0.32em solid;
  border-right: 0.32em solid transparent;
  border-left: 0.32em solid transparent;
}

.header-nav .nav-chevron {
  display: none;
}

/* Tools: search + auth */
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 8px;
}

.header-search {
  position: relative;
  width: 170px;
}

.header-search .form-control {
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 38px 0 12px;
  font-size: 13px;
  color: var(--text-dark);
  background: rgba(243, 247, 251, 0.9);
  box-shadow: none;
}

.header-search .form-control:focus {
  outline: none;
  border-color: rgba(47, 124, 246, 0.45);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47, 124, 246, 0.12);
}

.header-search .form-control::placeholder {
  color: var(--muted);
}

.header-search .search-icon {
  position: absolute;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 13px;
  pointer-events: none;
}

.auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(47, 124, 246, 0.28);
  white-space: nowrap;
}

.auth-btn:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.header-mobile-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.lang-link-mobile {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(243, 247, 251, 0.95);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
}

.lang-link-mobile:hover {
  border-color: rgba(47, 124, 246, 0.35);
  color: var(--accent-hover);
  background: var(--accent-soft);
}

/* ===== Mega Menu ===== */
.header-nav .mega-dropdown {
  position: static;
}

.header-nav .mega-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0 0 20px 20px;
  background: transparent;
  box-shadow: none;
  display: none;
}

.header-nav .mega-dropdown.show > .mega-menu {
  display: block;
}

.mega-inner {
  display: flex;
  gap: 20px;
  max-width: 1140px;
  margin: 8px auto 0;
  padding: 22px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(11, 44, 77, 0.06);
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(11, 44, 77, 0.12);
  backdrop-filter: blur(12px);
}

.mega-grid {
  flex: 1;
  display: grid;
  gap: 10px;
  min-width: 0;
}

.mega-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mega-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-heading {
  margin: 0 4px 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: transparent;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.mega-link:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
  opacity: 1;
}

.mega-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 16px;
}

.mega-link:hover .mega-icon {
  background: var(--accent);
  color: #fff;
}

.mega-link strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy);
}

.mega-link small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.mega-aside {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--navy) 0%, #1a4a7a 100%);
  color: #fff;
}

.mega-aside-label {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 11.5px;
  font-weight: 700;
}

.mega-aside p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

.mega-aside-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 800;
}

.mega-aside-btn:hover {
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  margin: 0;
}

.navbar-toggler:focus {
  outline: none;
}

.navbar-toggler-icon {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  box-shadow: 0 6px 0 var(--navy), 0 -6px 0 var(--navy);
}

/* Header responsive */
@media (max-width: 1199.98px) {
  .header-search {
    width: 140px;
  }

  .header-nav .nav-link {
    padding: 16px 8px;
    font-size: 13px;
  }

  .mega-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .header-utility {
    display: none;
  }

  .header-mobile-actions {
    display: flex;
  }

  .header-main {
    flex-wrap: wrap;
    min-height: 64px;
    justify-content: space-between;
  }

  .header-nav .navbar-collapse {
    width: 100%;
    margin-top: 10px;
    padding: 0;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    overflow: hidden;
  }

  /* ===== Mobile drill-down menu ===== */
  .mobile-drill {
    display: block;
  }

  .mobile-drill-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 14px 12px;
    border-bottom: 1px solid var(--line);
    background: var(--canvas);
  }

  .mobile-drill-header[hidden] {
    display: none !important;
  }

  .mobile-drill-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--navy);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }

  .mobile-drill-back .fa {
    font-size: 18px;
    line-height: 1;
  }

  .mobile-drill-crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 2px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
  }

  .mobile-drill-crumb-root {
    color: var(--muted);
  }

  .mobile-drill-crumb-sep {
    opacity: 0.55;
  }

  .mobile-drill-title {
    color: var(--navy);
    font-weight: 800;
    font-size: 16px;
  }

  .mobile-drill-viewport {
    overflow: hidden;
    direction: ltr;
  }

  .mobile-drill-track {
    display: flex;
    width: 200%;
    direction: ltr;
    transition: transform 0.32s var(--ease);
    will-change: transform;
  }

  .mobile-drill.is-open .mobile-drill-track {
    transform: translateX(-50%);
  }

  .mobile-drill-level {
    width: 50%;
    flex: 0 0 50%;
    min-width: 0;
    direction: rtl;
  }

  .mobile-drill-root {
    padding: 8px 10px 12px;
  }

  .mobile-drill-sub {
    padding: 8px 10px 16px;
    background: #fff;
  }

  .header-menu {
    width: 100%;
    margin: 0 !important;
  }

  .header-nav .nav-item {
    margin: 0;
  }

  .header-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 14px 14px;
    margin: 4px 0;
    border-radius: 14px;
    text-align: right;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    opacity: 1;
  }

  .header-nav .nav-link:active {
    background: var(--accent-soft);
  }

  .header-nav .nav-link::before {
    display: none;
  }

  .header-nav .dropdown-toggle::after {
    display: none !important;
  }

  .header-nav .mega-dropdown > .nav-link {
    gap: 12px;
  }

  .header-nav .nav-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-right: auto;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
  }

  .header-nav .nav-chevron .fa {
    display: block;
    line-height: 1;
  }

  /* Hide accordion mega panels on mobile — drill panel is used instead */
  .header-nav .mega-menu {
    display: none !important;
  }

  .header-nav .mega-dropdown {
    position: relative;
  }

  .header-nav .mega-dropdown.show > .mega-menu {
    display: none !important;
  }

  .mobile-sub-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-sub-group {
    margin: 10px 4px 6px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 800;
    color: var(--accent);
  }

  .mobile-sub-link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 56px;
    padding: 12px 14px;
    margin: 6px 0;
    border-radius: 14px;
    background: var(--canvas);
    border: 1px solid transparent;
    color: inherit;
  }

  .mobile-sub-link:active,
  .mobile-sub-link:hover {
    background: var(--accent-soft);
    border-color: rgba(47, 124, 246, 0.18);
    opacity: 1;
  }

  .mobile-sub-link .mega-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 17px;
  }

  .mobile-sub-link strong {
    display: block;
    margin-bottom: 2px;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--navy);
  }

  .mobile-sub-link small {
    display: block;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--muted);
  }

  .mobile-sub-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin: 14px 0 4px;
    padding: 0 16px;
    border-radius: 14px;
    background: var(--accent);
    color: #fff;
    font-size: 14.5px;
    font-weight: 800;
  }

  .mobile-sub-cta:hover,
  .mobile-sub-cta:active {
    background: var(--accent-hover);
    color: #fff;
    opacity: 1;
  }

  .header-tools {
    width: 100%;
    margin: 10px 0 0;
    padding: 12px 4px 4px;
    border-top: 1px solid var(--line);
    gap: 10px;
  }

  .header-search {
    flex: 1;
    width: auto;
  }

  .header-search .form-control {
    height: 48px;
    border-radius: 14px;
    font-size: 14px;
  }

  .auth-btn {
    height: 48px;
    border-radius: 14px;
    padding: 0 16px;
  }
}

@media (min-width: 992px) {
  .mobile-drill {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    width: 100%;
  }

  .mobile-drill-header {
    display: none !important;
  }

  .mobile-drill-viewport,
  .mobile-drill-track,
  .mobile-drill-level.mobile-drill-root {
    display: contents;
  }

  .mobile-drill-sub {
    display: none !important;
  }
}

@media (max-width: 575.98px) {
  .brand-text {
    font-size: 12.5px;
  }

  .brand-text span:last-child {
    font-size: 11.5px;
  }

  .brand-logo {
    width: auto;
    height: 48px;
    max-width: 120px;
  }

  .auth-btn span,
  .auth-btn {
    font-size: 12.5px;
  }
}
/* ========== Hero Slider Section (Endocrinology & Health Literacy) ========== */

.hero-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-slider-container {
  position: relative;
  width: 100%;
  min-height: clamp(540px, 72vh, 680px);
  display: flex;
  align-items: center;
}

.hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  margin-top: 35px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  transition:
    opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.85s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}


/* ========== Background Image & Zoom Animation ========== */

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.08);
  transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}


/* ========== Gradient Overlay ========== */

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 31, 56, 0.94) 0%,
    rgba(11, 44, 77, 0.88) 38%,
    rgba(11, 44, 77, 0.62) 65%,
    rgba(7, 31, 56, 0.45) 100%
  );
  z-index: 1;
}


/* ========== Slide Content ========== */

.hero-slide-content {
  position: relative;
  z-index: 2;
  padding-top: 50px;
  padding-bottom: 90px;
  max-width: 820px;
  color: #ffffff;
}

.hero-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(47, 124, 246, 0.25);
  border: 1px solid rgba(110, 182, 255, 0.45);
  color: #9bd0ff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  transform: translateY(20px);
  opacity: 0;

  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
    opacity 0.6s ease 0.15s;
}

.hero-slide-badge .fa {
  color: #6eb6ff;
  font-size: 14px;
}

.hero-slide-title {
  margin: 0 0 18px;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.38;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.35);

  transform: translateY(24px);
  opacity: 0;

  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s,
    opacity 0.7s ease 0.25s;
}

.hero-slide-title .text-gradient {
  background: linear-gradient(
    135deg,
    #6ec6ff 0%,
    #38bdf8 50%,
    #60a5fa 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-slide-desc {
  margin: 0 0 28px;
  font-size: clamp(14.5px, 1.8vw, 17px);
  line-height: 1.95;
  color: rgba(235, 244, 255, 0.9);
  max-width: 660px;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);

  transform: translateY(24px);
  opacity: 0;

  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.35s,
    opacity 0.7s ease 0.35s;
}


/* ========== Slide Actions ========== */

.hero-slide-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;

  transform: translateY(24px);
  opacity: 0;

  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.45s,
    opacity 0.7s ease 0.45s;
}

.hero-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s var(--ease);
}

.hero-slide-btn.primary {
  background: linear-gradient(135deg, #2f7cf6, #1b60d4);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 24px rgba(47, 124, 246, 0.4);
}

.hero-slide-btn.primary:hover {
  background: var(--cyan);
  box-shadow: 0 14px 30px rgba(47, 124, 246, 0.55);
  transform: translateY(-2px);
  color: #fff;
}

.hero-slide-btn.primary .fa {
  transition: transform 0.25s ease;
}

.hero-slide-btn.primary:hover .fa {
  transform: translateX(-4px);
}

.hero-slide-btn.outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-slide-btn.outline:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}


/* ========== Slide Tags ========== */

.hero-slide-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;

  transform: translateY(20px);
  opacity: 0;

  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.55s,
    opacity 0.7s ease 0.55s;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(215, 235, 255, 0.9);
}

.hero-tag i {
  color: #38bdf8;
  font-size: 13px;
}


/* ========== Active Slide Animation ========== */

.hero-slide.active .hero-slide-badge,
.hero-slide.active .hero-slide-title,
.hero-slide.active .hero-slide-desc,
.hero-slide.active .hero-slide-actions,
.hero-slide.active .hero-slide-tags {
  transform: translateY(0);
  opacity: 1;
}


/* ========== Navigation Arrows ========== */

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  width: 50px;
  height: 50px;

  border-radius: 50%;

  background: rgba(11, 44, 77, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);

  color: #ffffff;
  font-size: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);

  transition: all 0.25s var(--ease);
}

.hero-slider-arrow:hover {
  background: var(--cyan);
  border-color: var(--cyan);

  transform: translateY(-50%) scale(1.08);

  box-shadow: 0 10px 26px rgba(47, 124, 246, 0.45);
}

.hero-prev {
  right: 28px;
}

.hero-next {
  left: 28px;
}


/* =========================================================
   Slider Indicators - SIMPLE DOTS
   ========================================================= */

.hero-slider-controls {
  position: absolute;
  bottom: 22px;
  right: 0;
  left: 0;

  z-index: 10;

  display: flex;
  justify-content: center;
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  padding: 8px 12px;

  border-radius: 999px;

  background: rgba(7, 31, 56, 0.7);

  border: 1px solid rgba(255, 255, 255, 0.15);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}


/* ========== Dot Button ========== */

.hero-dot {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 18px;
  height: 18px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: transparent;

  cursor: pointer;

  transition: all 0.3s var(--ease);
}


/* ========== Hide Item Titles Completely ========== */

.hero-dot-label {
  display: none !important;
}


/* ========== Dot ========== */

.hero-dot-bar {
  display: block;

  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.4);

  transition: all 0.3s var(--ease);
}


/* ========== Active Dot ========== */

.hero-dot.active {
  background: transparent;
  border: 0;
}

.hero-dot.active .hero-dot-bar {
  width: 10px;
  height: 10px;

  background: #38bdf8;

  box-shadow: 0 0 10px #38bdf8;

  transform: scale(1.15);
}


/* ========== Hover Dot ========== */

.hero-dot:hover:not(.active) {
  background: transparent;
}

.hero-dot:hover:not(.active) .hero-dot-bar {
  background: rgba(255, 255, 255, 0.85);

  transform: scale(1.15);
}


/* =========================================================
   Responsive - Tablet
   ========================================================= */

@media (max-width: 991.98px) {

  .hero-slider-container {
    min-height: 560px;
  }

  .hero-slide-content {
    padding-top: 40px;
    padding-bottom: 90px;
    text-align: right;
  }

  .hero-slider-arrow {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .hero-prev {
    right: 14px;
  }

  .hero-next {
    left: 14px;
  }

  /* Keep labels hidden */
  .hero-dot-label {
    display: none !important;
  }

  .hero-dot {
    width: 18px;
    height: 18px;
    padding: 0;
  }

  .hero-dot-bar {
    width: 8px;
    height: 8px;
  }

  .hero-dot.active .hero-dot-bar {
    width: 10px;
    height: 10px;
  }
}


/* =========================================================
   Responsive - Mobile
   ========================================================= */

@media (max-width: 575.98px) {

  .hero-slider-container {
    min-height: 520px;
  }

  .hero-slide-content {
    padding-top: 25px;
    padding-bottom: 80px;
  }

  .hero-slide-title {
    font-size: 24px;
    line-height: 1.45;
  }

  .hero-slide-desc {
    font-size: 13.5px;
    line-height: 1.8;
    margin-bottom: 20px;
  }

  .hero-slide-btn {
    min-height: 42px;
    padding: 0 20px;
    font-size: 13px;
  }

  .hero-slide-tags {
    display: none;
  }

  .hero-slider-arrow {
    display: none;
  }

  .hero-slider-dots {
    gap: 8px;
    padding: 7px 10px;
  }

  .hero-dot {
    width: 16px;
    height: 16px;
  }

  .hero-dot-bar {
    width: 7px;
    height: 7px;
  }

  .hero-dot.active .hero-dot-bar {
    width: 9px;
    height: 9px;
  }
}
/* =========================================================
   QUICK ACCESS
========================================================= */

.quick-access {
  width: 100%;
  padding: 36px 0 20px;
  background: transparent;
}

.quick-access-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 200px));
  justify-content: center;
  gap: 16px;
}

.quick-card {
  width: 100%;
  height: 148px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 16px 10px;

  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--radius);

  color: var(--text-dark);
  text-align: center;

  box-shadow: var(--shadow-sm);

  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease),
    color 0.25s var(--ease);

  box-sizing: border-box;
}

.quick-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  color: var(--navy);
  opacity: 1;
  text-decoration: none;
}

.quick-card .fa {
  width: 66px;
  height: 66px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 12px;

  border-radius: 16px;

  background: var(--accent-soft);
  color: var(--cyan);

  font-size: 22px;
  line-height: 1;

  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.quick-card:hover .fa {
  background: var(--cyan);
  color: #fff;
  transform: scale(1.05);
}

.quick-card span {
  display: block;

  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;

  color: var(--text-nav);
}

.quick-card:hover span {
  color: var(--navy);
}


/* =========================================================
   ABOUT US
========================================================= */

.about-section {
  width: 100%;
  padding: 28px 0 48px;
  background: transparent;
}

.about-grid {
  width: 100%;

  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);

  gap: 36px 48px;
  align-items: center;
}

.about-copy {
  min-width: 0;
}

.about-eyebrow {
  display: inline-block;

  margin-bottom: 10px;
  padding: 5px 12px;

  border-radius: 999px;

  background: var(--accent-soft);
  color: var(--accent);

  font-size: 12.5px;
  font-weight: 700;
}

.about-title {
  margin: 0 0 18px;

  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.4;

  color: var(--navy);
}

.about-text {
  max-width: 560px;

  margin: 0 0 14px;

  font-size: 15px;
  font-weight: 500;
  line-height: 2;

  color: var(--text-nav);
}

.about-mission.glass-card {
  width: 100%;
  max-width: 520px;

  margin-top: 22px;
  padding: 22px 22px 20px;

  border-radius: 18px;

  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.75);

  box-shadow:
    0 12px 36px rgba(11, 44, 77, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-sizing: border-box;
}

.about-mission-label {
  display: inline-block;

  margin-bottom: 10px;

  font-size: 13px;
  font-weight: 800;

  color: var(--accent);
}

.about-mission p {
  margin: 0;

  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.95;

  color: var(--navy);
}

.about-media {
  min-width: 0;
}

.about-media-frame {
  position: relative;

  width: 100%;

  overflow: hidden;

  border-radius: 24px;

  background: var(--accent-soft);

  box-shadow: var(--shadow-md);

  aspect-ratio: 4 / 3;
}

.about-media-frame::after {
  content: "";

  position: absolute;
  inset: 0;

  border-radius: inherit;

  box-shadow: inset 0 0 0 1px rgba(47, 124, 246, 0.12);

  pointer-events: none;
}

.about-img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}


/* =========================================================
   LARGE LAPTOP
   992px - 1199px
========================================================= */

@media (max-width: 1199.98px) {

  .quick-access-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 900px;
    margin: 0 auto;
  }

  .quick-card {
    height: 140px;
  }

  .about-grid {
    gap: 30px;
  }

}


/* =========================================================
   TABLET
   768px - 991px
========================================================= */

@media (max-width: 991.98px) {

  /* Quick Access */

  .quick-access {
    padding: 28px 16px 24px;
  }

  .quick-access-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 700px;
    gap: 14px;
  }

  .quick-card {
    height: 132px;
  }

  .quick-card .fa {
    width: 52px;
    height: 52px;

    margin-bottom: 10px;

    border-radius: 14px;
    font-size: 20px;
  }


  /* About */

  .about-section {
    padding: 24px 16px 40px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-copy {
    order: 1;
  }

  .about-media {
    order: 2;
  }

  .about-text,
  .about-mission.glass-card {
    max-width: 100%;
  }

  .about-media-frame {
    max-width: 650px;
    margin: 0 auto;
  }

}


/* =========================================================
   MOBILE TABLET
   576px - 767px
========================================================= */

@media (max-width: 767.98px) {

  /* Quick Access */

  .quick-access {
    padding: 22px 12px 28px;
  }

  .quick-access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 520px;
    gap: 12px;
  }

  .quick-card {
    height: 124px;
    padding: 12px 8px;
  }

  .quick-card .fa {
    width: 46px;
    height: 46px;

    margin-bottom: 9px;

    border-radius: 13px;
    font-size: 18px;
  }

  .quick-card span {
    font-size: 12.5px;
  }


  /* About */

  .about-section {
    padding: 20px 12px 34px;
  }

  .about-grid {
    gap: 24px;
  }

  .about-title {
    margin-bottom: 14px;

    font-size: 28px;
    line-height: 1.45;
  }

  .about-text {
    max-width: 100%;

    font-size: 14px;
    line-height: 1.9;
  }

  .about-mission.glass-card {
    max-width: 100%;

    margin-top: 18px;
    padding: 18px 16px;

    border-radius: 16px;
  }

  .about-mission p {
    font-size: 13.5px;
    line-height: 1.85;
  }

  .about-media-frame {
    max-width: 100%;
    border-radius: 18px;

    aspect-ratio: 16 / 10;
  }

}

/* =========================================================
   QUICK ACCESS
========================================================= */

.quick-access {
  width: 100%;
  padding: 36px 0 25px;
  background: transparent;
  box-sizing: border-box;
}


/* =========================================================
   WRAPPER
========================================================= */

.quick-access-wrapper {
  position: relative;
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  box-sizing: border-box;

  /* برای اینکه hover کارت بریده نشود */
  overflow: visible;
}


/* =========================================================
   DESKTOP GRID
   6 کارت در یک ردیف
========================================================= */

.quick-access-grid {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;

  display: grid;

  grid-template-columns: repeat(6, 195px);
  grid-template-rows: 155px;

  gap: 16px;

  justify-content: center;
  align-items: center;

  padding: 10px;

  box-sizing: border-box;

  overflow: visible;
}


/* =========================================================
   CARD
========================================================= */

.quick-card {
  width: 195px;
  min-width: 195px;
  height: 155px;

  display: flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  background: var(--surface);

  border: 1px solid transparent;
  border-radius: var(--radius);

  color: var(--text-dark);
  text-align: center;

  box-shadow: var(--shadow-sm);

  position: relative;
  z-index: 1;

  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}


/* =========================================================
   LINK
========================================================= */

.quick-card a {
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  padding: 12px 8px;

  box-sizing: border-box;

  text-align: center;
  text-decoration: none;

  color: var(--text-dark);
}


/* =========================================================
   HOVER
========================================================= */

.quick-card:hover {
  border-color: var(--cyan);

  box-shadow: var(--shadow-md);

  transform: translateY(-3px);

  z-index: 10;

  color: var(--navy);
}


/* =========================================================
   ICON
========================================================= */

.quick-card .fa {
  width: 62px;
  height: 62px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  margin-bottom: 10px;

  border-radius: 15px;

  background: var(--accent-soft);
  color: var(--cyan);

  font-size: 22px;
  line-height: 1;

  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease);
}


.quick-card:hover .fa {
  background: var(--cyan);
  color: #fff;

  transform: scale(1.05);
}


/* =========================================================
   TEXT
========================================================= */

.quick-card span {
  display: block;

  width: 100%;

  font-size: 13.5px;
  font-weight: 600;

  line-height: 1.45;

  color: var(--text-nav);

  overflow-wrap: break-word;
}


.quick-card:hover span {
  color: var(--navy);
}


/* =========================================================
   ARROWS
   DESKTOP = HIDDEN
========================================================= */

.quick-scroll-arrow {
  display: none;

  position: absolute !important;

  top: 50% !important;

  width: 38px;
  height: 38px;

  margin: 0 !important;
  padding: 0 !important;

  align-items: center;
  justify-content: center;

  border: 1px solid var(--cyan);
  border-radius: 50%;

  background: var(--surface);
  color: var(--cyan);

  box-shadow: var(--shadow-sm);

  font-size: 18px;
  line-height: 1;

  cursor: pointer;

  transform: translateY(-50%) !important;

  z-index: 100;

  appearance: none;
  -webkit-appearance: none;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}


/* Hover Arrow */

.quick-scroll-arrow:hover {
  background: var(--cyan);
  color: #fff;

  box-shadow: var(--shadow-md);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1350px) {

  .quick-access-wrapper {
    width: 100%;

    /*
      فضای لازم برای Arrow
    */
    padding: 0 42px;

    box-sizing: border-box;
  }


  .quick-access-grid {

    display: flex;

    flex-wrap: nowrap;

    width: 100%;
    max-width: 100%;

    gap: 14px;

    justify-content: flex-start;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 12px 0;

    box-sizing: border-box;

    scroll-behavior: smooth;

    scrollbar-width: none;
    -ms-overflow-style: none;
  }


  .quick-access-grid::-webkit-scrollbar {
    display: none;
  }


  /* کارت ثابت */
  .quick-card {

    width: 195px;
    min-width: 195px;
    height: 155px;

    flex: 0 0 195px;
  }


  /* Arrow در حالت Responsive */
  .quick-scroll-arrow {

    display: flex;
  }


  /* Arrow راست */
  .quick-scroll-right {

    right: 4px !important;
    left: auto !important;
  }


  /* Arrow چپ */
  .quick-scroll-left {

    left: 4px !important;
    right: auto !important;
  }

}


/* =========================================================
   MOBILE
   یک کارت در هر لحظه
========================================================= */

@media (max-width: 575.98px) {

  .quick-access {
    padding: 18px 10px 25px;
  }


  .quick-access-wrapper {

    /*
      فاصله برای Arrow چپ و راست
    */
    padding: 0 38px;

    width: 100%;
  }


  .quick-access-grid {

    display: flex;

    flex-wrap: nowrap;

    gap: 10px;

    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 8px 0;

    scroll-behavior: smooth;

    scroll-snap-type: x mandatory;

    scrollbar-width: none;
    -ms-overflow-style: none;
  }


  .quick-access-grid::-webkit-scrollbar {
    display: none;
  }


  /* =========================================
     فقط یک کارت در هر لحظه
  ========================================= */

  .quick-card {

    width: 100%;
    min-width: 100%;

    height: 145px;

    flex: 0 0 100%;

    border-radius: 14px;

    scroll-snap-align: center;

    /*
      مهم:
      Hover روی موبایل کارت را جابه‌جا نکند
      تا بریده نشود
    */
    transform: none !important;
  }


  .quick-card:hover {

    transform: none !important;

    z-index: 2;
  }


  /* Icon */

  .quick-card .fa {

    width: 56px;
    height: 56px;

    margin-bottom: 9px;

    border-radius: 14px;

    font-size: 20px;
  }


  /* Text */

  .quick-card span {

    font-size: 13px;

    line-height: 1.4;
  }


  /* =========================================
     MOBILE ARROWS
  ========================================= */

  .quick-scroll-arrow {

    display: flex;

    top: 50% !important;

    width: 34px;
    height: 34px;

    border: 1px solid var(--cyan);

    background: var(--surface);

    color: var(--cyan);

    font-size: 16px;

    transform: translateY(-50%) !important;
  }


  /*
    Arrow سمت راست کارت
  */

  .quick-scroll-right {

    right: 2px !important;
    left: auto !important;
  }


  /*
    Arrow سمت چپ کارت
  */

  .quick-scroll-left {

    left: 2px !important;
    right: auto !important;
  }

}
  /* About */

  .about-section {
    padding: 16px 10px 30px;
  }

  .about-grid {
    gap: 20px;
  }

  .about-eyebrow {
    margin-bottom: 8px;
    padding: 4px 10px;

    font-size: 11.5px;
  }

  .about-title {
    margin-bottom: 12px;

    font-size: 24px;
    line-height: 1.5;
  }

  .about-text {
    font-size: 13.5px;
    line-height: 1.9;
  }

  .about-mission.glass-card {
    margin-top: 16px;
    padding: 16px 14px;

    border-radius: 14px;
  }

  .about-mission-label {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .about-mission p {
    font-size: 13px;
    line-height: 1.8;
  }

  .about-media-frame {
    border-radius: 15px;
    aspect-ratio: 4 / 3;
  }

}


/* =========================================================
   VERY SMALL MOBILE
   0 - 380px
========================================================= */

@media (max-width: 380px) {

  .quick-access {
    padding-left: 8px;
    padding-right: 8px;
  }

  .quick-access-grid {
    gap: 8px;
  }

  .quick-card {
    height: 108px;
    padding: 8px 4px;
  }

  .quick-card .fa {
    width: 38px;
    height: 38px;

    margin-bottom: 7px;

    font-size: 16px;
    border-radius: 10px;
  }

  .quick-card span {
    font-size: 11.5px;
  }


  .about-title {
    font-size: 22px;
  }

  .about-text {
    font-size: 13px;
  }

  .about-mission.glass-card {
    padding: 14px 12px;
  }

  .about-mission p {
    font-size: 12.5px;
  }

}
/* ========== Services (pinned horizontal scroll) ========== */
.services-section {
  position: relative;
  background: #f7f9fc;
}

.services-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 28px 0 36px;
}

.services-intro {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 28px;
}

.services-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
}

.services-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--navy);
}

.services-desc {
  margin: 0 auto;
  max-width: 420px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.8;
}

.services-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  direction: ltr;
  padding: 48px 0 56px;
}

.services-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding-inline: max(40px, calc((100vw - 1140px) / 2 + 24px));
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.service-card {
  position: relative;
  flex: 0 0 auto;
  width: min(250px, 68vw);
  height: min(390px, 58vh);
  border-radius: 20px;
  overflow: hidden;
  transform: translate3d(0, 0, 0) rotate(0deg);
  transform-origin: center center;
  box-shadow: 0 16px 36px rgba(11, 44, 77, 0.16);
  background: #0f2742;
  will-change: transform;
  display: block;
  text-decoration: none;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.service-card:hover {
  box-shadow: 0 24px 50px rgba(11, 44, 77, 0.28);
  opacity: 1;
}

.service-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover img {
  transform: scale(1.06);
}

/* Glassy circle button top-right (or top-left) */
.service-card-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 13px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.3s var(--ease);
}

.service-card-btn i {
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}

.service-card:hover .service-card-btn {
  background: #ffffff;
  color: var(--navy);
  border-color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.service-card:hover .service-card-btn i {
  transform: rotate(45deg) scale(1.1);
}

/* Bottom gradient overlay & clean typography */
.service-card-info {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 40px 18px 20px;
  background: linear-gradient(
    to bottom,
    rgba(11, 44, 77, 0) 0%,
    rgba(11, 44, 77, 0.45) 35%,
    rgba(7, 31, 56, 0.92) 100%
  );
  text-align: right;
  direction: rtl;
  color: #ffffff;
}

.service-card-title {
  margin: 0 0 4px;
  font-size: 17.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.service-card-sub {
  display: block;
  font-size: 12.5px;
  color: rgba(220, 235, 255, 0.85);
  font-weight: 500;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.services-progress {
  width: min(220px, 50%);
  height: 4px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: rgba(47, 124, 246, 0.15);
  overflow: hidden;
}

.services-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.05s linear;
}

@media (max-width: 767.98px) {
  .services-sticky {
    min-height: 100svh;
    padding: 20px 0 24px;
  }

  .services-intro {
    margin-bottom: 16px;
  }

  .service-card {
    width: min(220px, 68vw);
    height: min(340px, 52vh);
    border-radius: 18px;
  }

  .service-card-btn {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 11px;
  }

  .service-card-info {
    padding: 30px 14px 16px;
  }

  .service-card-title {
    font-size: 15.5px;
  }

  .service-card-sub {
    font-size: 11.5px;
  }
}

/* ========== Home Split: Events + Promo ========== */
.home-split {
  background: transparent;
  padding: 16px 0 48px;
}

.home-split-row {
  align-items: stretch;
}

.events-box {
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 26px 24px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.events-title {
  font-size: 20px;
  /*! font-weight: 800; */
  color: var(--navy);
  margin: 0 0 12px;
  position: relative;
  padding-bottom: 12px;
}

.events-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 3px;
  background: var(--green);
}

.events-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.event-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.event-item:last-child {
  border-bottom: 0;
}

.event-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 16px;
  margin-top: 0;
  background: var(--accent-soft);
  border-radius: 12px;
}

.event-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.event-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
}

.event-name:hover {
  color: var(--accent);
  opacity: 1;
}

.event-meta {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.events-all-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.events-all-link:hover {
  color: var(--accent-hover);
  opacity: 1;
}

/* Promo slider (left column) */
.promo-slider {
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-md);
}

.promo-slider .carousel {
  direction: ltr;
  height: 100%;
  min-height: 320px;
}

.promo-slider .carousel-inner,
.promo-slider .carousel-item {
  height: 320px;
}

.promo-slider .carousel-item {
  float: left !important;
  margin-right: -100% !important;
  margin-left: 0 !important;
  overflow: hidden;
  transition: transform 0.6s ease-in-out;
}

.promo-slider .carousel-item.active,
.promo-slider .carousel-item-next,
.promo-slider .carousel-item-prev {
  display: block;
}

.promo-slider .carousel-item.active {
  transform: translateX(0) !important;
}

.promo-slider .carousel-item-next:not(.carousel-item-left),
.promo-slider .active.carousel-item-right {
  transform: translateX(100%) !important;
}

.promo-slider .carousel-item-prev:not(.carousel-item-right),
.promo-slider .active.carousel-item-left {
  transform: translateX(-100%) !important;
}

.promo-slider .carousel-item-next.carousel-item-left,
.promo-slider .carousel-item-prev.carousel-item-right {
  transform: translateX(0) !important;
}

.promo-slider .promo-img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
}

.promo-slider .promo-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    160deg,
    rgba(7, 31, 56, 0.7) 0%,
    rgba(47, 124, 246, 0.35) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.promo-slider .promo-caption {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 56px 40px;
  direction: rtl;
  pointer-events: none;
}

.promo-slider .promo-caption .btn-promo {
  pointer-events: auto;
}

.promo-slider .promo-title {
  font-size: 22px;
  /*! font-weight: 800; */
  color: #fff;
  line-height: 1.5;
  margin: 0 0 10px;
  max-width: 420px;
}

.promo-slider .promo-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 22px;
  max-width: 380px;
  line-height: 1.7;
}

.promo-slider .btn-promo {
  background: var(--blue);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 999px;
  border: 0;
  box-shadow: 0 8px 20px rgba(47, 124, 246, 0.35);
}

.promo-slider .btn-promo:hover {
  background: var(--cyan);
  color: #fff;
  opacity: 1;
  text-decoration: none;
}

.promo-slider .carousel-control-prev,
.promo-slider .carousel-control-next {
  width: 48px;
  opacity: 1;
  z-index: 5;
  color: #fff;
  font-size: 22px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.promo-slider .carousel-control-prev {
  left: 0 !important;
  right: auto !important;
}

.promo-slider .carousel-control-next {
  right: 0 !important;
  left: auto !important;
}

.promo-slider .carousel-indicators {
  bottom: 12px;
  margin: 0;
  z-index: 5;
}

.promo-slider .carousel-indicators li {
  width: 10px;
  height: 10px;
  margin: 0 4px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  opacity: 1;
  text-indent: -9999px;
}

.promo-slider .carousel-indicators li.active {
  background: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 991.98px) {
  .promo-slider .carousel,
  .promo-slider .carousel-inner,
  .promo-slider .carousel-item,
  .promo-slider .promo-img {
    min-height: 280px;
    height: 280px;
  }

  .promo-slider .promo-title {
    font-size: 18px;
  }
}

@media (max-width: 575.98px) {
  .events-box {
    padding: 18px 16px 14px;
  }

  .promo-slider .promo-caption {
    padding: 24px 40px 36px;
  }

  .promo-slider .promo-title {
    font-size: 16px;
  }

  .promo-slider .promo-desc {
    font-size: 13px;
  }
}

/* ========== Education horizontal slider ========== */
.edu-slider-section {
  background: transparent;
  border-top: 0;
  padding: 8px 0 44px;
}

.edu-panel {
  position: relative;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(232, 241, 254, 0.7) 100%);
  border: 1px solid rgba(47, 124, 246, 0.12);
  border-radius: 24px;
  padding: 28px 28px 30px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.edu-panel::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 124, 246, 0.12), transparent 70%);
  pointer-events: none;
}

.edu-slider-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.edu-header-text {
  min-width: 0;
}

.edu-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 700;
}

.edu-slider-title {
  margin: 0 0 6px;
  font-size: 24px;
  /*! font-weight: 800; */
  color: var(--navy);
  line-height: 1.3;
}


.edu-slider-desc {
  margin: 0;
  max-width: 420px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 500;
}

.edu-slider-all {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(11, 44, 77, 0.18);
}

.edu-slider-all .fa {
  font-size: 14px;
  transition: transform 0.25s var(--ease);
}

.edu-slider-all:hover {
  background: var(--cyan);
  color: #fff;
  opacity: 1;
}

.edu-slider-all:hover .fa {
  transform: translateX(-3px);
}

.edu-slider-wrap {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0 4px;
}

.edu-slider-viewport {
  overflow: hidden;
  min-width: 0;
  margin: 0 8px;
  border-radius: 18px;
}

.edu-slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.edu-card {
  flex: 0 0 auto;
  display: block;
  color: inherit;
  border-radius: 20px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 10px 28px rgba(11, 44, 77, 0.12);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.edu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(11, 44, 77, 0.16);
  opacity: 1;
  text-decoration: none;
  color: inherit;
}

.edu-card-media {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.edu-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.edu-card:hover .edu-card-media img {
  transform: scale(1.08);
}

.edu-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 31, 56, 0.05) 20%,
    rgba(7, 31, 56, 0.35) 55%,
    rgba(7, 31, 56, 0.88) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.edu-card-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 11.5px;
  font-weight: 700;
}

.edu-card-body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 18px 16px;
  text-align: right;
}

.edu-card-body h4 {
  margin: 0 0 6px;
  font-size: 16px;
  
  color: #fff;
  line-height: 1.4;
}

.edu-card-body p {
  margin: 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  line-height: 1.6;
}

.edu-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(11, 44, 77, 0.16);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease), opacity 0.2s ease;
}

.edu-nav-prev {
  right: -6px;
}

.edu-nav-next {
  left: -6px;
}

.edu-nav:hover:not(:disabled) {
  background: var(--cyan);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}

.edu-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (max-width: 991.98px) {
  .edu-panel {
    padding: 22px 18px 24px;
    border-radius: 20px;
  }

  .edu-card-media {
    height: 250px;
  }
}

@media (max-width: 767.98px) {
  .edu-slider-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .edu-slider-title {
    font-size: 20px;
  }

  .edu-card-media {
    height: 230px;
  }

  .edu-nav {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .edu-nav-prev {
    right: 2px;
  }

  .edu-nav-next {
    left: 2px;
  }
}

@media (max-width: 575.98px) {
  .edu-panel {
    padding: 18px 14px 20px;
  }

  .edu-slider-title {
    font-size: 18px;
  }

  .edu-slider-desc {
    font-size: 12.5px;
  }

  .edu-card-media {
    height: 260px;
  }
}

/* ========== Interactive Health Tools Section ========== */
.health-tools-section {
  background: transparent;
  padding: 16px 0 32px;
}

.health-tools-panel {
  position: relative;
  background: linear-gradient(145deg, #ffffff 0%, #f4f8fd 50%, #eaf2fc 100%);
  border: 1px solid rgba(47, 124, 246, 0.16);
  border-radius: 28px;
  padding: 34px 32px 36px;
  box-shadow: 0 16px 40px rgba(15, 42, 92, 0.08);
  overflow: hidden;
}

.health-tools-panel::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 124, 246, 0.12), transparent 70%);
  pointer-events: none;
}

.health-tools-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(47, 124, 246, 0.1);
}

.tools-header-text {
  min-width: 0;
}

.tools-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.tools-title {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.8vw, 30px);
  /*! font-weight: 800; */
  color: var(--navy);
  line-height: 1.35;
}

.tools-desc {
  margin: 0;
  max-width: 540px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
}

/* Tabs */
.tools-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(11, 44, 77, 0.06);
  padding: 5px;
  border-radius: 14px;
}

.tool-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-nav);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.tool-tab:hover {
  color: var(--navy);
}

.tool-tab.active {
  background: #ffffff;
  color: var(--accent);
  box-shadow: 0 4px 14px rgba(11, 44, 77, 0.1);
}

/* Tool Views */
.tool-view {
  display: none;
  position: relative;
  z-index: 2;
}

.tool-view.active {
  display: block;
  animation: fadeInTool 0.35s var(--ease) forwards;
}

@keyframes fadeInTool {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tool-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px 36px;
  align-items: stretch;
}

/* Inputs Column */
.tool-inputs-col {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(47, 124, 246, 0.1);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(11, 44, 77, 0.04);
}

.tool-subhead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy);
}

.tool-subhead i {
  color: var(--accent);
}

.tool-form-group {
  margin-bottom: 18px;
}

.tool-form-group:last-child {
  margin-bottom: 0;
}

.tool-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.tool-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  display: block;
}

.tool-val-display {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 10px;
  border-radius: 6px;
}

/* Gender Selector */
.gender-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gender-opt {
  cursor: pointer;
  margin: 0;
}

.gender-opt input {
  display: none;
}

.gender-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fafcff;
  color: var(--text-nav);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.25s var(--ease);
}

.gender-opt input:checked + .gender-box {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

/* Tool Range Sliders */
.tool-range {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: #e2ecf9;
  outline: none;
  appearance: none;
  cursor: pointer;
}

.tool-range::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #ffffff;
  box-shadow: 0 3px 10px rgba(47, 124, 246, 0.45);
  cursor: grab;
  transition: transform 0.15s ease, background 0.15s ease;
}

.tool-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: var(--accent-hover);
}

.tool-range::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.2);
}

.range-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

/* Tool Select */
.tool-select {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fafcff;
  color: var(--text-dark);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.25s ease;
}

.tool-select:focus {
  border-color: var(--accent);
  background: #ffffff;
}

/* Result Card */
.tool-result-col {
  display: flex;
}

.result-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: linear-gradient(160deg, #0b2c4d 0%, #071f38 100%);
  border-radius: 22px;
  padding: 28px 24px;
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 31, 56, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.result-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 124, 246, 0.35), transparent 70%);
  pointer-events: none;
}

.result-card-header {
  margin-bottom: 20px;
}

.result-label {
  display: block;
  font-size: 13px;
  color: rgba(220, 235, 255, 0.8);
  margin-bottom: 8px;
}

.result-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}

.result-number {
  font-size: 48px;
  /*! font-weight: 900; */
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.5px;
}

.result-unit {
  font-size: 15px;
  color: #9ec0ff;
  font-weight: 600;
}

.result-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  transition: all 0.3s ease;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

/* Category Badge States */
.result-category-badge.status-under {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.4);
  color: #7dd3fc;
}

.result-category-badge.status-normal {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.result-category-badge.status-over {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fcd34d;
}

.result-category-badge.status-obese {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* BMI Gauge */
.bmi-gauge-wrap {
  margin: 10px 0 22px;
}

.bmi-gauge-bar {
  position: relative;
  display: flex;
  height: 12px;
  border-radius: 999px;
  overflow: visible;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gauge-segment {
  height: 100%;
  flex: 1;
}

.seg-under { background: #38bdf8; border-radius: 999px 0 0 999px; }
.seg-normal { background: #10b981; }
.seg-over { background: #f59e0b; }
.seg-obese { background: #ef4444; border-radius: 0 999px 999px 0; }

.bmi-gauge-needle {
  position: absolute;
  top: -6px;
  width: 14px;
  height: 24px;
  background: #ffffff;
  border: 2px solid var(--navy);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transform: translateX(50%);
  transition: right 0.25s var(--ease);
  z-index: 2;
}

.bmi-gauge-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: rgba(220, 235, 255, 0.75);
  direction: rtl;
}

/* Result Details */
.result-details {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  text-align: right;
  flex: 1;
}

.detail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
}

.detail-title {
  color: #9ec0ff;
  font-weight: 600;
}

.detail-title i {
  margin-left: 4px;
}

.detail-value {
  color: #ffffff;
  font-weight: 700;
}

.result-guidance {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.85;
  color: rgba(224, 238, 255, 0.85);
  font-weight: 400;
}

/* Water Specific Result */
.water-card .result-category-badge.water-badge {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.4);
  color: #7dd3fc;
}

.water-glasses-visual {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  margin: 14px 0 20px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
}

.water-glass-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.25);
  color: #7dd3fc;
  font-size: 13px;
  animation: popGlass 0.3s var(--ease) forwards;
}

@keyframes popGlass {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Tools Responsive */
@media (max-width: 991.98px) {
  .health-tools-panel {
    padding: 26px 20px 28px;
  }

  .health-tools-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .tools-tabs {
    width: 100%;
  }

  .tool-tab {
    flex: 1;
    justify-content: center;
  }

  .tool-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 575.98px) {
  .tools-title {
    font-size: 20px;
  }

  .tools-desc {
    font-size: 12.5px;
  }

  .result-number {
    font-size: 40px;
  }
}

/* ========== Scientific Congresses Section (کنگره‌ها و همایش‌های علمی) ========== */
.congress-section {
  background: transparent;
  padding: 12px 0 36px;
}

.congress-panel {
  position: relative;
  background: linear-gradient(165deg, #0b2c4d 0%, #071f38 60%, #0c2744 100%);
  border: 1px solid rgba(110, 182, 255, 0.2);
  border-radius: 28px;
  padding: 36px 32px 38px;
  box-shadow: 0 18px 48px rgba(7, 31, 56, 0.28);
  overflow: hidden;
  color: #ffffff;
}

.congress-panel::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 124, 246, 0.25), transparent 70%);
  pointer-events: none;
}

.congress-panel::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15), transparent 70%);
  pointer-events: none;
}

.congress-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 22px;
}

.congress-header-info {
  min-width: 0;
}

.congress-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #7dd3fc;
  font-size: 12.5px;
  font-weight: 700;
}
 
}
.congress-title {
  margin: 0 0 8px;
  font-size: 24px;

  color: #ffffff;
  line-height: 1.35;
}

.congress-desc {
  margin: 0;
  max-width: 600px;
  font-size: 14px;
  color: rgba(224, 238, 255, 0.85);
  line-height: 1.8;
  font-weight: 400;
}

.congress-all-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.28s var(--ease);
}

.congress-all-btn:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(47, 124, 246, 0.35);
}

/* Featured Congress Card */
.congress-featured-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  overflow: hidden;
  padding: 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  margin-bottom: 28px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.congress-featured-card:hover {
  border-color: rgba(110, 182, 255, 0.45);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.congress-featured-visual {
  position: relative;
  min-height: 280px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.congress-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.congress-featured-card:hover .congress-featured-img {
  transform: scale(1.04);
}

.congress-featured-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(7, 31, 56, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.congress-featured-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.congress-featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
}

.congress-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 12px;
}

.congress-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #9ec5fe;
  font-weight: 500;
}

.congress-meta-item i {
  color: #38bdf8;
}

.congress-featured-title {
  margin: 0 0 12px;
  font-size: clamp(19px, 2.2vw, 24px);
 
  color: #ffffff;
  line-height: 1.45;
}

.congress-featured-text {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(220, 235, 255, 0.88);
}

.congress-axes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 22px;
}

.axis-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #dbeafe;
  font-size: 12px;
  font-weight: 500;
}

.axis-tag i {
  color: #60a5fa;
  font-size: 10px;
}

.congress-featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.congress-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.28s var(--ease);
}

.congress-btn.primary {
  background: linear-gradient(135deg, #2f7cf6, #1b60d4);
  color: #ffffff;
  border: 0;
  box-shadow: 0 6px 18px rgba(47, 124, 246, 0.35);
}

.congress-btn.primary:hover {
  background: linear-gradient(135deg, #3d88ff, #256fe0);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(47, 124, 246, 0.5);
}

.congress-btn.outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.congress-btn.outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}
.congress-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;

    align-items: stretch;
    width: 100%;
}

.congress-grid > div {
    display: flex;
    width: 100%;
    min-width: 0;
    height: 100%;
}

.congress-sub-card {
    width: 100%;
    height: 100%;
    min-width: 0;

    display: flex;
    flex-direction: column;

    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 22px;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition: all 0.3s var(--ease);
}
.congress-sub-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--canvas);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}
.congress-sub-card .imgNews {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    flex-shrink: 0;
}

.congress-sub-card .imgNews a {
    display: block;
    width: 100%;
    height: 100%;
}

.congress-sub-card .imgNews img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.congress-sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.congress-sub-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.congress-sub-badge.diabetes {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.congress-sub-badge.osteo {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}

.congress-sub-badge.intl {
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #d8b4fe;
}

.congress-sub-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: rgba(210, 230, 255, 0.75);
}

.congress-sub-title {
   margin: 10px 0 10px;
  font-size: 15.5px;

  color: #ffffff;
  line-height: 1.45;
}

.congress-sub-desc {
  margin: 0 0 18px;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(215, 230, 250, 0.8);
  flex: 1;
}
.congress-sub-footer a:hover{
 color: var(--yellow);
}
.congress-sub-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

.sub-organizer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #9ec5fe;
  font-weight: 500;
}

.sub-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #38bdf8;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.sub-link:hover {
  color: #7dd3fc;
  transform: translateX(-3px);
}

/* Congress Responsive */
@media (max-width: 991.98px) {
  .congress-panel {
    padding: 26px 20px 28px;
  }

  .congress-featured-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
  }

  .congress-featured-visual {
    min-height: 220px;
  }

  .congress-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 575.98px) {
  .congress-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .congress-title {
    font-size: 21px;
  }

  .congress-desc {
    font-size: 12.5px;
  }

  .congress-featured-title {
    font-size: 17px;
  }

  .congress-btn {
    width: 100%;
    justify-content: center;
  }
}
```css
/* ========== Latest News ========== */

.news-section {
  background: transparent;
  padding: 8px 0 52px;
}

.news-panel {
  position: relative;
  background: linear-gradient(160deg, #ffffff 0%, #f0f5fc 55%, #e8f1fe 100%);
  border: 1px solid rgba(47, 124, 246, 0.12);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.news-panel::before {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(47, 124, 246, 0.1),
    transparent 70%
  );
  pointer-events: none;
}


/* =========================================
   Header
========================================= */

.news-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.news-header-text {
  min-width: 0;
}

.news-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 700;
}

.news-title {
  margin: 0 0 6px;
  font-size: 24px;
  color: var(--navy);
  line-height: 1.3;
  padding-bottom: 0;
}

.news-title::after {
  display: none;
}

.news-desc {
  margin: 0;
  max-width: 420px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 500;
}

.news-all {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(11, 44, 77, 0.18);
}

.news-all .fa {
  transition: transform 0.25s var(--ease);
}

.news-all:hover {
  background: var(--cyan);
  color: #fff;
  opacity: 1;
}

.news-all:hover .fa {
  transform: translateX(-3px);
}


/* =========================================
   Layout
========================================= */

.news-layout {
  position: relative;
  z-index: 1;
  align-items: stretch;
}


/* =========================================
   Featured Story
========================================= */

.news-featured {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(11, 44, 77, 0.06);
  box-shadow: 0 10px 28px rgba(11, 44, 77, 0.08);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.news-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(11, 44, 77, 0.12);
  opacity: 1;
  text-decoration: none;
  color: inherit;
}

.news-featured-media {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--line);
}

.news-featured-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.news-featured:hover .news-featured-media img {
  transform: scale(1.06);
}

.news-featured-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 45%,
    rgba(7, 31, 56, 0.35) 100%
  );
  pointer-events: none;
}

.news-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.news-featured-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 22px;
  text-align: right;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
}

.news-meta .fa {
  margin-left: 5px;
  color: var(--green);
}

.news-featured-body h4 {
  margin: 0 0 10px;
  font-size: 19px;
  color: var(--navy);
  line-height: 1.55;
}

.news-featured-body p {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--text-nav);
  line-height: 1.8;
  flex: 1;
}

.news-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
}

.news-featured:hover .news-readmore {
  color: var(--accent-hover);
}

.news-readmore .fa {
  transition: transform 0.25s var(--ease);
}

.news-featured:hover .news-readmore .fa {
  transform: translateX(-3px);
}


/* =========================================
   Compact News
========================================= */

.news-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.news-mini {
  display: flex;
  align-items: stretch;
  gap: 14px;

  min-height: 142px;

  padding: 12px;

  border-radius: 16px;

  background: rgba(255, 255, 255, 0.9);

  border: 1px solid rgba(11, 44, 77, 0.06);

  box-shadow: 0 4px 14px rgba(11, 44, 77, 0.04);

  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);

  margin-bottom: 0;
}

.news-mini:hover {
  transform: translateX(-4px);
  box-shadow: 0 10px 24px rgba(11, 44, 77, 0.1);
  border-color: rgba(47, 124, 246, 0.25);
  opacity: 1;
  text-decoration: none;
  color: inherit;
}

.news-mini-img {
  flex-shrink: 0;
  width: 96px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--line);
}

.news-mini-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.news-mini:hover .news-mini-img img {
  transform: scale(1.08);
}

.news-mini-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  text-align: right;
  padding: 2px 0;
}

.news-mini-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 11px;
  font-weight: 700;
}

.news-mini-body h4 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
}

.news-mini-body time {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.news-mini-body time .fa {
  margin-left: 4px;
  color: var(--accent);
}


/* =========================================
   Desktop
   کارت بزرگ سمت راست
   سه کارت کوچک سمت چپ
========================================= */

@media (min-width: 992px) {

  /*
     ساختار داخلی HTML:

     news-featured-wrapper = کارت بزرگ
     news-stack            = کارت کوچک 1
     news-stack            = کارت کوچک 2
     news-stack            = کارت کوچک 3
  */

  .news-panel .col-lg-12 > .news-layout {

    display: grid !important;

    /*
       به خاطر direction:ltr
       ستون 1 = سمت چپ
       ستون 2 = سمت راست
    */
    direction: ltr;

    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    /*
       سه ردیف مساوی
    */
    grid-template-rows:
      repeat(3, minmax(0, 1fr));

    column-gap: 20px;
    row-gap: 12px;

    width: 100%;
    margin: 0;
    padding: 0;

    align-items: stretch;
  }


  /* =========================================
     کارت بزرگ → سمت راست
  ========================================= */

  .news-panel
    .col-lg-12
    > .news-layout
    > .news-featured-wrapper {

    grid-column: 2;
    grid-row: 1 / 4;

    width: auto !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    min-width: 0;

    display: flex;

    direction: rtl;
  }

  .news-featured-wrapper .news-featured {
    width: 100%;
    height: 100%;
    min-height: 0;
  }


  /* =========================================
     سه کارت کوچک → سمت چپ
  ========================================= */

  .news-panel
    .col-lg-12
    > .news-layout
    > .news-stack {

    width: auto !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    min-width: 0;
    min-height: 0;

    height: 100% !important;

    display: flex;
    flex-direction: column;

    direction: rtl;
  }


  /* کارت کوچک اول */

  .news-panel
    .col-lg-12
    > .news-layout
    > .news-stack:nth-child(2) {

    grid-column: 1;
    grid-row: 1;
  }


  /* کارت کوچک دوم */

  .news-panel
    .col-lg-12
    > .news-layout
    > .news-stack:nth-child(3) {

    grid-column: 1;
    grid-row: 2;
  }


  /* کارت کوچک سوم */

  .news-panel
    .col-lg-12
    > .news-layout
    > .news-stack:nth-child(4) {

    grid-column: 1;
    grid-row: 3;
  }


  /* خود کارت کوچک */

  .news-stack > div {
    width: 100%;
    height: 100%;
  }

  .news-stack .news-mini {

    width: 100%;
    height: 100%;

    min-height: 0 !important;

    margin: 0 !important;

    box-sizing: border-box;
  }

}


/* =========================================
   Tablet
========================================= */

@media (max-width: 991.98px) {

  .news-panel {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .news-featured-media {
    height: 220px;
  }

  .news-mini {
    min-height: 100px;
  }

}


/* =========================================
   Mobile
========================================= */

@media (max-width: 767.98px) {

  .news-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-title {
    font-size: 20px;
  }

  .news-featured-body h4 {
    font-size: 17px;
  }

}


/* =========================================
   Small Mobile
========================================= */

@media (max-width: 575.98px) {

  .news-panel {
    padding: 18px 14px;
  }

  .news-title {
    font-size: 18px;
  }

  .news-desc {
    font-size: 12.5px;
  }

  .news-featured-media {
    height: 200px;
  }

  .news-mini {
    gap: 10px;
    padding: 10px;
  }

  .news-mini-img {
    width: 78px;
  }

  .news-mini-body h4 {
    font-size: 13px;
  }

}
```

/* ========== Footer — full-bleed dark blue ========== */
.site-footer {
  margin-top: 48px;
  width: 100%;
  position: relative;
  left: 0;
  right: 0;
  color: #fff;
  clear: both;
}

.footer-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: #163a72;
}

.footer-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 42, 92, 0.94) 0%, rgba(22, 58, 114, 0.9) 45%, rgba(17, 48, 98, 0.95) 100%),
    url("../images/footer-bg.jpg") center / cover no-repeat;
  opacity: 1;
  pointer-events: none;
}

.footer-main {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 52px 0 36px;
  background: transparent;
  border-top: 0;
}

.footer-grid-4 {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr 1.2fr;
  gap: 28px 32px;
  align-items: start;
}

/* Footer Brand & Logo */
.footer-brand-wrap {
  margin-bottom: 20px;
}

.footer-brand-link {
  display: inline-block;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 16px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s var(--ease), background 0.25s ease;
}

.footer-brand-link:hover {
  transform: translateY(-2px);
  background: #ffffff;
}

.footer-logo {
  max-height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-brand-desc {
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  font-weight: 500;
}

.footer-panel-toggle {
  display: none;
}

.footer-heading {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 12px;
  font-size: 18px;

  color: #fff;
}

.footer-heading::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 56px;
  height: 2px;
  background: var(--yellow);
}

.footer-address {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.footer-contact-label {
  margin: 0 0 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.footer-contact-list .fa {
  width: 18px;
  text-align: center;
  color: #9ec0ff;
}

.footer-contact-list a {
  color: #fff;
  font-weight: 600;
}

.footer-contact-list a:hover {
  color: #c5dbff;
  opacity: 1;
}

.footer-chevron-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-chevron-links li {
  margin-bottom: 10px;
}

.footer-chevron-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  line-height: 1.6;
}

.footer-chevron-links a::before {
  content: "\f104";
  font-family: FontAwesome;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-chevron-links a:hover {
  color: #fff;
  opacity: 1;
  transform: translateX(-3px);
}

.footer-brand-title {
  margin: 14px 0 6px;
  font-size: 15.5px;

  color: #fff;
  line-height: 1.4;
}

.footer-social-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.footer-social-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 15px;
  transition: all 0.25s var(--ease);
}

.footer-social-bar a:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--yellow);
  transform: translateY(-2px);
}

/* Newsletter Styles */
.footer-newsletter-desc {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.88);
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-input-group {
  display: flex;
  align-items: center;
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.newsletter-email {
  flex: 1;
  min-height: 42px;
  border: 0;
  background: transparent;
  padding: 0 14px;
  font-size: 13px;
  color: var(--text-dark);
  font-family: var(--font-main);
  outline: none;
}

.newsletter-email::placeholder {
  color: #8fa0b5;
}

.newsletter-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #2f7cf6, #1b60d4);
  color: #fff;
  font-family: var(--font-main);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(47, 124, 246, 0.35);
  transition: all 0.25s var(--ease);
}

.newsletter-submit-btn:hover {
  background: linear-gradient(135deg, #3d88ff, #256fe0);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(47, 124, 246, 0.5);
}

.newsletter-submit-btn i {
  font-size: 12px;
  transform: rotate(180deg);
}

.footer-form-msg {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: #82e0aa;
  font-weight: 600;
}

.footer-form-msg.is-error {
  color: #ff8a8a;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  width: 100%;
  background: rgba(8, 28, 64, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  margin: 0;
  border-radius: 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.footer-bottom-links a:hover {
  color: #c5dbff;
}

.footer-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

@media (max-width: 1199.98px) {
  .footer-grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }
}

@media (max-width: 767.98px) {
  .site-footer {
    margin-top: 28px;
  }

  .footer-main {
    padding: 8px 0 12px;
  }

  .footer-grid-4 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-panel {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .footer-panel-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 12px 4px;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    text-align: right;
  }

  .footer-panel-toggle .fa {
    transition: transform 0.28s var(--ease);
    font-size: 16px;
    opacity: 0.85;
  }

  .footer-panel.is-open .footer-panel-toggle .fa {
    transform: rotate(180deg);
  }

  .footer-heading {
    display: none;
  }

  .footer-panel-body {
    display: none;
    padding: 0 2px 16px;
  }

  .footer-panel.is-open .footer-panel-body {
    display: block;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-input,
  .footer-select,
  .footer-textarea,
  .footer-submit {
    min-height: 48px;
    font-size: 14px;
  }

  .footer-textarea {
    min-height: 100px;
  }

  .footer-submit {
    width: 100%;
  }
}

/* ========== Back to Top Button with Progress Ring ========== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(47, 124, 246, 0.2);
  box-shadow: 0 10px 28px rgba(11, 44, 77, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.85);
  transition: opacity 0.35s var(--ease), visibility 0.35s ease, transform 0.35s var(--ease), background 0.25s ease, color 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(47, 124, 246, 0.4);
  transform: translateY(-4px) scale(1.05);
}

.back-to-top .fa {
  position: relative;
  z-index: 2;
  font-size: 16px;
  transition: transform 0.25s var(--ease);
}

.back-to-top:hover .fa {
  transform: translateY(-2px);
}

.back-to-top-ring {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  transform: rotate(-90deg);
  pointer-events: none;
  z-index: 1;
}

.back-to-top-circle-bg {
  fill: none;
  stroke: rgba(47, 124, 246, 0.12);
  stroke-width: 2.5;
}

.back-to-top-circle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.8;
  stroke-linecap: round;
  transition: stroke-dasharray 0.12s linear;
}

.back-to-top:hover .back-to-top-circle {
  stroke: #ffffff;
}

@media (max-width: 767.98px) {
  .back-to-top {
    bottom: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
  }

  .back-to-top .fa {
    font-size: 14px;
  }
}
	=================================
	
/* ========== Back to Top Button with Progress Ring ========== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(47, 124, 246, 0.2);
  box-shadow: 0 10px 28px rgba(11, 44, 77, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.85);
  transition: opacity 0.35s var(--ease), visibility 0.35s ease, transform 0.35s var(--ease), background 0.25s ease, color 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(47, 124, 246, 0.4);
  transform: translateY(-4px) scale(1.05);
}

.back-to-top .fa {
  position: relative;
  z-index: 2;
  font-size: 16px;
  transition: transform 0.25s var(--ease);
}

.back-to-top:hover .fa {
  transform: translateY(-2px);
}

.back-to-top-ring {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  transform: rotate(-90deg);
  pointer-events: none;
  z-index: 1;
}

.back-to-top-circle-bg {
  fill: none;
  stroke: rgba(47, 124, 246, 0.12);
  stroke-width: 2.5;
}

.back-to-top-circle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.8;
  stroke-linecap: round;
  transition: stroke-dasharray 0.12s linear;
}

.back-to-top:hover .back-to-top-circle {
  stroke: #ffffff;
}

@media (max-width: 767.98px) {
  .back-to-top {
    bottom: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
  }

  .back-to-top .fa {
    font-size: 14px;
  }
}
.back-top {
  position: fixed;
  left: 25px;
  bottom: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #792255;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.main-header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 999;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 85px;
  width: 100%;
  background: transparent;
  position: relative;
}
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 99999;

  /* کاملاً شفاف */
  background: transparent !important;

  /* حذف افکت شیشه‌ای */
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

/* حالت دوم */
.site-header.is-white {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.site-header.is-blue {

background: rgba(1, 48, 92, 0.45) !important;
  backdrop-filter: blur(14px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(140%) !important;

  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);

  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
/* نوشته‌ها */
.site-header.is-white .main-menu a,
.site-header.is-blue .main-menu a {
  color: #fff;
}

.site-header.is-blue .main-menu a:hover {
  color: var(--blue);
}
.logo {
  width: 110px;
  height: 70px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  text-decoration: none;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 33px;
	font-size: 17px;
  justify-content: center;
  /*! float: left; */
}

.main-menu a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.main-menu a:hover {
  color: var(--blue);
}

.main-menu a:not(:last-child)::after {
  content: "";
  position: absolute;
  left: -13px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: var(--blue);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-btn {
  text-decoration: none;
  color: #792255;
  font-weight: 600;
}

.phone {
  color: #792255;
  text-decoration: none;
  font-weight: bold;
}

.phone i {
  margin-left: 5px;
}

.mobile-toggle {
  display: none;
  font-size: 25px;
  cursor: pointer;
  color: #792255;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.mobile-toggle.is-active {
  background: #f8eef4;
  color: #792255;
}

@media (max-width: 992px) {
  .header-wrapper {
    height: 70px;
    position: relative;
  }

  .phone {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .main-menu {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 18px 40px rgba(15, 40, 60, 0.12);
    padding: 10px 0;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 1000;
  }

  .main-menu.is-open {
    display: flex;
  }

  .main-menu > a,
  .main-menu .menu-dropdown-toggle {
    display: flex;
    width: 100%;
    padding: 12px 18px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #f1f1f1;
  }

  .main-menu > a:hover,
  .main-menu .menu-dropdown-toggle:hover {
    background: #f8eef4;
    color: #792255;
  }

  .main-menu a:not(:last-child)::after {
    display: none;
    content: none;
  }

  .main-menu .menu-dropdown {
    width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
    display: block;
  }
}

.btn-outline-primary-custom {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 14px 44px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.15rem;
  /* بزرگتر */
  background: transparent;
  transition: 0.3s;
}

.btn-outline-primary-custom:hover {
  background: var(--primary);
  color: #fff;
}

.logo {
  outline: none;
  border: none;
  border-radius: 20px;
  background: #fff;
  padding: 4px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.06);
}

.logo:hover,
.logo:focus,
.logo:active {
  outline: none;
  border: none;
  box-shadow: none;
  text-decoration: none;
}

.logo:hover {
  transform: translateY(-1px);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.05),
    0 16px 40px rgba(121, 34, 85, 0.1);
}

.logo img {
  display: block;
  border-radius: 14px;
}

.logo img {
  display: block;
  border: none;
  outline: none;
  box-shadow: none;
  transition: transform 0.25s ease;
}

.logo:hover img {
  transform: scale(1.03);
}

.logo:focus img,
.logo:active img {
  outline: none;
  border: none;
  box-shadow: none;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e8e8e8;
  color: var(--primary);
  font-weight: 700;
  transition: all 0.25s ease;
}
.lang-btn:hover {
  color: #792255;
  background: #c35b981c;
}
.lang-btn i {
  font-size: 15px;
}

.service-card-bordered {
  background: #fff;
  border: 1px solid rgba(121, 34, 85, 0.18);
  border-radius: 22px;
  padding: 32px 20px;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.service-card-bordered::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #792255, #a63c79);
  opacity: 0.85;
}

.service-card-bordered .icon-circle {
  width: 110px;
  height: 110px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #fbf5f8;
  border: 1px solid rgba(121, 34, 85, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-card-bordered h5 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  margin: 0;
  color: #3a3a3a;
}

.service-card-bordered:hover {
  border-color: #792255;
  box-shadow: 0 14px 36px rgba(121, 34, 85, 0.12);
}

.service-card-bordered:hover .icon-circle {
  background: #fff;
  border-color: #792255;
  transform: scale(1.05);
}

.about-section {
  padding: 55px 0;
  background: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/files/3shaban/medical-pattern.svg");
  background-repeat: repeat;
  background-size: 180px 180px;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.about-section > .container {
  position: relative;
  z-index: 1;
}

.section-tag {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 30px;
  background: #f8eef4;
  color: #792255;
  font-weight: 700;
  font-size: 20px;
}

.about-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 28px;
  color: #2b2b2b;
  line-height: 1.5;
}

.about-text {
  font-size: 15px;
  line-height: 2.2;
  color: #666;
  margin-bottom: 35px;
  text-align: justify;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.about-badge {
  position: absolute;
  left: -25px;
  bottom: 35px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #792255;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 45px rgba(121, 34, 85, 0.35);
}

.about-badge strong {
  font-size: 32px;
  line-height: 1;
}

.about-badge span {
  font-size: 15px;
  margin-top: 8px;
}

.about-features {
  margin-top: 10px;
}

.about-feature {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  font-size: 16px;
  color: #444;
}

.about-feature i {
  color: #792255;
  font-size: 20px;
  margin-left: 12px;
  width: 24px;
}

@media (max-width: 991px) {
  .about-section {
    padding: 70px 0;
  }

  .about-title {
    font-size: 32px;
  }

  .about-badge {
    width: 100px;
    height: 100px;
    left: 15px;
    bottom: 15px;
  }

  .about-badge strong {
    font-size: 28px;
  }
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 28px 0 36px;
}

.about-feature {
  display: flex;
  align-items: center;
  padding: 10px;
  background: #fbf8fa;
  border: 1px solid rgba(121, 34, 85, 0.12);
  border-radius: 14px;
  min-height: 62px;
  transition: 0.3s;
}

.about-feature i {
  width: 22px;
  font-size: 18px;
  color: #792255;
  margin-left: 12px;
}

.about-feature p {
  font-size: 13px;
  font-weight: 600;
  color: #444;
  line-height: 1.8;
  margin-top: 0px !important;
}

.about-feature:hover {
  background: #fff;
  border-color: #792255;
  box-shadow: 0 10px 24px rgba(121, 34, 85, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .about-features {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   EACH ITEM
   ========================================================= */

.main-menu .menu-flyout {
    position: relative;

    width: 100%;
    min-width: 0;
}


/* لینک اصلی */

.main-menu .menu-flyout > .menu-flyout-toggle {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 62px;

    padding: 12px 15px;

    box-sizing: border-box;

    background: #f7fafc;

    border: 1px solid #edf2f7;
    border-radius: 11px;

    color: #243b53;

    font-size: 13px;
    font-weight: 600;

    line-height: 1.7;

    text-decoration: none;

    transition: all 0.2s ease;
}


/* Hover */

.main-menu .menu-flyout:hover > .menu-flyout-toggle,
.main-menu .menu-flyout.is-open > .menu-flyout-toggle {
    background: #eef6fb;

    border-color: rgba(5, 99, 159, 0.16);

    color: var(--blue);

    box-shadow: 0 5px 15px rgba(15, 40, 60, 0.08);
}


/* فلش */

.main-menu .menu-flyout-toggle .fa {
    flex-shrink: 0;

    margin-right: 8px;

    color: var(--blue);

    font-size: 11px;
}


/* =========================================================
   SUB MENU
   ========================================================= */

.main-menu .menu-flyout-panel {
    position: absolute;

    top: 0;
    right: calc(100% + 10px);

    width: 210px;
    min-width: 210px;

    display: none;

    padding: 8px;

    background: #fff;

    border: 1px solid rgba(15, 40, 60, 0.07);
    border-radius: 12px;

    box-shadow:
        0 15px 40px rgba(15, 40, 60, 0.15);

    z-index: 10001;
}


/* باز شدن زیرمنو */

.main-menu .menu-flyout:hover > .menu-flyout-panel,
.main-menu .menu-flyout.is-open > .menu-flyout-panel {
    display: block;
}


/* =========================================================
   SUB MENU LINKS
   ========================================================= */

.main-menu .menu-flyout-panel a {
    display: flex;

    align-items: center;

    width: 100%;

    min-height: 40px;

    padding: 8px 11px;

    box-sizing: border-box;

    color: #555f6d;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 500;

    text-decoration: none;

    white-space: nowrap;

    transition: all 0.15s ease;
}


.main-menu .menu-flyout-panel a:hover {
    color: var(--blue);

    background: #eef6fb;

    padding-right: 15px;
}


/* جلوگیری از فلش اضافی */

.main-menu .menu-dropdown-panel a::after,
.main-menu .menu-flyout-panel a::after {
    /*! display: none !important; */
    /*! content: none !important; */
}


/* =========================================================
   ARROW ABOVE MEGA MENU
   ========================================================= */

.main-menu .menu-dropdown-panel::before {
    content: "";

    position: absolute;

    top: -7px;
    right: 50%;

    width: 13px;
    height: 13px;

    background: #fff;

    border-right: 1px solid rgba(15, 40, 60, 0.07);
    border-top: 1px solid rgba(15, 40, 60, 0.07);

    transform: translateX(50%) rotate(-45deg);
}


/* =========================================================
   ABOUT / MEMBERSHIP
   ========================================================= */

/*
   برای منوهایی که Flyout ندارند،
   مثل درباره ما و عضویت،
   همچنان ظاهر جمع‌وجور داشته باشند.
*/

.main-menu .menu-dropdown:first-of-type .menu-dropdown-panel,
.main-menu .menu-dropdown:last-of-type .menu-dropdown-panel {
    min-width: 330px;
}


.main-menu .menu-dropdown:first-of-type .menu-dropdown-col,
.main-menu .menu-dropdown:last-of-type .menu-dropdown-col {
    display: flex;

   /* flex-direction: column;

    grid-template-columns: none;

    grid-template-rows: none;*/

    gap: 5px;
}
.menu-dropdown-col{
	display: grid;
  grid-template-columns: repeat(4, 1fr)!important;
  grid-template-rows: repeat(2, 1fr)!important;
  gap: 12px!important;
  width: 100%!important;
  padding: 0!important;
	}

.main-menu .menu-dropdown-col > a:not(.menu-flyout-toggle) {
    display: flex;

    align-items: center;

    width: 100%;

    min-height: 44px;

    padding: 9px 13px;

    box-sizing: border-box;

    color: #4a5568;

    background: #f8fafc;

    border: 1px solid #edf2f7;

    border-radius: 9px;

    font-size: 13px;

    text-decoration: none;
}


.main-menu .menu-dropdown-col > a:not(.menu-flyout-toggle):hover {
    color: #05639f;

    background: #eef6fb;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .main-menu .menu-dropdown-panel {
        width: 900px;
        max-width: calc(100vw - 30px);
    }

    .main-menu .menu-dropdown-col {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 992px) {

    .main-menu .menu-dropdown {
        display: block;

        width: 100%;

        padding-bottom: 0;
        margin-bottom: 0;
    }


    .main-menu .menu-dropdown-panel {
        position: static;

        width: 100%;
        max-width: 100%;

        transform: none;

        display: none;

        padding: 8px 0 8px 10px;

        background: transparent;

        border: none;
        border-radius: 0;

        box-shadow: none;
    }


    .main-menu .menu-dropdown-panel::before {
        display: none;
    }


    .main-menu .menu-dropdown:hover .menu-dropdown-panel {
        display: none;
    }


    .main-menu .menu-dropdown.is-open .menu-dropdown-panel {
        display: block;
    }


    /* در موبایل یک ستون */

    .main-menu .menu-dropdown-col {
        display: grid;

        grid-template-columns: 1fr;

        grid-template-rows: none;

        gap: 7px;
    }


    .main-menu .menu-flyout {
        width: 100%;
    }


    .main-menu .menu-flyout > .menu-flyout-toggle {
        min-height: 48px;

        font-size: 12px;
    }


    /* زیرمنوی سطح سوم */

    .main-menu .menu-flyout-panel {
        position: static;

        width: 100%;
        min-width: 0;

        display: none;

        padding: 4px 0 4px 10px;

        background: transparent;

        border: none;

        box-shadow: none;
    }


    .main-menu .menu-flyout:hover > .menu-flyout-panel {
        display: none;
    }


    .main-menu .menu-flyout.is-open > .menu-flyout-panel {
        display: block;
    }


    .main-menu .menu-dropdown:first-of-type .menu-dropdown-panel,
    .main-menu .menu-dropdown:last-of-type .menu-dropdown-panel {
        width: 100%;
    }
}
	/* =====================================================
   MEGA MENU - WIDE + داخل صفحه
   ===================================================== */

.main-menu .menu-dropdown {
    position: relative !important;
}


/* پنل اصلی */
.main-menu .menu-dropdown > .menu-dropdown-panel {
    position: absolute !important;

    top: calc(100% + 8px) !important;

    /*
      مرکز پنل روی مرکز آیتم اصلی قرار می‌گیرد
    */
    left: 50% !important;
    right: auto !important;

    transform: translateX(-50%) !important;

    /*
      عرض منو
    */
    width: 1100px !important;

    /*
      اجازه نمی‌دهد از صفحه بیرون بزند
    */
    max-width: calc(100vw - 30px) !important;

    box-sizing: border-box;

    display: none;

    background: #fff;

    border: 1px solid rgba(15, 40, 60, 0.07);

    border-radius: 18px;

    padding: 22px 24px;

    box-shadow:
        0 18px 50px rgba(15, 40, 60, 0.15),
        0 4px 15px rgba(15, 40, 60, 0.05);

    z-index: 99999 !important;

    direction: rtl;
}


/* باز شدن */
.main-menu .menu-dropdown:hover > .menu-dropdown-panel,
.main-menu .menu-dropdown.is-open > .menu-dropdown-panel {
    display: block !important;
}


/* =====================================================
   فلش بالای منو
   ===================================================== */
.main-menu .menu-dropdown {
    position: relative;
}

.main-menu .menu-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 8px;
    background: transparent;
    z-index: 99998;
}

.main-menu .menu-dropdown > .menu-dropdown-panel {
    top: calc(100% + 8px) !important;
}

.main-menu .menu-dropdown > .menu-dropdown-panel::before {
    content: "";

    position: absolute;

    top: -7px;

    /*
      فلش وسط پنل
    */
    left: 50%;

    right: auto;

    width: 13px;
    height: 13px;

    background: #fff;

    border-right: 1px solid rgba(15, 40, 60, 0.07);
    border-top: 1px solid rgba(15, 40, 60, 0.07);

    transform: translateX(-50%) rotate(-45deg);
}


/* =====================================================
   آیتم‌ها = 4 ستون × 2 ردیف
   ===================================================== */

.main-menu .menu-dropdown > .menu-dropdown-panel > .menu-dropdown-col {
    display: grid !important;

    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;

    grid-template-rows: repeat(2, auto);

    gap: 12px;

    width: 100%;

    padding: 0;
}

/* =====================================================
   فقط زیرمنو
   منوی اصلی و هدر دست نخورند
   ===================================================== */

:root {
    --submenu-width: 280px;
}


/* پنل زیرمنو */
.main-menu .menu-dropdown > .menu-dropdown-panel {
    width: var(--submenu-width) !important;
    max-width: calc(100vw - 30px) !important;

    padding: 8px !important;

    box-sizing: border-box !important;

    /* جای قبلی پنل حفظ شود */
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
}


/* =====================================================
   خیلی مهم:
   4 ستون × 2 ردیف را کاملاً حذف کن
   ===================================================== */

.main-menu .menu-dropdown > .menu-dropdown-panel > .menu-dropdown-col {
    display: flex !important;

    flex-direction: column !important;

    width: 100% !important;

    /*! gap: 10; */

    /*! padding: 0 !important; */
    /*! margin: 0 !important; */

    /*! grid-template-columns: none !important; */
    /*! grid-template-rows: none !important; */
    /*! grid-auto-flow: row !important; */
}


/* هر آیتم زیرمنو = یک ردیف کامل */
.main-menu .menu-dropdown > .menu-dropdown-panel
> .menu-dropdown-col > a,

.main-menu .menu-dropdown > .menu-dropdown-panel
> .menu-dropdown-col > .menu-flyout {

    display: block !important;

    width: 100% !important;

    margin: 0 !important;

    box-sizing: border-box !important;
}


/* لینک‌های زیرمنو */
.main-menu .menu-dropdown > .menu-dropdown-panel
> .menu-dropdown-col > a,

.main-menu .menu-dropdown > .menu-dropdown-panel
> .menu-dropdown-col > .menu-flyout
> .menu-flyout-toggle {

    display: flex !important;

    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;

    min-height: 44px !important;

    padding: 9px 12px !important;

    box-sizing: border-box !important;

    border-radius: 6px !important;

    margin: 0 !important;

    /* رنگ‌های فعلی زیرمنو حفظ شود */
    background: transparent !important;

    border: 0 !important;
    border-bottom: 1px solid rgba(15, 40, 60, .08) !important;

    box-shadow: none !important;

    white-space: normal !important;
}


/* آخرین آیتم خط نداشته باشد */
.main-menu .menu-dropdown > .menu-dropdown-panel
> .menu-dropdown-col > a:last-child,

.main-menu .menu-dropdown > .menu-dropdown-panel
> .menu-dropdown-col > .menu-flyout:last-child
> .menu-flyout-toggle {
    border-bottom: 0 !important;
}


/* Hover فقط روی زیرمنو */
.main-menu .menu-dropdown > .menu-dropdown-panel
> .menu-dropdown-col > a:hover,

.main-menu .menu-dropdown > .menu-dropdown-panel
> .menu-dropdown-col > .menu-flyout:hover
> .menu-flyout-toggle {
    background: rgba(15, 40, 60, .04) !important;
    color: var(--blue);
}


/* =====================================================
   زیرمنوی سطح بعد
   ===================================================== */

.main-menu .menu-dropdown .menu-flyout-panel {
    width: var(--submenu-width) !important;

    max-width: calc(100vw - 30px) !important;

    box-sizing: border-box !important;
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 992px) {

    .main-menu .menu-dropdown > .menu-dropdown-panel {
        width: 100% !important;
        max-width: 100% !important;

        left: auto !important;
        right: auto !important;

        transform: none !important;

        padding: 3px 0 !important;
    }


    .main-menu .menu-dropdown > .menu-dropdown-panel
    > .menu-dropdown-col {

        display: flex !important;

        flex-direction: column !important;

        width: 100% !important;

        gap: 0 !important;

        grid-template-columns: none !important;
        grid-template-rows: none !important;
        grid-auto-flow: row !important;
    }


    .main-menu .menu-dropdown > .menu-dropdown-panel
    > .menu-dropdown-col > a,

    .main-menu .menu-dropdown > .menu-dropdown-panel
    > .menu-dropdown-col > .menu-flyout
    > .menu-flyout-toggle {

        width: 100% !important;

        min-height: 44px !important;

        padding: 10px 12px !important;

        border-radius: 0 !important;
    }


    .main-menu .menu-dropdown .menu-flyout-panel {
        position: static !important;

        width: 100% !important;
        max-width: 100% !important;

        padding: 0 8px !important;

        border: 0 !important;
        box-shadow: none !important;
    }
}


@media (max-width: 576px) {

    .main-menu .menu-dropdown > .menu-dropdown-panel {
        width: 100% !important;
        max-width: 100% !important;
    }

    .main-menu .menu-dropdown > .menu-dropdown-panel
    > .menu-dropdown-col > a,

    .main-menu .menu-dropdown > .menu-dropdown-panel
    > .menu-dropdown-col > .menu-flyout
    > .menu-flyout-toggle {

        min-height: 42px !important;

        padding: 9px 10px !important;

        font-size: 12px !important;
    }
}
    .main-menu .menu-dropdown.is-open
    > .menu-dropdown-toggle .fa {

        transform: rotate(180deg);
    }


    .main-menu .menu-flyout.is-open
    > .menu-flyout-toggle .fa {

        transform: rotate(-90deg);
    }


 
    .main-menu a::after {

        /*! display: none !important; */

        /*! content: none !important; */
    }

}



@media (max-width: 576px) {

    .main-menu {

        top: 65px !important;

        right: 6px !important;
        left: 6px !important;

        max-height: calc(100vh - 72px) !important;
    }

}
	@media (max-width: 992px) {

    .main-menu .menu-flyout-panel {
        display: none !important;

        position: static !important;

        width: 100% !important;
        min-width: 0 !important;

        margin: 5px 0 0 !important;
        padding: 5px !important;

        background: #f5f8fa !important;

        box-shadow: none !important;
        transform: none !important;
    }


    .main-menu .menu-flyout.is-open
    > .menu-flyout-panel {
        display: block !important;
    }

    .main-menu .menu-flyout-toggle {
        display: flex !important;

        align-items: center !important;
        justify-content: space-between !important;

        width: 100% !important;

        cursor: pointer;
    }

    .main-menu .menu-flyout-panel a {
        display: block !important;

        width: 100% !important;

        padding: 9px 15px !important;

        text-align: right !important;
    }

}
	.news-featured-wrapper{
	float: right;
	}
	