/* =====================================================
   GLOBAL VARIABLES
===================================================== */
:root {
  --main-blue: #2493f5;
  --main-green: #2ecc71;
  --main-dark: #23243a;
  --main-bg: #f9faff;
  --card-blue: #1766b7;
  --shadow: 0 6px 26px rgba(16, 70, 124, 0.09);
  --radius: 18px;

  --primary: #4361ee;
  --primary-dark: #3a56d4;
  --secondary: #7209b7;
  --accent: #f72585;
  --success: #4cc9f0;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --border: #dee2e6;
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --radius-lg: 12px;
}

/* =====================================================
   BASE
===================================================== */
body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--main-bg);
  color: var(--dark);
}

/* =====================================================
   HEADER SECTIONS (KEPT)
===================================================== */
header,
.beautiful-header {
  background: linear-gradient(45deg, var(--main-blue), var(--main-green));
  color: #fff;
  padding: 44px 18px 50px;
  text-align: center;
}

header h1,
.beautiful-header h1 {
  font-size: 2.3em;
  margin-bottom: 0.2em;
}

header p,
.beautiful-header p {
  font-size: 1.2em;
  opacity: 0.85;
}

/* ====================================================
   BRAND (LOGO + NAME)
===================================================== */
.brand-container {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-icon img {
  display: block;
  height: 42px;
}

.brand-name {
  margin-left: 6px;
  font-weight: 700;
  font-size: 1.45em;
  letter-spacing: 1px;
  white-space: nowrap;
  color: #fff;
}

.logo-sub {
  opacity: 0.9;
  font-weight: 700;
}

/* ===== NAVIGATION BAR ===== */
.navbar {
  width: 96.9%;
  background: linear-gradient(45deg, var(--main-blue), var(--main-green));
  box-shadow: 0 4px 20px rgba(16, 70, 124, 0.10);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 99;
  height: 62px;
}

.navbar .logo {
  font-weight: 700;
  font-size: 1.45em;
  letter-spacing: 1.5px;
  user-select: none;
}

.navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.navbar .nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.07em;
  letter-spacing: 0.5px;
  border-radius: 100px;
  padding: 8px 18px;
  transition: background 0.18s;
  position: relative;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  background: rgba(255,255,255,0.13);
  font-weight: 700;
}

/* Hamburger */
.navbar .hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.navbar .hamburger span {
  width: 27px;
  height: 4px;
  background: #fff;
  border-radius: 3px;
  display: block;
  transition: all 0.28s;
}

/* Drawer Menu */
.drawer {
  display: none;
  position: fixed;
  top: 0; right: 0; height: 100vh;
  width: 69vw; max-width: 340px;
  background: linear-gradient(25deg, var(--main-blue), var(--main-green));
  box-shadow: -3px 0 24px rgba(16, 70, 124, 0.10);
  z-index: 100;
  padding-top: 78px;
  padding-left: 30px;
  padding-right: 14px;
  transition: transform 0.28s;
  transform: translateX(100%);
}

.drawer.open {
  display: block;
  transform: translateX(0);
}

.drawer .nav-link {
  display: block;
  padding: 14px 0 14px 8px;
  font-size: 1.15em;
  color: #fff;
  margin-bottom: 5px;
  border-radius: 8px;
}

.drawer .nav-link.active,
.drawer .nav-link:hover {
  background: rgba(255,255,255,0.19);
  font-weight: 700;
}

.drawer .close-btn {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 2.3em;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

/* =====================================================
   MAIN CONTENT + HEADER STATS (OVERLAY)
===================================================== */
.main-content {
  position: relative;
  padding-top: 0px;
}

.header-stats {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;

  display: flex;
  gap: 1.5rem;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.2rem;

  background: #fff;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.stat i {
  color: var(--main-blue);
}

.stat-count {
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray);
}

/* =====================================================
   HERO
===================================================== */
.hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f5f7ff 0%, #fff 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.hero-title {
  font-size: 3.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray);
}

/* =====================================================
   FEATURES / CARDS / BUTTONS 
   (UNCHANGED FUNCTIONALLY – SAFE FOR OTHER PAGES)
===================================================== */
/* — your existing card, features, buttons, footer CSS remains exactly as-is —
   I did not remove them to avoid breaking other pages */

/* =====================================================
   RESPONSIVE (FIXED & CLEAN)
===================================================== */
/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.uganda-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
}

.footer-contact {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-license {
    margin-top: 0.5rem;
    font-size: 0.75rem;
}
@media (max-width: 900px) {
 
.navbar {
    position: relative;
}

.drawer {
    position: fixed;
    top: 0;
    right: -100%;
}
 .hamburger {
    display: flex;
  }
.navbar {
width: 96.7%;
}
  .hamburger {
    display: flex;
  }

  .hero .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-stats {
    top: 20px;
    transform: translateX(-50%) scale(0.95);
  }
.navbar {
width: 95%;
}
}


/* ===== CARD STYLES ===== */
.card, .demo-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.19s, box-shadow 0.19s;
}

