﻿/* assets/css/parasal.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary-color: #f59e0b;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --info-color: #3b82f6;
  --dark-color: #1f2937;
  --light-color: #f3f4f6;
  --body-bg: #f8fafc;
  --text-color: #334155;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --card-bg: #ffffff;
  --font-family-base: 'Inter', sans-serif;
  --font-family-heading: 'Poppins', sans-serif;
  --sidebar-width: 260px;
  --header-height: 70px;
  --transition: all 0.3s ease;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 22px 45px -24px rgba(15, 23, 42, 0.45);
  --border-radius-sm: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
}

[data-theme="dark"] {
  --body-bg: #0f172a;
  --card-bg: #1e293b;
  --text-color: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: #334155;
  --light-color: #273449;
  --dark-color: #f8fafc;
  --primary-hover: #60a5fa;
  color-scheme: dark;
}

body {
  font-family: var(--font-family-base);
  background-color: var(--body-bg);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[data-theme="dark"] .text-dark,
[data-theme="dark"] .text-body,
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: var(--text-color) !important;
}

[data-theme="dark"] .text-muted {
  color: var(--text-muted) !important;
}

[data-theme="dark"] .bg-white,
[data-theme="dark"] .bg-light,
[data-theme="dark"] .table-light,
[data-theme="dark"] .dropdown-menu,
[data-theme="dark"] .modal-content,
[data-theme="dark"] .list-group-item,
[data-theme="dark"] .input-group-text,
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
  background-color: var(--card-bg) !important;
  color: var(--text-color) !important;
  border-color: var(--border-color) !important;
}

[data-theme="dark"] .btn-light {
  background-color: #273449;
  border-color: #334155;
  color: #f8fafc;
}

[data-theme="dark"] .btn-light:hover {
  background-color: #334155;
  color: #ffffff;
}

[data-theme="dark"] .table,
[data-theme="dark"] .table-hover > tbody > tr:hover > * {
  color: var(--text-color);
  --bs-table-bg: var(--card-bg);
  --bs-table-color: var(--text-color);
  --bs-table-border-color: var(--border-color);
  --bs-table-hover-bg: #273449;
}

[data-theme="dark"] .navbar,
[data-theme="dark"] .topbar,
[data-theme="dark"] footer {
  background-color: var(--card-bg) !important;
  color: var(--text-color);
  border-color: var(--border-color) !important;
}

[data-theme="dark"] .navbar .nav-link,
[data-theme="dark"] .dropdown-item {
  color: var(--text-color);
}

[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:focus {
  background-color: #273449;
  color: #93bbfd;
}

[data-theme="dark"] .border,
[data-theme="dark"] .border-top,
[data-theme="dark"] .border-bottom,
[data-theme="dark"] .border-start,
[data-theme="dark"] .border-end {
  border-color: var(--border-color) !important;
}

[data-theme="light"] .bg-white.text-white,
[data-theme="light"] .bg-light.text-white,
[data-theme="dark"] .bg-white.text-white,
[data-theme="dark"] .bg-light.text-white {
  color: var(--text-color) !important;
}

.avatar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}

.avatar-choice {
  position: relative;
  cursor: pointer;
}

.avatar-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.avatar-choice img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
  padding: 2px;
  transition: var(--transition);
}

.avatar-choice input:checked + img,
.avatar-choice:hover img {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: var(--font-family-heading);
  font-weight: 600;
}

.brand-logo-link {
  align-items: center;
  display: inline-flex;
  line-height: 1;
}

.brand-logo-img {
  display: block;
  height: 44px;
  max-width: 190px;
  object-fit: contain;
  width: auto;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}

/* Custom Alert */
.alert-prs {
  border: none;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
}

/* Base App Layout */
.wrapper {
  display: flex;
  width: 100%;
  align-items: stretch;
}

/* Topbar / Header */
.topbar {
  height: var(--header-height);
  background-color: var(--card-bg);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 1020;
  border-bottom: 1px solid var(--border-color);
}

.topbar .brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Hero Section */
.hero-section {
  padding: 6rem 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(37, 99, 235, 0.13), transparent 32%),
    radial-gradient(circle at 88% 14%, rgba(16, 185, 129, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.86), rgba(248,250,252,0.95));
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .hero-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(37, 99, 235, 0.18), transparent 32%),
    radial-gradient(circle at 88% 14%, rgba(16, 185, 129, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(15,23,42,0.96), rgba(15,23,42,1));
}

