/**
 * GrecDatabase – Bootstrap 5.3 + responsive + animations
 */

/* ---------- Variables & base ---------- */
:root {
  scroll-behavior: smooth;
  --default-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-color: #012970;
  --default-color: #444444;
  --accent-color: #4154f1;
  --accent-light: #6366f1;
  --contrast-color: #ffffff;
  --nav-color: #012970;
  --nav-hover-color: #4154f1;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #212529;
  --nav-dropdown-hover-color: #4154f1;
  --page-header-start: #4f46e5;
  --page-header-end: #0ea5e9;
}

body {
  color: var(--default-color);
  background-color: #fff;
  font-family: var(--default-font);
  overflow-x: hidden;
}



/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes pulse-soft {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}
.animate-fade-up {
  animation: fadeInUp 0.6s ease-out forwards;
}
.animate-fade {
  animation: fadeIn 0.5s ease-out forwards;
}
.animate-delay-1 { animation-delay: 0.15s; }
.animate-delay-2 { animation-delay: 0.3s; }
.animate-delay-3 { animation-delay: 0.45s; }
@media (prefers-reduced-motion: reduce) {
  .animate-fade-up, .animate-fade { animation: fadeIn 0.4s ease-out forwards; }
}

/* ---------- Header: colorful + sticky ---------- */
.site-header {
  position: relative;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 25%, #c7d2fe 50%, #a5b4fc 75%, #e0f2fe 100%);
  background-size: 200% 200%;
  box-shadow: 0 4px 24px rgba(79, 70, 229, 0.15);
  z-index: 1030;
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 6px 28px rgba(79, 70, 229, 0.2);
}
.header-accent {
  height: 5px;
  background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 25%, #0ea5e9 50%, #06b6d4 75%, #4f46e5 100%);
  background-size: 300% 100%;
  animation: gradient-shift 6s ease infinite;
}
.site-header .navbar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.site-header .site-logo {
  max-height: 38px;
  width: auto;
  transition: transform 0.3s ease;
}
.site-header .navbar-brand:hover .site-logo {
  transform: scale(1.05);
}
.site-header .site-name {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #312e81 0%, #5b21b6 50%, #0c4a6e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity 0.25s ease;
}
.site-header .navbar-brand:hover .site-name {
  opacity: 0.9;
}
.header-link {
  color: #3730a3 !important;
  font-weight: 500;
  font-size: 0.9375rem;
  position: relative;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.2s ease;
}
.header-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
  transition: width 0.3s ease, left 0.3s ease;
}
.header-link:hover {
  color: #4f46e5 !important;
  background-color: rgba(79, 70, 229, 0.12);
  transform: translateY(-1px);
}
.header-link:hover::after {
  width: 80%;
  left: 10%;
}
.header-link.active {
  color: #4f46e5 !important;
  background-color: rgba(79, 70, 229, 0.15);
}
.header-link.active::after {
  width: 80%;
  left: 10%;
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
}
.header-cta {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #0ea5e9 100%) !important;
  border: none !important;
  color: #fff !important;
  background-size: 200% 200% !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.5s ease !important;
}
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45) !important;
  background-position: 100% 50% !important;
  color: #fff !important;
}
.navbar-toggler-icon-custom {
  font-size: 1.5rem;
  line-height: 1;
  color: #4f46e5;
  transition: transform 0.3s ease;
}
.header-toggler {
  background: rgba(79, 70, 229, 0.1);
  transition: background 0.2s ease;
}
.header-toggler:hover {
  background: rgba(79, 70, 229, 0.2);
}
.header-toggler:hover .navbar-toggler-icon-custom {
  transform: scale(1.1);
}
.header-toggler:focus {
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.4);
}
/* Mobile: responsive header */
@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    margin-top: 0.75rem;
    padding: 1rem 0.75rem;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(79, 70, 229, 0.12);
    border: 1px solid rgba(79, 70, 229, 0.08);
    transition: height 0.35s ease;
  }
  .site-header .nav-link {
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
  }
  .site-header .header-cta {
    width: 100%;
    text-align: center;
    margin-top: 0.25rem;
  }
}
@media (max-width: 575.98px) {
  .site-header .site-name {
    font-size: 1.05rem;
  }
  .site-header .site-logo {
    max-height: 32px;
  }
  .site-header .navbar {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
.navbar-collapse.collapsing,
.navbar-collapse.show {
  transition: height 0.35s ease;
}

/* Scroll top button – responsive + animation */
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 1rem;
  bottom: 1.5rem;
  z-index: 9999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
  box-shadow: 0 4px 14px rgba(65, 84, 241, 0.4);
}
.scroll-top i {
  font-size: 1.35rem;
  color: var(--contrast-color);
}
.scroll-top:hover {
  background-color: #3346d4;
  color: var(--contrast-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(65, 84, 241, 0.45);
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
}
@media (max-width: 575.98px) {
  .scroll-top {
    right: 0.75rem;
    bottom: 1rem;
    width: 40px;
    height: 40px;
  }
  .scroll-top i {
    font-size: 1.2rem;
  }
}


/* Sections – responsive */
.section {
  padding: 3.5rem 0;
  scroll-margin-top: 80px;
  transition: padding 0.3s ease;
}
@media (max-width: 991.98px) {
  .section {
    padding: 2.5rem 0;
    scroll-margin-top: 72px;
  }
}
@media (max-width: 575.98px) {
  .section {
    padding: 2rem 0;
    scroll-margin-top: 66px;
  }
}

/* ========== Home – Premium hero ========== */
.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 30%, #c7d2fe 50%, #e0f2fe 100%);
  background-size: 200% 200%;
}
.home-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.home-hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  animation: pulse-soft 5s ease-in-out infinite;
}
.home-hero-shape-1 {
  width: 400px;
  height: 400px;
  top: -150px;
  right: -100px;
}
.home-hero-shape-2 {
  width: 250px;
  height: 250px;
  bottom: -80px;
  left: -60px;
  animation-delay: 2s;
}
@media (max-width: 767.98px) {
  .home-hero-shape-1 { width: 220px; height: 220px; top: -60px; right: -50px; }
  .home-hero-shape-2 { width: 140px; height: 140px; }
}
.home-hero .container {
  position: relative;
  z-index: 1;
}
.home-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  background: rgba(79, 70, 229, 0.15);
  color: #4338ca;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 1rem;
  border: 1px solid rgba(79, 70, 229, 0.2);
  animation: fadeInUp 0.6s ease-out forwards;
}
.home-hero-title {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  color: #1e1b4b;
  margin: 0 0 1rem 0;
  line-height: 1.2;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.6s 0.1s ease-out forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}