.card {
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 300px;
  padding: 38px 28px 26px 28px;
  cursor: pointer;
}

.demo-card {
  flex: 1 1 270px;
  min-width: 270px;
  max-width: 320px;
  padding: 32px 24px 22px 24px;
  position: relative;
}

.card:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 12px 36px rgba(16, 70, 124, 0.16);
}

.demo-card:hover {
  transform: translateY(-5px) scale(1.035);
  box-shadow: 0 15px 34px rgba(16, 70, 124, 0.19);
}

.card h2, .demo-card h2 {
  color: var(--main-blue);
  margin-bottom: 10px;
}

.card h2 {
  font-size: 1.35em;
  margin: 0 0 14px 0;
  letter-spacing: 1px;
}

.demo-card h2 {
  font-size: 1.17em;
}

.card .icon {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: var(--main-green);
}

.card p, .demo-card p {
  color: #53536f;
}

.card p {
  font-size: 1.04em;
  margin: 18px 0 28px 0;
  min-height: 60px;
}

.demo-card p {
  font-size: 1em;
  min-height: 40px;
  color: #5e5e7a;
}

/* ===== BUTTON STYLES ===== */
.card button, .demo-btn, .full-width-btn, .offline-btn, .back-btn, .forward-btn {
  background: var(--main-blue);
  color: #fff;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.16s;
}

.card button {
  font-size: 1em;
  padding: 12px 30px;
}

.demo-btn {
  font-size: 1em;
  padding: 10px 20px;
  margin: 2px;
  text-decoration: none;
  display: inline-block;
}

.full-width-btn, .offline-btn {
  font-size: 1.09em;
  padding: 14px 0;
  width: 100%;
  margin-top: 18px;
}

.back-btn, .forward-btn {
  font-size: 1.09em;
  padding: 8px 18px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
}

.card button:hover, .demo-btn:hover, 
.full-width-btn:hover, .offline-btn:hover {
  background: var(--card-blue);
}

.back-btn:hover, .forward-btn:hover {
  background: var(--main-green);
}

/* ===== LAYOUT STYLES ===== */
.options, .demo-list {
  margin: 44px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.options {
  margin: -40px auto 30px auto;
  max-width: 1000px;
  gap: 40px;
  z-index: 2;
  position: relative;
}

.demo-list {
  max-width: 960px;
  gap: 38px;
}

.options-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.platform-label {
  font-size: 0.96em;
  color: var(--main-blue);
  margin-bottom: 3px;
  display: block;
}

/* ===== PROFILE SECTION ===== */
.profile-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 12px 28px;
  background: #eaf7fe;
  border-bottom: 1px solid #dbeffd;
}

.profile-pic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--main-blue);
  background: #fff;
}

.profile-name {
  font-weight: bold;
  color: var(--main-blue);
  font-size: 1.05em;
  margin-right: 4px;
}

/* ===== SUBSCRIPTION SECTION ===== */
.subscription-section, .offline-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(16, 70, 124, 0.08);
  max-width: 650px;
  margin: 42px auto 28px auto;
  padding: 32px 30px 28px 30px;
}

.subscription-section h2, .offline-section h2 {
  color: var(--main-blue);
  font-size: 1.15em;
  margin-top: 0;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.plans-row {
  display: flex;
  gap: 18px;
  margin: 25px 0 32px 0;
  flex-wrap: wrap;
  justify-content: space-between;
}

.plan-card {
  flex: 1 1 110px;
  min-width: 140px;
  max-width: 190px;
  background: #f8faff;
  border-radius: 12px;
  text-align: center;
  padding: 22px 12px 18px 12px;
  box-shadow: 0 2px 8px rgba(36,147,245,0.08);
  border: 2px solid transparent;
  transition: border 0.18s, box-shadow 0.18s;
  cursor: pointer;
  margin-bottom: 10px;
}

.plan-card.selected, .plan-card:hover {
  border: 2px solid var(--main-blue);
  box-shadow: 0 6px 20px rgba(36,147,245,0.10);
}

.plan-amt {
  font-size: 1.4em;
  font-weight: 700;
  color: var(--main-green);
}

.plan-desc {
  font-size: 1em;
  color: #53536f;
  margin-top: 6px;
}

.try-demo-link {
  display: inline-block;
  margin: 18px 0 3px 0;
  color: var(--main-blue);
  font-size: 1.05em;
  text-decoration: underline;
  cursor: pointer;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--gray);
    font-size: 1.125rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

/* Uganda Section */
.uganda-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
}

.uganda-banner {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.uganda-flag {
    display: flex;
    flex-direction: column;
    width: 80px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
}

.flag-black {
    flex: 1;
    background: #000;
}

.flag-yellow {
    flex: 1;
    background: #FFD100;
}

.flag-red {
    flex: 1;
    background: #D90000;
}

.uganda-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.uganda-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.curriculum-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.badge {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
} 
