:root {
  --primary-color: #27307e;
  --secondary-color: #3c4afa;
}


.popup-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  position: relative;
  width: 500px;
  max-width: 90%;
  overflow: hidden;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  z-index: 10;
}

.popup-body {
  position: relative;
}

.popup-bg {
  width: 100%;
  display: block;
  cursor: pointer;
}

.popup-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #1e2a73;
  /* Blue text */
}

.popup-text h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.popup-btn {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #1e2a73;
  color: #1e2a73;
  text-decoration: none;
  border-radius: 5px;
  margin-bottom: 15px;
}

.popup-btn:hover {
  background-color: #1e2a73;
  color: white;
}

.popup-logo {
  width: 100px;
  margin-top: 15px;
}

.popup-tagline {
  font-size: 14px;
  color: #333;
  margin-top: 5px;
}


.top-bar {
  display: flex;
  flex-direction: row;
  justify-content: right;
  width: 96%;
}



.full-width-header .rs-header .menu-area .rs-menu-area {
  display: flex;
  align-items: center;
  justify-content: end;
}


.full-width-header .toolbar-area .toolbar-sl-share ul li.opening {
  display: flex;
  /* Make li a flex container */
  align-items: center;
  /* Align link text and bar */
}

.full-width-header .toolbar-area .toolbar-sl-share ul li.opening:not(:last-child)::after {
  content: "|";
  /* Add vertical bar */
  color: var(--primary-color);
  margin-left: 10px;
  /* Space between link and bar */
  font-weight: normal;
}


.full-width-header .rs-header .menu-area .logo-area,
.full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu li a {
  height: 85px;
  line-height: 85px;
}

.full-width-header .toolbar-area .toolbar-contact ul li {
  padding: 9px 20px 7px 0;
}

.full-width-header .toolbar-area .toolbar-sl-share ul li {
  padding: 8px 0;
}

.full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu li.menu-item-has-children a:before,
.full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu li:hover.menu-item-has-children a:before {
  content: none;
}

@media only screen and (max-width: 991px) {
  .full-width-header .rs-header .menu-area .main-menu .rs-menu {
    /* padding-right: 30px; */
    position: absolute;
    z-index: 9;
    right: 0;
  }
}

.readon {
  background-color: var(--secondary-color);
  width: 100%;
  text-align: center;
}

.readon:hover {
  background-color: white;
  color: var(--primary-color);
}

#hero {
  background-image: url(../img/hp/hero.jpg);
  background-size: cover;
  padding: 150px 0;
}

#hero .hero-title-box {
  padding: 0 20px;
  margin-bottom: 50px;
  width: auto;
  position: relative;
  left: 0;
  text-align: center;
}

#hero .hero-title-box h1 {
  margin-bottom: 0;
  color: white;
  font-weight: 400 !important;
}

#hero .subtitle {
  background: var(--primary-color);
  margin-bottom: 0;
  color: white;
  width: fit-content;
  padding: 20px 36px;
  font-weight: 300;
  position: relative;
  right: 15px;
}

#hero .product-box {
  padding: 50px;
  background: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 160px;
}

#hero .product-box h4 {
  font-size: 14px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#hero .product-box a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  height: 100%;
}

#hero .product-box img {
  width: 88px;
  margin-bottom: 10px;
}

#hero .product-box.grey-bg {
  background: #f1f1f1;
}

#news {
  background-image: url(../img/hp/hero2.jpg);
  padding: 150px 0;
  background-size: cover;
}

#news .news-box {
  background: var(--primary-color);
  padding: 100px;
}

#news .news-box h2 {
  background: var(--primary-color);
  margin-bottom: 25px;
  color: white;
  font-weight: 300;
  text-align: center;
}

#news .hp-arrows::after {
  font-size: 22px;
  color: white;
}

#news .hp-arrows {
  position: relative;
  top: unset;
  bottom: unset;
  left: unset;
  right: unset;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px white solid;
  transition: all 0.3s ease;
}

#news .hp-arrows:hover {
  background-color: white;
  color: var(--primary-color);
}

#news .hp-arrows:hover::after {
  color: var(--primary-color);
}

#news .arrows-container {
  gap: 10px;
}

#news .mySwiper {
  background-color: white;
  height: 100%;
  margin: 0;
}

#news .mySwiper .swiper-slide {
  padding: 50px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

#news p.subtitle {
  font-weight: 300;
  color: var(--primary-color);
  width: 100%;
}

#news .article-link {
  font-weight: 400;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 24px;
  line-height: 130%;
}

#news .readmore {
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 30px;
  display: block;
  width: 100%;
}

#news .readmore i {
  transition: all 0.3s ease;
  display: inline-block;
}

#news .readmore i::before {
  font-weight: 900 !important;
}

#news .readmore:hover i {
  transform: translateX(5px);
}

body.home-eight .rs-footer {
  background: #111111;
}

