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

body {
  font-family: 'DM Sans', Arial, sans-serif;
  background: #fbfaf8;
  color: #0f1724;
  min-height: 100vh;
  padding: 40px;
}
.cta-wrapper {
  display: flex;
  flex-direction: column; /* stack vertically */
  gap: 60px;              /* spacing between components */
  width: 100%;
  }

.cta-section {
  width: 100%;
  max-width: 1200px;
  background: linear-gradient(135deg, orange, red);
  border-radius: 24px;
  padding: 60px;
  margin-top: 100px;
  margin-left: 200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  overflow: hidden;
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  filter: blur(60px);
}

.cta-content {
  flex: 1;
  z-index: 2;
}

.tag {
  display: inline-block;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 14px;
  margin-bottom: 20px;
}

.cta-content h1 {
  font-size: 52px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 35px;
  max-width: 550px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
}

button {
  border: none;
  padding: 16px 30px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s ease;
}

.primary-btn {
  background: #3b82f6;
  color: white;
  font-weight: bold;
}

.primary-btn:hover {
  background: #2563eb;
  transform: translateY(-3px);
}

.secondary-btn {
  background: transparent;
  border: 1px solid #475569;
  color: white;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.cta-image {
  flex: 1;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.cta-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.cta-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px;
  gap: 40px;
}
.cta-text {
  flex: 1;
}
.cta-text h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.cta-text p {
  color: #64748b;
  margin-bottom: 20px;
}
.cta-image img {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.cta-minimal {
  text-align: center;
  padding: 80px 40px;
}
.cta-minimal h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}
.cta-minimal p {
  color: #64748b;
  margin-bottom: 25px;
}
.cta-gradient {
  text-align: center;
  padding: 100px 40px;
  background: linear-gradient(135deg, lightblue, #ff7a3d);
  color: #fff;
  border-radius: 12px;
}
.cta-gradient h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.cta-gradient p {
  margin-bottom: 25px;
  opacity: .9;
}

/* ===== CTA CARDS GRID ===== */
.cta-cards {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 60px auto;
}
.cta-cards-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cta-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 36, 0.06);
  color: #0f1724;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.cta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 48px rgba(15, 23, 42, 0.08);
}
.cta-card .card-icon {
  font-size: 22px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg,#ff7a3d,#ffb27d);
  color: #fff;
  border-radius: 10px;
}
.cta-card h3 {
  font-size: 18px;
  margin: 0;
  color: #0f1724;
}
.cta-card p { color: #475569; font-size: 14px; }
.card-actions { margin-top: 8px; display:flex; gap:10px; align-items:center; }
.btn-outline { padding:8px 14px; border-radius:10px; border:1px solid rgba(255,122,61,0.14); color:#ff7a3d; text-decoration:none; background:transparent; }
.btn-link { color: #6b7280; font-size:13px; text-decoration:none; background:transparent; padding:6px 8px; border-radius:8px; }
.btn-link:hover { text-decoration:underline; color:#374151; }

/* responsive */
@media (max-width: 900px) {
  .cta-cards-inner { grid-template-columns: 1fr; }
  .cta-section { padding: 30px; }
}


/* Responsive */
@media (max-width: 900px) {
  .cta-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
  }

  .cta-content h1 {
    font-size: 38px;
  }

  .cta-content p {
    margin: 0 auto 30px;
  }

  .cta-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.cta-section {
  position: relative;
  overflow: hidden;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
}

.glow-1 {
  width: 350px;
  height: 350px;
  background: #6c63ff;
  top: -100px;
  left: -100px;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: #00d4ff;
  bottom: -150px;
  right: -150px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.trust-badges span {
  background: rgba(255,255,255,0.08);
  padding: 10px 16px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.cta-image {
  position: relative;
}

.floating-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  font-weight: 600;
}

.top-card {
  top: 20px;
  left: -20px;
}

.bottom-card {
  bottom: 20px;
  right: -20px;
}

.final-cta {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(
    135deg,
    #6c63ff,
    #00d4ff
  );
  color: white;
}

.final-cta h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 20px;
}

.cta-content,
.cta-card,
.final-cta {
  animation: fadeUp .8s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ============================================================
   THEME STYLING OVERRIDES
   Navbar, Sidebar, and Footer theme colors:
   - Light Mode: White background, dark text/icons
   - Dark Mode: Black background, light/white text/icons
   ============================================================ */

/* ==========================================
   1. LIGHT MODE SPECIFIC (body:not(.dark-mode))
   ========================================== */
body:not(.dark-mode) .navbar,
body:not(.dark-mode) header.navbar,
body:not(.dark-mode) nav.navbar,
body:not(.dark-mode) .sidebar,
body:not(.dark-mode) aside.sidebar,
body:not(.dark-mode) .footer,
body:not(.dark-mode) footer.footer {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-color: #e2e8f0 !important;
}

/* Ensure text, icons, links inside these components are dark */
body:not(.dark-mode) .navbar *,
body:not(.dark-mode) header.navbar *,
body:not(.dark-mode) nav.navbar *,
body:not(.dark-mode) .sidebar *,
body:not(.dark-mode) aside.sidebar *,
body:not(.dark-mode) .footer *,
body:not(.dark-mode) footer.footer * {
  color: #334155 !important;
}

/* Titles and major headings */
body:not(.dark-mode) .navbar .logo,
body:not(.dark-mode) .sidebar .sidebar-brand,
body:not(.dark-mode) .sidebar h2,
body:not(.dark-mode) .sidebar .brand-text,
body:not(.dark-mode) .footer h2,
body:not(.dark-mode) .footer h3,
body:not(.dark-mode) .footer-logo {
  color: #0f172a !important;
}

/* Sidebar navigation links */
body:not(.dark-mode) .sidebar-nav li a,
body:not(.dark-mode) .sidebar ul li a,
body:not(.dark-mode) .sidebar a {
  background: transparent !important;
  color: #475569 !important;
}

/* Sidebar active link and hover states */
body:not(.dark-mode) .sidebar-nav li.active a,
body:not(.dark-mode) .sidebar-nav li a:hover,
body:not(.dark-mode) .sidebar ul li.active a,
body:not(.dark-mode) .sidebar ul li a:hover,
body:not(.dark-mode) .sidebar a:hover,
body:not(.dark-mode) .sidebar .active a {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

body:not(.dark-mode) .sidebar-nav li.active a *,
body:not(.dark-mode) .sidebar-nav li a:hover *,
body:not(.dark-mode) .sidebar ul li.active a *,
body:not(.dark-mode) .sidebar ul li a:hover *,
body:not(.dark-mode) .sidebar a:hover *,
body:not(.dark-mode) .sidebar .active a * {
  color: #0f172a !important;
}

/* Footer links hover */
body:not(.dark-mode) .footer a:hover,
body:not(.dark-mode) footer.footer a:hover {
  color: #4f46e5 !important; /* Premium brand indigo */
}

/* Search bar inside navbar */
body:not(.dark-mode) .search-bar input {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}
body:not(.dark-mode) .search-bar input::placeholder {
  color: #64748b !important;
}

/* Outline and secondary buttons inside light navbar/sidebar */
body:not(.dark-mode) .navbar .nav-btn.outline-nav-btn,
body:not(.dark-mode) .navbar .outline-btn {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}
body:not(.dark-mode) .navbar .nav-btn.outline-nav-btn:hover,
body:not(.dark-mode) .navbar .outline-btn:hover {
  background-color: #f1f5f9 !important;
}


/* ==========================================
   2. DARK MODE SPECIFIC (body.dark-mode)
   ========================================== */
body.dark-mode .navbar,
body.dark-mode header.navbar,
body.dark-mode nav.navbar,
body.dark-mode .sidebar,
body.dark-mode aside.sidebar,
body.dark-mode .footer,
body.dark-mode footer.footer {
  background: #000000 !important;
  background-color: #000000 !important;
  color: #f8fafc !important;
  border-color: #1e293b !important;
  box-shadow: none !important;
}

/* Ensure text, icons, links inside these components are light */
body.dark-mode .navbar *,
body.dark-mode header.navbar *,
body.dark-mode nav.navbar *,
body.dark-mode .sidebar *,
body.dark-mode aside.sidebar *,
body.dark-mode .footer *,
body.dark-mode footer.footer * {
  color: #cbd5e1 !important; /* slate-300 */
}

/* Titles and major headings */
body.dark-mode .navbar .logo,
body.dark-mode .sidebar .sidebar-brand,
body.dark-mode .sidebar h2,
body.dark-mode .sidebar .brand-text,
body.dark-mode .footer h2,
body.dark-mode .footer h3,
body.dark-mode .footer-logo {
  color: #ffffff !important;
}

/* Sidebar navigation links */
body.dark-mode .sidebar-nav li a,
body.dark-mode .sidebar ul li a,
body.dark-mode .sidebar a {
  background: transparent !important;
  color: #94a3b8 !important;
}

/* Sidebar active link and hover states */
body.dark-mode .sidebar-nav li.active a,
body.dark-mode .sidebar-nav li a:hover,
body.dark-mode .sidebar ul li.active a,
body.dark-mode .sidebar ul li a:hover,
body.dark-mode .sidebar a:hover,
body.dark-mode .sidebar .active a {
  background-color: #1e293b !important; /* slate-800 */
  color: #ffffff !important;
}

body.dark-mode .sidebar-nav li.active a *,
body.dark-mode .sidebar-nav li a:hover *,
body.dark-mode .sidebar ul li.active a *,
body.dark-mode .sidebar ul li a:hover *,
body.dark-mode .sidebar a:hover *,
body.dark-mode .sidebar .active a * {
  color: #ffffff !important;
}

/* Footer links hover */
body.dark-mode .footer a:hover,
body.dark-mode footer.footer a:hover {
  color: #818cf8 !important; /* Indigo-400 */
}

/* Search bar inside navbar */
body.dark-mode .search-bar input {
  background-color: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #1e293b !important;
}
body.dark-mode .search-bar input::placeholder {
  color: #475569 !important;
}

/* Secondary/outline buttons in dark navbar */
body.dark-mode .navbar .nav-btn.outline-nav-btn,
body.dark-mode .navbar .outline-btn {
  background-color: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #334155 !important;
}
body.dark-mode .navbar .nav-btn.outline-nav-btn:hover,
body.dark-mode .navbar .outline-btn:hover {
  background-color: #0f172a !important;
}


/* ==========================================
   3. THEME TOGGLE BUTTON STYLING (GLOBAL)
   ========================================== */
.theme-toggle,
#darkModeToggle,
#theme-toggle {
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  font-size: 1.15rem !important;
  padding: 8px 12px !important;
  border-radius: 9999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

body:not(.dark-mode) .theme-toggle,
body:not(.dark-mode) #darkModeToggle,
body:not(.dark-mode) #theme-toggle {
  color: #475569 !important;
  background-color: #f1f5f9 !important;
}
body:not(.dark-mode) .theme-toggle:hover,
body:not(.dark-mode) #darkModeToggle:hover,
body:not(.dark-mode) #theme-toggle:hover {
  color: #0f172a !important;
  background-color: #e2e8f0 !important;
  transform: scale(1.05);
}

body.dark-mode .theme-toggle,
body.dark-mode #darkModeToggle,
body.dark-mode #theme-toggle {
  color: #e2e8f0 !important;
  background-color: #1e293b !important;
}
body.dark-mode .theme-toggle:hover,
body.dark-mode #darkModeToggle:hover,
body.dark-mode #theme-toggle:hover {
  color: #ffffff !important;
  background-color: #334155 !important;
  transform: scale(1.05);
}

/* Floating theme toggle button (for pages without navbar/sidebar) */
.theme-toggle-floating {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  z-index: 9999 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}
body.dark-mode .theme-toggle-floating {
  box-shadow: 0 4px 12px rgba(0,0,0,0.5) !important;
}

/* Sidebar list item toggle button */
.sidebar .theme-toggle-sidebar {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 16px !important;
  width: calc(100% - 32px) !important;
  margin: 10px 16px !important;
  border-radius: 8px !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  border: none !important;
  background-color: transparent !important;
}
body:not(.dark-mode) .sidebar .theme-toggle-sidebar {
  color: #475569 !important;
  background-color: #f1f5f9 !important;
}
body:not(.dark-mode) .sidebar .theme-toggle-sidebar:hover {
  color: #0f172a !important;
  background-color: #e2e8f0 !important;
}
body.dark-mode .sidebar .theme-toggle-sidebar {
  color: #cbd5e1 !important;
  background-color: #1e293b !important;
}
body.dark-mode .sidebar .theme-toggle-sidebar:hover {
  color: #ffffff !important;
  background-color: #334155 !important;
}