:root {
  --default-font: 'Be Vietnam Pro', sans-serif;
  --heading-font: 'Be Vietnam Pro', sans-serif;
  --nav-font: 'Be Vietnam Pro', sans-serif;
  --body-font-weight: 400;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #F8F9FB; /* Background color for the entire website, including individual sections */
  --default-color: #0a0a0a; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #0B3558; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #0058D3; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #212529;  /* The default color of the main navmenu links */
  --nav-hover-color: #0058D3; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #0d83fd; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

html {
  scroll-behavior: smooth;
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f3f9ff;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #0058D3;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #0058D3;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  padding: 0;
  transition: all 0.5s;
  z-index: 997;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
}

.header .header-container {
  border-radius: 0;
  padding: 5px 25px;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Scrolled state styles */
.scrolled .header {
  background-color: #ffffff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.scrolled .header .logo h1 {
  color: #2d405f;
}

.scrolled .navmenu ul li a,
.scrolled .navmenu ul li a:focus {
  color: #2d405f;
}

.scrolled .navmenu ul li:hover > a,
.scrolled .navmenu .active,
.scrolled .navmenu .active:focus {
  color: var(--accent-color);
}

.scrolled .mobile-nav-toggle {
  color: #2d405f;
}

/* Logo styles */
.header .logo {
  line-height: 1;
  padding-left: 5px;
  display: flex;
  align-items: center;
}

.header .logo img {
  max-height: 34px;
  margin-right: 0px;
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 500;
  color: var(--default-color);
  transition: color 0.3s;
}

/* Button styles */
.header .btn-getstarted,
.header .btn-getstarted:focus {
  border: none;
  cursor: pointer;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
}

.header .bbtn-getstarted,
.header .bbtn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 12px 20px 8px 20px;
  margin: 0 0 0 0px;
  border-radius: 7px;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  font-family: var(--nav-font);
}

.header .bbtn-getstarted:hover,
.header .bbtn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

/* Desktop Navigation */
@media (min-width: 1210px) {
  .navmenu {
    padding: 0;
  }

.navmenu ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navmenu li {
  position: relative;
}

.navmenu a,
.navmenu a:focus {
  color: var(--default-color);
  padding: 18px 15px;
  font-size: 16px;
  font-family: var(--nav-font);
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  transition: 0.3s;
  text-decoration: none;
}

.navmenu a i,
.navmenu a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
  transition: 0.3s;
}

.navmenu li:last-child a {
  padding-right: 0;
}

.navmenu li:hover > a,
.navmenu .active,
.navmenu .active:focus {
  color: var(--nav-hover-color);
}

/* Dropdown menu */
.navmenu .dropdown ul {
  margin: 0;
  padding: 10px 0;
  display: block;
  position: absolute;
  visibility: hidden;
  left: 14px;
  top: 130%;
  opacity: 0;
  transition: 0.3s;
  border-radius: 4px;
  z-index: 99;
}

.navmenu .dropdown ul li {
  min-width: 200px;
}

.navmenu .dropdown ul a {
  padding: 10px 20px;
  font-size: 15px;
  text-transform: none;
}

.navmenu .dropdown ul a i {
  font-size: 12px;
}

.navmenu .dropdown ul a:hover,
.navmenu .dropdown ul .active:hover,
.navmenu .dropdown ul li:hover > a {
  color: var(--nav-dropdown-hover-color);
}

.navmenu .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navmenu .dropdown .dropdown ul {
  top: 0;
  left: -90%;
  visibility: hidden;
}

.navmenu .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: -100%;
  visibility: visible;
}
}

/* Mobile Navigation */
@media (max-width: 1210px) {
  .mobile-nav-toggle {
    color: var(--default-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
    display: block;
  }

.navmenu {
  padding: 0;
  z-index: 9997;
}

.navmenu ul {
  display: none;
  list-style: none;
  position: absolute;
  inset: 60px 20px 20px 20px;
  padding: 10px 0;
  margin: 0;
  border-radius: 6px;
  background-color: var(--nav-mobile-background-color);
  overflow-y: auto;
  transition: 0.3s;
  z-index: 9998;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-dropdown-color);
  padding: 10px 20px;
  font-family: var(--nav-font);
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  transition: 0.3s;
  text-decoration: none;
}

.navmenu a i,
.navmenu a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.navmenu a i:hover,
.navmenu a:focus i:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: var(--nav-dropdown-hover-color);
}

