@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap');

* {
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    font-weight: 400;
}

:root {
    --orange: #CC6600;
    --red: #AB0000;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
    display: flex;
    justify-content: center;
}

body {
    width: 100%;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.6s ease-in;
}



/* COMMON ELEMENTS */
h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
    font-weight: 500;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.2rem;
    font-weight: 500;
}

p {
    color: rgb(54, 54, 54);
}

a {
    text-decoration: none;
    color: black;
}

.btn-a {
    padding: 0.6rem 1.6rem;
    text-align: center;
    border: 2px solid var(--orange);
    transition: 0.5s linear;
    border-radius: 8px;
    cursor: pointer;
}

.filled-btn {
    background-color: var(--orange);
    color: white;
}

.filled-btn:hover {
    border-color: var(--red);
    background-color: var(--red);
}

.outlined-btn {
    color: var(--orange);
}

.outlined-btn:hover {
    background-color: var(--orange);
    color: white;
}

.active {
    color: var(--orange);
    font-weight: 600;
}

.white-icon {
    color: white;
}

.orange-icon {
    color: var(--orange);
}

/* REUSABLE ELEMENTS */
.special-text {
    padding: 0.7rem 2rem;
    border: 1px solid black;
    border-radius: 20px;
    font-size: 14px;
    transition: 0.5s linear;
}

.special-text:hover {
    border-color: var(--orange);
    background-color: var(--orange);
    color: white;
}

span {
    font-weight: 500;
    color: var(--orange);
}



/* NAVBAR SECTION */
#navbar {
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0%;
    width: 100%;
    z-index: 999;
}

.nav-box {
    padding: 1rem 1rem;
    background-color: white;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    width: 100%;
    max-width: 1200px;
}

.nav-left img {
    width: 200px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 2rem
}

.nav-item a {
    transition: 0.5s;
}

.nav-item a:hover {
    color: var(--orange);
    transform: translateY(-3px);
}

.menu-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
}

.menu {
    color: var(--orange);
    font-size: 20px;
}

.side-menu {
    position: fixed;
    top: 0%;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--orange);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 3rem;
    gap: 3.4rem;
    transition: 0.4s linear;
}

.side-menu a {
    color: white;
    font-size: 16px;
    border-bottom: 1px solid white;
    width: 100%;
    text-align: center;
    padding: 1rem 1rem;
}
.side-menu .active{
    background-color: white;
    color: var(--orange);
}

.side-menu .btn-a {
    background-color: white;
    color: var(--orange);
    width: 150px;
    text-align: center;
    padding: 0.7rem 1.3rem;
}

.close-icon {
    position: absolute;
    top: 3%;
    right: 3%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 2rem;
}

.close {
    font-size: 30px;
    color: white;
}



/* LANDING SECTION */
.landing-section {
    padding: 3rem 2rem;
}

.landing-box {
    position: relative;
}

.sliding-box {
    display: flex;
    overflow-x: auto;
    width: 100%;
    height: 90vh;
    background-color: gainsboro;
    border-radius: 8px;
    position: relative;
    scroll-behavior: smooth;
}

.sliding-box::-webkit-scrollbar {
    display: none;
}

.landing-slides {
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    background-color: gray;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    padding: 2rem 3rem;
    position: relative;
    color: white;
}

.landing-slides::before {
    content: "";
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.landing-slides-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    position: relative;
}

.landing-slides-content h1 {
    max-width: 800px;
}

.landing-slides-content p {
    max-width: 600px;
}

.landing-slides-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    position: relative;
}


.static-landing-slides {
    justify-content: end;
}

.static-landing-slides-content {
    align-items: baseline;
    text-align: left;
}

.dots {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
}

.active-dot {
    background-color: var(--orange);
}

.landing-slides .special-text {
    border-color: white;
    color: white;
}

.landing-slides p {
    color: white;
}

#slide1 {
    background: url("./images/slide1.jpg");
    background-size: cover;
    background-position: center;
}

#slide2 {
    background: url("./images/slide2.jpg");
    background-size: cover;
    background-position: center;
}

#slide3 {
    background: url("./images/slide3.jpg");
    background-size: cover;
    background-position: center;
}

#leftSlide {
    position: absolute;
    top: 45%;
    left: -1%;
    z-index: 100;
}

#rightSlide {
    position: absolute;
    top: 45%;
    right: -1%;
    z-index: 100;
}






