*{
    padding: 0px;
    margin: 0px;
    text-transform: capitalize;
    font-family: 'Poppins', sans-serif;
}


#home,#services,#about,#contact{
    scroll-margin-top: 100px ;
}


body,html{
    scroll-behavior: smooth;
}



.pic>img{
    position: absolute;
    top: 34%;
    left: 35%;
    z-index: 99999999;
    width: 400px;
}


.pic{
    position: absolute;
    top: 0%;
    left: 0%;

    z-index: 454545;
    background-color: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
}


.navbar{
    justify-content: space-between;
    padding: 10px 60px;
    display: flex;
    position: sticky;
    align-items: center;
    top: 0px;
    max-width: 100%;
    height: 80px;
    /* background-color: #2955b4; */
    background-color: #fff;
    box-shadow: 2px 2px 10px grey;
    align-items: center;
    color: #fff;
    z-index: 1234;
}
/* 
.logo>h1{
    font-family: 'Poppins', sans-serif;
    color: #2955b4;
} */

.logo>a>img{
    width: 200px;
}
.list>ul{
    font-family: 'Poppins', sans-serif;
    font-weight: 200; 
    gap: 40px;
    list-style-type: none;
    display: flex;
}

.list>ul>li>a{
    text-decoration: none;
    color: #fff;
    background-color: #2955b4;
    padding: 06px 20px;
    border-radius: 10px;
    border: 2px solid #2955b4;
    transition: 0.5s ease-in-out;
}


.list>ul>li>a:hover{
    /* border-bottom: 1px dotted #fff; */
    color: #2955b4;
    border: 2px solid #2955b4;
    background-color: transparent;
}

.bar{
    display: none;
    color: #2955b4;
    position: absolute;
    right: 30px;
    top: 30px;
    font-size: 30px;
}

.close{
    font-size: 30px;
    display: none;
    color: #fff;
}


.bar:hover,.close:hover{
    cursor: pointer;
}

/* responsive navbar */

@media (max-width:1046px){
    
    .navlink{
        display: block !important;
    }
    
    .list>ul{
        gap: 30px;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background-color: #2955b4;
        padding: 40px 30px;
        border: 2px solid rgb(255, 255, 255);
        border-radius: 0px 20px 20px 0px;
    }
    .list>ul>li>a{
        border: 2px solid #fff;
        background-color: #fff;
        color: #2955b4;
    }

    .list>ul>li>a:hover{
        border: 2px solid #fff;

        background-color: transparent;
        color: #fff;
    }
    .list{
        display: none;
        width: 40%;
        position: absolute;
        left: 0px;
        top: 97px;
    }
    .bar{
        display: block;
    }
    .close{
        z-index: 555;
        position: absolute;
        left: 83%;
        top: 20px;
        display: block;
    }
}


@media (max-width:800px){
    .list{
        width: 50%;
    }
}


@media (max-width:550px){
    .list{
        width: 60%;
    }
}




@media (max-width:442px){
    .list{
        width: 80%;
    }
}


@media (max-width:568px){
    .logo{
        margin-left: -40px;
        width: 50px;
    }
}


@media (max-width:400px){
    .logo{
        margin-left: -60px;
    }
}

/* main */

/* 
main{
    background-image: linear-gradient(rgba(0,0,0,0.4)), url(images/hero.webp);
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    padding: 0px 60px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

main>h1{
    max-width: 600px;
    width: 100%;
}
main>p{
    max-width: 700px;
    width: 100%;
} */








main {
    height: 70vh;
    position: relative;
    overflow: hidden;
}