.navmenu .active i,
.navmenu .active:focus i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(180deg);
}

.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 10px 0;
  margin: 10px 20px;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: none;
  transition: all 0.5s ease-in-out;
}

.navmenu .dropdown ul ul {
  background-color: rgba(33, 37, 41, 0.1);
}

.navmenu .dropdown > .dropdown-active {
  display: block;
  background-color: rgba(33, 37, 41, 0.03);
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav-toggle {
  color: #2d405f;
  position: absolute;
  font-size: 32px;
  top: 15px;
  right: 15px;
  margin-right: 0;
  z-index: 9999;
}

.mobile-nav-active .navmenu {
  position: fixed;
  overflow: hidden;
  inset: 0;
  background: rgba(33, 37, 41, 0.8);
  transition: 0.3s;
}

.mobile-nav-active .navmenu > ul {
  display: block;
}

/* Scrolled state for mobile */
.scrolled .mobile-nav-toggle {
  color: #2d405f;
}

.scrolled.mobile-nav-active .mobile-nav-toggle {
  color: #2d405f;
}
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .header {
    padding-top: 0;
  }

.header .header-container {
  margin-left: 0;
  margin-right: 0;
  padding: 10px 5px 10px 15px;
}

.header .logo {
  order: 1;
}

.header .btn-getstarted {
  order: 2;
  margin: 0 -10px 0 0;
  padding: 6px 15px;
  margin-top: 5px;
}

.navmenu {
  order: 3;
}
}
.ccustom-section {
  padding: 0px 40px;
  padding-top: 20px;
  background-color: #ffffff;
  border-radius: 20px;
  border-top: 3px solid rgb(7, 7, 77);
  margin-left: -405px;
  padding-bottom: 20px;
}

/* Mobile view adjustments */
@media (max-width: 899px) {

  .ccustom-section {
    padding: 0px 0px;
    background-color: #ffffff00;
    border-radius: 20px;
    border-top: 3px solid rgba(255, 255, 255, 0);
    margin-left: 0px;
    margin-top: -42px;
  }

}

@media (min-width: 768px) {
  .popup-content{
    max-height: calc(100vh - 400px);
  }
}

@media (max-width: 899px) {
  .popup-content{
    max-height: calc(100vh - 302px);
  }

}

@media (min-width: 900px) {
  .popup-content{
    max-height: calc(100vh - 450px);
  }
}

.login-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #0a1ca5;
  font-size: 16px;
  margin-right: 8px;
  font-family: sans-serif;
}

.login-btn i {
  color: #007bff; /* Bootstrap blue */
  font-size: 20px;
  margin-right: 8px;
}

.login-btn:hover {
  text-decoration: underline;
}

/* Hide button on screens smaller than 500px */
@media (max-width: 499px) {
  .login-btn {
    display: none;
  }
}

.custom-section {
  padding: 0px 40px;
  padding-top: 20px;
  background-color: #ffffff;
  border-radius: 20px;
  border-top: 3px  solid rgb(7, 7, 77);
  margin-left: -282px;
  padding-bottom: 15px;

}