/* SECOND SECTION */
.homepage-second-section {
    padding: 4rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.homepage-second-section-left {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    gap: 2rem;
    max-width: 800px;
}

.what-we-do-points {
    display: flex;
    gap: 1.3rem;
}

.what-we-do-icon-circle {
    min-width: 50px;
    max-width: 50px;
    min-height: 50px;
    max-height: 50px;
    background-color: var(--orange);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.what-we-do-icon-circle .white-icon {
    font-size: 15px;
}

.homepage-second-section:hover>.homepage-second-section-left .special-text {
    background-color: var(--orange);
    border-color: var(--orange);
    color: white;
}




/* THIRD SECTION */
.homepage-third-section {
    padding: 4rem 0rem;
    margin: 0;
}

.homepage-third-section-box {
    background-color: rgb(241, 241, 241);
    width: 100%;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
}

.homepage-third-section-box:hover>.homepage-third-section-box-left .special-text {
    background-color: var(--orange);
    border-color: var(--orange);
    color: white;
}

.homepage-third-section-box-left {
    padding: 4rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    gap: 2rem;
    max-width: 800px;
}

.homepage-third-section-right {
    height: 100%;
    display: flex;
    align-items: baseline;
}

.homepage-third-section-box-right img {
    width: 600px;
    height: 600px;
    object-fit: cover;
    border-radius: 50%;
    transform: translateX(100px) translateY(100px);
}





/* STATS SECTION */
.stats-section {
    padding: 3rem 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 150px;
    border-right: 1px solid gray;
    padding: 2rem 2rem;
}

.stats p {
    text-align: center;
}

.stats:nth-child(4) {
    border-right: 0px;
}

.stats:nth-child(1) h1,
.stats:nth-child(4) h1 {
    color: var(--orange);
}

.stats:nth-child(2) h1,
.stats:nth-child(3) h1 {
    color: var(--red);
}




/* FORTH SECTION */
.homepage-forth-section {
    padding: 4rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.homepage-forth-section-top {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    gap: 1.5rem;
}

.homepage-forth-section-top p {
    max-width: 800px;
}

.homepage-forth-section-bottom {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-images {
    width: 100%;
    min-height: 200px;
    background-color: gainsboro;
    border-radius: 8px;
    padding: 1rem 2rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

#gridImage1 {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 3;
    background: url("./images/1.jpg");
    background-size: cover;
    background-position: center;
}

#gridImage2 {
    background: url("./images/2.jpg");
    background-size: cover;
    background-position: center;
}

#gridImage3 {
    background: url("./images/3.JPG");
    background-size: cover;
    background-position: center;
}

#gridImage4 {
    background: url("./images/4.jpg");
    background-size: cover;
    background-position: center;
}

#gridImage5 {
    background: url("./images/5.jpg");
    background-size: cover;
    background-position: center;
}

#gridImage6 {
    background: url("./images/6.jpg");
    background-size: cover;
    background-position: center;
}

.homepage-forth-section:hover>.homepage-forth-section-top .special-text {
    background-color: var(--orange);
    border-color: var(--orange);
    color: white;
}

.grid-images-overlay {
    position: absolute;
    top: 100%;
    left: 0%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #cc660096);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
    color: white;
    transition: 0.5s;
}

.grid-images-overlay h2 {
    font-size: 2.2rem;
    text-shadow: 0px 0px 4px gray;
}

.grid-images-overlay p {
    width: 80%;
    color: white;
    font-size: 12px;
    text-shadow: 0px 0px 4px gray;
}

.grid-images:hover>.grid-images-overlay {
    top: 0%;
}




/* CONTACT SECTION */
.contact-section {
    padding: 8rem 2rem;
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    gap: 0.5rem;
    transition: 0.5s;
}

.contact-section p {
    max-width: 800px;
    color: white;
}

.contact-section .row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.contact-section:hover {
    background-color: var(--orange);
}

.contact-section:hover>h1 span {
    color: black;
}

.contact-section:hover>.row .filled-btn {
    background-color: white;
    color: var(--orange);
}

.contact-section:hover>.row .outlined-btn {
    border-color: white;
    color: white;
}

.contact-section .row .filled-btn:hover {
    background-color: transparent;
    border-color: white;
    color: white;
}

.contact-section .row .outlined-btn:hover {
    background-color: white;
    border-color: white;
    color: var(--orange);
}



/* TESTIMONIAL SECTION */
.testimonial-section {
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.testimonial-section-top {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    gap: 1rem;
}

.testimonial-section-top p {
    max-width: 800px;
}

.testimonial-section-bottom {
    position: relative;
}

.scrollable-section {
    display: flex;
    gap: 3rem;
    overflow-x: auto;
    align-items: stretch;
    scroll-behavior: smooth;
}

.scrollable-section::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 350px;
    max-width: 400px;
    height: 300px;
    border: 2px solid var(--orange);
    border-radius: 10px;
    padding: 2rem 2rem;
}

.testimonial-card p {
    margin-top: 1rem;
}

.testimonial-card:nth-child(odd) {
    background-color: var(--orange);
    color: white;
}

.testimonial-card:nth-child(odd) p {
    color: white;
}

.testimonial-section-bottom .move-btn {
    position: absolute;
    top: 40%;
}

