/* Header */

.home-page .header, .single-page .header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 11;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.9)) !important;
}

/* .home-page .header.fixed,.single-page .header.fixed {
 * *    background: linear-gradient(0deg,#171717,#171717,#171717,rgb(0 0 0))!important
 * *} */
.mobile_header {
  display: none;
}

.toggle__menu {
  width: 32px;
  height: auto;
  line-height: 0.6;
  cursor: pointer;
  display: none;
}
.toggle__menu span {
  background-color: #fff;
  width: 100%;
  height: 2px;
  display: inline-block;
  border-radius: 2px;
}
.toggle__menu span:nth-child(2) {
  width: 18px;
}
.toggle__menu.open {
  margin-top: 5px;
}
.toggle__menu.open span:nth-child(1) {
  transform: rotate(46deg);
}
.toggle__menu.open span:nth-child(2) {
  display: none;
}
.toggle__menu.open span:nth-child(3) {
  transform: rotate(-46deg);
  position: relative;
  top: -10px;
}

.toggle__menu {
  display: block;
  z-index: 9;
}

.menu-open {
  /* overflow: hidden; */
}

.header__main {
  padding: 25px 0;
  margin: 0 50px;
  transition: all 0.5s;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  transition: all 0.5s ease-in-out;
}
.header .down-arrow {
  position: absolute;
  top: 11px;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 6.5px 0 6.5px;
  border-color: #fff rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);
  transition: all 0.5s ease-in-out;
  display: none;
}
.header.fixed {
  background: #212121;
  transition: all 0.5s;
}

.portfolio-page .header.fixed {
  background: #212121;
  transition: all 0.5s;
}

.portfolio-page .header.fixed {
  background: #212121;
  transition: all 0.5s;
}

.header.fixed .header__top {
  display: none;
}

.header .header__menu-logo{
  margin-top: -3px;
  margin-left: 75px;
  padding: 0 !important;
}

.header ul li {
  position: relative;
  padding: 5px 0;
}
.header ul li.menu-as-button a{
  border: 1px solid #FFFFFF;
  padding: 3px 25px;
  margin-top: 15px;
  display: inline-block;
  border-radius: 6px;
  text-transform: uppercase;
  transition: .5s;
}

.header ul li.menu-as-button a:hover{
  border: 1px solid #FFFFFFB2;
}

.header ul li a {
  color: #FFFFFF;
  font-size: 30px;
  font-weight: 400;
  text-transform: capitalize;
  padding: 20px 40px 20px 20px;
}

.header ul li:not(.menu-as-button) a .menu-svg{
  margin-right: 25px;
}

.header ul li:not(.menu-as-button) a::after {
  /* content: "";
  top: 35%;
  transition: 0.5s;
  margin-left: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg width="53" height="19" viewBox="0 0 53 19" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.25 7.95508C0.559644 7.95508 0 8.51472 0 9.20508C0 9.89543 0.559644 10.4551 1.25 10.4551V7.95508ZM52.1339 10.089C52.622 9.60081 52.622 8.80935 52.1339 8.32119L44.1789 0.366243C43.6908 -0.121912 42.8993 -0.121912 42.4112 0.366243C41.923 0.854399 41.923 1.64585 42.4112 2.13401L49.4822 9.20508L42.4112 16.2761C41.923 16.7643 41.923 17.5558 42.4112 18.0439C42.8993 18.5321 43.6908 18.5321 44.1789 18.0439L52.1339 10.089ZM1.25 9.20508V10.4551H51.25V9.20508V7.95508H1.25V9.20508Z" fill="white"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  display: inline-block;
  width: 53px;
  height: 19px;
  pointer-events: none;
  cursor: not-allowed;
  position: absolute; */
  /* left: 0; */
}

.header ul li a:hover{
  color: #CF3232;
}


.header ul li.current-menu-item {
  background: #CF323226;
  border-radius: 8px;
  border-top: 1px solid #CF323226;
}

.header ul li:hover{
  background: #cf323218;
  border-top: 1px solid #cf323218;
  border-radius: 8px;
  /* background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='21' height='8' viewBox='0 0 21 8'><defs><linearGradient id='g' x1='0.5' y1='4.18' x2='20.5' y2='4.18' gradientUnits='userSpaceOnUse'><stop offset='0' stop-color='white' stop-opacity='0'/><stop offset='1' stop-color='white'/></linearGradient></defs><path fill='url(%23g)' d='M0.5 3.18c-.28 0-.5.22-.5.5s.22.5.5.5v-.5v-.5zm20.35.85c.2-.2.2-.52 0-.71L17.67.15a.5.5 0 0 0-.7 0c-.2.2-.2.52 0 .7l2.83 2.83-2.83 2.83c-.2.20-.2.52 0 .71a.5.5 0 0 0 .7 0l3.18-3.18zM0.5 3.68v.5h20v-.5v-.5h-20v.5z'/></svg>"); */
}