.custom-container {
  max-width: 1000px;
  min-width: 1200px;
  margin: auto;

  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.custom-column {
  width: 30%;
}

.custom-heading {
  font-weight: 600;
  background-color: #f3f4f6;
  color: #374151;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
  margin-left: -5px;
}

.custom-heading.custom-active {
  background-color: #e5e7eb;
}

.custom-item {
  margin-bottom: 5px;
}

.custom-title {
  display: inline-block;
  font-weight: 200;
  color: #0f172a;
  text-decoration: none;
  font-size: 15px;
  margin-left: -20px;

}

.custom-title:hover {
  text-decoration: underline;
}

.custom-item p {
  color: #6b7280;
  font-size: 13px;
  margin: -3px 0 0;

}

.custom-see-all {
  color: #6b7280;
  font-size: 14px;
  text-decoration: none;
}

.custom-see-all:hover {
  text-decoration: underline;
}
.custom-column img {
  max-width: 300px;
  height: auto;
  border-radius: 10px; /* optional rounded corners */
  display: block;
}

/* Hide image on mobile view */
@media (max-width: 768px) {
  .custom-column img {
    display: none;
  }
.custom-section {
  padding: 0px 0px;
  background-color: #ffffff00;
  border-radius: 20px;
  border-top: 3px  solid rgba(255, 255, 255, 0);
  margin-left: 0px;
  margin-top: -42px;
}
.custom-title {
  margin-top: -25px;
}

}

@media (max-width: 910px) {
  .custom-container {
    flex-direction: column;
  }

.custom-column {
  width: 100%;
}

.custom-item p {
  color: #6b7280;
}
.custom-item {
  margin-bottom: 5px;
  padding: 10px;
  max-width: 25%;
}
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  background-color: #002E5B;
  color: #d1d5db;
  font-size: 16px;
  padding-top: 50px;
  position: relative;
  padding-bottom: 80px;

}

.footer .footer-top {
  padding-bottom: 40px;
}

.footer .footer-about .logo {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.footer .footer-about .logo img {
  max-height: 35px;
  margin-right: 10px;
}

.footer .footer-about .logo span {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
}

.footer .footer-about .logo span:last-child {
  color: #3fa9f5;
}

.footer .footer-about p {
  color: #d1d5db;
  line-height: 1.6;
  max-width: 360px;
}

.footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 18px;
  color: #ffffff;
  border-radius: 4px;
  margin-right: 12px;
  background-color: transparent;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: #3fa9f5;
}

.footer h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #8895a2;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul li {
  margin-bottom: 12px;
}

.footer .footer-links ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s;
}

.footer .footer-links ul li a:hover {
  color: #3fa9f5;
}

.footer .copyright {
  background-color: #011d2b7e;
  color: #ffffff;
  padding: 24px 10px;
  margin-top: 40px;
  border-radius: 12px;
}

.footer .copyright .copyright-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 16px;
}

.footer .copyright p {
  margin: 0;
}

.footer .copyright a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  margin-left: 15px;
}

.footer .copyright a:hover {
  color: #3fa9f5;
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 170px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/* ══════════════════════════════════════
HERO SECTION
══════════════════════════════════════ */
.hero-section {
  background: #f0eeff;
  padding: 160px 40px 50px;
}

.hero-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: center;
}

/* ── Left copy ── */
.hero-left {
  animation: fadeUp 0.55s ease both;
}

.hero-title {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  color: #334175;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 22px;
  line-height: 34px;
  color: #5a6070;
  max-width: 320px;
}

/* ── Arrow buttons ── */
.carousel-controls {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}

.arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #e4e7f0;
  background: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s, transform 0.1s, box-shadow 0.15s;
  flex-shrink: 0;
}

.arrow-btn svg {
  width: 16px;
  height: 16px;
  stroke: #5a6070;
  transition: stroke 0.15s;
}

.arrow-btn:hover {
  border-color: #3B5BFF;
  background: #eef0ff;
  transform: scale(1.08);
  box-shadow: 0 2px 12px rgba(59, 91, 255, 0.18);
}

.arrow-btn:hover svg {
  stroke: #3B5BFF;
}

.arrow-btn:active {
  transform: scale(0.97);
}

.arrow-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Carousel outer ── */
.carousel-outer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeUp 0.55s 0.12s ease both;
}

.carousel-wrapper {
  overflow: hidden;
  border-radius: 16px;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* ── Feature card  — 2 visible on desktop ── */
.feature-card {
  flex: 0 0 calc(50% - 8px);
  min-width: 0;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(59, 91, 255, 0.08);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1.5px solid #e4e0d8;
}

.feature-card:hover {
  box-shadow: 0 8px 40px rgba(59, 91, 255, 0.16);
  transform: translateY(-3px);
}

/* ── Card image ── */
.card-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef0ff;
}

.card-preview img {
  width: 100%;
  height: 327px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.feature-card:hover .card-preview img {
  transform: scale(1.04);
}

/* ── Card body ── */
.card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 5px;
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: start;
  gap: 5px;
  background: #eef0ff;
  color: #3B5BFF;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 20px;
  margin-bottom: 10px;
  width: fit-content;
}

