:root {
  --brand: #000;
  --brand-second: #033fd5;
  --dark: #0c121d;
  --body: #516171;
  --border: rgba(0, 0, 0, 0.08);
  --text-white: #fff;
  --shadow: 0px 6px 30px rgba(0, 0, 0, 0.08);
}

.ol {
  outline: 1px solid red;
}

.h {
  display: none;
}

/* Apply only to paragraphs and headings */
p::selection,
h1::selection,
h2::selection,
h3::selection,
h4::selection,
h5::selection,
h6::selection {
  background-color: var(--brand-second);
  color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-bottom: 0;
}

h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(36px, 5vw, 50px);
  font-weight: 700;
  color: #343a40;
  line-height: 1.1;
}

.second-text {
  color: var(--brand);
}

h2 {
  text-transform: capitalize;
  color: #000;
  font-weight: clamp(300, 50vw, 600);
  font-size: clamp(28px, 5vw, 40px);
}

h5 {
  font-size: 17px;
  text-transform: uppercase;
  color: var(--brand-second);
  font-weight: 500;
  letter-spacing: 2px;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  /* overflow-x: hidden; */
}

p {
  font-size: 15px;
  line-height: 30px;
  color: #787878;
}

a {
  text-decoration: none;
  transition: all 0.5s ease;
  display: inline-block;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

section {
  padding: 120px 0;
}
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* default btn styles */
.hero-btn {
  background: var(--brand-second);
  color: #fff;
  font-size: 16px;
  padding: 15px 30px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}
.hero-btn::after {
  position: absolute;
  content: "";
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #0ea8fe;
  z-index: -1;
  transition: all 0.3s ease;
}
.hero-btn:hover.hero-btn::after {
  left: 0;
}
.second-btn {
  background: var(--brand-second);
  color: #fff;
  padding: 13px 22px;
  display: inline-block;
  margin-top: 30px;
  border-radius: 3px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  overflow: hidden;
}
.second-btn::after {
  position: absolute;
  content: "";
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--brand);
  z-index: -1;
  transition: all 0.3s ease;
}
.second-btn:hover.second-btn::after {
  left: 0;
}

@media (max-width: 380px) {
  .hero-btn-second {
    display: none !important;
  }
}

/* top navi */
@media (max-width: 1024px) {
  .top-navi {
    display: none;
  }
}
.top-navi {
  background: #212429;
  padding: 9px 0;
  position: relative;
  z-index: 2;
}
.top-navi i {
  color: var(--brand-second);
}
.top-navi span {
  color: #a8a8a8;
  font-size: 14px;
}
.primecocolank {
  background: var(--brand-second);
  border-radius: 100vh;
  display: inline-block;
  padding: 0 5px;
}
.primecocolank {
  color: #ffffff !important;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.5s ease;
}
.primecocolank i {
  color: #ffffff !important;
  transition: all 0.5s ease;
}
.primecocolank:hover {
  background: #fff;
  color: #212429 !important;
}
.primecocolank:hover i {
  color: #212429 !important;
}

/* navigation */
/* add the box shadow to navigation when page scroll */
.navbar {
  transition: box-shadow 0.3s ease; /* Smooth transition for the shadow */
  /* border-top: 5px solid var(--brand-second); */
}
.navbar.scrolled {
  box-shadow: 0 0 3.125rem rgba(0, 0, 0, 0.1) !important;
}
/* add the box shadow to navigation when page scroll */
.navbar .container {
  position: relative;
}

.nav-logo {
  width: 234px;
  /* padding: 20px 0; */
  padding: 0 !important;
}
@media (max-width: 800px) {
  .nav-logo {
    width: 250px;
    padding: 15px 0;
  }
}
@media (max-width: 350px) {
  .nav-logo {
    width: 200px !important;
    padding: 15px 0;
  }
}
.navbar-toggler:focus {
  box-shadow: none;
}
.dropdown > .dropdown-menu {
  background: #fff;
  border: none;
  border-radius: 0;
}
.toggle-icon {
  font-size: 30px;
}
.close-icon {
  font-size: 25px;
}
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #242424;
  text-transform: uppercase;
  position: relative;
  padding: 20px 0 !important;
}
@media (max-width: 10240px) {
  .nav-link {
    padding: 10px 0 !important;
  }
}

nav .nav-link:hover {
  color: var(--brand);
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: var(--brand);
}

.dropdown-item.active,
.dropdown-item:active {
  background: var(--brand);
}

@media (min-width: 992px) {
  .dropdown > .dropdown-menu {
    visibility: hidden;
    opacity: 0;
    top: 100%;
    display: block;
    transition: all 0.1s ease-out;
    /* dropdown menu space between link and dropdown */
    padding-top: 9px !important;
    /* margin-top: 8px !important; */
    margin-left: 5px;
  }
}
.dropdown:hover > .dropdown-menu {
  padding: 20px 0;
  display: block;
  visibility: visible;
  opacity: 1;
  transition: all 0.3s ease-in-out;
}
/* desktop hover like decorations */
.nav-link {
  /* outline: 1px solid red; */
  padding: 5px 20px !important;
  /* margin-left: 10px; */

  position: relative;
  transition: all 0.3s ease;
  color: #242424;
  font-size: 14.5px;
  font-weight: 500;
}
@media (min-width: 1200px) {
  .home-nav-item {
    border-left: none;
  }
}

/* hover */
nav .nav-link:hover {
  color: var(--brand-second);
}

/* active */
.navbar-nav .nav-link.active {
  color: #fff !important;
  transition: all 0.5s ease;
  background: var(--brand-second);
  border-radius: 100vh;
  display: inline-block;
}