.header ul li:last-child {
  text-align: center;
}
.header ul li:last-child:hover {
  background: transparent;
  border-top: transparent;
}

.header ul li:hover,
.header ul li:hover + li,
.header ul li.current-menu-item + li {
  border-top: 1px solid #CF323226;
}

.header ul li.current-menu-item > a {
  color: #CF3232;
}

/* SVG color styling for active/inactive states */
.header ul li .menu-svg-inactive svg,
.header ul li .menu-svg-inactive path,
.header ul li .menu-svg-inactive g,
.header ul li .menu-svg-inactive circle,
.header ul li .menu-svg-inactive rect,
.header ul li .menu-svg-inactive line,
.header ul li .menu-svg-inactive polyline,
.header ul li .menu-svg-inactive polygon {
  fill: white !important;
  transition: .5s;
}

.header ul li.current-menu-item .menu-svg-active svg,
.header ul li.current-menu-item .menu-svg-active path,
.header ul li.current-menu-item .menu-svg-active g,
.header ul li.current-menu-item .menu-svg-active circle,
.header ul li.current-menu-item .menu-svg-active rect,
.header ul li.current-menu-item .menu-svg-active line,
.header ul li.current-menu-item .menu-svg-active polyline,
.header ul li.current-menu-item .menu-svg-active polygon {
  fill: #CF3232 !important;
  transition: .5s;
}

/* Hover state color changes */
.header ul li:hover .menu-svg svg,
.header ul li:hover .menu-svg path,
.header ul li:hover .menu-svg g,
.header ul li:hover .menu-svg circle,
.header ul li:hover .menu-svg rect,
.header ul li:hover .menu-svg line,
.header ul li:hover .menu-svg polyline,
.header ul li:hover .menu-svg polygon {
  fill: #CF3232 !important;
  transition: .5s;
}

.header ul li .down-arrow {
  border-color: #fff rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);
}
.header ul li:hover a ~ .sub-menu {
  opacity: 1;
  visibility: visible;
}
.header .sub-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  width: 310px;
  padding: 15px;
}
.header .sub-menu li {
  padding: 0;
  text-align: left;
}
.header .sub-menu li:not(:last-child) {
  margin-right: 0;
}


.header .header__social {
  position: absolute;
  bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding-left: 15px;
}

.header__logo {
  padding-left: 27px;
}


.header__logo img,
.header__logo.has-dark-logo img {
  padding: 0;
  max-width: 207px;
  margin: 0 auto;
  transition: all 0.5s;
}

/* Logo switching styles */
.header__logo .regular-logo,
.header__menu-logo .regular-logo {
  display: block;
}

.header__logo .dark-logo,
.header__menu-logo .dark-logo,
.header__logo .scrolling-logo,
.header__menu-logo .scrolling-logo {
  transition: all 0.5s;
  display: none;
}

/* When dark-logo class is added to header__logo */
.header__logo.has-dark-logo .regular-logo{
  transition: all 0.5s;
  display: none;
}

.header__logo.has-dark-logo .dark-logo{
  display: block;
}

/* When scrolling, scrolling logo takes priority over all other logos */
.header__logo.scroll-mode .regular-logo,
.header__logo.scroll-mode .dark-logo {
  display: none !important;
}

.header__logo.scroll-mode .scrolling-logo {
  display: block !important;
}

/* Fallback: if no scrolling logo, show regular logo when scrolling */
.header__logo.scroll-mode:not(:has(.scrolling-logo)) .regular-logo {
  display: block !important;
}

.header__logo.scroll-mode:not(:has(.scrolling-logo)) .dark-logo {
  display: none !important;
}

header :has(.header__logo.has-dark-logo) .toggle__menu span {
  background-color: #000000;
}
header :has(.header__logo.has-dark-logo) .toggle__menu.open span {
  background-color: #ffffff;
}

/* When in scroll mode, reset toggle menu to white */
header :has(.header__logo.scroll-mode) .toggle__menu span {
  background-color: #ffffff;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: end;
}

.rb_header-right .rb_soical {
  margin-left: 50px;
}

.header {
  z-index: 99;
}

.header.fixed .header__logo img {
  max-width: 207px;
}
.header ul li {
  text-align: center;
}
.header ul li a {
  color: #fff;
}
.header.fixed .header__main {
  padding: 20px 0;
}

