@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300&family=Roboto:ital,wght@0,100;0,300;0,400;1,100;1,300&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body{
    width: 100%;
}
.navbar{
    width: 100%;
    background-color: rgb(3, 3, 22); 
    height: 75px;
    line-height: 75px;
    position: absolute;
}
.navbar h1{
    font-size:20px;
    font-family: sans-serif;
    color: #fff;
    text-transform: uppercase;
    float: left;
    width: 10%;

}
.navbar ul{
    float: right;
}
.navbar ul li{
    float: left;
    list-style:none;
    color: white;
}
.navbar ul li a{
    text-decoration: none;
    font-family: sans-serif;
    color: #fff;
    font-size: 17px;
    padding: 0px 16px;
    display: block;

}
.navbar ul li .drop{
    width: 200px;
    background-color: rgb(3, 3, 22);
    position: absolute;
    display: none;
    margin: -5px 0;
}
.navbar ul li:hover .drop{
    display: block;
    z-index: 1;
}

.navbar ul li .drop li{
    margin: 0 5px;
    width: 95%;
    border-bottom: 1px solid grey;
}

.navbar ul li .drop li:last-child{
    border-bottom: none;
}
.navbar ul li .drop li a{
    width: 100%;
    padding: 0 5px;
    font-size: 15px;
}
header input{
    opacity: 0;
}
@media screen and (max-width: 500px){

    header{
        width: 100%;
        height: 100px;
        background: rgb(3, 3, 22);
    }
    header h1{
        color: #fff;
        padding: 15px 0;
        font-size: 16px;
    }
    header .navbar ul li .drop li a{
        font-size: 13px;
    }
    header .navbar ul li a{
        font-size: 13px;
    }
    .hide{
        position: absolute;
        right: 10px;
        top: 15px;
        width: 20px;
        height: 20px;
        opacity: 0;
    }
    label span{
        position: absolute;
        width: 20px;
        height: 2px;
        background: white;
        right: 10px;
        top: 25px;
        z-index: 1;

    }
    label span::after{
        content: "";
        position: absolute;
        width: 20px;
        height: 2px;
        background: white;
        top: 5px;
    }
    label span::before{
        content: "";
        position: absolute;
        width: 20px;
        height: 2px;
        background: white;
        top: -5px;
    }
    .navbar{
        width: 100%;
        height: 100px;
        padding: 0;
        position: absolute;
        top: 50px;
        visibility: hidden;
    }
    .navbar ul{
        display: inline-flex;
        width: 100%;
        padding: 0 10px;
    }
    .navbar ul li a{
        padding: 0;
        font-size: 15px;
        margin: 5px;
    }
    input[type="checkbox"]:checked~ nav{
        visibility: visible;
    }
    .first-sec .first-div h2{
        font-size: 20px;
        margin: 5px 0;
    }
    .first-sec .first-div p{
        font-size: 15px;
    }
    .second .sec-div h2,.third h2,.side-sec h2{
        font-size: 20px;
    }
    .second .sec-div p{
        font-size: 15px;
    }
    .second .sec-div a{
        font-size: 18px;
        text-decoration: none;
    }
    
}
.first-sec{
    background-image: url(images/pension\ img\ edit.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 100vh;
}
.first-div{
    width: 80%;
    position: absolute;
    left: 5%;
    top:30%;

}
.first-div h2{
    font-size:40px;
    color: rgb(3, 3, 22);
    text-transform: uppercase;
    padding: 10px 15px;

}
.first-div p{
    color:black;
    font-size: 18px;
    padding: 10px 15px;
    font-weight: bold;
    line-height: 1;
    word-spacing: .5;

}
.first-div button, .third-sec button{
    background-color: #007bff;
    width: 150px;
    height: 60px;
    border: none;
    cursor: pointer;
    display: inline-block;
    margin: 10px;
}
.first-sec button a{
    text-decoration: none;
    padding: 8px;
    font-size: 14px;
    font-weight: 600;
    color: white;
}
.first-sec button:hover{
    background-color:transparent;
    border: 1px solid black;
    color: white; 
}
.first-sec h1{
    color: white;
    font-size:45px;
    padding: 10px 16px;
    position: absolute;
    top: 300px;
    width: 50%;
    left: 25%;
    text-align: center;
}
.second{
    background-color: beige;
    position: relative;
}
.sec-div{
    width: 70%;
    padding: 30px;
    display: inline-block;
    text-align: center;
    left: 15%;
    position: relative;
}
.sec-div h2{
    padding: 10px;
    font-size :35px;
    font-weight: bold;
    color: black;
    text-transform: uppercase;
}
.sec-div p{
    padding: 10px;
    font-size:16px;
    font-weight: bold;
    color: black;

}
.sec-div a{
    color: rgb(3, 3, 22);
    padding: 12px;
    font-size: 24px;

}

.container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;


    
}
.cards{
    background-color: beige;
    width: 350px;
    height: 400px;
    margin: 30px;
}
.cards:hover{
    background-color: rgb(62, 62, 62);
    color: white;
    cursor: pointer;
    transform: scale(1.03);
    transition: all 1s ease;
}
.card-img{
    background-color:beige;
    height: 170px;
    margin-bottom: 15px;
    background-size:cover;
}
.car-1{
    background-image:url(images/pension\ img\ 13\ png.png);
}
.car-2{
    background-image:url(images/pension\ img\ 12\ png.png);
}.car-3{
background-image:url(images/pension\ img\ 10\ png.png);
}
.cards h2{
    padding: 5px;
    
}
.cards p{
    padding: 5px;
    font-size: 14px;
    line-height: 1.5;
    word-spacing: .3;
    
}

