@import url('https://use.typekit.net/lfp1dwt.css');

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

:root {
    --blue: #32327b;
    --white: #FFFFFF;
    --orange: #EC7345;
    --yellow: #FBB040;
    --pink: #cd0092;      
    --text-color: #FFF;
    --text-color2: #32327b;
    --main-color: #0ef;
}

*::selection {
    background: var(--main-color);
    color: var(--blue);
    

}

html {
    font-size: 80.0%;
    overflow-x: hidden;
}

body {
    background: var(--blue);
    color: var(--white);
   
}


section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
    
}

.header {
    position: fixed;
    min-height: 9vh;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header.sticky {
    border-bottom: .1rem solid rgba(0, 0, 0, .2);
}

.logo {
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.navbar a {
    font-size: 1.7rem;
    color: var(--orange);
    margin-left: 4rem;
    transition: .3s;
}

.navbar a:hover,
.navbar a.active {
    color: var(--blue);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-img img {
    width: 35vw;
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2.4rem);
    }

    100% {
        transform: translateY(0);
    }
}


.home-content h3 {
    font-size: 3.2rem;
    font-weight: 100;
}

.home-content h3:nth-of-type(2) {
    margin-bottom: 2rem;
}

span {
    color: var(--orange);
}

.home-content h1 {
    font-size: 5.6rem;
    font-weight: 100;
    line-height: 1.3;
}

.home-content p {
    font-size: 1.6rem;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: .5s ease;
}

.social-media a:hover {
    background: var(--main-color);
    color: var(--white);
    box-shadow: 0 0 1rem var(--main-color);
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--yellow);
    border-radius: 4rem;
    box-shadow: 0 0 1rem var(--yellow);
    font-size: 1.6rem;
    color: var(--blue);
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
    margin-top: 10rem;
}

.btn:hover {
    box-shadow: none;
}

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    background: var(--white);
}

.about-img img {
    justify-content: center;
    align-items: center;
    width: 35vw;
}
 
.heading {
    text-align: center;
    font-size: 4.5rem; 
}

.about-content h2 {
    text-align: center;
    line-height: 1.2;
    color: #32327b;
    margin-bottom: 5rem;
    justify-content:space-evenly;
}

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

.about-content p {
    text-align: center;
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
    color: var(--blue);
}

.services {
    min-height: 100;
    padding-bottom: 10rem;
}

.services h2 {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-container .services-box {
    flex: 1 1 30rem;
    background: var(--blue);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid var(--blue);
    transition: .5s ease;
}

.services-container .services-box:hover {
    border-color: var(--yellow);
    transform: scale(1.02);
}

.services-box i {
    font-size: 7rem;
    color: var(--main-color);
}

.services-box h3 {
    font-size: 2.6rem;
}

.services-box p {
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
    font-weight: 100;
    margin-top: 2rem;
}

.tools h2 {
    margin-bottom: 5rem;
    margin-top: 5rem;
}

@keyframes slide {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(-100%);
        }
}

.logos{
    margin: 150px -150px -150px ;
    padding: 10px 0;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #FFFFFF;
    white-space: nowrap;
    position: relative;
}

.logos:before,.logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255,0), white);
    content: "";
    z-index: 2;
}

.logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255,0), white);
    
}
.logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255,0), white);
    
}

.logos-slide {
    display: inline-block;
     animation: 20s slide infinite linear;
}


.logos-slide img {
    height: 100px; /* Uniform height for all images */
    margin: 0 50px; /* Adjust spacing around images */
    transition: .5s ease; /* Smooth transition for hover effects */
    object-fit: contain; /* Ensures images are fully visible, scaled to fit */
    display: inline-block; /* Ensures images are in line; adjust as needed */
    width: auto; /* Allows width to adjust based on the image's aspect ratio */
}

.image-container {
    width: 200px; /* Fixed width */
    height: 150px; /* Fixed height */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Ensures nothing spills out of the container */
    display: inline-block; /* Ensures images are in line; adjust as needed */
}

.logos-slide .image-container img {
    object-fit: contain; /* Keeps the entire image visible */
    width: 120px; /* Adjust based on the image's aspect ratio */
    height: 150px; /* Height automatically adjusted */
}


.logos:hover .logos-slide {
    animation-play-state: paused;
}

.logos .image-container:hover img {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.contact {
    min-height: auto;
    padding-bottom: 7rem;
}

.contact h2 {
    margin-bottom: 5rem;
    margin-top: 10rem;
}

.contact form {
    max-width: 60rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}

.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color2);
    background: var(--white);
    border-radius: .8rem;
    margin: .7rem 0;
}

.contact form .input-box input {
    width: 100%;
}

.contact form textarea {
    resize: none;
}

.contact form .btn {
    margin-top: 2rem;
    cursor: pointer;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background: var(--white);
}

.footer-text p {
    font-size: 1.2rem;
    color: var(--blue);
}

.footer-text h3 {
    font-size: 1.6rem;
    font-weight: 100;
    color: var(--blue);
}

.footer-contact p {
    font-size: 1.2rem;
    color: var(--blue);
}

.footer-iconTop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--orange);
    border-radius: .8rem;
    transition: .5s ease;
}

.footer-iconTop a:hover {
    box-shadow: 0 0 1rem var(--orange);
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: var(--white);
}

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

@media (max-width: 991px) {
    .header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3% 2rem;
    }

    .footer {
        padding: 2rem 3%;
    }
}

@media (max-width: 879px) {
    .portfolio-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--blue);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    .home {
        flex-direction: column;
    }

    .home-content h3 {
        font-size: 2.6rem;
    }

    .home-content h1 {
        font-size: 5rem;
    }

    .home-content h7 {
        font-size: 3.2rem;
        font-weight: 100;
    }


    .home-img img {
        width: 70vw;
        margin-top: 4rem;
    }

    .about {
        flex-direction: column-reverse;
    }

    .about img {
        width: 70vw;
        margin-top: 4rem;
    }
}

@media (max-width: 580px) {
    .portfolio-container {
        grid-template-columns: 1fr;
    }
}

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

    .contact form .input-box input {
        width: 100%;
    }

    .footer {
        flex-direction: column-reverse;
    }

    .footer p {
        text-align: center;
        margin-top: 2rem;
    }
}

@media (max-width: 365px) {

    .home-img img,
    .about-img img {
        width: 90vw;
    }
}