.move-btn {
    min-width: 50px;
    max-width: 50px;
    min-height: 50px;
    max-height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    cursor: pointer;
    transition: 0.4s;
}

.move-btn:hover {
    background-color: var(--orange);
}

#leftBtn {
    left: 2%;
}

#rightBtn {
    right: 2%;
}




/* FOOTER SECTION */
#footer {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background-color: black;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    text-align: center;
    padding-top: 100px;
}

#footer p {
    color: white;
    max-width: 800px;
    font-size: 12px;
}

#footer .special-text {
    border-color: white;
}

.footer-content p {
    margin-top: 1rem;
}

.footer-content .filled-btn {
    display: inline-block;
    margin-top: 2rem;
    background-color: white;
    border-color: white;
    color: var(--orange);
}

#footer .row {
    display: flex;
    gap: 3rem;
}

#footer .row a {
    color: white;
}

#footer .row .active {
    color: var(--orange);
}

@media screen and (max-width:1400px) {
    .homepage-second-section-right img {
        width: 500px;
    }
}

@media screen and (max-width:1200px) {
    .homepage-third-section-box-right img {
        width: 400px;
        height: 400px;
        transform: translateX(150px) translateY(150px);
    }

    html {
        font-size: 90%;
    }

    .homepage-second-section-right img {
        width: 400px;
    }
}

@media screen and (max-width:1000px) {
    h1 {
        font-size: 3.5rem;
    }

    .homepage-second-section-right img {
        display: none;
    }

    .nav-item {
        display: none;
    }

    .nav-box {
        width: 80%;
    }

    .nav-left img {
        width: 150px;
    }

    .nav-right {
        display: none;
    }

    .menu-icon {
        display: flex;
    }
}

@media screen and (max-width:800px) {
    html {
        font-size: 75%;
    }

    .sliding-box {
        height: 70vh;
    }

    .testimonial-card {
        height: 200px;
    }

    .homepage-third-section-box-left {
        min-width: 500px;
    }

    .homepage-third-section-box-right img {
        transform: translateX(50px) translateY(50px);
    }
}

@media screen and (max-width:700px) {
    .grid-images {
        min-height: 100px;
    }

    .grid-images-overlay {
        display: none;
    }

    .move-btn {
        min-width: 40px;
        max-width: 40px;
        min-height: 40px;
        max-height: 40px;
    }

    h1 {
        font-size: 3rem;
    }

    html {
        font-size: 70%;
    }

    .homepage-third-section-box-right img {
        transform: translateX(0px) translateY(0px);
    }

    .homepage-third-section-box-left {
        min-width: 400px;
    }
}

@media screen and (max-width:600px) {
    .stats h1 {
        font-size: 1.8rem;
    }

    .stats p {
        font-size: 9px;
    }

    .stats {
        height: 50px;
    }

    .homepage-second-section {
        gap: 0;
    }

    #footer .footer-content p {
        font-size: 8px;
    }

    #footer .special-text {
        font-size: 8px;
    }

    .special-text {
        font-size: 8px;
    }

    .btn-a {
        font-size: 10px;
    }

    html {
        font-size: 75%;
    }
}

@media screen and (max-width:500px) {
    .footer-content p{
        font-size: 11px !important;
    }
    .testimonial-card {
        min-width: 270px;
    }

    .nav-left img {
        width: 100px;
    }

    .dots {
        width: 5px;
        height: 5px;
    }

    .what-we-do-icon-circle {
        min-width: 30px;
        max-width: 30px;
        min-height: 30px;
        max-height: 30px;
    }

    #footer .credit {
        font-size: 12px;
    }


    .what-we-do-icon-circle .white-icon {
        font-size: 10px;
    }

    .testimonial-card {
        height: 180px;
    }

    .sliding-box {
        height: 60vh;
    }

    #navbar {
        padding: 0 0;
    }

    .nav-box {
        width: 100%;
        padding: 1rem 3rem;
        border-radius: 0%;
    }

    .nav-left img {
        width: 150px;
    }

    .stats-section {
        gap: 0.5rem;
    }

    .what-we-do-content h4 {
        font-size: 1.3rem;
    }
}

@media screen and (max-width:450px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.9rem;
    }

    h4 {
        font-size: 1rem;
    }

    .homepage-third-section-box-right img {
        display: none;
    }

    #footer .row {
        gap: 1.2rem;
    }

    .move-btn {
        display: none;
    }
}

@media screen and (max-width:400px) {
    .stats h1 {
        font-size: 1.5rem;
    }

    .stats p {
        font-size: 8px;
    }

    .stats {
        height: 40px;
    }

    .homepage-third-section-box-left {
        min-width: 200px;
        width: 100%;
    }

    html {
        font-size: 60%;
    }
}

@media screen and (max-width:360px) {
    #footer .row {
        gap: 1.9rem;
    }
}