
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f9fbff;
  color: #333;
}

/* Navbar */
/* Hamburger icon */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  height: 3px;
  width: 25px;
  background: white;
  border-radius: 2px;
}

/* Nav links default layout */
.nav-links {
  display: flex;
  gap: 25px;
}

/* Mobile responsive */
@media(max-width: 768px){
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 200px;
    background: #0b2046;
    flex-direction: column;
    padding-top: 100px;
    transition: right 0.3s ease;
    z-index: 1000;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links a {
    color: white;
    font-size: 1.2rem;
    margin: 20px 0;
  }

  .hamburger {
    display: flex;
  }

  .logo-text {
    display: none; /* optional: hide text next to logo on mobile */
  }
}

.logo img {
  height: 50px;
  
  border-radius: 10px;
  padding: 3px;
  background: rgba(132, 6, 6, 0.1);
}

header.navbar {
  background: #0b2046;
  color: white;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}




.logo {
  font-size: 1.8rem;
  font-weight: 600;
}

.logo span {
  color: #00ff99;
}

nav a {
  text-decoration: none;
  color: white;
  margin-left: 25px;
  transition: 0.3s;
}

nav a:hover {
  color: #00ff99;
}

.btn {
  background: #00ff99;
  padding: 8px 16px;
  border-radius: 8px;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #00e58a;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 100px 40px;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero h1 span {
  color: #00ff99;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn.primary {
  background: #00ff99;
  color: #000;
}

.btn.secondary {
  background: white;
  color: #1e3c72;
  border: 2px solid #00ff99;
}

.btn.secondary:hover {
  background: #00ff99;
  color: #000;
}

/* Features Section */
.features {
  text-align: center;
  padding: 80px 30px;
  background: #fff;
}

.features h2 {
  color: #1e3c72;
  margin-bottom: 50px;
  font-size: 2rem;
}

.feature-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.feature-card {
  background: #eef3ff;
  padding: 30px;
  border-radius: 15px;
  width: 300px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card h3 {
  color: #1e3c72;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Pricing Section */
.pricing {
  text-align: center;
  padding: 80px 30px;
  background: #eef3ff;
}

.pricing h2 {
  color: #1e3c72;
  margin-bottom: 50px;
  font-size: 2rem;
}

.plans {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.plan {
  background: white;
  border-radius: 15px;
  padding: 30px;
  width: 250px;
  box-shadow: 0 5px 20px rgba(80, 19, 233, 0.1);
  transition: 0.3s;
}

.plan:hover {
  transform: translateY(-5px);
}

.plan.highlighted {
  border: 2px solid #00ff99;
}

.plan h3 {
  color: #1e3c72;
  margin-bottom: 10px;
}

.plan p.price {
  font-size: 1.2rem;
  font-weight: 600;
  color: #00b875;
  margin-top: 10px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background: #1e3c72;
  color: white;
  font-size: 0.9rem;
}
/* Dashboard Navbar */
.dashboard-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
/* Transparent Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgb(6, 86, 46); /* semi-transparent dark */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}



/* Logo Image */
.logo img.logo-img {
  height: 100px;       /* increase size as needed */
  width: auto;        /* maintain aspect ratio */
  margin-right: 15px; /* space between logo and text */
  vertical-align: middle;
}
.logo img.logo-img {
  height: 70px;
  width: auto;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.7));
}
/* About panel */
.about-panel {
  position: fixed;
  top: 0;
  right: -400px; /* hidden initially */
  width: 400px;
  height: 100%;
  background-color: #91a7cfeb; /* solid white background */
  color: #333333;            /* readable text */
  box-shadow: -4px 0 20px rgba(0,0,0,0.3);
  transition: right 0.4s ease;
  z-index: 1000;
  overflow-y: auto;
  padding: 30px;
  border-left: 1px solid rgba(0,0,0,0.1);
}

/* When panel is active/open */
.about-panel.active {
  right: 0;
}

/* Overlay behind the panel */
.about-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* dims the background */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.about-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Panel text */
.about-panel h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.about-panel p {
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 1rem;
}




.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Welcome Section */
.dashboard-welcome {
  padding: 30px 20px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: white;
  text-align: center;
  border-radius: 0 0 20px 20px;
}

.dashboard-welcome h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.dashboard-welcome p {
  font-size: 1.1rem;
}

