@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --curly-font: "Cormorant Garamond", serif;
  --dark-blue: #000e67;
  --light-blue: #54758a;
  --yellow: #f0b323;
  --bright-blue: #0032a0;
  --deep-blue: #2e364a;
  --gray: #00000070;
  --sky-blue:#257aa4;
}

.wrap{
    flex-wrap: wrap;
  }

body {
  font-family: "Montserrat", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

.flex-class {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bg-class {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

ul {
  list-style: none;
}

.hero{
    background-color: var(--sky-blue);
    padding: 100px;
    position: relative;
    height: 420px;
}

.hero .hero-title{
    font-size: 42px;
    color: #fff;
    font-weight: 700;
}

.hero .hero-tag{
    color: #fff;
    margin-top: 20px;
    font-size: 25px;
    width: 40%;
}
.hero .image{
    position: absolute;
    right: 0;
    top: 0;
    width: 550px;
    overflow: hidden;
    height: 420px;
}
.hero .graphics{
    width: 100%;
}

.hero .hero-cards{
    position: absolute;
    bottom: -50%;
    left: 0;
    right: 0;
}

.hero .hero-cards .card{
    height: auto;
    width: 40%;
    background-color: #fff;
    z-index: 3;
    text-align: center;
    box-shadow: 3px 3px 20px 10px #00000020;
    margin: 30px;
    padding: 30px;
    border: 1px solid #dbdbdb;

}

.hero .hero-cards .card img{
    height: 80px;
}

.hero .hero-cards .card .card-title{
    font-size: 20px;
    font-weight: 600;
    color: var(--sky-blue);
    margin: 20px;
}

.hero .hero-cards .card .card-text{
    margin: 20px;
    line-height: 30px;
}

.hero .hero-cards .number{
    font-weight: 700;
    color: var(--sky-blue);
    font-size: 20px;    
}

.hero .hero-cards .link{
    text-decoration: underline;
    color:var(--sky-blue)
}

.local-section{
    background-color: #f8f6f3;
}

.local-section .cards-heading {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #444444;
    margin-top: 80px;
    margin-bottom: 40px;
    text-transform: capitalize;
}

.local-numbers{
    justify-content: space-evenly;
}

.local-numbers .card{
    word-break: break-all;
    height: 120px;
    width: 15%;
    min-width: 160px;
    margin: 20px 0;
    /* border: 1px solid var(--sky-blue); */
    text-align: center;
     background-color:#fff;
    box-shadow: 3px 3px 10px #00000010;
}
.local-numbers .card .number-container{
    width: 100%;
    height: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}
.local-numbers .card .title{
    height: 30%;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background-color: var(--sky-blue);
    padding: 5px 0;
    text-transform: uppercase;
}
.local-numbers.others .card .title{
    padding-bottom: 0;
    height: 20%;
}
.local-numbers.others .card .number-container{
    height: 60%;
}
.local-numbers.others .card .state{
    background-color: var(--sky-blue);
    color: #fff;
    padding-top: 4px;
    font-size: small;
    padding-bottom: 8px;
}



.redirection{
    padding-top: 260px;
    padding-bottom: 50px;
    background-color: #f8f6f3;
    text-align: center;
}

.redirection a{
    font-size: 20px;
    color: var(--bright-blue);
    text-decoration: underline;
}

.redirection a:hover{
    text-decoration: none;
    opacity: 0.8;
}

.stay-connected{
    padding-top: 100px;
    background-color: #f8f8f8;
}

.stay-connected .text{
    font-size: 20px;
    text-align: center;
    line-height: 30px;
    font-weight: 400;
}

.stay-connected .title{
    font-size: 30px;
    font-weight: 700;
    color: var(--bright-blue);
    text-align: center;
}


.social-icons-wrapper .card{
    height: 100px;
    width: 100px;
    background-color: #262626;
    margin: 20px;
    padding: 10px;
    transition: 0.4s ease;
    min-width: 100px;
}

.social-icons-wrapper .card .social-text{
    display: none;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-align: center;
}


.social-icons-wrapper .card img{
    height: 30px;
    width: 30px;
}

.social-icons-wrapper .card:hover{
    background-color: var(--yellow);
}
.social-icons-wrapper .card:hover img{
    display: none;
}
.social-icons-wrapper .card:hover .social-text{
    display: block;
}


@media only screen and (max-width:1100px){
    .hero .graphics{
        transform: translateX(100px);
    }

    .hero .hero-tag{
        width: 60%;
    }

    .stay-connected .text{
        width: 80%;
        margin: auto;
    }
}

@media only screen and (max-width:1010px){
    .hero .graphics{
        transform: translateX(100px);
    }

    .hero .hero-tag{
        width: 60%;
    }

    .hero .hero-cards .card{
        height: 280px;
    }

    .hero .hero-cards .card .card-title{
        margin: 10px;
    }

    .hero .hero-cards .card .card-text{
        margin: 0;
    }

    .hero .hero-cards .card .link , .hero .hero-cards .card .number{
        margin-top: 10px;
    }
}

@media only screen and (max-width:960px){
    .hero .graphics{
        transform:  translateX(200px);
    }
}

@media only screen and (max-width:800px){
    .hero{
        padding: 100px 20px;
    }

    .hero .graphics{
        transform:  translateX(280px);
    }

    .hero .hero-cards .card{
        margin: 10px;
        width: 45%;
    }

    .underline-box-heading{
        width: 90%;
        margin: auto;
    }

    .cards-heading{
        width: 90%;
        margin: auto;
    }
}

@media only screen and (max-width:700px){

    .hero .hero-cards .card .card-text{
       line-height: 20px;
    }
}


@media only screen and (max-width:650px){

    .hero .hero-cards .card .card-text{
       display: none;
    }

    .hero .hero-cards .card{
        height: 200px;
        border-radius: 10px;
    }

    .hero .hero-cards{
        bottom: -25%;
    }

    .redirection{
        padding-top: 150px;
    }
}


@media only screen and (max-width:590px){
    .hero .graphics{
        display: none;
    }

    .hero .hero-tag{
        width: 100%;
    }
}

@media only screen and (max-width:480px){

    .local-numbers .card{
        width: 45%;
    }

    .hero .hero-cards .card img{
        width: 40px;
        height: 40px;
    }

    .hero .hero-cards .link{
        display: none;
    }

    .hero .hero-cards .card{
        padding: 20px;
        height: 150px;
    }

    .hero{
        height: 380px;
    }

    .hero .hero-cards .card .card-title{
        font-size: small;
    }

    .hero .hero-cards .card .number{
        font-size: small;
    }

    .local-numbers .card{
        margin-top: 0;
    }
}