.badge svg {
  width: 10px;
  height: 10px;
}

.badge--blue   { background: #e0f0ff; color: #0070cc; }
.badge--orange { background: #fff0e8; color: #d95e00; }
.badge--purple { background: #f0eeff; color: #7C5CFC; }
.badge--green  { background: #e6f9ee; color: #1a8c4e; }

.card-title {
  font-size: 17px;
  font-weight: 500;
  color: #0e1221;
  line-height: 1.3;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  margin-top:8px;
}

.card-desc {
  font-size: 13px;
  color: #5a6070;
  line-height: 22px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #3B5BFF;
  text-decoration: none;
  transition: gap 0.15s;
  padding-bottom: 10px;

}

.card-link:hover {
  gap: 8px;
}

.card-link svg {
  width: 13px;
  height: 13px;
}

/* ── Dots ── */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: #e4e7f0;
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
  padding: 0;
}

.dot.active {
  background: #3B5BFF;
  width: 20px;
  border-radius: 4px;
}

/* ══════════════════════════════════════
ANIMATION
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════
RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
.hero-subtitle {

  max-width: 671px;
}
.carousel-wrapper {
  width: 100%;
}

.left-image img {
  width: 100%;
  max-width: 442px;
  border-radius: 16px;
  height:370px;
}

}

@media (max-width: 600px) {
  .hero-section {
    padding: 110px 16px 30px;
  }
.hero-title {
  letter-spacing: -1px;
}
.carousel-wrapper {
  width: 100%;
}
.feature-card {
  flex: 0 0 85vw;
}

.hero-subtitle {
  font-size: 19px;
  line-height: 35px;
  max-width: 565px;
  padding-right: 67px;
}

.left-image img {
  width: 100%;
  max-width: 442px;
  border-radius: 16px;
  padding-right: 36px;
  height:455px;
}
}

@media (max-width: 578px) {
  .hero-title{
    max-width: 519px;
  }

.hero-subtitle{
  max-width: 429px;
  font-size: 17px;
  line-height: 30px;
}
}

@media (max-width: 400px) {
  .hero-title{
    max-width: 320px;
  }

.hero-subtitle{
  max-width: 315px;
}

.left-image img {
  width: 100%;
  max-width: 315px;
  border-radius: 16px;
}

}

@media (max-width: 349px) {
  .hero-title{
    max-width: 315px;
  }

.hero-subtitle{
  max-width: 315px;
}
}

/* Scope hero badges so they don't conflict with Bootstrap or slider .badge */
.feature-card .badge {
  display: inline-flex;
  align-items: left;

  background: #eef0ff;
  color: black;
  font-size: 12px;
  font-weight: 400;
  padding: 4px 11px;
  border-radius: 20px;
  margin-bottom: 10px;
  width: fit-content;
}
.feature-card .badge svg { width: 10px; height: 10px; }
.feature-card .badge--blue   { background: #e0f0ff; color: #0070cc; }
.feature-card .badge--orange { background: #fff0e8; color: #d95e00; }
.feature-card .badge--purple { background: #f0eeff; color: #7C5CFC; }
.feature-card .badge--green  { background: #e6f9ee; color: #1a8c4e; }

/*-----HERO-SECTION-ENDS-HERE-----------------------------------------*/

/* ------TIMELINE-SECTION------------------------------------------------------------- */
/* =============================================
CSS RESET & BASE (scoped to section only)
============================================= */

.updates-section *,
.updates-section *::before,
.updates-section *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =============================================
DESIGN TOKENS
============================================= */

.updates-section {
  --clr-bg: var(--background-color);
  --clr-surface: #ffffff;
  --clr-surface-2: #f0ede6;
  --clr-border: #e4e0d8;

  --clr-ink: #1a1714;
  --clr-ink-2: #4a453e;
  --clr-ink-3: #8a8278;

  --clr-accent: #5b3de8;
  --clr-accent-light: #ede9ff;
  --clr-accent-mid: #c4b8f9;

  --clr-new: #5b3de8;
  --clr-new-bg: #ede9ff;
  --clr-improve: #0e7c5e;
  --clr-improve-bg: #d4f4ea;
  --clr-fix: #b94f00;
  --clr-fix-bg: #fde8d8;

  --clr-dot-active: #5b3de8;
  --clr-dot-idle: #d0ccbf;
  --clr-line: #ddd9ce;

  --radius-card: 18px;
  --radius-btn: 100px;
  --radius-badge: 6px;
  --radius-tag: 100px;

  --shadow-card: 0 2px 16px 0 rgba(26,23,20,0.07), 0 1px 3px 0 rgba(26,23,20,0.04);
  --shadow-card-hover: 0 8px 36px 0 rgba(91,61,232,0.13), 0 2px 8px 0 rgba(26,23,20,0.06);

  --transition: 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.18s ease;

  font-family: var(--font-body);
  background-color: var(--clr-bg);
  color: var(--clr-ink);
}

/* =============================================
SECTION LAYOUT
============================================= */

.updates-section {
  padding: 50px 0px 0px 0px;
  overflow: hidden;
  position: relative;
  overflow: visible;

}

.updates-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  padding:24px;
}

.updates-inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 55px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;

}

/* =============================================
LEFT PANEL — STICKY
============================================= */

.updates-left {
  position: relative;
  height: calc(100% - 24px);

}

.left-sticky {
  position: sticky;
  top: 100px;

  background: #fafafa;
  border-radius: 20px;

  padding: 28px 35px;

  /* SOFT SHADOW (main effect) */
  box-shadow:
  0 10px 30px rgba(0, 0, 0, 0.06),
  0 2px 8px rgba(0, 0, 0, 0.04);

  /* Slight lift effect */
  transform: translateY(0);
  transition: all 0.3s ease;
}

.left-sticky::before {
  content: "";
  position: absolute;
  inset: -10px;

  border-radius: 24px;
  z-index: -1;

  filter: blur(20px);
}

.left-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #334175;
  background: var(--clr-accent-light);
  border: 1px solid #334175;
  padding: 5px 13px;
  margin-bottom: 20px;
  border-radius: 999px;
}

.left-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #334175;
  margin-bottom: 18px;

}

.left-subtitle {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--clr-ink-2);
  margin-bottom: 16px;
}

/* Filters */
.filter-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-ink-3);
  margin-bottom: 10px;
}