/* Main Dashboard Container */
.dashboard-main-container {
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Cards Layout */
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.dashboard-card {
  background: #fff;
  padding: 25px 20px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.dashboard-card h3 {
  color: #2563eb;
  margin-bottom: 10px;
}

/* Coins Bar */
.coins-bar {
  background: #e0e7ff;
  border-radius: 25px;
  overflow: hidden;
  height: 25px;
  margin: 15px 0;
}

.coins-fill {
  height: 100%;
  width: 40%;
  background: #2563eb;
  color: white;
  text-align: center;
  line-height: 25px;
  border-radius: 25px;
  transition: width 0.5s;
}

/* Rewards List */
.rewards-list {
  list-style: none;
  padding-left: 0;
}

.rewards-list li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.rewards-list li::before {
  content: '🎁';
  position: absolute;
  left: 0;
}

/* Study Materials Section */
.dashboard-study-materials h2 {
  margin-bottom: 20px;
  color: #2563eb;
}

.study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
}

.study-card {
  background: #2563eb;
  color: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.study-card:hover {
  background: #1e40af;
}

/* Responsive */
@media(max-width: 900px){
  .dashboard-cards {
    grid-template-columns: 1fr;
  }
}

/* Student List Table */
.dashboard-student-list {
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto 50px auto;
}

.dashboard-student-list h2 {
  color: #2563eb;
  margin-bottom: 15px;
}

.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

th, td {
  padding: 12px 15px;
  text-align: left;
}

th {
  background: #2563eb;
  color: #fff;
}

tr:nth-child(even) {
  background: #f3f4f6;
}

.btn.primary {
  padding: 6px 12px;
  font-size: 0.85rem;
  border-radius: 8px;
}

/* Responsive Table */
@media(max-width: 900px){
  table, thead, tbody, th, td, tr {
    display: block;
  }
  thead tr {
    display: none;
  }
  td {
    position: relative;
    padding-left: 50%;
    border-bottom: 1px solid #ddd;
  }
  td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    font-weight: 600;
  }
}
/* -------------------------------
  Teacher Dashboard Analytics Additions
----------------------------------*/
.dashboard-charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.chart-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  text-align: center;
}

.dashboard-quick-nav .quick-card {
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  text-align: center;
}

.dashboard-welcome h1 {
  font-size: 2rem;
  color: #2563eb;
}

/* Quick Stats Cards */
.dashboard-quick-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
}

.dashboard-quick-nav .quick-card {
  background: #f3f4f6;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.dashboard-quick-nav .quick-card:hover {
  background: #e0e7ff;
}

/* Teacher Info Card */
.teacher-info {
  padding: 20px;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.profile-card {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.profile-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-right: 20px;
  object-fit: cover;
}

.profile-details h2 {
  color: #1e40af;
  margin-bottom: 5px;
}

.profile-details p {
  color: #374151;
  margin: 3px 0;
}

/* Collapsible Sections */
.collapsible-container {
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.collapsible-card {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  overflow: hidden;
}

.collapsible-header {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  cursor: pointer;
  background: #f9fafb;
  font-weight: 600;
  color: #1e3a8a;
}

.collapsible-header:hover {
  background: #e0e7ff;
}

.collapsible-content {
  display: none;
  padding: 20px;
}

/* Tables inside collapsible */
.collapsible-content table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.collapsible-content table th,
.collapsible-content table td {
  padding: 10px;
  border: 1px solid #e5e7eb;
  text-align: center;
}

.collapsible-content table th {
  background: #f3f4f6;
  color: #1e40af;
}

/* Chart Wrapper */
.chart-wrapper {
  max-width: 500px;       /* compact width */
  height: 300px;          /* compact height */
  margin: 20px auto;      /* center horizontally */
}

/* Collapsible Sections */
.collapsible-card {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  overflow: hidden;
}

.collapsible-header {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  cursor: pointer;
  background: #f9fafb;
  font-weight: 600;
  color: #1e3a8a;
}

.collapsible-header:hover {
  background: #e0e7ff;
}

.collapsible-content {
  display: none;
  padding: 20px;
}

/* Quick Stats Cards */
.dashboard-quick-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
}

.dashboard-quick-nav .quick-card {
  background: #f3f4f6;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.dashboard-quick-nav .quick-card:hover {
  background: #e0e7ff;
}


/* Subscription Hero */
.subscription-hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: white;
}

