@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

html {
  scroll-behavior: smooth;
}

:root {
  --font-main: "Inter", sans-serif;

  /* New Design System Colors */
  --purple-primary: #5b21b6;
  --purple-light: #7c3aed;
  --purple-pale: #c4b5fd;
  --navy-deep: #1a1a3e;

  /* Slate Palette */
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-50: #f8fafc;

  /* Semantic Colors */
  --success-green: #10b981;
  --warning-amber: #f59e0b;
  --error-red: #ef4444;
  --info-blue: #3b82f6;

  /* Legacy Colors (keep for compatibility) */
  --color-bg: #f8f9fa;
  --color-dark: #24262b;
  --color-light: #fff;
  --color-accent: #007bff;
  --color-text: #374151;
  --color-grid: #2734960a;
  --button-color: #140d52;
  --colour-nothings: #ff2e63;
  --up-color: #00d9ff;
  --up-shadow-rgb: 0, 217, 255;
  --primary-color: var(--purple-primary);
  --secondary-color: #f0f4f8;
  --font-color: #333;
  --white-color: #ffffff;
  --border-radius: 12px;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

  /* Shadows */
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-enhanced: 0 8px 24px rgba(91, 33, 182, 0.12);
  --shadow-focus: 0 0 0 4px rgba(91, 33, 182, 0.08);
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --color-light: #0f172a;
  --color-dark: #f8fafc;
  --slate-50: #1e293b;
  --slate-100: #334155;
  --slate-200: #475569;
  --slate-600: #94a3b8;
  --slate-700: #cbd5e1;
  --slate-800: #e2e8f0;
  --slate-900: #f1f5f9;
  --white: #1e293b;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Utility Classes */
.hidden {
  display: none !important;
}

* {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  box-sizing: border-box;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: var(--color-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-image {
  height: 60px;
  width: auto;
}

/* Nav Bar (Mobile) */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: all 0.3s ease-in-out;
  z-index: 999;
}

.nav-bar.show-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Nav Links */
.nav-lists {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.nav-link {
  text-decoration: none;
  font-size: 1.6rem;
  color: var(--color-text);
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--color-accent);
}

/* Mobile Nav Button */
.mobile-nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.theme-toggle:hover {
  background-color: var(--slate-100);
}

.theme-icon {
  width: 24px;
  height: 24px;
}

/* Dark mode icon color adjustment */
[data-theme="dark"] .theme-icon {
  filter: invert(1);
}

.mobile-nav-icon {
  height: 28px;
  width: 28px;
}

/* Main Content - Hero Section */
.main-content {
  width: 100%;
  background: transparent;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg,
      rgba(248, 249, 255, 1) 0%,
      rgba(255, 248, 240, 1) 50%,
      rgba(240, 249, 255, 1) 100%);
  padding: 80px 32px 60px;
  text-align: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero Headline */
.hero-headline {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #1e1e80 0%, #5b21b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subheadline {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: 40px;
}

/* Search Bar in Hero */
.search-bar-hero {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 720px;
  height: 68px;
  background: white;
  border: 2px solid transparent;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  margin: 20px auto 0 auto;
}

.search-bar-hero:focus-within {
  border-color: var(--purple-primary);
  box-shadow: 0 8px 24px rgba(91, 33, 182, 0.12), var(--shadow-focus);
  transform: translateY(-2px);
}

.search-icon-hero {
  position: absolute;
  left: 24px;
  width: 24px;
  height: 24px;
  opacity: 0.6;
  pointer-events: none;
  filter: invert(40%);
  transition: opacity 0.3s;
}

.search-bar-hero:focus-within .search-icon-hero {
  opacity: 0.8;
}

.search-bar-hero input {
  flex-grow: 1;
  padding: 0 20px 0 60px;
  border: none;
  outline: none;
  background: transparent;
  font-size: 18px;
  font-weight: 400;
  color: var(--navy-deep);
  font-family: var(--font-main);
}

.search-bar-hero input::placeholder {
  color: var(--slate-400);
  font-weight: 400;
}

.category-filter {
  width: 180px;
  height: 44px;
  padding: 0 16px;
  border: none;
  border-left: 1px solid var(--slate-200);
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-600);
  font-family: var(--font-main);
  cursor: pointer;
  outline: none;
  transition: background 0.2s;
  border-radius: 0 14px 14px 0;
}

.category-filter:hover {
  background: var(--slate-50);
}

.category-filter:focus {
  background: var(--slate-50);
}

/* Trust Signals */
.trust-signals {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease;
}

.trust-badge:hover {
  transform: scale(1.05);
}

.trust-icon {
  width: 20px;
  height: 20px;
  stroke: var(--success-green);
}

.trust-badge:nth-child(2) .trust-icon {
  stroke: var(--warning-amber);
}

.trust-badge:nth-child(3) .trust-icon,
.trust-badge:nth-child(4) .trust-icon {
  stroke: var(--slate-700);
}

.trust-badge span {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-700);
}