/* Slider wrapper */
.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Slides */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slide.active {
    opacity: 1;
    z-index: 1;
}
.slide{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.slide1{
    background-image: linear-gradient(rgba(0,0,0,0.3)), url(images/hero.webp);
}


.slide2{
    background-image: linear-gradient(rgba(0,0,0,0.3)), url(images/hero\ 2.webp);
}


.slide3{
    background-image: linear-gradient(rgba(0,0,0,0.3)), url(images/hero3.webp);
}


.slide4{
    background-image: linear-gradient(rgba(0,0,0,0.3)), url(images/hero5.jpg);
}




.slide5{
    background-image: linear-gradient(rgba(0,0,0,0.3)), url(images/hero\ 5.webp);
}


/* Text */
.hero-text {
    position: absolute;
    top: 50%;
    left: 60px;
    transform: translateY(-50%);
    color: #fff;
    max-width: 700px;
    z-index: 2;
    margin-left: 20px;
}
.hero-text h1 {
    max-width: 600px;
}
.hero-text p {
    max-width: 700px;
}

/* Prev/Next Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 25px;
    border-radius: 5px;
    z-index: 3;
}
.prev{ left: 20px; }
.next{ right: 20px; }

.prev:hover, .next:hover {
    background: rgba(0,0,0,0.8);
}




/* resonsive */




/* Tablet (max-width: 992px) */
@media (max-width: 992px) {

    main {
        height: 60vh;
    }

    .hero-text {
        left: 60px;
        max-width: 500px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 15px;
    }

    .prev, .next {
        font-size: 20px;
        padding: 8px 12px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {

    main {
        height: 55vh;
    }

    .hero-text {
        left: 40px;
        max-width: 90%;
    }

    .hero-text h1 {
        font-size: 24px;
        max-width: 300px;
    }

    .hero-text p {
        font-size: 14px;
        max-width: 350px;
    }

    .prev, .next {
        font-size: 18px;
        padding: 6px 10px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {

    main {
        height: 50vh;
    }

    .hero-text {
        top: 55%;
        left: 40px;
    }

    .hero-text h1 {
        font-size: 22px;
        line-height: 26px;
        max-width: 350px;
        margin-bottom: 20px;
    }

    .hero-text p {
        font-size: 15px;
        line-height: 20px;
        max-width: 400px;
        width: 83%;
    }

    .prev, .next {
        font-size: 16px;
        padding: 5px 8px;
        top: 60%;
    }
}

@media (max-width:393px){
    .hero-text>h1{
        max-width: 350px;
        width: 80%;
        font-size: 18px;
    }
    .hero-text>p{
        max-width: 350px;
        width: 80%;
        font-size: 12px;
    }
}



@media (max-width:339px){
    .hero-text>h1{
        max-width: 350px;
        width: 90%;
        font-size: 18px;
    }
    .hero-text>p{
        max-width: 350px;
        width: 85%;
        font-size: 12px;
    }
}


/* 


@media (max-width:815px){
    main{
        padding: 0px 40px;
    }
}


@media (max-width:600px){
    main{
        height: 55vh;
        padding: 0px 20px;
    }
}



@media (max-width:480px){

    main>h1{
        font-size: 25px;
    }
    main>p{
        font-size: 15px;
    }
    main{
        padding: 0px 20px;
    }
}




@media (max-width: 350px){

    main>h1{
        font-size: 20px;
    }
    main>p{
        font-size: 13px;
    }
    main{
        padding: 0px 20px;
    }
} */

/* services */


.serr{
    background: #07339418;
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}



.serr>h1{
    font-weight: 500;
}



.serr>p{
    text-align: center;
}

.services{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    margin: 40px 0px;
}



.services>.ser>.iii>img:hover{
    transform: scale(1.06);
}


.iii{
    overflow: hidden;
}


.ser>.iii>img{
    transition: 0.8s ease-in-out;
    border-radius: 10px;
    width: 270px;
    height: 250px;
}

.ser>p{
    font-size:15px;
    max-width: 290px;
    width: 100%;
}

.ser>h1{
    color: rgb(36, 36, 36);
    font-size: 25px;
    margin: 10px 0px;
}

.serr>p{
    margin: 10px 0px;
}

.divider{
    width: 50px;
    height: 2px;
    margin: 10px 0px;
    background-color: #2955b4;
    border: none;
    display: flex;
    justify-content: center;
}

@media (max-width:414px){
    .serr>h1{
        font-size: 25px;
    }

    .serr{
        padding: 50px 10px;
    }
}


.ser:nth-child(2){
    margin-left: 24px;
}



/* about section */



.about-section {
    padding: 60px 30px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.about-heading {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
}

.about-description {
    max-width: 850px;
    margin: 0 auto 50px;
    font-size: 18px;
    line-height: 1.7;
    color: #555;
}

.about-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-card {
    width: 280px;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: 0.3s ease;
    position: relative;
    bottom: 0px;
}

.about-card:hover {
    position: relative;
    bottom: 15px;
}

.about-img {
    width: 100%;
    height: 260px;
    border-radius: 15px;
}

.about-name {
    font-size: 22px;
    margin: 10px 0 5px;
    font-weight: 600;
}

.small-text {
    font-size: 15px;
    color: #777;
}



/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    z-index: 5245555;
    background-color: rgba(0,0,0,0.8); /* Black with opacity */
}

/* Modal Content (the image) */
.modal-content {
    margin: 0 auto;
    position: relative;
    top: 20%;
    display: block;
    max-width: 50%;
    border-radius: 10px;
}



@media (max-width:1486px){
    .modal-content {
        margin: 0 auto;
        position: relative;
        top: 30%;
        display: block;
        max-width: 50%;
        border-radius: 10px;
    }

}





@media (max-width:910px){
    .modal-content {
        margin: 0 auto;
        position: relative;
        top: 35%;
        display: block;
        max-width: 80%;
        border-radius: 10px;
    }

}





@media (max-width:430px){
    .modal-content {
        margin: 0 auto;
        position: relative;
        top: 37%;
        display: block;
        max-width: 80%;
        border-radius: 10px;
    }

}

/* Close Button */
.close1 {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close1:hover {
    color: #bbb;
}




/* conatct */


.contact-section {
    padding: 70px 30px;
    background: #f8f9fb;
    font-family: 'Poppins', sans-serif;
}

.contact-heading {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-subtext {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #555;
    font-size: 17px;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* CONTACT INFO BOX */
.contact-info {
    background: #fff;
    padding: 30px;
    width: 320px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.contact-info h3 {
    color: #2955b4;
    font-size: 26px;
    margin-bottom: 15px;
}


.contact-info p strong{
    color: #2955b4;
}

.contact-info p {
    font-size: 16px;
    margin: 8px 0;
    color: #444;
}



.contact-info p a{
    font-size: 16px;
    /* margin: 8px 0; */
    text-decoration: none;
    color: #444;
}

.contact-info p a:hover{
    font-size: 16px;
    /* margin: 8px 0; */
    text-decoration: underline;
    color: #444;
}

.social-links a {
    display: inline-block;
    margin-right: 10px;
    margin-top: 10px;
    text-decoration: none;
    color: #fff;
    background: #2955b4;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 14px;
}

/* FORM STYLING */
.contact-form {
    width: 30%;
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.contact-form input,
.contact-form textarea {
    width: 93%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 16px;
}

.contact-form input[type="email"]::placeholder {
    text-transform: capitalize;
}


.contact-form input[type="email"]{
    text-transform: lowercase;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #2955b4;
    color: white;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #333;
}


@media (max-width:1324px){
    .contact-container{
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .contact-info{
        width: 50%;
    }
    .contact-form{
        width: 50%;
    }
}




@media (max-width:727px){
    .contact-container{
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .contact-info{
        width: 90%;
    }
    .contact-form{
        width: 90%;
    }
}


@media (max-width:457px){
    .contact-form,.contact-info{
        margin-left: -30px;
        width: 100%;
    }
}








/* footer */


.footer {
    background: #1b1b22;
    color: #fff;
    padding: 60px 30px;
    font-family: 'Poppins', sans-serif;
    margin-top: 50px;
}

.footer-container {
    display: flex;
    padding: 20px 60px;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-box p{
    max-width: 250px;
}

.footer-box h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #4f8df5;
}

.footer .logo-1>a>img{
    width: 150px;
    margin-bottom: 30px;
}

.footer-box p a, 
.footer-box li a {
    font-size: 15px;
    color: #ccc;
    line-height: 1.6;
}

.footer-box ul {
    list-style: none;
    padding: 0;
}

.footer-box ul li {
    margin-bottom: 8px;
}

.footer-box ul li a {
    text-decoration: none;
    color: #ccc;
    transition: 0.3s;
}

.footer-box ul li a:hover {
    color: #fff;
}

.footer-wa {
    display: inline-block;
    background: #25D366;
    padding: 8px 15px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    margin-top: 5px;
    transition: 0.3s;
}

.footer-wa:hover {
    background: #1ebe5d;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    margin-top: 30px;
}

.footer-bottom p {
    font-size: 14px;
    color: #aaa;
}

.i>a>i{
    border: 1px solid #2955b4;
    border-radius: 10px;
    padding: 10px 15px;
    color: #fff;
    transition: 0.5s ease-in-out;
    margin-bottom: 10px;
}


.i>a>i:hover{
    border: 1px solid #2955b4;
    background-color: #2955b4;
    cursor: pointer;
    color: #fff;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-box {
        width: 100%;
        padding: 0px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 20px;
    }
}


@media (max-width: 385px) {
    .footer-box p a{
        font-size: 13px;
    }
    .footer-box p strong{
        font-size: 15px;
    }
}



@media (max-width:768px){  
    .footer-box p{
        max-width: 100%;
    }
}