@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Noto+Kufi+Arabic:wght@400;500;600;700&display=swap');

:root {
  /* Original Multi Business Brand Colors (Light Theme) */
  --brand-teal: #0095A9;
  --brand-teal-dark: #007788;
  --brand-teal-light: #e6f6f8;
  --brand-orange: #F39C2A;
  --brand-orange-dark: #d98214;
  --brand-orange-light: #fff5e6;
  --brand-slate: #34495E;
  --brand-blue-muted: #70a4bb;

  /* Light Theme Surfaces */
  --bg-body: #ffffff;
  --bg-soft: #f5f9fb;
  --bg-card: #ffffff;
  --bg-footer-top: #f0f6f8;
  --bg-footer-bottom: #34495E;

  /* Typography Colors */
  --text-heading: #1e293b;
  --text-body: #475569;
  --text-muted: #64748b;
  --text-white: #ffffff;

  /* Borders & Shadows */
  --border-color: #e2e8f0;
  --border-teal: rgba(0, 149, 169, 0.25);
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px rgba(0, 149, 169, 0.1);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.12);

  /* Radii (Matching original 30px rounded cards & 16px buttons) */
  --radius-btn: 16px;
  --radius-card: 26px;
  --radius-sm: 10px;

  --font-main: 'Poppins', 'Noto Kufi Arabic', sans-serif;
  --font-ar: 'Noto Kufi Arabic', 'Poppins', sans-serif;
  --transition: all 0.3s ease;
  --container-width: 1180px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] body {
  font-family: var(--font-ar);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Bar (Light & Clean) */
.topbar {
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-body);
  font-size: 0.84rem;
  padding: 0.5rem 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-body);
  font-weight: 500;
}

.topbar-item svg {
  color: var(--brand-teal);
}

.topbar-item:hover {
  color: var(--brand-teal);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.admin-top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-slate);
  background: #e2e8f0;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
}

.admin-top-link:hover {
  background: var(--brand-orange);
  color: #fff;
}

/* Language Switcher (EN / KU Only) */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: #e2e8f0;
  border-radius: 999px;
  padding: 0.15rem;
}

.lang-btn {
  color: var(--text-heading);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--brand-teal);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 149, 169, 0.3);
}

/* Main Header (Faithful to #0095A9 Original Header) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--brand-teal);
  box-shadow: 0 4px 20px rgba(0, 149, 169, 0.18);
  transition: var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 1.5rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo img {
  height: 54px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 500;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-orange);
  background: rgba(255, 255, 255, 0.1);
}

/* Dropdown Menu (Brian Tracy -> About BTS, Programs) */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--brand-slate);
  border-top: 3px solid var(--brand-orange);
  border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1100;
}

html[dir="rtl"] .dropdown-menu {
  left: auto;
  right: 0;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.65rem 1.25rem;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 400;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--brand-orange);
}

.mobile-toggle {
  display: none;
  color: #ffffff;
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Buttons (Original style: #0095A9 & #F39C2A, 16px border radius) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-teal {
  background-color: var(--brand-teal);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 149, 169, 0.28);
}

.btn-teal:hover {
  background-color: var(--brand-teal-dark);
  transform: translateY(-2px);
}

.btn-orange {
  background-color: var(--brand-orange);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(243, 156, 42, 0.3);
}

.btn-orange:hover {
  background-color: var(--brand-orange-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--brand-teal);
  color: var(--brand-teal);
  background: transparent;
}

.btn-outline:hover {
  background: var(--brand-teal);
  color: #ffffff;
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  border-radius: 12px;
}

/* Fullwidth Hero Slider (Original 3-Slide Hero Structure) */
.hero-slider {
  position: relative;
  width: 100%;
  height: 580px;
  overflow: hidden;
  background: var(--bg-soft);
}

.slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 33, 48, 0.45) 0%,
    rgba(0, 149, 169, 0.38) 100%
  );
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
  padding: 2rem 1.5rem;
  color: #ffffff;
  animation: fadeUp 0.6s ease;
}

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

.hero-slide-title {
  font-size: clamp(2.6rem, 5.5vw, 4.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.hero-slide-subtitle {
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 300;
  margin-bottom: 1.85rem;
  color: #f8fafc;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--brand-teal);
  color: #ffffff;
}

.slider-arrow.prev {
  left: 1.5rem;
}

.slider-arrow.next {
  right: 1.5rem;
}

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.6rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: 2px solid #ffffff;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  transform: scale(1.2);
}

/* Sections (Light Theme) */
.section {
  padding: 5rem 0;
  background-color: var(--bg-body);
}

.section-soft {
  background-color: var(--bg-soft);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.25rem;
}

.section-badge {
  display: inline-block;
  background: var(--brand-teal-light);
  color: var(--brand-teal);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* "We care about your business" 3 Rounded Blurb Cards (Faithful to Original) */
.care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.care-card {
  border-radius: 30px;
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.care-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-teal);
}

.care-card.card-teal {
  border-top: 5px solid var(--brand-teal);
}

.care-card.card-orange {
  border-top: 5px solid var(--brand-orange);
}

.care-card.card-slate {
  border-top: 5px solid var(--brand-slate);
}

.care-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.card-teal .care-icon {
  background: var(--brand-teal-light);
  color: var(--brand-teal);
}

.card-orange .care-icon {
  background: var(--brand-orange-light);
  color: var(--brand-orange);
}

.card-slate .care-icon {
  background: #eef2f6;
  color: var(--brand-slate);
}

.care-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.6rem;
}

