* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: "Lora", serif;
    ;
    font-weight: 300;
}

#mainbtn {
    border: 2px solid #ffc451;
    border-radius: 10px;
    padding: 8px 35px;
    text-decoration: none;
    color: black;
    font-size: 20px;
    font-weight: 400;
}

#mainbtn:hover {
    color: white;
    background-color: #ffc451;
    transform: scale(1.2);
    border: 2px solid #545455;

}

.rtybtn {
    position: fixed ;
    bottom: 12px;
    right: 15px;
    scroll-behavior: smooth;
}

.slidingtxt {
    position: absolute;
    top: 100px;
    left: 550px;
    font-weight: 800;
    background-color: #ffc451;
    color: white;
}

.rtybtn img {
    height: 33px;
    background-color: #ffc451;
}

.rtybtn img:hover {
    background-color: #545455;
    transform: scale(1.2);
}

#logo {
    height: 45px;
    width: 75px;
}

.nameoffirm {
    text-align: center;
}

.nameoffirm h4,
.nameoffirm h5 {
    color: black;
    line-height: 18px;
}

.upnavtxt img {
    height: 20px;
}

.upnavtxt {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    color: white;

}

.upnav {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    background-color: gray;
}

.upnav button {
    background-color: transparent;
    color: white;
    border: none;
    padding: 5px;
}

.uppernavlinks {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}

.upperimg {
    background-color: #545455;
    padding: 8px;
    height: 32px;
    width: 35px;
    border-radius: 4px;
}

.upperimg:hover {
    transform: scale(1.3);
    background-color: #ffc451;
}

.navbar {
    box-shadow: 2px 2px 10px 0.5px #ffc451;
    background-color: #545455;
}

.next span:hover {
    background-color: #ffc451;
    border-radius: 50%;
    transform: scale(2);

}

.nav-link {
    color: white;
    font-size: 18px;
    margin-left: 50px;
}

.nav-link:hover {
    color: #ffc451;
}

.dropdown {
    background-color: #545455;
}

.dropdown a {
    color: white;
}

.dropdown a:hover {
    background-color: #545455;
    color: #ffc451;
}

.blankdiv {
    width: 100%;
    animation-name: floating;
    animation-duration: 3s;
    /* background-color: rgba(95, 158, 160, 0.604); */
}

@keyframes floating {
    0% {
        transform: scale(1.2);
    }

    100% {}
}

#carouselimg {
    height: 80vh;
}

.floattxt {
    text-align: center;
}

.floatservboxs a {
    text-decoration: none;
    color: black;
}

.floatservboxs h3 {
    font-size: 15px;
}

.floatservboxs a:hover h3 {
    color: white;

}

.floatserchildbox {
    border: 2px solid white;

}

.floatserchildbox:hover {
    border: 2px solid#545455;
    transform: scale(1.1);
    background-color: #ffc451;
}



