:root {
  --bs-primary: #1F3A8A;
  --bs-primary-rgb: 31, 58, 138;
  --bs-link-color: #2563EB;
  --bs-link-hover-color: #1F3A8A;
  --bs-body-bg: #F3F4F6;
  --bs-body-color: #1F2937;
  --rubwa-primary: #1F3A8A;
  --rubwa-primary-dark: #1F3A8A;
  --rubwa-secondary: #2563eb;
  --rubwa-secondary-deep: #1F3A8A;
  --rubwa-accent-red: #DD4522;
  --rubwa-accent-yellow: #FACC15;
  --rubwa-light-blue: #93C5FD;
  --rubwa-surface: #ffffff;
  --rubwa-muted: #4b5563;
  --rubwa-light: #F3F4F6;
  --rubwa-border: #93C5FD;
  --rubwa-shadow: 0 18px 45px rgba(31, 58, 138, 0.12);
  --rubwa-accent-blood: #d3040a;
}

html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
}
a { text-decoration: none; }
.site-header {
  position: relative;
}
.site-topbar,
.site-navbar {
  background: #e9ebee;
}
.site-topbar {
  /* background: #1F3A8A; */
  background: linear-gradient(135deg, var(--rubwa-primary), var(--rubwa-secondary));
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
}

.page-banner p.lead{color: #fff;}

.navbar { backdrop-filter: blur(10px); z-index: 999;}
.navbar-brand {
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0;
  color: #2a55be !important;
}
.navbar-brand:hover { color: #2a55be !important; }
.site-topbar .navbar-brand {
  color: #ffffff !important;
}
.site-topbar .navbar-brand:hover {
  color: #ffffff !important;
}
.navbar-brand .brand-text {
  display: inline-block;
  /* max-width: 18rem; */
  line-height: 1.1;
  font-size: 22px;;
}
.navbar-brand::before {
  content: "";
  width: 120px;
  height: 120px;
  flex: 0 0 120px;
  background: url("../images/logo_1.jpg") center/contain no-repeat;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(31, 58, 138, 0.18);
}
.navbar-brand .bi {
  display: none !important;
}
.navbar.bg-primary {
  background: #e9ebee !important;
}
.site-navbar {
  border-top: 1px solid rgba(31, 41, 55, 0.08);
}
.site-navbar .navbar-collapse {
  justify-content: flex-start;
}
.topbar-contact {
  color: #ffffff;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}
.contact-item i {
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  color: #1F3A8A;
  font-size: 0.95rem;
}
.contact-item span {
  display: block;
  color: #f6c5b4;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}
.contact-item p {
  margin: 0;
  color: #ffffff;
  font-size: 0.88rem;
  line-height: 1.35;
}
.navbar .nav-link {
  position: relative;
  font-weight: 500;
  color: #1f2937 !important;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 2px;
  background: #2a55be;
  transition: width 0.2s ease;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { width: 100%; }
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #2a55be !important;
}
.navbar .navbar-toggler {
  border-color: rgba(42, 85, 190, 0.25);
}
.navbar .navbar-toggler-icon {
  filter: none;
}
@media (max-width: 575.98px) {
  .navbar-brand::before {
    width: 88px;
    height: 88px;
    flex-basis: 88px;
  }
  .navbar-brand .brand-text {
    max-width: none;
    font-size: 0.95rem;
  }
  .contact-item p {
    font-size: 0.82rem;
  }
}

.dropdown-menu-end[data-bs-popper]{left: 0 !important; right: inherit !important;}

.dropdown-menu {
  border: 0;
  border-radius: 1rem;
  box-shadow: var(--rubwa-shadow);
}

.blood_icon{color: var(--rubwa-accent-blood);}


.dropdown-item {
  color: #1f2937;
}
.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(42, 85, 190, 0.08);
  color: #2a55be;
}
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 6.5rem 0 5rem;
  background:
    linear-gradient(135deg, rgba(31, 58, 138, 0.98), rgba(37, 99, 235, 0.95)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 28%);
}
.home-slider {
  /* border-radius: 1.5rem; */
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--rubwa-shadow);
  /* margin: 1.75rem auto 0; */
  margin: 0 auto 0;
}
.home-slider .carousel-item {
  background: #f6c5b4;
}
.home-slider .carousel-item img {
  width: 100%;
  height: 540px;
  object-fit: cover;
}
.home-slider .carousel-caption {
  left: 6%;
  right: auto;
  bottom: 6%;
  max-width: 42rem;
  padding: 0;
  text-align: left;
}
.home-slider .slider-caption {
  display: inline-block;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: rgba(31, 58, 138, 0.88);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.home-slider .slider-title {
  display: inline-block;
  padding: 0.9rem 1.15rem;
  border-radius: 1rem;
  background: rgba(31, 41, 55, 0.72);
  color: #fff;
  font-weight: 700;
  line-height: 1.35;
}
.home-slider .carousel-indicators [data-bs-target] {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background-color: #000;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.12);
  pointer-events: none;
}
.hero::before { width: 21rem; height: 21rem; top: -7rem; right: -4rem; }
.hero::after { width: 14rem; height: 14rem; bottom: -5rem; left: -3rem; }
.hero .lead { color: rgba(255, 255, 255, 0.88); }
.hero-badge,
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.hero-badge {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-card {
  position: relative;
  z-index: 1;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
}
.section-padding { padding: 5rem 0; }
.section-title {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.section-title .eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--rubwa-secondary);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}
.section-title h2,
.page-banner h1 { font-weight: 800; }
.section-title p,
.page-banner p,
.muted-text { color: var(--rubwa-muted); }
.surface-card,
.feature-card,
.activity-card,
.info-card,
.director-card,
.contact-card {
  background: var(--rubwa-surface);
  border: 1px solid rgba(147, 197, 253, 0.85);
  border-radius: 1.25rem;
  box-shadow: var(--rubwa-shadow);
}
.feature-card,
.activity-card,
.director-card,
.contact-card { transition: transform 0.22s ease, box-shadow 0.22s ease; }
.feature-card:hover,
.activity-card:hover,
.director-card:hover,
.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
}
.icon-box {
  width: 3.5rem;
  height: 3.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--rubwa-primary), var(--rubwa-light-blue));
  box-shadow: 0 12px 24px rgba(31, 58, 138, 0.22);
  font-size: 1.25rem;
}
.activity-card .card-img-top,
.director-card img,
.image-frame img { transition: transform 0.35s ease; }
.activity-card:hover .card-img-top,
.director-card:hover img,
.image-frame:hover img { transform: scale(1.04); }
.page-banner {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(31, 58, 138, 0.98), rgba(37, 99, 235, 0.95)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.15), transparent 24%);
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: auto -8rem -6rem auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(250, 204, 21, 0.12);
  pointer-events: none;
}
.breadcrumb { margin-bottom: 1rem; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, 0.7); }
.page-banner .breadcrumb a,
.page-banner .breadcrumb-item.active { color: rgba(255, 255, 255, 0.92); }
.page-banner .breadcrumb a:hover { text-decoration: underline; }
.image-frame {
  overflow: hidden;
  border-radius: 1.1rem;
  box-shadow: var(--rubwa-shadow);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge-soft {
  background: rgba(250, 204, 21, 0.18);
  color: var(--rubwa-primary);
}
.cta-panel {
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--rubwa-primary), var(--rubwa-secondary));
  color: #fff;
  box-shadow: var(--rubwa-shadow);
}
.cta-panel .text-muted { color: rgba(255, 255, 255, 0.78) !important; }
.btn {
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background-color: var(--rubwa-accent-red);
  border-color: var(--rubwa-accent-red);
  box-shadow: 0 12px 20px rgba(220, 38, 38, 0.24);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #b91c1c;
  border-color: #b91c1c;
}
.btn-outline-light:hover {
  color: var(--rubwa-primary) !important;
  background: #fff;
  border-color: #fff;
}
.form-control,
.form-select {
  border-radius: 0.95rem;
  padding: 0.85rem 1rem;
  border-color: var(--rubwa-border);
}
.form-control:focus,
.form-select:focus {
  border-color: rgba(31, 58, 138, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(31, 58, 138, 0.16);
}
.footer {
  background: linear-gradient(180deg, #1F3A8A, #1F3A8A);
  color: #cbd5e1;
}
.footer a { color: #e2e8f0; }
.footer a:hover { color: #fff; }
.social-icon {
  width: 2.7rem;
  height: 2.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  margin-right: 0.5rem;
  transition: transform 0.2s ease, background 0.2s ease;
}
.social-icon:hover {
  background: var(--rubwa-accent-red);
  transform: translateY(-3px);
}
.list-check li { margin-bottom: 0.85rem; }
.list-check li i { color: var(--rubwa-accent-red); }
.table-soft th { background: rgba(147, 197, 253, 0.25); }
@media (max-width: 991.98px) {
  .hero { padding: 5rem 0 4rem; }
  .page-banner { padding: 3.5rem 0; }
  .home-slider .carousel-caption {
    left: 4%;
    right: 4%;
    bottom: 4%;
    max-width: none;
  }
  .home-slider .carousel-item img {
    height: 380px;
  }
}
@media (max-width: 575.98px) {
  .section-padding { padding: 4rem 0; }
  .hero h1 { font-size: 2.2rem; }
  .home-slider {
    margin-top: 1rem;
    border-radius: 1rem;
  }
  .home-slider .carousel-item img {
    height: 240px;
  }
  .home-slider .slider-title {
    font-size: 0.95rem;
    padding: 0.7rem 0.85rem;
  }
}