/* Footer */
footer {
  background-color: var(--color-dark);
  color: var(--color-light);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  border-top: 1px solid #e0e0e0;
}

.coupon-card {
  position: relative;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  box-shadow: var(--shadow-subtle);
  display: grid;
  grid-template-columns: 80px 80px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 28px;
  max-width: 900px;
  width: 100%;
  min-height: 140px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.coupon-card:hover {
  border-color: var(--purple-pale);
  box-shadow: var(--shadow-enhanced);
  transform: translateY(-4px);
}

.discount-badge {
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-light) 100%);
  color: white;
  padding: 8px 12px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(91, 33, 182, 0.24);
  grid-column: 1;
  align-self: center;
  justify-self: center;
}

.logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--slate-50);
  padding: 8px;
  grid-column: 2;
}

.coupon-content {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.coupon-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.4;
}

.coupon-desc {
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.5;
}

.coupon-desc b {
  color: var(--purple-primary);
  font-weight: 700;
}

.copy-btn {
  grid-column: 4;
  background-color: var(--purple-primary);
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 140px;
  justify-content: center;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background-color: var(--purple-light);
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(91, 33, 182, 0.24);
}

.coupon-code {
  font-weight: bold;
  letter-spacing: 0.5px;
}

.copy-icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.pw-body-coupon-card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.search-bar-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 30px auto 20px;
  padding: 0 16px;
}

.search-bar {
  position: relative;
  display: flex;
  align-items: center;
  background: #f9f9f9;
  border: 1.8px solid #ccc;
  border-radius: 40px;
  padding: 12px 20px 12px 48px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-bar:focus-within {
  border-color: #2d2dc0;
  /* royal blue */
  box-shadow: 0 0 0 4px rgba(45, 45, 192, 0.25);
  /* subtle blue glow */
}

.search-icon {
  position: absolute;
  left: 18px;
  width: 20px;
  height: 20px;
  opacity: 0.6;
  pointer-events: none;
  filter: invert(40%);
}

.search-bar input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #222;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color 0.3s;
}

.search-bar input::placeholder {
  color: #888;
  font-weight: 400;
}

.no-results {
  margin-top: 15px;
  text-align: center;
  color: #d7263d;
  font-size: 15px;
  background-color: #fff0f0;
  padding: 10px 16px;
  border-radius: 8px;
  display: none;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(255, 0, 0, 0.05);
}

.hidden {
  display: none !important;
}

.announcement-banner {
  margin-top: 2rem;
  background: linear-gradient(to right,
      #FF9933,
      /* Saffron */
      #FFFFFF,
      /* White */
      #138808
      /* Green */
    );
  color: #000000;
  /* Black text for contrast */
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  width: 100%;
}

.announcement-content {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: slide-left 25s linear infinite;
}

