/********** Template CSS **********/
:root {
  --primary: #2e3092;
  --secondary: #Ed1c24;
  --light: #EFFDF5;
  --dark: #0E2E50;
  --secondary-dark: #61090c;
}

html{
  background-color: #fff;
  color: #555;
  font-family: Publico,'Lato','Arial', sans-serif;
  font-weight: 100;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 9999;
  border-radius: 50% !important;
  
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #FFFFFF;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}


.btn-lg-square{
  width: 48px;
  height: 48px;
}
.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50px;
}


/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/* links  */
/* a:link,
a:visited
{
    color: #22e632;
    text-decoration: none;
    padding-bottom: 1px; 
    border-bottom: 1px solid #22e632;
    transition: border-bottom 1s, color 1s;
}

a:hover,
a:active{
    color: #555;
    border-bottom: 1px solid transparent;
} */

/*** Button ***/
/*------BUTTONS------*/
.bt:link,
.bt:visited,
input[type=submit]
{
    display: inline-block;
    padding: 10px 30px;
    font-weight: 300;
    text-decoration: none;
    border-radius: 200px;
    transition: background-color 2s, border 2s, color 2s;
}


.bt-full:link,
.bt-full:visited,
input[type=submit] 
{
    background-color: var(--secondary);
    border: 1px solid var(--secondary);
    color: #fff;
    margin-right: 15px;
}

.bt-ghost:link,
.bt-ghost:visited{
    border: 1px solid var(--secondary);
    color: var(--secondary);
}

.bt:hover,
.bt:active,
input[type=submit]:hover,
input[type=submit]:active
{
    background-color: var(--secondary-dark);
    transition: 2s;
}

.bt-full:hover,
.bt-full:active,
input[type=submit]
{
    border: 1px solid var(--secondary);
}

.bt-ghost:hover,
.bt-ghost:active{
    border: 1px solid var(--secondary-dark);
    color: #fff;
}

/*------HEADINGS------*/
h1,
h2,
h3 {
  font-weight: 300;
  text-transform: uppercase;
  font-family: Publico,'Lato',sans-serif !important;
}

h1 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #fff;
  font-size: 200%;
  word-spacing: 3px;
  letter-spacing: 1px;
}

h2 {
  font-size: 180%;
  word-spacing: 2px;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

h3 {
  font-size: 110%;
  margin-bottom: 15px;
}

h2::after {
  display: block;
  height: 2px;
  background-color: #Ed1c24;
  content: " ";
  width: 100px;
  margin: 0 auto;
  margin-top: 30px;
}

/* paragraphs  */
.long-copy{
  line-height: 145%;
  width: 70%;
  margin-left: 15%;
  font-size: 20px;
}


/*** Navbar ***/
.nav-bar {
  position: absolute;
  margin-top: 0;
  padding: 0 3rem;
  transition: .5s;
  z-index: 9999;
}

.nav-bar.sticky-top {
  box-shadow: 0 0 30px rgba(0, 0, 0, .08);
  position: sticky;
  padding: 0;
  z-index: 9999;
  background: #fff !important;
}

.navbar {
  /* box-shadow: 0 0 30px rgba(0, 0, 0, .08); */
  background: transparent !important;
}

.navbar .dropdown-toggle::after {
  
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 5px;
  transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
  transform: rotate(-180deg);
}

.navbar-light .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: #FFFFFF;
  font-size: 15px;
  text-transform: uppercase;
  outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .nav-bar {
    margin: 0;
    padding: 0;
  }

  .nav-bar:hover {
    background: #fff !important;
  }

  .navbar-light .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar-light .navbar-nav {
    border-top: 1px solid #EEEEEE;
  }
}

.navbar-light .navbar-brand {
  height: 75px;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--light);
  font-weight: 500;
}

.nav-bar.sticky-top .navbar-light .navbar-nav .nav-link{
  color: var(--primary);
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    top: 100%;
    margin-top: 0;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    opacity: 0;
    visibility: hidden;
    transition: .5s;

  }

  .navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: .5s;
    opacity: 1;
  }
}


/*** Header ***/


.home img{
  position: relative;
  width: 100%;
  height: 80vh;
}

/* .home::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  /* Adjust the last value (0.5) to change darkness */
 
  /* Ensure the pseudo-element is above the background */




.home h3 {
  color: var(--primary);
  font-size: 35px;
  font-weight: 300;
  line-height: 50px;
  /* background-color: #000000 !important; */
  z-index: 9999 !important;
}

.home-text{
  background: linear-gradient(#474646cb, #d1cfcfe7);
}

.home-text h3,p{
  margin-left: 12px;
}

.home .splide__arrow {
  /* display: none !important; */
  background: transparent;
  
}

.home .splide__arrow svg{
  fill: var(--secondary);
  height: 2.5rem;
  width: 2.5rem;
}

.second-text {
  color: #fff;
  font-size: 35px;
  font-weight: 500;
  padding: 20px 40px;
}

.header-box{
  background: #000;
  height: 100vh;
  
}

.btn-learn {
  width: 150px !important;
}

@media screen and (max-width: 700px) {

  .home {
    top: -75px;
    margin-bottom: 12px;
  }

  .home h3 {
    margin-top: 20px;
    font-size: 28px !important;
    font-weight: 300;
    line-height: 30px !important;
  }

  .second-text {
    font-size: 25px;
    font-weight: 400;
    padding: 20px 40px;
  }
}

.learn-btn {
  color: #fff;
  text-decoration: none;
  background-color: #Ed1c24;
  border: 1px solid #Ed1c24;
  padding: 10px 30px;
  font-weight: 300;
  border-radius: 200px;
  transition: background-color 0.5s, border 0.5s, color 0.5s;
}

.learn-btn:hover {
  border: 1px solid #0057a8;
  color: #fff;
  background-color: #0057a871;
}

.text-box {
  z-index: 999 !important;
}


/*** Icon ***/
.icon {
  padding: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF !important;
  border-radius: 50px;
  border: 1px dashed var(--primary) !important;
}


/*** About ***/
.about-img img {
  position: relative;
  z-index: 2;
}

.about-img::before {
  position: absolute;
  content: "";
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: var(--primary);
  transform: skew(20deg);
  z-index: 1;
}

.offers-box{
  margin: 15px 15px 0;
}

.offers-box h2{
  margin-top: 25px;
}

.offers-box .fas{
  font-size: 50px;
  margin-bottom: 10px;
  color: var(--dark);
}

.offers-box .col{
  margin-bottom: 20px;
}

.offers-box .long-copy{
  margin-bottom: 30px;
}



/* services  */
.services {
  background: #dadada;
}

.text-box h2 {
  margin: 30px 0 !important;
}

.services .btn{
  border-radius: 20px;
}

.card {
  margin-bottom: 50px !important;
}

/* contact  */

.contact .icon{
  border: none !important;
}



/*** Footer ***/
.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 35px;
  transition: .3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
  border-color: var(--light);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: .3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .form-control {
  border-color: rgba(255, 255, 255, 0.5);
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

.footer {
  background: #Ed1c24;
}

/* /External Pagesm  */

/* liability */
.liability{
  margin-top: -30px;
}

.liability-nav .navbar-light .navbar-nav .nav-link {
  color: var(--primary);
  font-weight: 500;
}