.rs-footer .footer-newsletter,
.rs-footer .footer-bottom {
  border: none;
  padding: 0;
}

.rs-footer {
  padding: 80px 0 30px;
}

.upper-footer {
  margin-bottom: 30px;
  padding-bottom: 60px;
  border-bottom: 2px solid #212326;
}

.rs-footer .footer-newsletter .title {
  font-size: 30px;
  font-weight: 400;
  line-height: 120%;
}

.footer-content a {
  color: white;
  margin-bottom: 10px;
  display: block;
}

.footer-bottom p {
  color: white;
  opacity: 0.5;
  margin-bottom: 15px;
}

.stores {
  gap: 15px;
  margin-bottom: 30px;
}

.rs-footer .footer-bottom .footer-social li a {
  width: 45px;
  height: 45px;
  line-height: 45px;
  border-radius: 50%;
}

.policies {
  display: flex;
  gap: 15px;
}

.policies a,
.lower-footer p {
  color: white;
  opacity: 0.5;
  font-weight: 300;
  line-height: 120%;
  font-size: 14px;
}

.lower-footer>div {
  padding: 0;
}

.policies a:hover {
  opacity: 1;
}

.rs-menu .opening a {
  padding: 0;
}

.opening .login {
  background-color: white;
  color: var(--primary-color) !important;
  border-radius: 30px;
  padding: 2px 12px 2px 10px !important;
  font-weight: 500;
}

.opening.before-last {
  margin-right: 0;
}

.opening:last-child {
  padding-right: 8px !important;
}

body.home-eight .full-width-header .toolbar-area .toolbar-sl-share ul li.opening {
  border: none;
  margin: 0;
}

.full-width-header .toolbar-area .toolbar-contact ul li {
  padding: 12px;
  border: none;
}

body.home-eight .full-width-header .toolbar-area .toolbar-sl-share ul li.opening:not(:last-child) {
  padding: 12px 6px;
}

.full-width-header .toolbar-area .toolbar-contact ul li {
  margin: 0;
}

.opening .sub-menu {
  z-index: 1000 !important;
  text-align: left;
  transition: 0.3s ease-in-out;
  text-align: start !important;
  right: 0 !important;
  left: unset;
}

.sub-menu li a {
  line-height: 150% !important;
  height: unset !important;
}

.opening ul.sub-menu {
  background: #27307e;
  margin: 0;
  padding: 15px 0;
  border-radius: 0 0 5px 5px;
  right: unset;
}

.opening ul.sub-menu li {
  padding: 0 !important;
  border: none !important;
}

.opening ul.sub-menu li a {
  font-weight: 400;
  font-size: 14px;
  padding: 8px 30px !important;
  text-transform: capitalize;
}

.opening.menu-item-has-children .sub-menu li a {
  color: white !important;
}

.opening.menu-item-has-children .sub-menu li a:hover {
  color: var(--primary-color);
}


body.home-eight .full-width-header .toolbar-area .toolbar-contact ul li:first-child {
  padding-left: 0;
}

.full-width-header .toolbar-area .toolbar-sl-share ul li:last-child {
  padding-right: 0 !important;
}

.full-width-header .rs-header .menu-area .logo-area img {
  max-height: 48px;
}

.full-width-header .rs-header .menu-area.sticky .logo-area img {
  max-height: 48px;
}

@media screen and (min-width: 992px) {
  .rs-menu ul ul a {
    width: 250px;
  }

}


.downloads-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

.downloads-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 25px 0;
  max-width: 320px;
}

.btn-download {
  background-color: #fff;
  color: black;
  padding: 12px 20px;
  border: 2px solid black;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-download i {
  margin-right: 20px;
  font-size: 1.2rem;
}


.formsButtons a {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  padding: 8px 40px;
  border-radius: 3px;
  display: inline-block;
  float: none;
  text-decoration: none !important;
  font-size: 15px;
  line-height: 15px;
  transition: all 0.25s ease;
  margin-left: 0;
}

.formsButtons a:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.formsButtons a:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  display: block;
  background: #fff;
  border-radius: 15px;
  padding: 40px 25px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

.service-card .icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
}

.filters {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 30px 0;
  flex-wrap: wrap;
}

.filters label {
  font-weight: 600;
  margin-right: 10px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
  align-items: stretch;
}

.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.news-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.news-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.news-desc {
  font-size: 15px;
  color: #444;
  margin-bottom: 15px;
  flex-grow: 1;
}

.read-more {
  display: inline-block;
  padding: 8px 16px;
  background: #27307e;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
  margin-top: auto;
}

.read-more:hover {
  background: var(--secondary-color);
  color: white;
}

.article-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

/* .article-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 0;
} */

.back-btn {
  display: inline-block;
  padding: 8px 16px;
  background: var(--secondary-color);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
  width: fit-content;
}

.back-btn:hover {
  background: var(--primary-color);
  color: white
}

