html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    line-height: 1.6;
}

header{
    background: rgb(245, 245, 245);
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

header img {
    width: 100%;
    max-width: 300px; /* or whatever maximum size you want */
    height: auto;
    padding: 10px;
}


nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #999;
    justify-content: center;
    display: flex;

    img[src*='.svg'] {
        filter: brightness(0) saturate(100%) invert(100%) sepia(47%) saturate(55%) hue-rotate(10deg) brightness(113%) contrast(92%);
    }

    .nav-sections {
        padding: 1rem;
    }

    .header-logo{
        display: flex;
        justify-content: center;
    }
}


nav a {
    color: #fff;
    text-decoration: none;
    padding: 1rem;
    margin: 1rem;
}

nav div img {
    color: rgb(245, 245, 245);
    /*color: #fff;*/
    /*padding: 1rem 0;*/
    text-align: center;
    width: 100%;
    max-width: 300px; /* or whatever maximum size you want */
    height: auto;
    padding: 10px;
}

nav a:hover {
    background: #555;
    padding: 1rem;
}

section {
    scroll-margin-top: 180px; /* Adjust this value based on your nav height */
}

nav a.active {
    background: #555;
}


.hero {
    height: 50vh;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin: 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.grid-item {
    background-color: #000;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    &:hover {
        transform: scale(1.02);
    }
}

.grid-item.light {
    background-color: white;
    color: black;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
}

.grid-item img {
    width: 100%;
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
}

.grid-item h3 {
    margin: 10px 0;
    font-size: clamp(0.9em, 2vw, 1.2em);
    line-height: 1.3;
}



/* Media Queries for different screen sizes */
@media screen and (max-width: 1200px) {
    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
        padding: 15px;
    }

    .grid-item {
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
    }

    .grid-item img {
        max-width: 100px;
    }
}

.feature {
    background-color: #1e1e1e;
    /*margin-bottom: 20px;*/
    padding: 20px;
    margin-right: 50px;
    transition: transform 0.2s;
    display: flex;
    flex-direction: row;
    max-width: 95%;

    div {
    padding-left: 20px;
}
}

.feature:hover {

    h2, div{
        /*color: white;*/
        transform: scale(1.02);
    }
}

.feature h2 {
    color: white;
    margin: 0 0 10px 0;
    font-size: medium;
}

.feature p {
    margin: 0;
    color: white;
    font-size: small;
}

.feature img {
    height: 80px;
    padding-right: 15px;
}

#about {
    margin-left: 20px;
    margin-right: 20px;
}

#services {
    margin-left: 20px;
    margin-right: 20px;
}

.integration-container {
    display: flex;
}

.integration-container img {
    padding-right: 10px;
}

.benefits-container {
    background-color: #1e1e1e;
    width: 100%;
    padding-bottom: 20px;
    padding-left: 0
}

.benefits-container h3 {
    margin-left: 20px;
    margin-right: 20px;
    color: white;
    padding: 10px;
}

#contact {
    /*margin-left: 20px;*/
    /*margin-right: 20px;*/
    text-align: center;

    h4 {
        margin-top: unset;
        margin-bottom: unset;
        color: black;
        font-weight: 500;
    }

    h2 {
        margin-top: unset;
        margin-bottom: 10px;
        color: black;
    }
}

header, #contact, footer{
    background: rgb(245, 245, 245);
    color: #fff;
    text-align: center;
}

footer {
    padding-bottom: 20px;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;

    p {
        margin-top: unset;
        margin-bottom: unset;
        color: black;
    }
}


@media screen and (max-width: 768px) {
    header img {
        max-width: 250px;
    }
}

@media screen and (max-width: 480px) {
    header img {
        max-width: 200px;
    }

    nav a {
        margin: unset;
    }

    nav a:hover {
        background: unset;
        /*padding: unset;*/
    }

    nav .nav-sections {
        display: flex;
        padding: unset;
    }
}

.integration-section {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 20px;
    gap: 20px;
    flex-wrap: wrap;
}

.integration-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 150px;
    max-width: 300px;
}

.integration-container img {
    width: 100%;
    max-width: 80px;
    height: auto;
    margin-bottom: 10px;
}

/* Media queries for responsive design */
@media screen and (max-width: 768px) {
    .integration-container {
        min-width: 120px;
    }

    .integration-container img {
        max-width: 60px;
    }
}

@media screen and (max-width: 480px) {
    .integration-section {
        flex-direction: column;
        gap: 30px;
    }

    .integration-container {
        width: 100%;
        max-width: none;
    }
}

@media screen and (max-width: 480px) {
    .feature:hover {
        transform: scale(1);
        margin-right: 50px;
    }

    .grid-item:hover {
        transform: none;
    }
}
