@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --primary-color: #179BD7;
    --primary-color-2: #004d94;
    --head-color: #C60C30;
    --border-color: #dce52c;
    --text-color: #333;
    --title-color: #002248;
}


html {
  scroll-behavior: smooth;
}

body{
    font-family: 'Archivo', sans-serif;
    color: var(--text-color);
    text-rendering: optimizeLegibility;
    line-height: 1.5;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

img{
    width: 100%;
}

ul, ol{
    list-style: none;
}

a{
    text-decoration: none;
    color: var(--text-color);
}

.section{
    padding: 60px 0;
    position: relative;
}

.loading{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
}

.loading.active{
  opacity: 1;
  visibility: visible;
}

.loading img{
  width: 40px;
  opacity: 0.2;
}

.bg-blue{
  background-color: rgba(23, 155, 215, 0.05);
}

.wrapper_title{
  margin-bottom: 20px;
}
.wrapper_title.center{
  text-align: center;
}
.wrapper_title .title{
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 6px;
  color: var(--head-color);
}
.wrapper_title .subtitle{
  max-width: 900px;
  margin: auto;
}

.line-shape{
  background-image: url(../imgs/line.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 250px;
  height: 22px;
  margin: 10px auto;
}

.title_inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 6px;
  position: relative;
}

.title_context h3{
  display: inline-block;
  margin-bottom: -1px;
  font-weight: 900;
  font-size: 25px;
  text-transform: uppercase;
  color: var(--head-color);
  position: relative;
}
.title_inner h3::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: var(--head-color);
}

/* background */

.bg-shape-1{
  background-image: url(../imgs/bg-shape-1.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
}

/* Alert message */

.box-alert{
  position: fixed;
  top: 40px;
  right: 10px;
  z-index: 9999;
}

.alert{
  width: 300px;
  margin-bottom: 20px;
  background: #fff;
  padding: 0;
  animation: alertShow .5s ease-in-out;
}
@keyframes alertShow {
  0%{transform: translateX(20px);opacity: 0;}
  50%{transform: translateX(-5px);}
  100%{transform: translateX(0px);opacity: 1;}
}

.alert-success{
  border: 1px solid #05cb56;
}

.alert-error{
  border: 1px solid rgba(226, 0, 0, 1);
}

.alert-content{
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
  cursor: pointer;
}

.alert-content .icon{
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border-radius: 50%;
  color: #fff;
}

.alert-success .icon{
  background: #05cb56;
}
.alert-error .icon{
  background: rgba(226, 0, 0, 1);
}

.alert-text{
  color: #000;
}

.alert-text h5{
    font-size: 16px;
    margin-bottom: 6px;
}
.alert-text span{
  font-size: 14px;
  font-weight: 300;
}

.alert-success .alert-text h5{
  color: #05cb56;
}
.alert-error .alert-text h5{
  color: rgba(226, 0, 0, 1);
}

.alert-progress-bar{
  width: 100%;
  height: 2px;
}

.alert-success .alert-progress-bar{
  background: #05cb56;
}
.alert-error .alert-progress-bar{
  background: rgba(226, 0, 0, 1);
}


.message-success{
  display: block;
  margin-bottom: 20px;
  color: #05cb56;
}


.message-error{
  display: block;
  margin-bottom: 20px;
  color: rgba(226, 0, 0, 1);
}

/* Custom swipe */

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {

}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.autoplay-progress {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--swiper-theme-color);
}

.autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0px;
  z-index: 10;
  width: 100%;
  height: 100%;
  stroke-width: 4px;
  stroke: var(--swiper-theme-color);
  fill: none;
  stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
}

/* Alert message */

.box-alert{
  position: fixed;
  top: 40px;
  right: 10px;
  z-index: 9999;
}

.alert{
  width: 300px;
  margin-bottom: 20px;
  background: #fff;
  padding: 0;
  animation: alertShow .5s ease-in-out;
}
@keyframes alertShow {
  0%{transform: translateX(20px);opacity: 0;}
  50%{transform: translateX(-5px);}
  100%{transform: translateX(0px);opacity: 1;}
}

.alert-success{
  border: 1px solid #05cb56;
}

.alert-error{
  border: 1px solid rgba(226, 0, 0, 1);
}

.alert-content{
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
  cursor: pointer;
}

.alert-content .icon{
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border-radius: 50%;
  color: #fff;
}

.alert-success .icon{
  background: #05cb56;
}
.alert-error .icon{
  background: rgba(226, 0, 0, 1);
}

.alert-text{
  color: #000;
}

.alert-text h5{
    font-size: 16px;
    margin-bottom: 6px;
}
.alert-text span{
  font-size: 14px;
  font-weight: 300;
}

.alert-success .alert-text h5{
  color: #05cb56;
}
.alert-error .alert-text h5{
  color: rgba(226, 0, 0, 1);
}

.alert-progress-bar{
  width: 100%;
  height: 2px;
}

.alert-success .alert-progress-bar{
  background: #05cb56;
}
.alert-error .alert-progress-bar{
  background: rgba(226, 0, 0, 1);
}


.message-success{
  display: block;
  margin-bottom: 20px;
  color: #05cb56;
}


.message-error{
  display: block;
  margin-bottom: 20px;
  color: rgba(226, 0, 0, 1);
}


/* Display flex */

.d-flex{
  display: flex;
  align-items: center;
  gap: 30px;
}


.wrapper-title{
  margin: 20px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.wrapper-title h3{
  text-transform: uppercase;
  font-size: 34px;
  position: relative;
  display: inline-block;
  font-weight: 700;
}

.wrapper-title p{
  max-width: 900px;
  margin: 20px auto 0;
}

.wrapper-title.white h3{
  color: #fff;
}

.wrapper-title.white p{
  color: #fff;
}

.wrapper-title h3::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  width: 60%;
  background: rgba(0,0,0,0.4);
}

.wrapper-title.white h3::after{
  background: #fff
}