@import url('https://fonts.googleapis.com/css2?family=Commissioner:wght@100..900&display=swap');

:root {
  --main-blue: #1E1E1E;
}
a {
  cursor: pointer;
}
html,
body {
   font-family: "Commissioner", sans-serif;
  font-size: 20px;
  color: #1e1e1e;
}
.py-4 {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}
h1,
h2,
h3,
h4,
h5 {
  color: #000000;
}
h1 {
  font-size: 56px;
  font-weight: 700;
}
header {
  color: #ffffff;
  background-color: var(--main-blue);
  padding: 8px 0;
  font-size: 16px;
}
header a {
  text-decoration: none;
  color: #ffffff;
}
.nav-link:focus,
.nav-link:hover {
  color: #ffffffc2;
}
.container {
  max-width: 1240px;
}
.nav-link {
  display: flex;
  align-items: center;
  color: #ffffff;
}
.button {
  border-radius: 4px;
  text-decoration: none;
  display: flex;
  gap: 8px;
  padding: 16px;
  justify-content: center;
  align-items: center;
  border: 1px solid #ffffff;
  font-size: 16px;
}
.button.filled {
  background-color: #fff;
  color: #4F52FF;
}
.button.filled2 {
  background-color: #4F52FF;
  color: #fff;
}

h4{
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #4F52FF !important;
}
h5{
      color: #4F52FF !important;
      font-weight: 300;
      font-size: 14px;
      margin-bottom: 16px;
}
li{
    font-size: 16px;
}
.btn.dropdown-toggle {
  border-radius: 24px;
}
.navbar-toggler {
  border: none;
}
.navbar-toggler-icon {
  background-image: url("../images/burger-menu.svg");
}
.btn-close {
  background: transparent url("../images/close.svg") center/1em auto no-repeat;
  width: 24px;
  height: 24px;
  font-size: 24px;
  opacity: 1;
}
.dropdown-toggle::after {
  border: none;
  background-image: url(../images/arrow-down.svg);
  background-repeat: no-repeat;
  width: 24px;
  height: 24px;
  vertical-align: text-bottom;
}
.dropdown-item {
  display: flex;
  gap: 8px;
}
.dropdown-menu,
.dropdown-item:focus,
.dropdown-item:hover {
  border-radius: 24px;
}
.offcanvas .nav-link {
  font-size: 18px;
}