@media (min-width: 768px) {
  .header__menu {
    display: flex;
    align-items: center;
    justify-content: end;
  }
}
@media (max-width: 1600px) {
  .header ul li a {
    font-size: 26px;
  }
  .header .sub-menu {
    width: 230px;
    padding: 10px;
  }
}
.header__menu {
  position: fixed;
  top: 0px;
  left: -350px;
  width: 350px;
  height: 100vh;
  background: #000000E5;
  backdrop-filter: blur(10px);
  padding: 30px;
  transition: left 0.3s;
  display: block;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.header__menu ul {
  display: block;
  position: relative;
  margin-top: 35px;
  margin-bottom: 70px;
  width: 100%;
  padding-left: 15px;
  flex: 1;
  overflow-y: auto;
  max-height: calc(100vh - 150px);
}
.header__menu ul li {
  width: -moz-fit-content;
  width: fit-content;
  border-top: 1px solid #FFFFFF1A;
  width: 95%;
  text-align: left;
  padding: 7px 0px;
  white-space: nowrap;
}

.header__menu ul li:first-child {
  border-top: none;
}

.header__menu ul::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  background-color: #000000E5;
}

.header__menu ul::-webkit-scrollbar {
  width: 4px;
  background-color: #000000E5;
}

.header__menu ul::-webkit-scrollbar-thumb {
  background-color: #cf323269;
}

/* Small screen height adjustments */
@media (max-height: 600px) {
  .header__menu ul {
    margin-top: 50px;
    max-height: calc(100vh - 100px);
  }
}

@media (max-height: 500px) {
  .header__menu {
    padding: 20px;
  }
  
  .header__menu ul {
    margin-top: 30px;
    max-height: calc(100vh - 80px);
  }
  
  .header__menu ul li {
    padding: 5px 0px;
  }
}

@media (max-height: 400px) {
  .header__menu {
    padding: 15px;
  }
  
  .header__menu ul {
    margin-top: 20px;
    max-height: calc(100vh - 60px);
  }
  
  .header__menu ul li a {
    font-size: 20px;
    padding: 15px 30px 15px 15px;
  }
}

@media (max-width: 991px) {
  .header .header__main {
    margin: 0 20px;
  }
  .header ul li a {
    font-size: 28px;
  }
}
@media (max-width: 767px) {
  .header ul li a {
    font-size: 22px;
  }
}
/* Header */

/* Footer */
footer {
  background-color: #F9EFEF;
}

.rl_footer-main {
  padding: 234px 0 50px;
  background-color: #101117;
}
.rl_footer-main .rl_footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rl_footer-main p {
  margin: 0;
  color: #ffffff;
}

.rl_footer {
  position: relative;
  background-color: #CF3232;
  color: #ffffff;
  padding: 95px 20px 75px;
  text-align: center;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: -186px;
}

.rl_footer_content {
  position: relative;
  z-index: 1;
}

.rl_footer_content h2, .rl_footer_content p {
  margin-bottom: 34px;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.rl_footer_content h2 p, .rl_footer_content p p {
  display: inline-block;
  margin-bottom: 0;
  font-size: 46px;
  color: #101117;
}

.rl_footer_buttons {
  margin-top: 20px;
}
.rl_footer_buttons a.rl_fs_13 {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 7px;
  letter-spacing: 0.5px;
}

.rl_btn_claim, .rl_btn_enterprise {
  background-color: #C22828;
  color: white;
  padding: 12px 30px;
  margin: 10px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.rl_btn_claim:hover, .rl_btn_enterprise:hover {
  background-color: #a91f1f;
}

.rl_footer_background svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.rl_footer_background svg .path {
  stroke-dasharray: 4000;
  stroke-dashoffset: 4000;
  animation: drawPath 4s ease forwards;
}

@keyframes drawPath {
  0% {
    stroke-dashoffset: 4000;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@media (max-width: 1520px) {
  .rl_footer {
    padding: 75px 20px 55px;
    margin-bottom: -146px;
  }
}
@media (max-width: 1380px) {
  .rl_footer {
    padding: 55px 20px 35px;
  }
}
@media (max-width: 1200px) {
  .rl_footer-main {
    padding: 160px 0 30px;
  }
  .rl_footer {
    padding: 45px 20px 25px;
    margin-bottom: -106px;
  }
  .rl_footer .rl_footer_content h2 p {
    font-size: 38px;
  }
  .rl_footer .rl_footer_content h2, .rl_footer .rl_footer_content p {
    margin-bottom: 15px;
  }
}
@media (max-width: 992px) {
  .rl_footer {
    margin-bottom: -116px;
  }
  .rl_footer .rl_footer_content h2 p {
    font-size: 34px;
  }
}
@media (max-width: 768px) {
  .rl_footer-main {
    padding: 150px 0 20px;
  }
  .rl_footer .rl_footer_content h2 p {
    font-size: 30px;
  }
}
@media (max-width: 767px) {
  .rl_footer-main img {
    max-width: 150px;
  }
}
@media (max-width: 575px) {
  .rl_footer-main img {
    margin: 0 auto;
  }
  .rl_footer-main .rl_footer-bottom {
    display: block;
  }
  .rl_footer-main .rl_footer-bottom {
    text-align: center;
  }
  .rl_footer-main .rl_footer_note {
    margin-top: 10px;
  }
}
/* Footer */