.services {
    background: linear-gradient(#545455, rgba(255, 255, 255, 0.54)),
        url('./img/orservices.jpg');
    /* background: #545455 url(./img/orservices.jpg); */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.servicescards {
    display: flex;
    justify-content: space-evenly;
    gap: 50px;
    padding: 20px;
}

.sercard img {
    height: 150px;
}

.sercard:hover {
    transform: scale(1.11);
    border: 2px solid #ffc451;
    filter: drop-shadow(4px 4px 8px #545455);
}

.servicecontainer {

    text-align: center;
}

.servicesbtn {
    margin: 20px;
}

.calltoaction {
    text-align: center;
    padding: 40px;
    background: linear-gradient(#545455d8, rgba(255, 255, 255, 0.3)),
        url(./img/call\ toa\ ction.jpg);
    background-size: cover;
    color: black;
    background-position: center;
    gap: 20px;
    display: flex;
    flex-direction: column;

}



.testimonialshead {
    text-align: center;
}

.google {
    text-align: center;
}

.googlewithreviwes {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px;
    width: 100%;
    /* height: 250px; */
    background-image: url(./img/cta-bg.jpg);
    background-position: center;
    background-attachment: fixed;
}

.header {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.reivews {
    /* padding: 20px; */
    height: 210px;
    width: 410px;
    /* margin: 20px; */
    /* margin-left: 150px; */
    background-color: whitesmoke;
    padding: 5px 10px;
}

.carouselreview {
    width: 780px;
}


.nextt {
    background-color: #545455;
}

.nextt:hover {
    background-color: #ffc451;
    border-radius: 50%;
    transform: scale(2);
}

.reachus {
    text-align: center;
    margin: 40px;
}

.reachus iframe {
    margin-top: 30px;
    background-color: #545455;
    height: 300px;
    width: 100%;
}

.footter {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2fr;
    grid-template-rows: 130px 150px;
    grid-template-areas: "headd qulnk cntbx serlist"
        "headd qulnk cntbx serlist"
        "headd qulnk cntbx serlist"
        "headd somedia somedia serlist"
        "cpyftr cpyftr cpyftr cpyftr";
    color: #ffc451;
    background-color: #151515;
    padding: 30px 0px 00px 0px;
}

@media(max-width:768px) {
    .footter {
        grid-template-columns: 1fr;
        grid-template-rows: 210px 210px 400px 50px;
        grid-template-areas:
            "qulnk"
            "cntbx"
            "serlist"
            "somedia"
            "cpyftr";

    }
}

.footter h3 {
    font-weight: 450;
}

.headd {
    height: 20px;
    grid-area: headd;
}

.contactbox {
    grid-area: cntbx;
    text-align: start;
}

.qucklinkk {
    grid-area: qulnk;
}

.somedia {
    grid-area: somedia;
    text-align: center;
}

.lnklist {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

#footeranchors {
    text-decoration: none;
    color: white;
    font-size: 15OX;
    font-weight: 350;

}

#footeranchors:hover {
    color: #ffc451;
    cursor: pointer;
}

#ftranchimg {
    height: 25px;
}

#ftrandiv {
    display: flex;
    gap: 10px;
}

#ftrandiv:hover {
    transform: scale(1.1);
}

.servilist {
    grid-area: serlist;
    text-align: start;
}



.copyrghtfooter {
    grid-area: cpyftr;
    background-color: black;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

#allheadings {
    color: black;
    font-weight: 700;
    text-transform: capitalize;
    border-bottom: 2px solid cadetblue;
    border-radius: 5px;
    display: inline;

}

.container-fluid {
    margin: 0;
    padding: 0;
}

@media (max-width:992px) {
    .upnav {
        display: none;
    }

}


.navbar {
    padding: 1rem;
}

.navbar-brand img {
    max-width: 150px;
    height: auto;
}

.nameoffirm {
    text-align: center;
}

.navbar-toggler {
    border: none;
}





@media (max-width: 576px) {
    .nameoffirm {
        text-align: center;
        margin-top: 0.5rem;
    }
    
    .navbar-brand {
        flex: 1;
        text-align: left;
    }

    .navbar-nav {
        flex-direction: column;
        text-align: center;
    }

    .navbar-collapse {
        text-align: center;
    }

    .dropdown-menu {
        text-align: left;
    }
}


@media (max-width: 768px) {
    .navbar-brand img {
        max-width: 120px;
    }

    .nameoffirm {
        margin: 0 auto;
    }

}
.navbar{
    position: sticky;
    top: 0;
    width: 100%;   
    z-index: 1;
}
@media (min-width: 769px) {

    .nameoffirm {
        margin-left: 1rem;
    }

    #navbarSupportedContent {
        margin-left: 200px;
    }

    .navbar-nav {
        display: flex;
        justify-content: flex-end;
    }

    .nav-link {
        margin: 0 0.5rem;
    }

    .dropdown-menu {
        position: absolute;
    }
}

.carousel-inner img {
    height: auto;
    max-width: 100%;
}

#carouselimg {
    object-fit: cover;
    height: 500px;
}

.slidingtxt {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    width: 80%;
}

@media (max-width: 576px) {
    #carouselimg {
        height: 300px;
    }

    .slidingtxt {
        font-size: 1.2rem;
        top: 15%;
        width: 90%;
    }
}

@media (max-width: 768px) {
    #carouselimg {
        height: 400px;
    }

    .slidingtxt {
        font-size: 1.5rem;
        top: 18%;
    }
}


@media (min-width: 769px) {
    #carouselimg {
        height: 500px;
    }

    .slidingtxt {
        font-size: 2rem;
        top: 20%;
    }
}



.blankdiv {
    padding: 2rem 1rem;

}

.floatservboxs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto;
    max-width: 1200px;
}

.floatserchildbox {
    flex: 1 1 calc(20% - 1rem);
    text-align: center;
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 200px;
    height: 150px;
}

.floatserchildbox:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

.floatserchildbox img {
    height: 50px;
    margin-bottom: 1rem;
}

.floatserchildbox h3 {
    font-size: 1.2rem;
    margin: 0;
    color: #343a40;
}