/* Subscription Plans */
.subscription-plans {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}
/* Buttons in subscription plans */
.plan-card .btn {
  padding: 10px 20px;
  border-radius: 25px;
  border: 2px solid #2563eb;  /* outline for all buttons */
  background: transparent;     /* default transparent */
  color: #2563eb;             /* text color */
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.plan-card .btn:hover {
  background: #2563eb;        /* fill on hover */
  color: #fff;                /* text turns white */
}

/* Disabled Current Plan button */
.plan-card .btn[disabled] {
  border-color: #9ca3af;      /* gray border */
  color: #9ca3af;             /* gray text */
  cursor: not-allowed;
  background: transparent;
}


.plan-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 15px;
  width: 280px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.plan-card.highlighted {
  border: 2px solid #2563eb;
}

.plan-card h2 {
  color: #1e3a8a;
  margin-bottom: 10px;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.plan-card ul li {
  margin: 8px 0;
  color: #374151;
}

.plan-card .price {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2563eb;
  margin: 15px 0;
}

/* Subscription Benefits */
.subscription-benefits {
  text-align: center;
  padding: 50px 20px;
  background: #f3f4f6;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 30px auto 0;
}

.benefit-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.benefit-card:hover {
  background: #e0e7ff;
}

.benefit-card h3 {
  margin-bottom: 10px;
  color: #1e3a8a;
}

/* Gamification Hero */
.gamification-hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: white;
}

/* Coins Section */
.coins-section {
  max-width: 600px;
  margin: 40px auto;
  padding: 0 20px;
}

.coins-card {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.progress-bar {
  background: #e5e7eb;
  border-radius: 25px;
  overflow: hidden;
  margin: 15px 0;
  height: 30px;
}

.progress-fill {
  background: #2563eb;
  height: 100%;
  width: 0;
  color: white;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 25px;
  transition: width 0.5s ease;
}

/* Rewards Section */
.rewards-section {
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: center;
}

.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.reward-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.reward-card:hover {
  background: #e0e7ff;
}

.reward-card h3 {
  margin-bottom: 10px;
  color: #1e3a8a;
}
.reward-card .one-time {
  font-size: 0.9rem;
  color: #6b7280;  /* gray text */
  margin-bottom: 10px;
  font-style: italic;
}
/* Earn Coins Section */
.earn-coins-section {
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: center;
}

.earn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.earn-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.earn-card:hover {
  background: #e0e7ff;
}

.earn-card h3 {
  margin-bottom: 10px;
  color: #1e3a8a;
}

.earn-card p {
  font-size: 0.95rem;
  color: #374151;
}

/* About & Contact Panels - responsive */
@media(max-width: 768px){
  .about-panel {
    width: 80%;            /* smaller width on mobile */
    height: 100vh;         /* full height */
    top: 0;
    right: -80%;           /* hidden offscreen */
    border-left: none;     /* optional */
    padding: 20px;
    overflow-y: auto;      /* allow scrolling inside panel */
    z-index: 1001;
  }

  .about-panel.active {
    right: 0;
  }

  .about-overlay {
    z-index: 1000;        /* under panel */
  }

  /* optional: hide close button for mobile if you want click outside */
  .about-panel .close-btn {
    display: none;
  }
}
/* ====== FIX MOBILE HEADER ONLY (DESKTOP UNAFFECTED) ====== */
@media (max-width: 768px) {

  /* Ensure brand name shows properly beside logo */
  .navbar .logo {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .navbar .logo-text {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #efe9e9;
  }

  /* Hamburger visible only on mobile */
  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
  }

  .hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
  }

  /* Hide nav by default on mobile */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    width: 200px;
    padding: 10px 0;
    z-index: 1000;
  }

  /* Show nav when hamburger is active */
  .nav-links.active {
    display: flex;
  }

  /* Style nav links */
  .nav-links a {
    color: #333;
    padding: 12px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
  }

  .nav-links a:hover {
    background: #f5f5f5;
  }
}

/* On desktop (above 768px), ensure hamburger is hidden */
@media (min-width: 769px) {
  .hamburger {
    display: none;
  }
}

/* ========== Impact Chart (Before vs After) ========== */
.impact-section {
  padding: 48px 20px;
  background: linear-gradient(180deg, rgba(245,248,255,0.6), rgba(255,255,255,0.4));
  border-radius: 16px;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 8px 30px rgba(14,30,70,0.06);
}