/* ===== OFFCANVAS BASE ===== */
.offcanvas-full {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  border: none;
  background: var(--main-blue);
  color: #fff;
  transform: translate3d(-100%, 0, 0);
  opacity: 1;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* ===== OPEN STATE ===== */
.offcanvas-full.show {
  transform: translate3d(0, 0, 0);
}

.offcanvas {
  transition: none !important;
}

.offcanvas-backdrop {
  background: rgba(0, 0, 0, 0.4);
}

.offcanvas-backdrop.show {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.offcanvas-full .offcanvas-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

/* ===== NAV ITEMS ANIMATION ===== */
.offcanvas-full .nav-item {
  opacity: 0;
  transform: translateY(20px);
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.offcanvas-full.show .nav-item {
  opacity: 1;
  transform: translateY(0);
}

.offcanvas-full.show .nav-item:nth-child(1) {
  transition-delay: 0.1s;
}
.offcanvas-full.show .nav-item:nth-child(2) {
  transition-delay: 0.15s;
}
.offcanvas-full.show .nav-item:nth-child(3) {
  transition-delay: 0.2s;
}

/* ===== LINKS ===== */
.offcanvas-full .nav-link {
  font-size: 22px;
}
.offcanvas-body .button,
.offcanvas-body .nav-item {
  width: 100%;
  display: flex;
  justify-content: center;
}

body.offcanvas-open {
  padding-right: 0 !important;
}

main {
  padding: 0 0 70px 0;
}
footer {
  background-color: var(--main-blue);
  font-size: 16px;
  color: #ffffff;
}
footer .logo {
  width: 128px;
}
footer .list {
  display: flex;
  flex-wrap: wrap;
  width: auto;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
}
footer a {
  color: #ffffff;
  text-decoration: none;
}
.copyright {
  font-weight: 300;
}
.banner {
  height: 100vh;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)),
    url(../images/main-banner.jpg) !important;
  background-size: cover;
  font-size: 24px;
}
.banner .button {
  margin-top: 40px;
  max-width: 400px;
  width: 100%;
}
.news {
  padding-bottom: 48px;
}
.article {
  color: inherit;
  text-decoration: none;
  display: flex;
  gap: 20px;
}
.article img {
  width: 100%;
  height: 145px;
  object-fit: cover;
}
.article.main {
  flex-direction: column;
  gap: 12px;
}
.article.main img {
  height: 477px;
}
.articles-block {
  display: grid;
  gap: 16px;
}
.article .title-article {
  font-size: 20px;
  font-weight: 700;
}
.article.main .title-article {
  font-size: 40px;
}
.chip {
  width: fit-content;
  height: auto;
  font-size: 14px;
  padding: 4px 16px;
  border-radius: 16px;
  margin-bottom: 8px;
}
.chip.green {
  color: #008a37;
  background-color: #00ff6640;
}
.chip.pink {
  color: #fd00f4;
  background-color: #ffa9e740;
}
.chip.purpule {
  color: var(--main-blue);
  background-color: #b0a9ff40;
}
.chip.orange {
  color: #ff7f00;
  background-color: #ff7f0040;
}
.chip.yellow {
  color: #9c7700;
  background-color: #ffd40040;
}
.news .col-md-5 {
  padding: 0;
}
.news .col-md-7,
.news .col-md-6 {
  padding: 0 20px 0 0;
}
.news .flex-row-reverse .col-md-7 {
  padding: 0 0 0 20px;
}
.form-title {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
}
.form-title span {
  color: #4F52FF;
}
button[type="submit"] {
  background-color: #4F52FF;
  color: #ffffff;
  width: 100%;
  margin-top: 24px;
}
.form-label {
  font-size: 14px;
  color: #1e1e1e;
  font-weight: 300;
}
.form-control {
  border: 1px solid #1a109126;
  padding: 16px;
  border-radius: 4px;
}
.form-control::placeholder {
  font-size: 16px;
  color: #1a109126;
}
.form-control#email::before {
  content: "";
  background: url(../images/mail.svg) no-repeat center/contain;
  width: 24px;
  height: 24px;
  display: block;
}
.form-input {
  margin-bottom: 16px;
}
.input-group-text {
  background-color: transparent;
}
.input-group-text.email {
  padding-right: 0;
  border-right: none;
}
.input-group-text.pass {
  padding-left: 0;
  border-left: none;
  cursor: pointer;
}
.form-control[type="email"] {
  padding-left: 8px;
}
.form-control.pass {
  padding-right: 8px;
  border-right: none;
}
.modal-header {
  border: none;
}
.modal-body {
  padding: 40px;
}
.modal-dialog {
  max-width: 602px;
}
.modal-body .btn-close {
  margin-left: auto;
  display: block;
  background: transparent url(../images/close-btn.svg) center / 1em auto
    no-repeat;
}
.modal-dialog.merci {
  margin: inherit;
  height: auto;
  margin: var(--bs-modal-margin);
}
.modal-dialog.merci .modal-content {
  height: auto !important;
  border-radius: var(--bs-modal-border-radius) !important;
}
.modal-dialog.merci .btn-close {
  background: transparent url(../images/close-btn.svg) center / 1em auto
    no-repeat !important;
  margin-left: auto;
  margin-right: 0;
}
#tnx {
  display: none;
}
#tnx span {
  color: var(--main-blue);
}
.adv {

  color: #1E1E1E;

  text-align: center;
  font-size: 19px;
}
.adv h3 {
  color: #1E1E1E;
}
h2 {
    font-size: 24px;
  font-weight: 700;
}
p{
    font-size: 16px;
}
.sidebar {
  top: 30px;
  border-left: 1px solid #4F52FF;
  padding-left: 20px;
}
h3 {
  font-size: 28px;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.plans {
  padding-inline: 16px;
  padding-bottom: 80px;
}
.plan-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  padding: 24px 16px;
  cursor: pointer;
  transition: 0.3s;
  background: #F3F3FF;
  height: 100%;
}
.plan-card.active {
  background: var(--main-blue);

  color: #fff;
}

.plan-desc {
  color: #787878;
  margin-bottom: 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
}

.plan-card h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #4F52FF;
}
.plan-card.active h2 {
  color: #fff;
}
.plan-card.active .plan-desc {
  color: #BDD0FB;
}

.plan-price {
  margin-bottom: 24px;
}

.price-main {
  font-size: 48px;
  font-weight: 700;
  color: black;
}

.plan-card.active .price-main {
  color: #E9EFFD;
}

.price-period {
  font-size: 20px;
  font-weight: 400;
  color: #787878;
}

.plan-card.active .price-period {
  color: #DAE3FE;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex-grow: 1;
}

.plan-list li {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 400;
}
.plan-card.active .plan-list li {
  color: #FFFFFF;
}
.plan-list svg {
  width: 24px;
  height: 24px;
}

.plan-btn {
  width: 100%;
  border-radius: 4px;
  background: #4F52FF;
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 16px 24px;
  margin-top: auto;
  font-weight: 400;
}

.plan-card.active .plan-btn {
  background: #ffffff;
  color: #300ff0;
}
.post-content {
  max-width: 610px;
  width: 100%;
}
.post-content h4 {
  color: #1a1091;
  font-size: 20px;
  font-weight: 700;
}
.post-time {
  margin: 8px 0 16px;
  color: #787878;
  font-size: 14px;
  font-weight: 300;
}