.care-card p {
  color: var(--text-body);
  font-size: 0.98rem;
}

/* Video Box (Brian Tracy YouTube Video with Overlay) */
.video-showcase {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
  background: #000;
  position: relative;
  aspect-ratio: 16 / 9;
}

.video-showcase iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: var(--transition);
}

.video-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 33, 48, 0.35);
  transition: var(--transition);
}

.video-overlay:hover::before {
  background: rgba(7, 33, 48, 0.2);
}

.video-play-btn {
  position: relative;
  z-index: 3;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--brand-orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(243, 156, 42, 0.5);
  transition: var(--transition);
}

.video-overlay:hover .video-play-btn {
  transform: scale(1.1);
  background: var(--brand-teal);
}

/* Quote Banner (Light Illustration Background + Crisp Quote) */
.quote-section {
  position: relative;
  padding: 5.5rem 0;
  background-color: var(--brand-teal-light);
  background-image: url('../images/non-profit-illustration.png');
  background-size: cover;
  background-position: center;
  text-align: center;
  border-top: 1px solid var(--border-teal);
  border-bottom: 1px solid var(--border-teal);
}

.quote-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
}

.quote-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.quote-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 700;
  color: var(--brand-slate);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.quote-inner p {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-orange);
}

/* Activities / News Grid (30px Rounded Images & Clean Light Cards) */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.25rem;
}

.activity-card {
  background: var(--bg-card);
  border-radius: 30px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-teal);
}

.activity-img-wrap {
  height: 240px;
  overflow: hidden;
  position: relative;
  background: #e2e8f0;
}

.activity-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.activity-card:hover .activity-img-wrap img {
  transform: scale(1.05);
}

.activity-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--brand-teal);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}

.activity-body {
  padding: 1.75rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.activity-body h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.65rem;
}

.activity-body p {
  color: var(--text-body);
  font-size: 0.96rem;
  flex: 1;
}

/* "Either you run the day or the day runs you..." Banner */
.run-day-banner {
  background: linear-gradient(135deg, var(--brand-teal) 0%, var(--brand-slate) 100%);
  color: #ffffff;
  text-align: center;
  padding: 3.5rem 1.5rem;
}

.run-day-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
}

/* Programs / Trainings Cards (Light Theme) */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.6rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  background: #ffffff;
  color: var(--text-body);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--brand-teal);
  color: #ffffff;
  border-color: var(--brand-teal);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.85rem;
}

.program-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-teal);
}

.program-card img {
  width: 100%;
  height: 195px;
  object-fit: cover;
}

.program-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.program-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.program-card-body p {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
  flex: 1;
}

/* Subpage Hero (Light & Airy) */
.page-hero {
  background: linear-gradient(135deg, var(--brand-teal-light) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 4rem 0 3.5rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 720px;
  margin: 0 auto;
}

/* Footer (Faithful to Original 3 Blurbs: Visit Us, Call Us, Email Us + Bottom Bar) */
.site-footer {
  background: var(--bg-footer-top);
  border-top: 1px solid var(--border-color);
}

.footer-blurbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 4rem 0;
  text-align: center;
}

.footer-blurb-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.footer-blurb-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-blurb-icon.visit {
  background: rgba(0, 71, 255, 0.1);
  color: #0047ff;
}

.footer-blurb-icon.call {
  background: rgba(224, 153, 0, 0.12);
  color: #E09900;
}

.footer-blurb-icon.email {
  background: rgba(0, 149, 169, 0.12);
  color: var(--brand-teal);
}

.footer-blurb-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.footer-blurb-card p,
.footer-blurb-card a {
  color: var(--text-body);
  font-size: 0.96rem;
}

.footer-blurb-card a:hover {
  color: var(--brand-teal);
}

.footer-bottom-bar {
  background: var(--bg-footer-bottom);
  color: #ffffff;
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--brand-orange);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Contact & Admin Forms */
.card-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: var(--text-heading);
  transition: var(--transition);
}

.form-control:focus {
  background: #ffffff;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(0, 149, 169, 0.15);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

/* Responsive */
@media (max-width: 960px) {
  .care-grid,
  .footer-blurbs,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .hero-slider {
    height: 480px;
  }
  .nav-links {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--brand-teal);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 8px;
    margin-top: 0.25rem;
  }
  .mobile-toggle {
    display: inline-flex;
  }
}
