
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600&family=Roboto:wght@300;400;500;900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}
main {
  position: relative;
  width: calc(min(90rem, 90%));
  margin: 0 auto;
  min-height: 100vh;
  column-gap: 3rem;
  padding-block: min(20vh, 3rem);
}

.bg {
  position: fixed;
  top: -4rem;
  left: -15rem;
  z-index: -1;
  opacity: 0;
}



main > div span {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1rem;
  color: #717171;
}

main > div h1 {
  text-transform: capitalize;
  letter-spacing: 0.8px;
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-size: clamp(3.4375rem, 3.25rem + 0.75vw, 4rem);
  background-color: #005baa;
  background-image: linear-gradient(45deg, #005baa, #000000);
  background-size: 100%;
  background-repeat: repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}
main > div hr {
  display: block;
  background: #005baa;
  height: 0.25rem;
  width: 6.25rem;
  border: none;
  margin: 1.125rem 0 1.875rem 0;
}
main > div p {
  line-height: 1.6;
}
.swiper {
  width: 100%;
  padding-top: 3.125rem;
}
.swiper-slide {
  width: 18.75rem;
  height: 28.125rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: self-start;
}
.swiper-slide div {
  padding-bottom: 0.625rem;
}
.swiper-slide-active div {
  display: block;
  opacity: 1;
}
@media screen and (min-width: 48rem) {
  main {
    display: flex;
    align-items: center;
  }
.bg,
.bg2 {
    opacity: 0.1;
  }
}



:root {
  --clr-primary: hsl(20, 80%, 60%);
  --clr-primary-hover: hsl(20, 80%, 65%);
  --transition: 0.5s ease;
}

body {
  font-family: "Poppins", sans-serif;

 
}

  *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



.container {

 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.5rem;
}

.hoverbox {
  position: relative;
  background: rgba(46, 49, 56, 0.9);
  padding: 32px 28px;
  overflow: hidden;
  border-radius: 0px;
  transition: 0.35s ease-in;
}
.hoverbox:after {
  content: "";
  position: absolute;
  top: 0;
  left: auto;
  right: 0;
  width: 0%;
  height: 0.35rem;
  background: var(--clr-primary);
  transition: var(--transition);
}
.hoverbox img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: var(--transition);
  filter: blur(1px) saturate(0);
}
.hoverbox h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}
.hoverbox p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.125rem;
  font-weight: 300;
}
.hoverbox button {
  background:transparent;
  border:none;
  position: relative;
  color: #fff;
  text-decoration: unset;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.35s;
}
.hoverbox button:after {
  content: ">";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
  border: 2px solid #fff5;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  transition: all 0.35s, color 0s;
}
.hoverbox button:before {
  content: "";
  position: absolute;
  width: 0rem;
  height: 0.125rem;
  background: #fff;
  right: 0.75rem;
  top: calc(50% - 0.025rem);
  transition: 0.35s;
}
.hoverbox:hover {
  background: rgba(41, 48, 61, 0.75);
  box-shadow: 0px 16px 24px rgba(0, 15, 0, 0.1);
}
.hoverbox:hover:after {
  width: 100%;
  left: 0;
  right: auto;
}
.hoverbox:hover button:after {
  border-color: transparent;
  margin-left: 2rem;
  transition: all 0.35s, color 0s;
}
.hoverbox:hover button:before {
  width: 1.5rem;
  background: var(--clr-primary);
}
.hoverbox:hover button {
  color: var(--clr-primary);
}
.hoverbox:hover button:hover {
  color: var(--clr-primary-hover);
}
.hoverbox:hover button:hover:before {
  background: var(--clr-primary-hover);
}
.hoverbox:hover img {
  transform: scale(1.2) rotate(-5deg);
  filter: blur(8px) saturate(0);
}

@media screen and (max-width: 480px) {
 .hero{display:none;}
.slogan{font-size:.8rem;}
.container{margin-top:-580px;}
.hoverbox {width:338px;}
.hoverbox h3 {font-size:.7rem;}
.hoverbox p{font-size:.6rem;}
}

html {
  position: relative;
  min-height: 100%;
  padding-bottom:160px;
}
body {
  margin-bottom: 160px;
}

footer{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0E4D84;

    width: 100%;
    color: #fff;
margin-top:360px;
}
.footer-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}
.footer-content h3{
    font-size: 2.1rem;
    font-weight: 500;
    text-transform: capitalize;
    line-height: 3rem;
}
.footer-content p{
    max-width: 500px;
    margin: 10px auto;
    line-height: 28px;
    font-size: 14px;
    color: #cacdd2;
}
.socials{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 3rem 0;
}
.socials li{
    margin: 0 10px;
}
.socials a{
    text-decoration: none;
    color: #fff;
    border: 1.1px solid white;
    padding: 5px;

    border-radius: 50%;

}
.socials a i{
    font-size: 1.1rem;
    width: 20px;


    transition: color .4s ease;

}
.socials a:hover i{
    color: aqua;
}

.footer-bottom{
    background: #154172;
    width: 100vw;
    padding: 20px;
padding-bottom: 40px;
    text-align: center;
}
.footer-bottom p{
float: left;
    font-size: 14px;
    word-spacing: 2px;
    text-transform: capitalize;
}
.footer-bottom p a{
  color:#44bae8;
  font-size: 16px;
  text-decoration: none;
}
.footer-bottom span{
    text-transform: uppercase;
    opacity: .4;
    font-weight: 200;
}
.footer-menu{
  float: right;

}
.footer-menu ul{
  display: flex;
}
.footer-menu ul li{
padding-right: 10px;
display: block;
}
.footer-menu ul li a{
  color: #cfd2d6;
  text-decoration: none;
}
.footer-menu ul li a:hover{
  color: #27bcda;
}

@media (max-width:500px) {
.footer-menu ul{
  display: flex;
  margin-top: 10px;
  margin-bottom: 20px;
}
}