/* LEFT IMAGE FIX */
.filter-group {
  display: block;   /* flex hata diya for clean layout */
  margin-bottom: 0;
}

.filter-group img {
  width: 100%;
  height: auto;
  display: block;

  border-radius: 16px;
  object-fit: cover;

  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border: 1.5px solid var(--clr-border);
  background: var(--clr-surface);
  color: var(--clr-ink-2);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all var(--transition-fast);
  outline: none;
}

.filter-btn:hover {
  border-color: var(--clr-accent-mid);
  color: var(--clr-accent);
  background: var(--clr-accent-light);
}

.filter-btn.active {
  background: var(--clr-accent);
  color: #fff;
  border-color: var(--clr-accent);
  box-shadow: 0 2px 12px rgba(91,61,232,0.25);
}

/* Illustration */
.left-illustration {
  position: relative;
  height: 200px;
  margin-top: 8px;
}

.illustration-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,61,232,0.12) 0%, transparent 70%);
  top: 10px;
  left: 20px;
  pointer-events: none;
}

.illustration-card {
  position: absolute;
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card);
  animation: floatCard 4s ease-in-out infinite;
}

.card-1 {
  top: 0;
  left: 0;
  animation-delay: 0s;
}

.card-2 {
  top: 64px;
  left: 50px;
  animation-delay: 1.3s;
}

.card-3 {
  top: 128px;
  left: 10px;
  animation-delay: 2.6s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.ill-icon {
  font-size: 22px;
  color: var(--clr-accent);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-accent-light);
  border-radius: 8px;
  flex-shrink: 0;
}

.ill-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ill-lines span {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: var(--clr-surface-2);
}

.ill-lines span:first-child { width: 80px; }
.ill-lines span:last-child  { width: 54px; }

/* LEFT IMAGE */
.left-image img {
  width: 100%;
  border-radius: 16px;
  height: 370px;
}

/* CARD LAYOUT */
.entry-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

/* TEXT AREA */
.entry-content {
  flex: 1;
}