/* Apply same styles for hovered class, hover, and focus */
.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.hovered {
  color: #fff;
  background: var(--brand);
}

@media (max-width: 425px) {
  .nav-logo {
    max-width: 250px;
    width: 100%;
  }
}

.dropdown-item {
  padding: 15px 20px;
  font-weight: 500;
  text-transform: uppercase;
}

/* social button */
@media (max-width: 1024px) {
  .social-icon-wrapper {
    display: none !important;
  }
}
.h-social-icons-box > a {
  color: var(--dark);
  transition: all 0.5s ease;
}
.h-social-icons-box > a:hover {
  color: var(--brand-second);
}

/* back to top */
/* back to top */
.back-to-top {
  position: fixed;
  bottom: 10px;
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: var(--brand-second);
  color: white;
  pointer-events: none;
  transition: all 0.5s ease;
  opacity: 0;
  z-index: 2;
  border: 1px solid transparent;
}
.back-to-top i {
  font-size: 30px;
}
.back-to-top:hover {
  color: white;
  background-color: var(--brand);
  transform: rotate(180deg);
  border: 1px solid #ffffff1f;
}
.back-to-top.active {
  opacity: 1;
  pointer-events: auto;
  bottom: 40px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: rgb(233, 233, 233);
}
::-webkit-scrollbar-thumb {
  background: var(--brand-second);
}

/* page scroll animation */
.scroll-element {
  opacity: 0;
  transition: opacity 0.3s ease;
}
/* Scroll animation keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInTopLeft {
  from {
    opacity: 0;
    transform: translate(-20px, -20px);
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}
@keyframes fadeInTopRight {
  from {
    opacity: 0;
    transform: translate(20px, -20px);
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}
@keyframes fadeInBottomLeft {
  from {
    opacity: 0;
    transform: translate(-20px, 20px);
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}
@keyframes fadeInBottomRight {
  from {
    opacity: 0;
    transform: translate(20px, 20px);
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes zoomInLeft {
  from {
    opacity: 0;
    transform: scale(0.8) translateX(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateX(0);
  }
}
@keyframes zoomInRight {
  from {
    opacity: 0;
    transform: scale(0.8) translateX(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateX(0);
  }
}
@keyframes zoomInUp {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-180deg);
  }
  to {
    opacity: 1;
    transform: rotate(0);
  }
}
@keyframes rotateInDownLeft {
  from {
    opacity: 0;
    transform: rotate(-90deg) translateX(-20px);
  }
  to {
    opacity: 1;
    transform: rotate(0) translateX(0);
  }
}
@keyframes rotateInDownRight {
  from {
    opacity: 0;
    transform: rotate(90deg) translateX(20px);
  }
  to {
    opacity: 1;
    transform: rotate(0) translateX(0);
  }
}
.animate {
  animation-fill-mode: both;
}

/* ################### 404 ###################### */
.fnf-box h1 {
  font-size: 70px;
}
.fnf-box p {
  margin: 20px 0;
  font-size: 18px;
}
.fnf-img img {
  width: 450px;
}

/* ######################### */
/* footer */
footer {
  background: #000;
  color: var(--text-white);
  position: relative;
  background-image: linear-gradient(360deg, hwb(0 0% 100% / 1), hwb(0 0% 100% / 0.7));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-top: 6px solid var(--brand);
}

.footer-top {
  padding: 100px 0 30px 0;
}
.ft-icon-box ul {
  list-style: none;
  display: flex;
  padding: 0;
  gap: 20px;
}
.ft-icon-box ul a {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--brand);
  width: 45px;
  height: 45px;
  color: var(--text-white);
  transition: all 0.3s ease-in;
}
.ft-icon-box ul a:hover {
  background: var(--brand-second);
}
.fo-url-box ul {
  list-style: none;
  padding: 0;
}
.fo-url-box a {
  color: hwb(0 100% 0% / 0.5);
  font-size: 15px;
}
.fo-url-box a:hover {
  color: var(--brand-second);
}
.fo-contact-box p {
  color: hwb(0 100% 0% / 0.5);
  font-size: 15px;
}
.fo-contact-box p span {
  font-weight: 700;
}
/*  */
.footer-bottom {
  border-top: 1px solid #72727260;
  padding: 30px 0;
}
.footer-top ul * + * {
  margin-top: 2px;
}
.footer-second-column {
  margin-left: auto;
}

@media (max-width: 768px) {
  .footer-second-column {
    margin-left: 70px;
  }
}
@media (max-width: 425px) {
  .footer-second-column {
    margin-left: 0;
  }
}

/* welcome back massebox */
.welcomeback {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 40;
  width: 300px;
  background: var(--brand-second);
  color: #fff;
  border-radius: 10px;
  border: 1px solid #fff;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  overflow: hidden;
  transition: all 1s ease;
  transform: translateX(150%);
}
.show {
  transform: translateX(0);
}
.welcomeback > .top-text {
  padding: 30px;
}
.welcomeback > .top-text * + * {
  margin-top: 10px;
}
.welcomeback > .top-text p {
  color: #e6e6e6;
  font-weight: 200;
}
.welcomeback > .top-text h4 {
  font-size: 30px;
  font-weight: 600;
}
.welcomeback > .top-text .body-text {
  font-weight: 400 !important;
  line-height: 1.4;
  font-weight: 300 !important;
}
.welcomeback > .buttom-text {
  background: #fff;
  padding: 20px;
}
/* btn */
.welcome-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 17px;
}
@media (max-width: 600px) {
  .welcomeback {
    display: none;
  }
}
