/* ===== Insights Page CSS - CLEAN VERSION ===== */
:root {
  --white: #ffffff;
  --blue: #1e3a8a;
  --blue-light: #3b82f6;
  --blue-pale: #eff6ff;
  --black: #0f172a;
  --gray-dark: #374151;
  --gray: #64748b;
  --gray-light: #f8fafc;
  --border: #e2e8f0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background: var(--white); color: var(--black); line-height: 1.6; }

/* ===== Navbar ===== */
.main-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.nav-container { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 1.5rem; }
.nav-logo { z-index: 1001; }
.logo-image { height: 40px; width: auto; }
.nav-menu { display: flex; list-style: none; gap: 0.3rem; align-items: center; }
.nav-link { text-decoration: none; color: var(--gray-dark); font-weight: 500; font-size: 0.9rem; padding: 0.6rem 1rem; border-radius: 8px; transition: all 0.3s; white-space: nowrap; }
.nav-link:hover { color: var(--blue); background: var(--blue-pale); }
.nav-link.active { color: var(--white); background: var(--blue); font-weight: 600; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; }
.hamburger-line { width: 24px; height: 2.5px; background: var(--black); border-radius: 4px; transition: all 0.3s; }

/* ===== Common ===== */
.section-container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.text-gradient { background: linear-gradient(135deg, var(--blue), var(--blue-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ===== Hero ===== */
.insights-hero { background: linear-gradient(135deg, #0f172a, #1e2d5f); padding: 3rem 0; text-align: center; }
.insights-badge { display: inline-block; background: rgba(255,255,255,0.1); padding: 0.4rem 1.2rem; border-radius: 50px; font-size: 0.85rem; color: #cbd5e1; margin-bottom: 1rem; }
.insights-hero-content h1 { font-size: clamp(2rem, 4vw, 2.5rem); color: white; font-weight: 800; margin-bottom: 0.5rem; }
.insights-hero-content p { color: #94a3b8; margin-bottom: 1.5rem; }
.insights-search { display: flex; max-width: 450px; margin: 0 auto; }
.insights-search input { flex: 1; padding: 0.8rem 1.2rem; border: 1px solid rgba(255,255,255,0.2); border-radius: 50px 0 0 50px; background: rgba(255,255,255,0.08); color: white; font-family: inherit; }
.insights-search input::placeholder { color: #64748b; }
.insights-search button { padding: 0.8rem 1.5rem; background: var(--blue); color: white; border: none; border-radius: 0 50px 50px 0; cursor: pointer; }

/* ===== Tabs ===== */
.insights-tabs { padding: 1.5rem 0; background: white; border-bottom: 1px solid var(--border); }
.tabs-nav-wrapper { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.insight-tab { padding: 0.6rem 1.5rem; border: 2px solid var(--border); background: white; border-radius: 50px; cursor: pointer; font-weight: 600; font-size: 0.85rem; color: var(--gray); transition: all 0.3s; display: flex; align-items: center; gap: 0.4rem; }
.insight-tab:hover { border-color: var(--blue-light); color: var(--blue); }
.insight-tab.active { background: var(--blue); color: white; border-color: var(--blue); }

/* ===== Featured ===== */
.insights-featured { padding: 2.5rem 0; }
.featured-card { display: grid; grid-template-columns: 1fr 1fr; background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 5px 25px rgba(0,0,0,0.06); border: 1px solid var(--border); }
.featured-image { position: relative; height: 100%; min-height: 300px; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; }
.featured-tag { position: absolute; top: 1rem; left: 1rem; background: var(--blue); color: white; padding: 0.3rem 1rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; }
.featured-content { padding: 2rem; display: flex; flex-direction: column; }
.featured-meta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.8rem; font-size: 0.8rem; color: var(--gray); }
.meta-category { background: var(--blue-pale); color: var(--blue); padding: 0.2rem 0.8rem; border-radius: 6px; font-weight: 600; }
.featured-content h2 { font-size: 1.4rem; margin-bottom: 0.8rem; line-height: 1.4; }
.featured-content p { color: var(--gray); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; flex: 1; }
.featured-author { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.featured-author img { width: 35px; height: 35px; border-radius: 50%; }
.featured-author strong { display: block; font-size: 0.85rem; }
.featured-author span { font-size: 0.75rem; color: var(--gray); }
.read-more-link { color: var(--blue); text-decoration: none; font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.3rem; }

/* ===== Content Sections ===== */
.content-section { display: block; padding: 2rem 0; }
.content-section.hidden { display: none; }
.insights-featured.hidden { display: none; }

/* ===== Column Header ===== */
.column-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; padding-bottom: 0.8rem; border-bottom: 2px solid var(--border); }
.column-header h3 { font-size: 1.2rem; display: flex; align-items: center; gap: 0.5rem; }
.view-all { color: var(--blue); text-decoration: none; font-size: 0.85rem; font-weight: 600; }

/* ===== Blog Cards ===== */
.blog-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.blog-card { display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; background: white; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); transition: all 0.3s; }
.blog-card:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.08); transform: translateY(-2px); }
.blog-card-image { position: relative; height: 150px; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-category { position: absolute; top: 0.5rem; left: 0.5rem; background: white; padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.7rem; font-weight: 700; color: var(--blue); }
.blog-card-body { padding: 1rem 1rem 1rem 0; }
.blog-date { font-size: 0.75rem; color: var(--gray); }
.blog-card-body h4 { font-size: 1rem; margin: 0.3rem 0; line-height: 1.4; }
.blog-card-body p { font-size: 0.85rem; color: var(--gray); margin-bottom: 0.5rem; }
.blog-link { color: var(--blue); text-decoration: none; font-weight: 600; font-size: 0.85rem; }

/* ===== Events Clean List ===== */
.events-clean-list { display: flex; flex-direction: column; gap: 0.8rem; }
.event-clean-item { display: flex; align-items: center; gap: 1.5rem; background: white; border: 1px solid var(--border); border-radius: 12px; padding: 1.2rem 1.5rem; transition: all 0.3s; }
.event-clean-item:hover { border-color: var(--blue-light); box-shadow: 0 5px 20px rgba(0,0,0,0.05); transform: translateX(5px); }
.event-clean-left { flex-shrink: 0; }
.clean-date { display: block; text-align: center; font-size: 0.7rem; text-transform: uppercase; color: var(--gray); line-height: 1.2; }
.clean-date strong { display: block; font-size: 1.8rem; color: var(--blue); font-weight: 900; }
.event-clean-middle { flex: 1; }
.event-clean-middle h4 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.event-clean-middle span { font-size: 0.8rem; color: var(--gray); }
.event-clean-right a { background: var(--blue); color: white; padding: 0.6rem 1.5rem; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.85rem; display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; transition: all 0.3s; }
.event-clean-right a:hover { background: var(--blue-light); }

/* ===== News Timeline ===== */
.news-timeline { position: relative; padding-left: 30px; }
.news-timeline::before { content: ''; position: absolute; left: 15px; top: 0; width: 2px; height: 100%; background: linear-gradient(to bottom, var(--blue), #e2e8f0); }
.news-timeline-item { display: flex; gap: 2rem; margin-bottom: 2rem; position: relative; }
.news-timeline-dot { width: 32px; height: 32px; background: white; border: 3px solid var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 0.8rem; position: absolute; left: -30px; top: 5px; z-index: 2; flex-shrink: 0; }
.news-timeline-content { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; flex: 1; transition: all 0.3s; position: relative; }
.news-timeline-content:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform: translateX(5px); }
.news-timeline-badge { position: absolute; top: -10px; right: 20px; background: linear-gradient(135deg, #10b981, #059669); color: white; padding: 0.2rem 0.8rem; border-radius: 50px; font-size: 0.7rem; font-weight: 700; }
.news-timeline-date { font-size: 0.75rem; color: var(--gray); display: block; margin-bottom: 0.3rem; }
.news-timeline-content h4 { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--black); }
.news-timeline-content p { color: var(--gray); font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.8rem; }
.news-stats-mini { display: flex; gap: 1.5rem; padding-top: 0.8rem; border-top: 1px solid var(--gray-light); }
.news-stats-mini span { font-size: 0.85rem; color: var(--gray); }
.news-stats-mini strong { color: var(--blue); font-size: 1.1rem; }
.news-learn-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--blue); text-decoration: none; font-weight: 600; font-size: 0.85rem; }

/* ===== CTA ===== */
.insights-cta { padding: 3rem 0; background: linear-gradient(135deg, var(--black), #1e2d5f); }
.cta-content { text-align: center; color: white; }
.cta-content h2 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.cta-content p { color: #94a3b8; margin-bottom: 1.5rem; }
.cta-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: white; color: var(--blue); padding: 0.8rem 2rem; border-radius: 50px; text-decoration: none; font-weight: 700; }
/* ===== Footer - Matching Solution Page ===== */
.footer-modern {
  background: #06080f;
  position: relative;
}

.footer-top {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 2.5rem;
}

.footer-col-large {
  color: #cbd5e1;
}

.footer-logo-wrap {
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-about {
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.footer-newsletter h4 {
  color: white;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-family: inherit;
  font-size: 0.85rem;
}

.newsletter-form input::placeholder { color: #64748b; }
.newsletter-form input:focus { outline: none; border-color: #3b82f6; }

.newsletter-form button {
  padding: 0.75rem 1.2rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.footer-col h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  border-radius: 2px;
}

.footer-links-list { list-style: none; }

.footer-links-list li { margin-bottom: 0.6rem; }

.footer-links-list a {
  color: #94a3b8;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-links-list a i {
  font-size: 0.6rem;
  color: #3b82f6;
  transition: all 0.3s ease;
}

.footer-links-list a:hover { color: white; padding-left: 5px; }
.footer-links-list a:hover i { color: #60a5fa; }

.footer-contact-list { list-style: none; }

.footer-contact-list li {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.contact-icon-box {
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-text span {
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.2rem;
}

.contact-text p {
  color: #94a3b8;
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0;
}

.contact-text a {
  color: #94a3b8;
  text-decoration: none;
}
/* Footer Bottom Bar */
.footer-bottom-bar { padding: 1.5rem 0; }

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: #94a3b8;
  font-size: 0.85rem;
}

.footer-bottom-content strong { color: white; }

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-bottom-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover { color: #60a5fa; }

.dot-divider {
  width: 3px;
  height: 3px;
  background: #4b5563;
  border-radius: 50%;
}
/* ============================================= */
/* ===== ONE SINGLE RESPONSIVE BLOCK ===== */
/* ============================================= */
@media (max-width: 1024px) {
  .footer-grid-main { grid-template-columns: 1fr 1fr; }
}

@media screen and (max-width: 768px) {
  /* Navbar */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: white; flex-direction: column; justify-content: center;
    align-items: center; gap: 1.5rem; transform: translateX(-100%);
    transition: transform 0.4s ease; z-index: 1000; display: flex;
  }
  .nav-menu.active { transform: translateX(0); }
  .nav-toggle.open .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open .hamburger-line:nth-child(2) { opacity: 0; }
  .nav-toggle.open .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .nav-link { font-size: 1.2rem; padding: 0.8rem 1.5rem; }

  /* Content */
  .featured-card { grid-template-columns: 1fr; }
  .featured-image { min-height: 200px; }
  .blog-card { grid-template-columns: 1fr; }
  .blog-card-image { height: 180px; }
  .blog-card-body { padding: 1rem; }
  
  /* Events */
  .event-clean-item { flex-direction: column; text-align: center; }
  .event-clean-right a { width: 100%; justify-content: center; }
  
  /* News */
  .news-stats-mini { flex-direction: column; gap: 0.5rem; }

  /* Footer */
  .footer-grid-main { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
}

/* my code */


.event-register-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 10px 18px;

  border: 1px solid #2f1b9a;
  border-radius: 6px;

  background: #ffffff;
  color: #2f1b9a;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;

  transition: all 0.25s ease;
}

.event-register-btn:hover {
  background: #2f1b9a;
  color: #ffffff;
  transform: translateX(2px);
}

.event-register-btn i {
  font-size: 12px;
}


/* =========================================================
   EVENT MODAL
   ========================================================= */

.event-modal {
  position: fixed;

  inset: 0;

  width: 100%;
  height: 100%;

  display: none;

  align-items: center;
  justify-content: center;

  z-index: 99999;
}


/* Show modal */

.event-modal.active {
  display: flex;
}


/* =========================================================
   MODAL BACKGROUND
   ========================================================= */

.event-modal-overlay {
  position: absolute;

  inset: 0;

  background: rgba(10, 8, 35, 0.72);

  backdrop-filter: blur(4px);
}


/* =========================================================
   MODAL BOX
   ========================================================= */

.event-modal-content {
  position: relative;

  width: min(520px, calc(100% - 30px));

  max-height: calc(100vh - 40px);

  overflow-y: auto;

  background: #ffffff;

  border-radius: 18px;

  padding: 32px;

  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.25);

  z-index: 2;

  animation: eventModalIn 0.25s ease;
}


/* Modal animation */

@keyframes eventModalIn {

  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

}


/* Prevent page scrolling */

body.modal-open {
  overflow: hidden;
}


/* =========================================================
   CLOSE BUTTON
   ========================================================= */

.event-modal-close {
  position: absolute;

  top: 16px;
  right: 16px;

  width: 36px;
  height: 36px;

  display: flex;

  align-items: center;
  justify-content: center;

  border: none;

  border-radius: 50%;

  background: #f3f4f8;

  color: #333;

  font-size: 16px;

  cursor: pointer;

  transition: all 0.2s ease;
}

.event-modal-close:hover {
  background: #2f1b9a;
  color: #ffffff;
}


/* =========================================================
   MODAL HEADER
   ========================================================= */

.event-modal-header {
  padding-right: 35px;

  margin-bottom: 22px;
}


.modal-event-label {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  margin-bottom: 10px;

  color: #2f1b9a;

  font-size: 13px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.5px;
}


.event-modal-header h2 {
  margin: 0 0 8px;

  color: #111827;

  font-size: 25px;

  line-height: 1.3;
}


.event-modal-header p {
  margin: 0;

  color: #687086;

  font-size: 14px;

  line-height: 1.6;
}


/* =========================================================
   EVENT PRICE BOX
   ========================================================= */

.event-price-box {
  display: flex;

  align-items: center;

  gap: 14px;

  padding: 14px 16px;

  margin-bottom: 22px;

  border: 1px solid #e3e5ef;

  border-radius: 12px;

  background: #f7f7fc;
}


.event-price-box.paid-event {
  background: #fff8ec;

  border-color: #f1d49c;
}


.price-icon {
  width: 42px;
  height: 42px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: #2f1b9a;

  color: #ffffff;

  font-size: 17px;
}


.event-price-box.paid-event .price-icon {
  background: #d98a00;
}


.event-price-box div:last-child {
  display: flex;

  flex-direction: column;

  gap: 3px;
}


#eventPriceLabel {
  color: #6b7280;

  font-size: 12px;

  font-weight: 600;
}


#eventPrice {
  color: #111827;

  font-size: 18px;

  font-weight: 700;
}


/* =========================================================
   REGISTRATION FORM
   ========================================================= */

.event-registration-form {
  display: flex;

  flex-direction: column;

  gap: 17px;
}


.form-group {
  display: flex;

  flex-direction: column;

  gap: 7px;
}


.form-group label {
  color: #1f2937;

  font-size: 14px;

  font-weight: 600;
}


.form-group input {
  width: 100%;

  box-sizing: border-box;

  padding: 12px 14px;

  border: 1px solid #d8dbe5;

  border-radius: 8px;

  outline: none;

  background: #ffffff;

  color: #111827;

  font-size: 14px;

  transition: border-color 0.2s ease,
              box-shadow 0.2s ease;
}


.form-group input:focus {
  border-color: #2f1b9a;

  box-shadow:
    0 0 0 3px rgba(47, 27, 154, 0.10);
}


.form-group input::placeholder {
  color: #9ca3af;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.event-submit-btn {
  width: 100%;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 9px;

  padding: 13px 18px;

  margin-top: 4px;

  border: none;

  border-radius: 9px;

  background: #2f1b9a;

  color: #ffffff;

  font-size: 15px;

  font-weight: 700;

  cursor: pointer;

  transition: all 0.25s ease;
}


.event-submit-btn:hover {
  background: #24147d;

  transform: translateY(-1px);

  box-shadow:
    0 8px 20px rgba(47, 27, 154, 0.22);
}


/* =========================================================
   REGISTRATION NOTE
   ========================================================= */

.registration-note {
  margin: 0;

  color: #8a8f9d;

  font-size: 11px;

  line-height: 1.5;

  text-align: center;
}


/* =========================================================
   MOBILE MODAL
   ========================================================= */

@media (max-width: 600px) {

  .event-modal-content {
    width: calc(100% - 24px);

    padding: 24px 20px;

    border-radius: 14px;
  }


  .event-modal-header h2 {
    font-size: 21px;
  }


  .event-modal-close {
    top: 12px;
    right: 12px;
  }


  .event-register-btn {
    padding: 8px 13px;

    font-size: 13px;
  }

}


/* my code  */


/* =========================================================
   FOOTER BOTTOM LINKS
   ========================================================= */

.footer-bottom-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom-links a {
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
  cursor: pointer;
}

.footer-bottom-links a:hover {
  color: #6c4cff;
}

.dot-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}


/* =========================================================
   POLICY MODAL
   ========================================================= */

.policy-modal {
  position: fixed;
  inset: 0;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 20px;

  z-index: 99999;
}

.policy-modal.active {
  display: flex;
}


/* Dark background */

.policy-modal-overlay {
  position: absolute;
  inset: 0;

  background: rgba(10, 8, 35, 0.75);

  backdrop-filter: blur(5px);
}


/* =========================================================
   MODAL CONTAINER
   ========================================================= */

.policy-modal-content {
  position: relative;

  width: min(760px, 100%);
  max-height: 85vh;

  overflow: hidden;

  background: #ffffff;

  border-radius: 18px;

  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.30);

  z-index: 2;

  animation: policyModalIn 0.25s ease;
}


/* Animation */

@keyframes policyModalIn {

  from {
    opacity: 0;
    transform: translateY(25px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

}


/* =========================================================
   CLOSE BUTTON
   ========================================================= */

.policy-modal-close {
  position: absolute;

  top: 18px;
  right: 18px;

  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 50%;

  background: #f1f2f6;

  color: #333;

  font-size: 15px;

  cursor: pointer;

  transition: all 0.2s ease;

  z-index: 3;
}

.policy-modal-close:hover {
  background: #321b9b;
  color: #ffffff;
  transform: rotate(90deg);
}


/* =========================================================
   MODAL HEADER
   ========================================================= */

.policy-modal-header {
  padding: 30px 35px 20px;

  border-bottom: 1px solid #e7e8ee;
}

.policy-label {
  display: inline-flex;
  align-items: center;

  gap: 7px;

  margin-bottom: 8px;

  color: #321b9b;

  font-size: 12px;
  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.6px;
}

.policy-modal-header h2 {
  margin: 0;

  color: #111827;

  font-size: 26px;

  line-height: 1.3;
}


/* =========================================================
   MODAL BODY
   ========================================================= */

.policy-modal-body {
  max-height: calc(85vh - 120px);

  overflow-y: auto;

  padding: 25px 35px 35px;

  color: #555b6e;

  font-size: 14px;

  line-height: 1.75;
}

.policy-modal-body h3 {
  margin: 22px 0 8px;

  color: #1f2937;

  font-size: 17px;
}

.policy-modal-body h3:first-child {
  margin-top: 0;
}

.policy-modal-body p {
  margin: 0 0 14px;
}

.policy-modal-body ul {
  margin: 8px 0 16px;

  padding-left: 22px;
}

.policy-modal-body li {
  margin-bottom: 7px;
}

.policy-modal-body a {
  color: #321b9b;

  text-decoration: none;

  font-weight: 600;
}

.policy-modal-body a:hover {
  text-decoration: underline;
}


/* =========================================================
   PREVENT BACKGROUND SCROLL
   ========================================================= */

body.policy-modal-open {
  overflow: hidden;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .footer-bottom-links {
    justify-content: center;

    margin-top: 10px;
  }

  .policy-modal {
    padding: 12px;
  }

  .policy-modal-content {
    width: 100%;
    max-height: 90vh;

    border-radius: 14px;
  }

  .policy-modal-header {
    padding: 24px 20px 18px;
  }

  .policy-modal-header h2 {
    font-size: 21px;
  }

  .policy-modal-body {
    max-height: calc(90vh - 110px);

    padding: 20px;
  }

  .policy-modal-close {
    top: 12px;
    right: 12px;
  }

}