/* RIGHT IMAGE */
.entry-image img {
  width: 260px;
  border-radius: 12px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .entry-card {
    flex-direction: column;
    align-items: flex-start;
  }

.entry-image img {
  width: 100%;
}
}
/* =============================================
RIGHT PANEL — SCROLLABLE TIMELINE
============================================= */

.updates-right {
  padding-left: 40px;
  padding-top: 8px;
  border-left: 2px solid var(--clr-line);

  /* removed scroll */
  max-height: none;
  overflow: visible;
}

.updates-right::-webkit-scrollbar {
  width: 5px;
}

.updates-right::-webkit-scrollbar-track {
  background: transparent;
}

.updates-right::-webkit-scrollbar-thumb {
  background: var(--clr-accent-mid);
  border-radius: 10px;
}

/* =============================================
TIMELINE STRUCTURE
============================================= */

.timeline {
  padding-bottom: 48px;
}

/* Month grouping */
.timeline-month {
  margin-bottom: 8px;
}

.month-marker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  margin-left: -48px; /* Pull across the border */
  padding-top: 8px;
}

.month-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--clr-dot-idle);
  background: var(--clr-bg);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.month-dot.active-dot {
  background: var(--clr-dot-active);
  border-color: var(--clr-dot-active);
  box-shadow: 0 0 0 4px rgba(91,61,232,0.18);
  width: 16px;
  height: 16px;
}

.month-label {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--clr-ink);
}

/* Individual entry */
.timeline-entry {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  position: relative;
}

.entry-connector {
  flex-shrink: 0;
  width: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: -61px;
  padding-top: 18px;
}

.entry-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-surface);
  border: 2px solid var(--clr-accent-mid);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.timeline-entry:hover .entry-dot {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 4px rgba(91,61,232,0.15);
  transform: scale(1.2);
}

/* Entry card */
.entry-card {
  flex: 1;
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  margin-left: 16px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition-fast);
  will-change: transform;
}

.entry-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: var(--clr-accent-mid);
}

.entry-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.entry-badge {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-badge);
  letter-spacing: 0.01em;
}

.badge-new {
  background: var(--clr-new-bg);
  color: #246ed9;
}

.badge-improvement {
  background: var(--clr-improve-bg);
  color: var(--clr-improve);
}

.badge-fix {
  background: var(--clr-fix-bg);
  color: var(--clr-fix);
}

.entry-date {
  font-size: 12px;
  font-weight: 400;
  color: var(--clr-ink-3);
}

.entry-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--clr-ink);
  margin-bottom: 10px;
}

.entry-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--clr-ink-2);
  margin-bottom: 16px;
}

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-tag);
  background: var(--clr-surface-2);
  color: var(--clr-ink-2);
  border: 1px solid var(--clr-border);
}

/* Hidden via filter */
.timeline-entry.hidden {
  display: none;
}

/* =============================================
TABLET — ≤ 900px
============================================= */

@media (max-width: 900px) {

  .updates-section {
    padding: 40px 0;
  }

.hero-section {
  padding: 120px 24px 40px;
}

.updates-inner {
  grid-template-columns: 1fr;
  padding: 0 28px;
  gap: 0;
}

.updates-left {
  margin-bottom: 48px;
}

.left-sticky {
  position: static;
  padding-right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 32px;
  align-items: start;
  display: flex;
  flex-direction: column;
}

.left-tag {
  grid-column: 1 / -1;
}

.left-title {
  grid-column: 1;
  grid-row: 2;
}

.left-subtitle {
  grid-column: 2;
  grid-row: 2;
  margin-bottom: 20px;
  font-size: 14px;
  align-self: start;
}

.filter-group img{
  width: 200px;
  height: 200px;
}

.left-illustration {
  display: none;
}

.updates-right {
  border-left: none;
  border-top: 2px solid var(--clr-line);
  padding-left: 0;
  padding-top: 40px;
  max-height: none;
  overflow-y: visible;
}

.month-marker {
  margin-left: 0;
}

.month-dot {
  display: none;
}

.entry-connector {
  display: none;
}

.entry-card {
  margin-left: 0;
}

.timeline-entry {
  padding-left: 0;
}

}

/* =============================================
MOBILE — ≤ 560px
============================================= */