.impact-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

.impact-header h2 {
  font-size: 1.75rem;
  color: #1e3c72;
  margin-bottom: 6px;
}

.impact-header .muted {
  color: #374151;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

/* table-like grid */
.impact-table-wrapper {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.impact-col {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(2,6,23,0.06);
  display: flex;
  flex-direction: column;
}

/* rows */
.impact-row {
  padding: 14px 16px;
  border-bottom: 1px solid #eef2ff;
  font-size: 0.95rem;
  color: #374151;
}

/* header row style */
.impact-col .header {
  background: linear-gradient(90deg,#e6f0ff,#f7fbff);
  color: #0b3b91;
  font-weight: 700;
  font-size: 1rem;
  border-bottom: 1px solid rgba(14,30,70,0.08);
}

/* column specific accents */
.impact-col.before { border-left: 4px solid #f59e0b; }   /* amber */
.impact-col.after { border-left: 4px solid #10b981; }    /* green */
.impact-col.labels { border-left: 4px solid #6366f1; }   /* indigo */

/* highlight differences on toggle */
.impact-row.diff-highlight {
  background: linear-gradient(90deg, rgba(16,185,129,0.07), rgba(255,255,255,0));
  transition: background 300ms ease;
}

/* CTA center */
.impact-cta {
  text-align: center;
  margin-top: 18px;
}

/* Button small tweak */
#impactToggle { padding: 8px 18px; border-radius: 10px; }

/* Responsive */
@media (max-width: 980px) {
  .impact-table-wrapper { grid-template-columns: 1fr; }
  .impact-col { margin-bottom: 12px; }
  .impact-col .header { position: sticky; top: 0; z-index: 5; }
}
/* --- Improve visibility of feature comparison columns --- */
.impact-col {
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}

/* Keep headers bold and clearer without changing style */
.impact-header {
  background: inherit;
  color: #111827;
  font-weight: 700;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

/* Make rows more readable and well-separated */
.impact-row {
  background-color: #f9fafb;
  color: #1f2937;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Alternate row shade for clarity */
.impact-row:nth-child(even) {
  background-color: #f3f4f6;
}

/* Subtle hover for clarity (if highlight feature needed) */
.impact-row:hover {
  background-color: #e5e7eb;
  transition: background-color 0.2s ease;
}
#chatbot-input-area {
  display: flex;
  border-top: 1px solid #ddd;
}

#chatbot-input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
}

#chatbot-send {
  padding: 10px 15px;
  background-color: #4f46e5;
  color: white;
  border: none;
  cursor: pointer;
}
#chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: Arial, sans-serif;
}

#chatbot-icon {
  width: 60px;
  height: 60px;
  background-color: #4f46e5;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

#chatbot-icon:hover {
  transform: scale(1.1);
}

#chatbot-window {
  display: none; /* Initially hidden */
  position: absolute;
  bottom: 70px; /* Above the icon */
  right: 0;
  width: 300px;
  max-height: 400px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  flex-direction: column;
  overflow: hidden;
}
/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #fff;
  position: relative;
  z-index: 1000;
}

.logo img {
  height: 40px;
  margin-right: 0.5rem;
}

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

.nav-links a, .nav-links select {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
}

/* Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 999;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100%;
    background-color: #fff;
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    z-index: 1001;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-overlay.active {
    display: block;
  }
}.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

.navbar .logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

.navbar .logo img {
  height: 40px;
  margin-right: 10px;
}

.navbar .logo span {
  color: #00ff99; /* highlight Grow */
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 15px;
}

#language-selector {
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: #fff;
  font-size: 1rem;
  cursor: pointer;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.navbar a.btn.primary {
  padding: 6px 12px;
  background-color: #4f46e5;
  color: #fff;
  border-radius: 5px;
}
/* For normal navbar links only */
.navbar a:not(.btn) {
  text-decoration: none;
  color: #4f46e5; /* your preferred color */
  font-weight: 500;
  transition: color 0.3s;
}

.navbar a:not(.btn):hover {
  color: #6366f1;
}

/* Keep the button styling separate */
.navbar a.btn {
  color: #fff;
  background-color: #4f46e5;
  padding: 6px 12px;
  border-radius: 5px;
  font-weight: 500;
  text-decoration: none;
}

.navbar a.btn:hover {
  background-color: #6366f1;
}
