@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --yellow: #f5bf23;
    --black: #111;
    --white: #fff;
    --light-color: #666;
    --light-bg: #eee;
    --box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    --border: .1rem solid rgba(0, 0, 0, .3);
}


* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
}


html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
}

html::-webkit-scrollbar {
    width: 1rem;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: var(--yellow);
}

section {
    padding: 5rem 10%;
}


.heading {
    margin-bottom: 3rem;
    @include titleText(3rem);
    padding-left: 1rem;
    border-left: 1rem solid var(--yellow);


}


.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 3rem;
    background: var(--black);
    color: var(--white);
    cursor: pointer;
    font-size: 1.7rem;
    text-transform: capitalize;
    transition: .2s linear;
}

.btn:hover {
    background: var(--yellow);
    color: var(--black);
}

@keyframes fadeIn {
    0% {
        top: 50%;
        opacity: 0;

    }
}

.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: var(--box-shadow);
    padding: 1.5rem 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    background: var(--white);


}

.header img {
    height: 5rem;
}

.navbar a {
    font-size: 2rem;
    color: var(--black);
    margin: 0 1rem;
}

.navbar a {
    font-size: 2rem;
    color: var(--black);
    margin: 0 1rem;
}

.navbar a:hover {
    color: var(--yellow);
}

.icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.icon {
    height: 5rem;
    width: 5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--light-bg);
    color: var(--black);
    cursor: pointer;
    text-align: center;
    border-radius: 0.5rem;
    border: var(--border);
}

.icon:hover {
    background: var(--black);
    color: var(--white);
}

#menu-btn {
    display: none;

}

.search-form {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    width: 70rem;
    background: var(--white);
    box-shadow: var(--box-shadow);
    padding: 1rem;
    display: none;
    align-items: flex-start;
    gap: 1rem;
    animation: fadeIn .2s linear;
    display: none;
    flex-wrap: wrap;
}

.search-form.active {
    display: flex;
}

.search-form input {
    width: 100%;
    padding: 1.2rem 1.4rem;
    background: var(--light-bg);
    font-size: 1.6rem;
    color: var(--light-color);
}

.search-form label {
    font-size: 2.5rem;
    color: var(--black);
    cursor: pointer;
    margin: 0 1rem;
}

.search-form label:hover {
    color: var(--yellow);
}

.search-results {
    width: 100%;
    max-height: 40rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-result-item {
    padding: 1rem 1.4rem;
    background: var(--light-bg);
    border-left: 0.4rem solid var(--yellow);
    cursor: pointer;
    transition: all 0.2s linear;
    text-decoration: none;
    display: block;
}

.search-result-item:hover {
    background: var(--black);
    color: var(--white);
}

.result-text {
    font-size: 1.5rem;
    color: var(--black);
    font-weight: 500;
}

.search-result-item:hover .result-text {
    color: var(--white);
}

.result-section {
    font-size: 1.2rem;
    color: var(--light-color);
    margin-top: 0.3rem;
}

.search-result-item:hover .result-section {
    color: var(--yellow);
}

.no-results {
    width: 100%;
    padding: 1rem 1.4rem;
    text-align: center;
    font-size: 1.5rem;
    color: var(--light-color);
}

.btn {
    width: 100%;
}

p {
    font-size: 1.5rem;
    color: var(--light-color);
    line-height: 1.5;
    padding-top: 1.5rem;
}

p a {
    color: var(--yellow);
}

p a:hover {
    text-decoration: underline;
}

.login-form {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    width: 40rem;
    background: var(--white);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    text-align: center;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeIn .2s linear;
}

.login-form.active {
    display: flex;
}

.login-form h3 {
    font-size: 2.5rem;
    color: var(--black);
    padding-bottom: 1rem;
    text-transform: uppercase;
}

.login-form .box {
    width: 100%;
    padding: 1.2rem 1.4rem;
    background: var(--light-bg);
    font-size: 1.6rem;
    color: var(--light-color);
    margin: .7rem 0;
}

.login-form .flex {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    width: 100%;
}

.login-form .flex label {
    font-size: 1.5rem;
    color: var(--light-color);
    cursor: pointer;
}

.login-form .flex a {
    font-size: 1.5rem;
    color: var(--light-color);
    margin-left: auto;
}

.login-form .flex a:hover {
    color: var(--yellow);
    text-decoration: underline;
}

.login-form .btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--black);
    color: var(--white);
    cursor: pointer;
    border-radius: .4rem;
}

.register-form {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    width: 40rem;
    background: var(--white);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    text-align: center;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeIn .2s linear;
}

.register-form.active {
    display: flex;
}

.register-form h3 {
    font-size: 2.5rem;
    color: var(--black);
    padding-bottom: 1rem;
    text-transform: uppercase;
}

.register-form .box {
    width: 100%;
    padding: 1.2rem 1.4rem;
    background: var(--light-bg);
    font-size: 1.6rem;
    color: var(--light-color);
    margin: .7rem 0;
}

.register-form .flex {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    width: 100%;
}