/* Cards */
.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.18);
}

.card-header {
  background-color: transparent;
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 1.5rem;
  font-weight: 600;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 22px -12px rgba(37, 99, 235, 0.65);
}

.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.feature-card,
.hover-shadow,
.feature-check {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.feature-card:hover,
.hover-shadow:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl) !important;
}

.feature-check {
  background: rgba(37, 99, 235, 0.04);
  border: 1px solid rgba(37, 99, 235, 0.08);
}

.feature-check:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.20);
  transform: translateY(-2px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.10);
}

.navbar.sticky-top {
  backdrop-filter: blur(14px);
  background-color: rgba(255, 255, 255, 0.92) !important;
}

[data-theme="dark"] .navbar.sticky-top {
  background-color: rgba(30, 41, 59, 0.92) !important;
}

.public-nav-dropdown .dropdown-menu {
  min-width: 240px;
  padding: 0.65rem;
}

.public-nav-dropdown .dropdown-item {
  border-radius: 0.5rem;
  font-weight: 600;
  padding: 0.65rem 0.8rem;
}

.investment-suggestions {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  left: 0;
  max-height: 280px;
  overflow-y: auto;
  padding: 0.35rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 1080;
}

.investment-suggestion-item {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0.55rem;
  color: var(--text-color);
  display: grid;
  gap: 0.25rem 0.6rem;
  grid-template-columns: 76px 1fr auto;
  padding: 0.65rem 0.7rem;
  text-align: left;
  width: 100%;
}

.investment-suggestion-item:hover,
.investment-suggestion-item:focus {
  background: rgba(37, 99, 235, 0.08);
}

.investment-suggestion-code {
  font-weight: 800;
}

.investment-suggestion-name {
  color: var(--text-muted);
  font-size: 0.86rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.investment-suggestion-type {
  background: rgba(37, 99, 235, 0.10);
  border-radius: 999px;
  color: var(--primary-color);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
}

.investment-suggestion-empty {
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 0.8rem;
}

@media (min-width: 992px) {
  .public-nav-dropdown:hover > .dropdown-menu,
  .public-nav-dropdown:focus-within > .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .public-nav-dropdown:hover > .dropdown-toggle::after,
  .public-nav-dropdown:focus-within > .dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

.badge {
  letter-spacing: 0;
}

.table-hover tbody tr {
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.table-hover tbody tr:hover {
  transform: scale(1.002);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.btn {
  border-radius: var(--border-radius-md);
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  transition: var(--transition);
}

/* Sidebar */
#sidebar {
  min-width: var(--sidebar-width);
  max-width: var(--sidebar-width);
  background: var(--card-bg);
  color: var(--text-color);
  transition: var(--transition);
  height: 100vh;
  position: sticky;
  top: 0;
  border-right: 1px solid var(--border-color);
  z-index: 1030;
}

#sidebar.active {
  min-width: 78px;
  max-width: 78px;
}

#sidebar.active .sidebar-title,
#sidebar.active .sidebar-section,
#sidebar.active .nav-label,
#sidebar.active .sidebar-footer {
  display: none !important;
}

#sidebar.active ul li a {
  justify-content: center;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

#sidebar.active ul li a i {
  margin: 0 !important;
}

#sidebar .sidebar-header {
  padding: 1.5rem;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.sidebar-brand {
  align-items: center;
  color: var(--primary-color);
  display: flex;
  gap: 0.65rem;
  min-width: 0;
  text-decoration: none;
}

.sidebar-brand-logo {
  display: block;
  height: 38px;
  max-width: 168px;
  object-fit: contain;
  width: auto;
}

.sidebar-brand-icon {
  border-radius: 10px;
  display: block;
  flex: 0 0 auto;
  height: 32px;
  object-fit: contain;
  width: 32px;
}

.admin-sidebar-brand .sidebar-title {
  color: var(--text-color);
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
}

#sidebar.active .sidebar-brand {
  justify-content: center;
  width: 100%;
}

#sidebar.active .sidebar-brand-logo {
  height: 34px;
  max-width: 44px;
  object-fit: contain;
}

#sidebar ul.components {
  padding: 1rem 0;
  max-height: calc(100vh - var(--header-height) - 80px);
  overflow-y: auto;
}

#sidebar ul li a {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  color: var(--text-color);
  gap: 10px;
  transition: var(--transition);
}