@media (max-width: 560px) {

  .updates-section {
    padding: 30px 0;
  }

.updates-inner {
  padding: 0 18px;
}

.left-sticky {
  grid-template-columns: 1fr;
}

.left-title {
  grid-column: 1;
  font-size: 30px;
  margin-bottom: 12px;
}

.left-subtitle {
  grid-column: 1;
  grid-row: auto;
  margin-bottom: 20px;
  margin-right: 20px;
}

.filter-group {
  gap: 6px;
}

.filter-btn {
  font-size: 12px;
  padding: 6px 13px;
}

.entry-card {
  padding: 18px 18px;
  border-radius: 14px;
}

.entry-title {
  font-size: 15px;
}

.entry-desc {
  font-size: 13.5px;
}

.month-label {
  font-size: 17px;
}
}

/* timeline-with-image-css */

/* ===========================================
READ MORE BUTTON
=========================================== */
.read-more-btn {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 18px;
  background-color: #0058d3;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.25s ease;
}

.read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(91, 61, 232, 0.3);
}

/* ===========================================
POPUP — MODERN UI
=========================================== */

/* OVERLAY with backdrop blur */
.custom-popup {
  position: fixed;
  inset: 0;
  background: rgb(215 208 251 / 50%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.custom-popup.active {
  opacity: 1;
  visibility: visible;
  border-radius: 17px;
}

/* POPUP BOX */
.popup-content {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 580px;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 32px;
  position: relative;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.25s ease;
}

/* TITLE */
.popup-content h4 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1714;
  margin: 0 32px 12px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* DESCRIPTION */
.popup-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #4a453e;
  margin: 0 32px 24px;
  font-weight: 400;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;

  /* allow scrolling when popup is taller than screen */
  overflow-y: auto;
}

/* JUMP / BOUNCE ON OPEN */
.custom-popup.active .popup-content {
  opacity: 1;
  animation: popupJump 0.55s cubic-bezier(0.34, 1.8, 0.5, 1) forwards;
}

@keyframes popupJump {
  0%   { transform: translateY(20px) scale(0.96); opacity: 0; }
  60%  { transform: translateY(-6px) scale(1.01); opacity: 1; }
  100% { transform: translateY(0) scale(1); }
}

/* ICON BADGE */
.popup-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ede9ff 0%, #d8d0ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 28px 32px 18px;
  font-size: 26px;
  color: #5b3de8;
  box-shadow: 0 4px 12px rgba(91, 61, 232, 0.18);
}

/* META ROW */
.popup-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 32px 24px;
  flex-wrap: wrap;
}

.popup-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  background: #ede9ff;
  color: #5b3de8;
}

.popup-date {
  font-size: 13px;
  color: #8a8278;
}

/* FOOTER */
.popup-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 32px 28px;
  border-top: 1px solid #f0ede6;
  margin-top: 8px;
}