.register-form .flex label {
    font-size: 1.5rem;
    color: var(--light-color);
    cursor: pointer;
}

.register-form .flex a {
    font-size: 1.5rem;
    color: var(--light-color);
    margin-left: auto;
}

.register-form .flex a:hover {
    color: var(--yellow);
    text-decoration: underline;
}

.register-form .btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--black);
    color: var(--white);
    cursor: pointer;
    border-radius: .4rem;
}


.contact-info {
    position: fixed;
    top: 0;
    right: 0;
    width: 35rem;
    background: var(--white);
    height: 100%;
    text-align: center;
    z-index: 1100;
    padding: 0 2rem;
    padding-top: 5rem;
    display: none;
    overflow-y: auto;
}

.contact-info.active {
    display: block;
    box-shadow: 0 0 0 100vw rgba(0, 0, 0, .7);
}

#close-contact-info {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    cursor: pointer;
    font-size: 4rem;
    color: var(--black);
    background: none;
    border: none;
    transition: all 0.2s linear;
}

#close-contact-info:hover {
    transform: rotate(90deg);
}

.contact-info .info {
    padding: 2rem 0;
}

.contact-info .info i {
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    background: var(--light-bg);
    color: var(--black);
    cursor: pointer;
    text-align: center;
    display: block;
    border-radius: 0.5rem;
    margin: 0 auto 1rem auto;
    transition: all 0.2s linear;
}

.contact-info .info i:hover {
    background: var(--black);
    color: var(--white);
}

.contact-info .info h3 {
    font-size: 2rem;
    color: var(--black);
    text-transform: capitalize;
    padding: 1rem 0;
}

.contact-info .info p {
    font-size: 1.5rem;
    color: var(--light-color);
    line-height: 1.5;
}

.contact-info .share {
    padding-top: 1rem;
    border-top: var(--border);
    margin-top: 1rem;
}

.contact-info .share a {
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    background: var(--light-bg);
    color: var(--black);
    cursor: pointer;
    text-align: center;
    display: inline-block;
    border-radius: 0.5rem;
    margin: 0 .3rem;
}

.contact-info .share a:hover {
    background: var(--black);
    color: var(--white);
}

/* Home slider styles */
.home {
    position: relative;
}

.home .swiper {
    width: 100%;
}

.home .swiper-slide {
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
}

.home .content {
    max-width: 80rem;
    padding: 2rem;
    margin-left: 10%;
    color: var(--black);
    background: rgba(255, 255, 255, 0.85);
    border-radius: .6rem;
}

.home .content h3 {
    font-size: 3.2rem;
    margin-bottom: .5rem;
}

.home .content p {
    font-size: 1.6rem;
    color: var(--light-color);
    margin-bottom: 1rem;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--black);
}

@media (max-width: 991px) {
    .home .swiper-slide {
        height: 60vh;
    }

    .home .content {
        margin-left: 5%;
        max-width: 90%;
        background: rgba(255, 255, 255, 0.9);
        padding: 1.5rem;
    }

    .home .content h3 {
        font-size: 2.4rem
    }
}


.home {
    padding: 0;


    .slide {
        min-height: 60rem;
        display: flex;
        align-items: center;
        position: relative;
        background-size: cover !important;
        background-position: center !important;


        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 100%;
            background: linear-gradient(90deg, var(--white), transparent);
        }

        .content {
            width: 50rem;
            position: relative;


            h3 {
                @include titleText(6rem);
                text-transform: uppercase;
            }

            p {
                @include graphText(1.4rem);
                line-height: 2;
                padding: 1rem 0;
            }
        }
    }

    .swiper-button-next,
    .swiper-button-prev {
        top: initial;
        bottom: 2rem;
        left: initial;
        right: 2rem;
        height: 4rem;
        width: 4rem;
        line-height: 4rem;
        background: var(--white);


        &:hover {
            background: var(--yellow);
        }
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 1.8rem;
        color: var(--black);
    }

    .swiper-button-prev {
        right: 7rem;

    }
}


/*about section styles*/

.about .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.about .row .img {
    flex: 0 0 40rem;
    max-width: 40rem;
    min-width: 28rem;
}

.about .row .img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
    box-shadow: var(--box-shadow);
    object-fit: cover;
}

.about .row .content {
    flex: 1 1 45rem;
}

.about .row .content h3 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about .row .content p {
    font-size: 1.6rem;
    color: var(--light-color);
    padding: 1rem 0;
}

.about .content h3 {
    font-size: 3rem;
}

@media (max-width: 991px) {
    .about .row {
        flex-direction: column;
    }

    .about .row .img,
    .about .row .content {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 0;
    }
}

.about .box-container {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 2rem;
    align-items: flex-end;
}

.about .box-container .box {
    text-align: center;
    background: var(--light-bg);
    padding: 3rem 2rem;


    h3 {
        font-size: 2.5rem;
        color: var(--black);
    }

    p {
        font-size: 1.5rem;
        color: var(--light-color);
        padding-top: 1rem;
    }
}