.announcement-content span {
  display: inline-block;
  margin-right: 80px;
  font-weight: 700;
  /* Bolder text */
  /* Add a subtle text shadow to make the text pop, like a light source */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Optional: Add a simple twinkling or "sparkle" effect */
.announcement-content span::before {
  content: '✨ ';
  /* Adding a sparkle emoji/character */
  color: #000000;
  /* Black color for the sparkle */
}

@keyframes slide-left {

  /* Keep your existing animation for the scrolling effect */
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}


.all-course-table-sections {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.pw-coupon-table-headings {
  font-style: italic;
  font-weight: 700;
  text-align: center;
  color: #2d2dc0;
  margin: 1rem 0 1rem 0;
  font-size: 2rem;
}

.table-sections {
  width: 100%;
  max-width: 1200px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Segoe UI', sans-serif;
}

thead tr {
  background-color: #1e1e80;
  color: white;
}

th,
td {
  padding: 12px 10px;
  border: 1px solid #ddd;
}

th {
  text-align: left;
}

td {
  text-align: left;
}

td:last-child {
  text-align: center;
  font-weight: 500;
  color: #000;
}

@media (max-width: 600px) {

  table th,
  table td {
    padding: 22px 14px !important;
  }
}

.coupon-section {
  max-width: 1200px;
  margin: 2rem 2rem;
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.coupon-section h2 {
  color: #2d2dc0;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 20px;
}

.steps {
  list-style: decimal inside;
  padding-left: 0;
  margin-bottom: 20px;
}

.steps li {
  margin-bottom: 15px;
}

.steps code {
  background: #f2f2f2;
  padding: 2px 6px;
  border-radius: 4px;
  color: #d63384;
  font-weight: bold;
}

.tip {
  background: #fff3cd;
  border-left: 6px solid #ffc107;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 15px;
}

.faq-container {
  max-width: 800px;
  margin: auto;
}

.faq-container h2 {
  font-size: 24px;
  color: #2d2dc0;
  margin-bottom: 20px;
  text-align: center;
}

a {
  text-decoration: none;
}

.faq-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  background-color: #eef3ff;
}

.faq-icon {
  width: 26px;
  height: 26px;
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 24px 20px 24px;
  display: none;
  animation: fadeIn 0.3s ease;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .coupon-section {
    max-width: 98vw;
    margin: 1.5rem 1vw;
    padding: 18px 12px;
    border-radius: 10px;
  }

  .faq-container {
    max-width: 98vw;
    padding: 0 8px;
  }

  .faq-header,
  .faq-answer {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 600px) {
  .table-sections {
    width: 100%;
    overflow-x: auto;
  }

  table {
    font-size: 14px;
    width: 100%;
  }

  th {

    text-align: center;
  }

  .coupon-section {
    max-width: 100vw;
    margin: 1rem 0.5rem;
    padding: 10px 4px;
    border-radius: 8px;
  }

  .coupon-section h2 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .steps {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .steps li {
    margin-bottom: 8px;
  }

  .steps code {
    font-size: 13px;
    padding: 1px 4px;
  }

  .tip {
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 6px;
  }

  .faq-container {
    max-width: 100vw;
    padding: 0 2px;
  }

  .faq-header {
    font-size: 15px;
    padding: 10px 6px;
  }

  .faq-answer {
    font-size: 13px;
    padding: 0 6px 10px 6px;
  }
}

@media (min-width: 768px) {
  .mobile-nav-btn {
    display: none;
  }

  .nav-bar {
    position: static;
    width: auto;
    height: auto;
    background: none;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: none;
  }

  .nav-lists {
    flex-direction: row;
    gap: 1.5rem;
    justify-content: flex-end;
  }

  .nav-link {
    font-size: 1rem;
  }
}

/* Mobile Screen  */
@media (max-width: 768px) {

  /* Hero Section Mobile */
  .hero-section {
    padding: 48px 16px 40px;
  }

  .hero-headline {
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .hero-subheadline {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .search-bar-hero {
    flex-direction: column;
    height: auto;
    padding: 16px;
    max-width: 100%;
  }

  .search-bar-hero input {
    padding: 12px 12px 12px 48px;
    font-size: 16px;
    width: 100%;
  }

  .search-icon-hero {
    left: 16px;
  }

  .category-filter {
    width: 100%;
    margin-top: 12px;
    border-left: none;
    border-top: 1px solid var(--slate-200);
    border-radius: 8px;
    padding: 12px 16px;
  }

  /* Trust Badges Mobile  */
  .trust-signals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
    margin-top: 24px;
  }

  .trust-badge {
    font-size: 13px;
  }

  .trust-icon {
    width: 18px;
    height: 18px;
  }

  /* Coupon Cards Mobile */
  .coupon-card {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
    padding: 24px !important;
    gap: 20px !important;
    max-width: 100% !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
  }

  /* Featured Card in Hero - Override inline styles */
  .hero-container .coupon-card {
    margin-top: 32px !important;
  }

  .discount-badge {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    left: auto !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    z-index: 1 !important;
    grid-column: unset !important;
  }

  .logo {
    grid-row: 1 !important;
    grid-column: unset !important;
    width: 72px !important;
    height: 72px !important;
    justify-self: center !important;
    margin-top: 20px !important;
    margin-bottom: 8px !important;
  }

  .coupon-content {
    grid-row: 2 !important;
    grid-column: unset !important;
    text-align: center !important;
    padding: 0 8px !important;
  }

  .coupon-title {
    font-size: 17px !important;
    line-height: 1.5 !important;
    margin-bottom: 8px !important;
  }

  .coupon-desc {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .copy-btn {
    grid-row: 3 !important;
    grid-column: unset !important;
    width: 100% !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
    min-height: 52px !important;
    min-width: unset !important;
  }

  .pw-body-coupon-card-container {
    padding: 1rem 0.5rem;
  }

  .pw-coupon-table-headings {
    font-size: 1.4rem;
    font-weight: 700;
    padding: 0 1rem;
  }
}

/* Tablet / Medium Screens (600px - 768px) */
@media (min-width: 600px) and (max-width: 768px) {
  .coupon-card {
    grid-template-columns: 100px 1fr auto;
    grid-template-rows: auto auto;
    padding: 24px;
    gap: 20px;
  }

  .discount-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    grid-column: unset;
  }

  .logo {
    grid-row: 1 / span 2;
    grid-column: 1;
    width: 80px;
    height: 80px;
    justify-self: center;
    align-self: center;
    margin-top: 0;
  }

  .coupon-content {
    grid-row: 1 / span 2;
    grid-column: 2;
    text-align: left;
  }

  .copy-btn {
    grid-row: 1 / span 2;
    grid-column: 3;
    width: auto;
    min-width: 140px;
    align-self: center;
  }
}

/* Coupon Section (Simple Steps) */
.coupon-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 1rem;
}

.coupon-section h2 {
  text-align: center;
  color: #111;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.reviews-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 1rem;
}

.reviews-section h2 {
  text-align: center;
  color: #111;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.review-card {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
  transition: transform 0.2s ease;
}

.review-card:hover {
  transform: translateY(-4px);
}

.review-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #007bff;
}

.review-card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Chatbot */
/* Chat Icon Styles */
.chat-icon {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: transform 0.2s ease-out;
}

.chat-icon:hover {
  transform: scale(1.1);
}

.chat-icon svg {
  width: 32px;
  height: 32px;
}

/* Chat Box Styles */
.chatbot-box {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 350px;
  max-width: 90vw;
  background: var(--white-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: none;
  flex-direction: column;
  z-index: 1001;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.chatbot-box.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.chat-header {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 15px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  background: none;
  border: none;
  color: var(--white-color);
  cursor: pointer;
  padding: 0;
}

.close-btn svg {
  width: 20px;
  height: 20px;
}

.chat-body {
  padding: 20px;
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-body::-webkit-scrollbar {
  width: 6px;
}

.chat-body::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}

.message {
  padding: 10px 15px;
  border-radius: 18px;
  max-width: 80%;
  line-height: 1.4;
}

.bot-message {
  background-color: var(--secondary-color);
  color: var(--font-color);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.user-message {
  background-color: var(--primary-color);
  color: var(--white-color);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 15px;
}

.typing-indicator span {
  height: 8px;
  width: 8px;
  background-color: #aaa;
  border-radius: 50%;
  display: inline-block;
  animation: bounce 1.2s infinite;
}

.typing-indicator span:nth-of-type(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-of-type(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {

  0%,
  60%,
  100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-6px);
  }
}

.chat-footer {
  display: flex;
  border-top: 1px solid #e0e0e0;
  padding: 10px;
}

.chat-footer input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  outline: none;
  font-size: 1rem;
  margin-right: 10px;
  transition: border-color 0.2s;
}

.chat-footer input:focus {
  border-color: var(--primary-color);
}

.chat-footer button {
  background: var(--primary-color);
  color: var(--white-color);
  border: none;
  padding: 0 15px;
  border-radius: var(--border-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.chat-footer button:hover {
  background: #0056b3;
}

.chat-footer button svg {
  width: 20px;
  height: 20px;
}

.copy-btn {
  margin-top: 10px;
  color: var(--white-color);
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.chatbot-box img {
  filter: invert(100%);
}

/* Mobile-friendly Chatbot Styles */
@media (max-width: 600px) {
  .chat-icon {
    width: 48px;
    height: 48px;
    bottom: 16px;
    right: 16px;
  }

  .chat-icon svg {
    width: 24px;
    height: 24px;
  }

  .chatbot-box {
    width: 98vw;
    max-width: 98vw;
    right: 1vw;
    bottom: 70px;
    border-radius: 10px;
    padding: 0;
  }

  .chat-header {
    padding: 12px 10px;
    font-size: 1rem;
  }

  .chat-body {
    padding: 12px 6px;
    max-height: 220px;
    font-size: 0.95rem;
    gap: 8px;
  }

  .message {
    padding: 8px 10px;
    font-size: 0.97rem;
    max-width: 95%;
  }

  .chat-footer {
    padding: 8px 4px;
  }

  .chat-footer input {
    padding: 10px;
    font-size: 0.97rem;
    margin-right: 6px;
    border-radius: 8px;
  }

  .chat-footer button {
    padding: 0 10px;
    border-radius: 8px;
  }

  .copy-btn {
    width: 100%;
    margin-top: 8px;
    padding: 8px 0;
    font-size: 0.95rem;
    border-radius: 8px;
    justify-content: center;
  }
}

/* Footer Styles */
.footer-container {
  background-color: var(--white-color);
  border-top: 1px solid #eee;
  padding: 60px 20px 20px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.footer-col h3 {
  color: var(--navy-deep);
  font-size: 1.25rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-desc {
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.footer-trust span {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 10px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--slate-600);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  text-align: center;
  color: var(--slate-400);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin-bottom: 8px;
}