.home-hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 1.5rem 0;
  max-width: 520px;
  animation: fadeInUp 0.6s 0.2s ease-out forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}
.home-hero-cta {
  animation: fadeInUp 0.6s 0.3s ease-out forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}
.home-hero-img-wrap {
  position: relative;
  animation: fadeIn 0.8s 0.25s ease-out forwards;
}
.home-hero-img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(79, 70, 229, 0.15));
}
@media (max-width: 767.98px) {
  .home-hero {
    min-height: auto;
    padding: 2.5rem 0;
  }
  .home-hero-title {
    font-size: clamp(1.5rem, 5vw, 1.85rem);
  }
  .home-hero-subtitle {
    font-size: 1rem;
  }
}

/* ========== Home – Stats / Fun facts (counter) ========== */
.home-stats {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 50%, #fff 100%);
  padding: 4rem 0;
}
.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.12);
  border-color: rgba(79, 70, 229, 0.15);
}
.stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}
.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: #1e1b4b;
  line-height: 1.2;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (max-width: 575.98px) {
  .home-stats {
    padding: 2.5rem 0;
  }
  .stat-card {
    padding: 1.25rem 1rem;
  }
  .stat-number {
    font-size: 1.75rem;
  }
}

/* ========== Home – Features ========== */
.home-features {
  padding: 4rem 0;
  background: #fff;
}
.section-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  color: #4f46e5;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}
.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  height: 100%;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(79, 70, 229, 0.1);
  border-color: rgba(79, 70, 229, 0.2);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  transform: scale(1.05);
}
.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 0.5rem;
}
.feature-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #64748b;
  margin-bottom: 1rem;
}
.feature-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4f46e5;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease, gap 0.2s ease;
}
.feature-link:hover {
  color: #7c3aed;
  gap: 0.5rem;
}
@media (max-width: 767.98px) {
  .home-features {
    padding: 2.5rem 0;
  }
  .feature-card {
    padding: 1.5rem 1.25rem;
  }
}

/* ========== Home – CTA ========== */
.home-cta {
  padding: 4rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}