.side-sec{
    background-color: beige;
    padding: 10px;
}
.side-sec h2{
    padding: 10px;

}
.container2{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

}
.info-cards{
    width: 300px;
    height:200px;
    margin:0px;
    background-color:white;

}
.info-cards h2{
    padding: 10px;
    color: black;
    font-family: serif;
    font-size: 24px;
    font-weight: 400;
}
.info-card{
    background-color:  rgb(3, 3, 22);
    width: 300px;
    height: 200px;
    margin:0px;
}
.info-cards p{
    padding: 10px;
    font-size: 14px;
    line-height: 1.5;
    word-spacing: .3;
    
}
.info-card h2{
    padding: 10px;
    color: white;
    font-family: serif;
    font-size: 24px;
    font-weight: 400;
}
.info-card p{
    padding: 10px;
    font-size: 14px;
    line-height: 1.5;
    word-spacing: .3;
    color: white;
}
.info-cards:hover{
    background-color: rgb(62, 62, 62);
    color: white;
    cursor: pointer;
    transform: scale(1.03);
    transition: all 1s ease;
}
.info-card:hover{
    background-color:rgb(62, 62, 62);
    color: black;
    cursor: pointer;
    transform: scale(1.03);
    transition: all 1s ease;
}
.contact-sec{
    margin:20px;
    padding:20px;
}

.contact-form{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin:20px;
}
.sub-contact-form1{
    background-color:#007bff;
    width: 600px;
    height: 300px;
    margin: 0px;

} 
.sub-contact-form2{
    background-color:beige;
    width: 600px;
    height: 300px;
    margin: 10px;
    padding: 20px;

}
.sub-contact-form1 h2{
    padding: 40px;
    color: white;
    font-size:24px;
    font-weight: 500;

}
.sub-contact-form1 P{
    padding: 10px;
    color: white;
    font-size: 16px;
    margin-right: 20px;
    font-weight: bold;
}
.sub-contact-form2 h2{
    padding: 0px;
    font-size: 24px;
    font-weight: 500;
}
.sub-contact-form2 p{
    padding: 0px;
    font-size:16px;
    font-weight: 500;
}
.sub-contact-form2 input{
    width: 300px;
    height: 30px;
    background-color:transparent;
    border: none;
    padding: 20px;
    border-bottom: 1px solid #007bff;
}
#btn-cta{
    display: inline-block;
    padding: 10px;
    margin: 10px;
    background-color:#007bff; 
    border: none;
    width: 100px;
}
a{
    text-decoration: none;
    color: white;
}
.special-a{
    text-decoration: underline;
}
#btn-cta:hover{
    background-color:rgb(62, 62, 62);
    color: white;
    cursor: pointer;
    transform: scale(1.03);
    transition: all 1s ease;

}
footer{
    background-color:#007bff;
    width: 100%;
}
.footer-container{
    display: flex;
    align-items: center;
    justify-content: center;

    
    
    
}
.sub-cont{
    margin: 10px;
    display: flex;

}
.sub-cont a{
    text-align: center;
    margin:30px;
    text-decoration: none;
    padding: 10px;
    font-size: normal;
    color: black;

}
.social-cont ul{
    display: flex;
    justify-content: center;
    align-items: center;
}
.social-cont li{
    list-style-type: none;
    margin: 30px;
    padding: 10px;

}
.social-cont li img{
    width: 50px;
    height: 50px;
}

.footer-para{
    text-align: center;
    color: black;
    font-weight:500;
    line-height: 1.5;
    word-spacing: .3em;
    font-size :14px;
    padding: 10px
}
@media(max-width:991px){
    body{
        background-color: white;
    }
}