#sidebar .sidebar-section {
  letter-spacing: .04em;
  padding: 0.75rem 1.5rem 0.35rem;
}

#sidebar .nav-label {
  white-space: nowrap;
}

#sidebar ul li a i {
  font-size: 1.1rem;
  color: var(--text-muted);
  width: 24px;
  text-align: center;
}

#sidebar ul li a:hover, #sidebar ul li.active > a {
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.05);
}

#sidebar ul li a:hover i, #sidebar ul li.active > a i {
  color: var(--primary-color);
}

/* Main Content */
#content {
  width: 100%;
  min-height: 100vh;
  transition: var(--transition);
  background-color: var(--body-bg);
}

.content-wrapper {
  padding: 2rem;
}

@media (max-width: 991.98px) {
  #sidebar {
    position: fixed;
    left: calc(-1 * var(--sidebar-width));
    top: 0;
  }

  #sidebar.active {
    left: 0;
    min-width: var(--sidebar-width);
    max-width: var(--sidebar-width);
    box-shadow: var(--shadow-lg);
  }

  #sidebar.active .sidebar-title,
  #sidebar.active .sidebar-section,
  #sidebar.active .nav-label,
  #sidebar.active .sidebar-footer {
    display: initial !important;
  }

  #sidebar.active ul li a {
    justify-content: flex-start;
    padding: 0.8rem 1.5rem;
  }

  .content-wrapper {
    padding: 1rem;
  }
}

/* Footer */
footer {
  background: var(--card-bg);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--border-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 1080;
  width: min(940px, calc(100vw - 2rem));
  background: var(--card-bg) !important;
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1rem;
  display: none;
  align-items: center;
  gap: 1rem;
}

.has-cookie-consent {
  padding-bottom: 112px;
}

.cookie-consent-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.1);
  flex: 0 0 auto;
  font-size: 1.2rem;
}

.cookie-consent-copy {
  min-width: 0;
  flex: 1 1 auto;
  text-align: left;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.rate-table {
  min-width: 680px;
}

.bg-primary .rate-section {
  display: none !important;
}

@media (max-width: 767.98px) {
  .rate-table {
    min-width: 0;
  }

  .rate-table thead {
    display: none;
  }

  .rate-table,
  .rate-table tbody,
  .rate-table tr,
  .rate-table td {
    display: block;
    width: 100%;
  }

  .rate-table tr {
    border: 1px solid var(--border-color);
    border-radius: 0.85rem;
    margin: 0.75rem;
    padding: 0.25rem 0;
    background: var(--card-bg);
  }

  .rate-table td {
    border: 0;
    padding: 0.55rem 1rem !important;
    text-align: right !important;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
  }

  .rate-table td::before {
    content: attr(data-label);
    color: var(--text-muted);
    font-weight: 600;
    text-align: left;
  }

  .cookie-consent {
    width: calc(100vw - 1rem);
    bottom: 0.5rem;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .cookie-consent-actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .cookie-consent {
    flex-wrap: wrap;
  }

  .has-cookie-consent {
    padding-bottom: 172px;
  }
}

.hover-primary {
  transition: color 0.2s ease;
}

.hover-primary:hover {
  color: var(--primary-color) !important;
}

[data-theme="dark"] a:hover {
  color: var(--primary-hover);
}

[data-theme="dark"] footer a.text-muted:hover,
[data-theme="dark"] .footer-bottom a.text-muted:hover {
  color: var(--primary-hover) !important;
}

[data-theme="light"] footer a.text-muted:hover,
[data-theme="light"] .footer-bottom a.text-muted:hover {
  color: var(--primary-color) !important;
}

footer a {
  transition: color 0.2s ease;
}

[data-theme="dark"] #sidebar ul li a:hover,
[data-theme="dark"] #sidebar ul li.active > a {
  color: #93bbfd;
  background: rgba(37, 99, 235, 0.12);
}

[data-theme="dark"] #sidebar ul li a:hover i,
[data-theme="dark"] #sidebar ul li.active > a i {
  color: #93bbfd;
}

[data-theme="dark"] .btn-outline-secondary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
}

[data-theme="dark"] .card:hover {
  border-color: rgba(96, 165, 250, 0.30);
}

[data-theme="dark"] .feature-check:hover {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.25);
}

[data-theme="dark"] .table-hover > tbody > tr:hover > * {
  --bs-table-hover-bg: #273449;
  color: var(--text-color);
}