.home-cta-card {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #6366f1 100%);
  padding: 3rem 2rem;
  color: #fff;
  box-shadow: 0 20px 50px rgba(79, 70, 229, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.home-cta-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.home-cta-sub {
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0;
  font-size: 1rem;
}
.home-cta-card .btn-primary {
  background: #fff !important;
  color: #4f46e5 !important;
  border: none !important;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.home-cta-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
  color: #4338ca !important;
}
@media (max-width: 767.98px) {
  .home-cta {
    padding: 2.5rem 0;
  }
  .home-cta-card {
    padding: 2rem 1.5rem;
  }
}

/* Contact section – premium + responsive */
.home-contact {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}
.contact .info-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 14px;
  height: 100%;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.contact .info-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.1);
  border-color: rgba(79, 70, 229, 0.15);
}
.contact .info-item i {
  font-size: 1.5rem;
  color: #4f46e5;
  margin-bottom: 0.5rem;
  transition: transform 0.25s ease;
}
.contact .info-item:hover i {
  transform: scale(1.08);
}
.contact .info-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1e1b4b;
}
.contact .info-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #475569;
}
.contact .php-email-form .form-control {
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  padding: 0.65rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact .php-email-form .form-control:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
.contact .php-email-form button[type="submit"] {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border: none;
  color: #fff;
  padding: 0.65rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact .php-email-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35);
}
@media (max-width: 767.98px) {
  .contact .info-item {
    padding: 1.25rem;
  }
}
.contact .php-email-form .loading,
.contact .php-email-form .error-message,
.contact .php-email-form .sent-message {
  display: none;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 8px;
}
.contact .php-email-form .error-message {
  background: #fef2f2;
  color: #b91c1c;
}
.contact .php-email-form .sent-message {
  background: #f0fdf4;
  color: #166534;
}

/* ========== Footer: premium colorful + animated ========== */
.site-footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #1e1b4b 0%, #312e81 30%, #1e3a8a 60%, #0c4a6e 100%);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
}
.site-footer .footer-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.footer-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  animation: pulse-soft 5s ease-in-out infinite;
}
.footer-shape-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -80px;
}
.footer-shape-2 {
  width: 180px;
  height: 180px;
  bottom: -60px;
  left: -40px;
  animation-delay: 1.5s;
}
.footer-shape-3 {
  width: 100px;
  height: 100px;
  top: 40%;
  left: 20%;
  animation-delay: 3s;
}
@media (max-width: 767.98px) {
  .footer-shape-1 { width: 160px; height: 160px; top: -50px; right: -40px; }
  .footer-shape-2 { width: 100px; height: 100px; }
  .footer-shape-3 { width: 60px; height: 60px; }
}
.site-footer .container-xxl {
  position: relative;
  z-index: 1;
}
.footer-brand .site-name {
  background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity 0.25s ease;
}
.footer-brand:hover .site-name {
  opacity: 0.9;
}
.footer-tagline {
  color: rgba(255, 255, 255, 0.8);
  max-width: 280px;
}
.footer-email {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.25s ease, transform 0.2s ease;
}
.footer-email:hover {
  color: #fff;
  transform: translateX(4px);
}
.footer-email i {
  color: #818cf8;
  transition: transform 0.25s ease;
}
.footer-email:hover i {
  transform: scale(1.1);
}
.footer-heading {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(129, 140, 248, 0.5);
  display: inline-block;
  transition: border-color 0.25s ease;
}
.footer-col:hover .footer-heading {
  border-bottom-color: rgba(129, 140, 248, 0.9);
}
.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  display: inline-block;
  padding: 0.25rem 0;
  transition: color 0.25s ease, transform 0.2s ease, padding-left 0.2s ease;
}
.footer-links a:hover {
  color: #fff;
  padding-left: 6px;
  transform: translateX(2px);
}
.footer-social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.footer-social-link:hover {
  background: linear-gradient(135deg, #6366f1, #0ea5e9);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}
.footer-bottom .site-name {
  color: rgba(255, 255, 255, 0.95);
}
/* Footer responsive */
@media (max-width: 991.98px) {
  .site-footer .footer-top {
    padding-top: 2.5rem !important;
    padding-bottom: 2rem !important;
  }
  .site-footer .footer-col {
    margin-bottom: 0.5rem;
  }
}
@media (max-width: 767.98px) {
  .site-footer .footer-top {
    padding-top: 2rem !important;
  }
  .footer-about {
    text-align: center;
  }
  .footer-tagline {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-connect {
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }
}
@media (max-width: 575.98px) {
  .site-footer .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .footer-col {
    text-align: center;
  }
  .footer-links {
    display: inline-block;
    text-align: left;
  }
  .footer-heading {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ========== Page header – colorful & professional ========== */
.page-header-block {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--page-header-start) 0%, var(--page-header-end) 50%, #06b6d4 100%);
  background-size: 200% 200%;
  z-index: 0;
}
.page-header-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
  z-index: 1;
}

.page-header-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
  animation: pulse-soft 4s ease-in-out infinite;
}
.page-header-shape-1 {
  width: 280px;
  height: 280px;
  top: -80px;
  right: -60px;
  animation-delay: 0s;
}
.page-header-shape-2 {
  width: 160px;
  height: 160px;
  bottom: -40px;
  left: -20px;
  animation-delay: 1s;
}
.page-header-shape-3 {
  width: 80px;
  height: 80px;
  top: 50%;
  left: 15%;
  animation-delay: 2s;
}
@media (max-width: 767.98px) {
  .page-header-shape-1 {
    width: 160px;
    height: 160px;
    top: -40px;
    right: -30px;
  }
  .page-header-shape-2 {
    width: 100px;
    height: 100px;
  }
  .page-header-shape-3 {
    width: 50px;
    height: 50px;
  }
}

.page-header-block .container.position-relative {
  position: relative;
  z-index: 2;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}
@media (min-width: 768px) {
  .page-header-block .container.position-relative {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }
}
@media (min-width: 992px) {
  .page-header-block .container.position-relative {
    padding-top: 3.5rem;
    padding-bottom: 3rem;
  }
}

.page-header-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #fff !important;
  margin: 0;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.page-header-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0.5rem 0 0 0;
}

.page-header-breadcrumb {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.65rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.breadcrumb-page {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  gap: 0.35rem;
  align-items: center;
}
.breadcrumb-page-item {
  color: rgba(255, 255, 255, 0.85);
}
.breadcrumb-page-item:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}
.breadcrumb-page-item a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}
.breadcrumb-page-item a:hover {
  color: #fff;
  text-decoration: underline;
}
.breadcrumb-page-item-active {
  color: #fff;
  font-weight: 600;
}
@media (max-width: 575.98px) {
  .page-header-breadcrumb {
    padding: 0.5rem 0;
  }
  .breadcrumb-page {
    font-size: 0.8125rem;
  }
}