.popup-btn {
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.popup-btn-primary {
  background: #5b3de8;
  color: #fff;
  box-shadow: 0 4px 12px rgba(91, 61, 232, 0.3);
}

.popup-btn-primary:hover {
  background: #4a30c4;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(91, 61, 232, 0.4);
}

.popup-btn-secondary {
  background: #f5f3ff;
  color: #5b3de8;
}

.popup-btn-secondary:hover {
  background: #ede9ff;
}

/* CLOSE BUTTON */
.close-popup {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  color: #d3cfe780;
  background: rgb(198 197 204 / 50%);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 2;
  line-height: 1;
}

.close-popup:hover {
  background:  rgb(198 197 204 / 50%);;
  color: #fff;
  transform: rotate(90deg);
}

/* ===========================================
POPUP VARIANTS (per entry type)
=========================================== */

/* NEW RELEASE — purple (default) */
.popup-new::before {
  background: linear-gradient(90deg, #5b3de8 0%, #8b6dff 50%, #a78bfa 100%);
}
.popup-new .popup-icon {
  background: linear-gradient(135deg, #ede9ff 0%, #d8d0ff 100%);
  color: #5b3de8;
  box-shadow: 0 4px 12px rgba(91, 61, 232, 0.18);
}

/* IMPROVEMENT — green */
.popup-improve::before {
  background: linear-gradient(90deg, #0e7c5e 0%, #1a9b76 50%, #4cc5a0 100%);
}
.popup-improve .popup-icon {
  background: linear-gradient(135deg, #d4f4ea 0%, #a8e8d2 100%);
  color: #0e7c5e;
  box-shadow: 0 4px 12px rgba(14, 124, 94, 0.18);
}
.popup-improve .popup-tag {
  background: #d4f4ea;
  color: #0e7c5e;
}
.popup-improve .popup-btn-primary {
  background: #0e7c5e;
  box-shadow: 0 4px 12px rgba(14, 124, 94, 0.3);
}
.popup-improve .popup-btn-primary:hover {
  background: #0a6048;
}
.popup-improve .popup-btn-secondary {
  background: #d4f4ea;
  color: #0e7c5e;
}
.popup-improve .close-popup:hover {
  background: #0e7c5e;
}

/* FIX — amber */
.popup-fix::before {
  background: linear-gradient(90deg, #b94f00 0%, #d97320 50%, #f0954a 100%);
}
.popup-fix .popup-icon {
  background: linear-gradient(135deg, #fde8d8 0%, #f9d0a8 100%);
  color: #b94f00;
  box-shadow: 0 4px 12px rgba(185, 79, 0, 0.18);
}
.popup-fix .popup-tag {
  background: #fde8d8;
  color: #b94f00;
}
.popup-fix .popup-btn-primary {
  background: #b94f00;
  box-shadow: 0 4px 12px rgba(185, 79, 0, 0.3);
}
.popup-fix .popup-btn-primary:hover {
  background: #983f00;
}
.popup-fix .popup-btn-secondary {
  background: #fde8d8;
  color: #b94f00;
}
.popup-fix .close-popup:hover {
  background: #b94f00;
}

/* ===========================================
MOBILE
=========================================== */
@media (max-width: 560px) {
  .popup-content {
    max-width: 100%;
    border-radius: 18px;
    max-height: calc(100vh - 100px);
  }

.popup-icon {
  width: 48px;
  height: 48px;
  margin: 24px 22px 14px;
  font-size: 22px;
}

.popup-content h4 {
  font-size: 19px;
  margin: 0 22px 10px;
}

.popup-content p {
  font-size: 14px;
  margin: 0 22px 20px;
}

.popup-meta {
  margin: 0 22px 20px;
}

.popup-footer {
  padding: 16px 22px 24px;
  flex-direction: column-reverse;
}

.popup-btn {
  width: 100%;
}

.close-popup {
  top: 21px;
  right: 14px;
  width: 32px;
  height: 32px;
  font-size: 20px;
}
}

@media (max-width: 560px) {
  .popup-content {
    padding: 26px 22px;
    border-radius: 14px;
  }

.popup-content h4 {
  font-size: 18px;
}

.popup-content p {
  font-size: 14px;
}
}
/* ===========================================
READ MORE BUTTON
=========================================== */
.read-more-btn {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 18px;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.25s ease;
}

.read-more-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ===========================================
POPUP — SIMPLE
=========================================== */

/* OVERLAY */
.custom-popup {
  position: fixed;
  inset: 0;
  background: rgb(215 208 251 / 50%);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-popup.active {
  opacity: 1;
  visibility: visible;
}

.custom-popup.active .popup-content {
  transform: translateY(0);
  opacity: 1;
}

/* LABEL */
.popup-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5b3de8;
  background: #ede9ff;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}

/* FOOTER META */
.popup-footer-meta {
  font-size: 13px;
  color: #8a8278;
  padding-top: 16px;
  border-top: 1px solid #f0ede6;
}

/* CLOSE BUTTON */
.close-popup {
  position: absolute;
  top: 31px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  color: #8a8278;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.2s ease;
  line-height: 1;
}

.close-popup:hover {
  background: #f5f3ff;
  color: #5b3de8;
}

/* OPTIONAL — label variants per entry type */
.popup-label.improve {
  color: #0e7c5e;
  background: #d4f4ea;
}

.popup-label.fix {
  color: #b94f00;
  background: #fde8d8;
}

/* ------------------------------- */

.popup-scroll {
  height: 100%;
  overflow-y: auto;
  padding-right: 10px;
}