.services .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
    background: var(--light-bg);
}

.services .box {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    box-shadow: var(--box-shadow);
    border: var(--border);
}

.services .box:hover img {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
    transform: translateY(-1rem);
    transition: .2s linear;
}

.services .box img {
    height: 5rem;
    margin-bottom: 1rem;
}

.services .box h3 {
    font-size: 1.5rem;
    color: var(--black);
    padding: 1rem 0;
}

.services .box p {
    font-size: 1.4rem;
    color: var(--light-color);
}

/* Projects Section Styles */
.projects {
    background: var(--black);
    padding: 5rem 10%;
}

.projects .heading {
    color: var(--white);
    border-left: 1rem solid var(--yellow);
}

.projects .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    gap: 2rem;
}

.projects .box {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    cursor: initial;
}

.projects .image {
    height: 22rem;
    overflow: hidden;
    display: block;
}

.projects .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s linear;
    display: block;
}

.projects .box:hover .image img {
    transform: scale(1.1);
    transition: .2s linear;
}

.projects .content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--white);
    padding: 1rem 1.2rem;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    justify-content: space-between;
    min-height: 5rem;
}

.projects .info {
    display: flex;
    flex-direction: column;
    padding: 0;
    flex: 1;
}

.projects .info h3 {
    font-size: 1.4rem;
    color: var(--black);
    margin: 0;
    font-weight: 600;
}

.projects .info p {
    font-size: 1.2rem;
    color: var(--light-color);
    margin: 0.3rem 0 0 0;
    padding: 0;
}

.projects .content i {
    height: 5rem;
    width: 5rem;
    background: var(--yellow);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.4rem;
    margin-left: 1rem;
    flex-shrink: 0;
    font-size: 2.4rem;
    border: none;
}


.contact {
    background: var(--light-bg);
    padding: 5rem 10%;
}

.contact .heading {
    color: var(--black);
    border-left: 1rem solid var(--yellow);
}

.contact .row {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact .row iframe {
    flex: 1 1 45rem;
    width: 100%;
    min-height: 45rem;
    border: none;
    display: block;
}

.contact form {
    flex: 1 1 41rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--white);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border: var(--border);
}

.contact form h3 {
    font-size: 2.5rem;
    color: var(--black);
    text-transform: uppercase;
    padding-bottom: 1rem;
    margin: 0;
}

.contact form .box {
    width: 100%;
    padding: 1.2rem 1.4rem;
    background: var(--light-bg);
    font-size: 1.6rem;
    color: var(--light-color);
    border: none;
    border-radius: 0.5rem;
}

.contact form .box:focus {
    background: var(--white);
    color: var(--black);
}

.contact form textarea {
    min-height: 15rem;
    resize: none;
}

.contact form .btn {
    width: initial;
    align-self: flex-start;
}

.footer {
    background: var(--black);
    color: var(--white);
    padding: 4rem 10%;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(18rem, 1fr));
    gap: 2rem;
    align-items: start;
    text-align: left;
}

.footer-logo {
    display: inline-block;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p,
.footer-contact p,
.footer-links a,
.footer-social a {
    color: var(--light-color);
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.2rem;
}

.footer-links a,
.footer-contact a {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--yellow);
}

.footer-contact p {
    margin-top: 0.8rem;
    line-height: 1.8;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.social-icons a {
    height: 5rem;
    width: 5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.8rem;
    background: var(--light-bg);
    color: var(--black);
    font-size: 2rem;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-icons a:hover {
    background: var(--yellow);
    color: var(--black);
    transform: translateY(-0.2rem);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 0.1rem solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.footer-bottom p {
    font-size: 1.4rem;
    color: var(--light-color);
}

.footer-bottom span {
    color: var(--yellow);
}

@media (max-width: 991px) {
    .footer-inner {
        grid-template-columns: repeat(2, minmax(18rem, 1fr));
    }
}

@media (max-width: 650px) {
    .footer {
        padding: 3rem 5%;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        font-size: 2.4rem;
    }
}





































































@media (max-width: 991px) {
    .contact .row {
        flex-direction: column;
    }

    .contact .row iframe,
    .contact form {
        flex: 1 1 100%;
    }

    .contact .row iframe {
        min-height: 35rem;
    }
}




























































































/* Media Queries */
@media (max-width:1200px) {
    html {
        font-size: 55%;
    }

    .header {
        padding: 1.5rem 2rem;
    }

    .navbar {
        position: absolute;
        top: 99%;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: var(--border);
        border-bottom: var(--border);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: .2s linear;
    }

    .navbar.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .navbar a {
        display: block;
        margin: 2rem;
    }

    section {
        padding: 3rem 5%;
    }
}

@media (max-width:991px) {
    html {
        font-size: 55%;
    }

    .header {
        padding: 1.5rem 2rem;
    }

    section {
        padding: 3rem 2rem;
    }
}

@media (max-width:768px) {
    .header .search-form {
        width: 90%;
    }
}

@media (max-width:450px) {
    html {
        font-size: 50%;
    }
}