/* ========== Premium content pages (About, Privacy, Terms) ========== */
.content-page-wrap {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 30%, #f8fafc 100%);
  min-height: 1px;
}
.content-page {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.content-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.75rem 2rem;
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.06);
  border: 1px solid rgba(79, 70, 229, 0.08);
  border-left: 4px solid transparent;
  border-left-color: #4f46e5;
  transition: box-shadow 0.3s ease, transform 0.25s ease, border-color 0.25s ease;
}
.content-card:hover {
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.1);
}
.content-card-intro {
  border-left-color: #7c3aed;
  background: linear-gradient(135deg, #fff 0%, #faf5ff 100%);
}
.content-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}
.content-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e1b4b;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.content-card-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}
.content-card-text {
  font-size: 0.9875rem;
  line-height: 1.75;
  color: #475569;
  margin: 0 0 1rem 0;
}
.content-card-text:last-child {
  margin-bottom: 0;
}
.content-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}
.content-list li {
  padding: 0.5rem 0;
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9875rem;
  line-height: 1.6;
  color: #475569;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.content-list li:last-child {
  border-bottom: none;
}
.content-list li:hover {
  color: #1e1b4b;
  padding-left: 4px;
}
.content-list li i {
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.content-card-legal {
  border-left-color: rgba(0, 0, 0, 0.1);
  background: #f8fafc;
}
.content-card-legal a {
  color: #4f46e5;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}
.content-card-legal a:hover {
  color: #7c3aed;
  text-decoration: underline;
}
/* Legal pages: badge + numbered sections */
.legal-meta {
  text-align: center;
}
.legal-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  color: #4338ca;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  border: 1px solid rgba(79, 70, 229, 0.2);
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.08);
}
.legal-section .content-card-title {
  margin-bottom: 0.75rem;
}
.legal-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}
.legal-page .content-list {
  margin-bottom: 0.75rem;
}
.legal-page .content-card-text + .content-list {
  margin-top: 0.5rem;
}
.legal-page a,
.content-card a {
  color: #4f46e5;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}
.legal-page a:hover,
.content-card a:hover {
  color: #7c3aed;
  text-decoration: underline;
}
/* Responsive */
@media (max-width: 767.98px) {
  .content-page-wrap {
    padding-top: 2rem !important;
    padding-bottom: 2.5rem !important;
  }
  .content-card {
    padding: 1.25rem 1.25rem;
    border-radius: 12px;
  }
  .content-card-icon {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
  .content-card-title {
    font-size: 1.2rem;
  }
  .legal-num {
    min-width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
}
@media (max-width: 575.98px) {
  .content-card {
    padding: 1rem 1rem;
  }
  .content-page-wrap .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* ---------- Global responsive containers ---------- */
@media (max-width: 575.98px) {
  .container, .container-xxl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
