html,body {
    background: linear-gradient(to bottom, #e0f7fa, #007bff);
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}
.section-padding{
    padding: 100px 0;
}
.carousel-item{
    height: 100vh;
    min-height: 300px;
}
.carousel-caption{
    bottom: 220px;
    z-index: 2;
}
.carousel-caption h5{
    font-size: 45px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 25px;
}
.carousel-caption p{
    width: 60%;
    margin: auto;
    font-size: 18px;
    line-height: 1.9;
}
.carousel-inner::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1;
}
.navbar-nav a{
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 500;
}
.bg-body-tertiary .navbar-brand{
    color: #000;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 2px;
}
.bg-body-tertiary .navbar-brand:focus,
.bg-body-tertiary .navbar-brand:hover{
    color: #000;
}
.bg-body-tertiary .navbar-nav .navbar-link{
    color: #000;
}
.w-100{
    height: 100vh;
}
.services .card-body i{
    font-size: 50px;
}
.team .card-body i{
    font-size: 20px;
}
.team .card{
    box-shadow: 15px 15px 40px rgba(0,0,0,0.25);
}
#consumption .card, #source .card, #reading .card{
    box-shadow: 15px 15px 40px rgba(0,0,0,0.25);
}
.modal-title{
    margin-left: 175px;
    font-size: 45px;
    letter-spacing: 2px;
}
.modal-body{
    margin-left: 10px;
}
#loginsubmit{
    margin-top: 10px;
    width: 240px;
    margin-left: 100px;
}
.modal-footer{
   justify-content: space-between;
   p a{
    text-decoration: none;
   }
}


/* =====>responsive design css<=====  */
@media only screen and (min-width:768px) and (max-width:991px){
    .carousel-caption{
        bottom: 370px;
    }
    .carousel-caption p{
        width: 100%;
    }
    .card{
        margin-bottom: 30px;
    }
    .img-area img{
        width: 100%;
    }
}

@media only screen and (max-width: 767px){
    .navbar-nav{
        text-align: center;
    }
    .carousel-caption{
        bottom: 125px;
    }
    .carousel-caption h5{
        font-size: 17px;
    }
    .carousel-caption a{
        padding: 10px 15px;
    }
    .carousel-caption p{
        width: 100%;
        line-height: 1.6;
        font-size: 12px;
    }
    .about-text{
        padding-top: 50px;
    }
    .card{
        margin-bottom: 30px;
    }
    
    /* Responsive modal adjustments */
    .modal-dialog {
        margin: 10px;
        max-width: 90%;
        width: auto;
    }
    .modal-title {
        font-size: 24px;
        margin-left: 0;
    }
    .modal-body {
        margin-left: 0;
    }
    #loginsubmit {
        width: 100%;
        margin-left: 0;
    }
    .modal-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .modal-footer p {
        margin-top: 10px;
    }
    .modal-footer p a {
        font-size: 12px;
    }
}

@media only screen and (max-width: 575px) {
    .modal-title {
        font-size: 20px;
    }
    .modal-body {
        padding: 10px;
    }
    .modal-footer p a {
        font-size: 10px;
    }
    #loginsubmit {
        width: 100%;
        margin-left: 0;
    }
}