[data-theme="dark"] .public-nav-dropdown .dropdown-item:hover {
  color: #93bbfd;
}

[data-theme="dark"] .investment-suggestion-item:hover,
[data-theme="dark"] .investment-suggestion-item:focus {
  background: rgba(96, 165, 250, 0.12);
}

[data-theme="dark"] .btn-primary:hover {
  background-color: #3b82f6;
  border-color: #3b82f6;
  box-shadow: 0 12px 22px -12px rgba(96, 165, 250, 0.50);
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 3rem 0;
  }

  .hero-section .display-4 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .hero-section .lead {
    font-size: 1rem !important;
  }

  .hero-section .btn-lg {
    font-size: 0.95rem;
    padding: 0.65rem 1.5rem;
  }

  .hero-stats-row .col-4 {
    padding: 0.5rem 0.25rem;
  }

  .hero-stats-row h2 {
    font-size: 1.25rem;
  }

  .hero-stats-row small {
    font-size: 0.7rem;
    line-height: 1.3;
    display: block;
  }

  .hero-stats-row .border-end {
    border-right: 0 !important;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .hero-stats-row .col-4:last-child {
    border-bottom: 0;
  }

  .hero-mockup-card {
    max-width: 100% !important;
    margin-top: 2rem;
  }

  .hero-mockup-card h2 {
    font-size: 1.35rem;
  }

  .hero-mockup-card h5,
  .hero-mockup-card h6 {
    font-size: 0.9rem;
  }

  .text-muted {
    color: #475569 !important;
  }

  [data-theme="dark"] .text-muted {
    color: #94a3b8 !important;
  }

  .display-6 {
    font-size: 1.5rem;
  }

  .display-5 {
    font-size: 1.6rem;
  }

  .feature-card .text-muted,
  .card .text-muted {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  footer .text-muted {
    font-size: 0.875rem !important;
    line-height: 1.6;
  }

  footer h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem !important;
  }

  footer ul li {
    margin-bottom: 0.25rem;
  }

  footer ul li a {
    font-size: 0.875rem !important;
    padding: 0.15rem 0;
    display: inline-block;
  }

  .footer-bottom {
    font-size: 0.8rem;
    padding-top: 1rem;
    margin-top: 1.5rem;
  }

  .footer-bottom a {
    font-size: 0.8rem !important;
    display: inline-block;
    padding: 0.1rem 0;
  }

  .footer-bottom .d-flex {
    gap: 0.5rem !important;
    text-align: center;
  }

  .navbar .btn {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
  }

  .navbar .btn.rounded-pill {
    padding: 0.4rem 0.85rem;
  }

  .navbar-collapse .d-flex {
    padding: 0.75rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 0.5rem;
  }

  .navbar-collapse .d-flex .btn {
    flex: 1;
    text-align: center;
  }

  .navbar-nav .nav-link {
    padding: 0.6rem 0;
    font-size: 1rem;
  }

  .navbar-nav .dropdown-menu {
    border: 0;
    box-shadow: none !important;
    padding: 0 0 0 1rem;
    margin-bottom: 0.5rem;
  }

  .navbar-nav .dropdown-item {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }

  .cta-section {
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
    border-radius: 1rem !important;
  }

  .cta-section .display-5 {
    font-size: 1.4rem;
  }

  .cta-section .lead {
    font-size: 0.95rem !important;
  }

  .cta-section .btn-lg {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
  }

  .feature-check {
    padding: 0.75rem !important;
  }

  .feature-check .fw-medium {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .feature-check i {
    font-size: 0.85rem;
    margin-top: 0.2rem !important;
  }

  .card h4 {
    font-size: 1.1rem;
  }

  .card p.text-muted {
    font-size: 0.85rem;
  }

  .badge.rounded-pill {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  section.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  section.my-5 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
}

@media (max-width: 575.98px) {
  .hero-section .display-4 {
    font-size: 1.5rem;
  }

  .hero-section .btn {
    width: 100%;
    text-align: center;
  }

  .hero-section .d-flex.flex-wrap {
    flex-direction: column;
  }

  .display-6 {
    font-size: 1.3rem;
  }

  .display-5 {
    font-size: 1.4rem;
  }

  .cta-section .btn {
    width: 100%;
    text-align: center;
  }

  .cta-section .d-flex {
    flex-direction: column;
    align-items: stretch;
  }
}