.article-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
  white-space: nowrap;
}

.article-meta {
  margin-top: -30px;
  color: #666;
  font-size: 14px;
}

.article-body {
  margin-top: 132px;
  line-height: 1.7;
}

.article-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 8px;
  object-fit: cover;
}

/* .article-right {
  font-size: 16px;
  line-height: 1.2;
  color: #333;
  font-weight: 500;
  margin-top: 185px;
  margin-left: 0;
  width: 100%;
} */

.news-article-content {
  font-family: 'Benton Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 1em 0 1.5em 1.5em;
  padding-left: 1.2em;
  list-style-type: disc;
}

.news-article-content li {
  margin-bottom: 0.6em;
}

.article-text {
  font-family: 'Benton Sans', sans-serif;
  font-size: 16px;
  line-height: 1.3;
  color: #333;
  font-weight: 500;
  margin-bottom: 15px;
  max-width: 100%;
}

.article-h2 {
  font-family: 'Benton Sans', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.article-h3 {
  font-family: 'Benton Sans', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.complaint-form {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.complaint-form h2 {
  font-weight: 600;
  font-size: 24px;
  color: #27307f;
  margin-bottom: 20px;
}

.complaint-form .form-control {
  border-radius: 10px;
  border: 1px solid #dcdcdc;
  padding: 12px 15px;
  font-size: 15px;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.complaint-form .form-control:focus {
  border-color: #27307f;
  box-shadow: 0 0 6px rgba(39, 48, 127, 0.2);
}

.complaint-form .input-group .form-control {
  border-right: none;
}

.complaint-form .input-group-text {
  border-radius: 0 10px 10px 0;
  background-color: #f3f4f6;
  border-left: none;
}

.complaint-form .form-check-label {
  margin-left: 5px;
  font-weight: 400;
  cursor: pointer;
}

.complaint-form .form-row {
  margin-bottom: 15px;
}

.complaint-form .form-group {
  margin-bottom: 15px;
}

.complaint-form input[type="time"],
.complaint-form input[type="date"] {
  max-width: 100%;
}

.complaint-form textarea {
  resize: vertical;
  min-height: 120px;
}

.complaint-form button[type="submit"] {
  border-radius: 30px;
  padding: 12px 35px;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.3s ease;
}

.complaint-form button[type="submit"]:hover {
  background: #1e255e;
}

.contact-form-section {
  margin-top: 60px;
  border: 1px solid #ddd;
}

.contact-form-section h4 {
  font-weight: 600;
}

.contact-form-section .form-control,
.contact-form-section .form-select {
  border-radius: 8px;
}


@media(max-width: 568px) {
  /* #hero .hero-title-box h1 {
    font-size: 36px !important;
    line-height: 40px;
    position: relative;
    right: 268px;
  } */


  #hero .hero-title-box h1 {
    font-size: 35px;
  }

  #hero .subtitle {
    font-size: 20px;
  }

  .full-width-header .rs-header .menu-area .main-menu .rs-menu:not(.rs-menu-close) {
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    padding: 0;
  }

  .full-width-header .rs-header .menu-area .logo-area,
  .full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu li a {
    height: unset !important;
    line-height: 100% !important;
  }

  .full-width-header .rs-header .menu-area .logo-area img {
    margin-top: 20px;
  }

  #statistics .counter__item-text p {
    margin-top: -28px;
  }

  #statistics .counter__item-text-title {
    font-size: 29px;
  }

  .article-image {
    margin-bottom: -120px;
  }

  .complaint-form h2 {
    font-weight: 600;
    font-size: 24px !important;
    color: #27307f;
    margin-bottom: 18px;
  }

  .btn-lg {
    width: 100%;
    padding: 12px;
    font-size: 16px;
  }
}

#statistics .counter__item-text p {
  font-size: 21px;
  font-weight: 500;
}

.text-primary {
  color: #27307e !important;
}

.btn.btn-primary {
  background: #27307e !important;
  border-color: #27307e !important;
}

.btn.btn-primary:hover {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
}

.form-control:focus {
  box-shadow: none !important;
  border: 1px solid #ced4da !important;
}

.button-group {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.form-control {
  padding: 10px !important;
}

#account-form {
  background-color: #f9f9fb;
}

.account-form-wrapper {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e6f3;
}

.form-title {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 28px;
}

.form-label {
  font-weight: 500;
  color: var(--primary-color);
}

.form-control,
.form-select {
  border-radius: 8px;
  border: 1px solid #ced4da;
  padding: 10px 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(60, 74, 250, 0.15);
}

.form-note {
  font-size: 14px;
  color: #555;
}

.btn-submit {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 40px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

.form-control:focus,
.form-select:focus {
  border-color: #ced4da;
  box-shadow: none;
}

.full-width-header .toolbar-area .toolbar-sl-share ul li a:hover {
  color: #9e9da1;
}