.floatserchildbox a {
    text-decoration: none;
    color: inherit;
}


@media (max-width: 576px) {
    .floatserchildbox {
        flex: 1 1 100%;
    }

    .floatserchildbox h3 {
        font-size: 1rem;
    }

    .floatserchildbox img {
        height: 40px;
    }
}


@media (max-width: 768px) {
    .floatserchildbox {
        flex: 1 1 calc(50% - 1rem);
    }

    .blankdiv {
        position: absolute;
        top: 380px;
    }

    .floatserchildbox h3 {
        font-size: 1.1rem;
    }

    .blankdiv {
        position: static;
        top: 0px;
    }
}


@media (min-width: 769px) {
    .floatserchildbox {
        flex: 1 1 calc(20% - 1rem);
    }

    .blankdiv {
        position: absolute;
        top: 380px;
    }
}



.aboutonhome {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 1rem;
    background-color: #f8f9fa;
}

.aboutcontent {
    flex: 1 1 50%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.aboutcontent h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: black;
}

.aboutcontent h5 {
    font-size: 1rem;
    line-height: 1.8;
}

.aboutimg img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 576px) {
    .aboutonhome {
        flex-direction: column;
        text-align: center;
    }

    .aboutcontent {
        flex: 1 1 100%;
    }

    .aboutcontent h3 {
        font-size: 1.8rem;
    }

    .aboutcontent h5 {
        font-size: 0.9rem;
    }

    #mainbtn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .aboutimg img {
        height: auto;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .aboutonhome {
        gap: 1.5rem;
    }

    .aboutcontent h3 {
        font-size: 1.9rem;
    }

    .aboutcontent h5 {
        font-size: 0.95rem;
    }
}

@media (min-width: 769px) {
    .aboutonhome {
        flex-direction: row;
        gap: 2rem;
    }

    .aboutcontent {
        text-align: left;
    }

    .aboutimg img {
        max-height: 480px;
        width: auto;
    }
}


.servicecontainer {
    padding: 2rem 1rem;
    background-color: #f8f9fa;
    text-align: center;
}

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.servicescards {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.sercard {
    border: 2px solid #545455;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;

}

.sercard:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(18, 18, 18, 0.37);
}

.card-img-top {
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.card-body {
    padding: 1rem;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: black;
}

@media (max-width: 576px) {
    .servicescards {
        flex-direction: column;
    }

    .sercard {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .card-title {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .servicescards {
        justify-content: space-between;
    }

    .sercard {
        width: calc(50% - 1rem);
    }
}

@media (min-width: 769px) {
    .servicescards {
        justify-content: center;
    }

    .sercard {
        width: 250px;
    }
}

.vimission {
    background: linear-gradient(#545455d8, rgba(255, 255, 255, 0.3)),
        url('./img/card\ backgd.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.vimissiontocard {
    height: 240px;
}
.vimissiontocard:hover {
    color: white;
    background-color: #ffc451;
}

.vimissionto {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 20px;

}

.vimissiontocard {
    max-width: 600px;
    background-color: #ffffff;
    border: 2px solid #545455;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.vimissiontocard:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.img-fluid {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

@media (max-width: 576px) {
    .vimissionto {
        flex-direction: column;
        gap: 1.5rem;
    }

    .vimissiontocard {
        flex: 1 1 100%;
    }


    .img-fluid {
        height: 150px;
    }
}


@media (max-width: 768px) {
    .vimissiontocard {
        flex: 1 1 100%;
    }

    .img-fluid {
        height: 180px;
    }
}


@media (min-width: 769px) {
    .vimissionto {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .vimissiontocard {
        flex: 1 1 45%;
    }
}

*/ .vimissionto {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.vimissiontocard {
    flex: 1 1 calc(50% - 2rem);
    max-width: 600px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

@media (max-width: 768px) {
    .vimissiontocard {
        flex: 1 1 calc(100% - 2rem);
    }
}

@media (max-width: 576px) {
    .vimissiontocard {
        flex: 1 1 100%;
    }
}


@media (max-width: 768px) {
    .googlewithreviwes {
        flex-direction: column;
    }

    .google {
        max-width: 300px;
    }

}

@media(min-width:769px) {
    .reivews {
        margin-left: 200px;
    }
}

@media (max-width: 576px) {
    .googlewithreviwes {
        flex-direction: column;
        align-items: center;
        gap: 1rem;

    }


    .carouselreview {
        width: 380px;
    }

    .reivews {
        max-width: 100%;
        padding: 1rem;
        height: 250px;

    }
}