@font-face {
    font-family: "HelveticaNeue";
    src: url(fonts/HelveticaNeue.woff) format("woff");
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3 {
    margin: 0;
}

h1 { 
    font-size: 48pt;
    text-transform: uppercase;
}

p  {
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    background-color: white;
    font-family: "HelveticaNeue";
    justify-content: center;
    margin: 0;
}

header {
    position: sticky;
    top: 25px;
    display: flex;
    background-color: white;
    flex-direction: row;
    border-radius: 16px;
    margin: 24px 100px;
    padding: 25px 50px;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    align-items: center;
}

#header-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
} 

#header-items li {
    margin: 0 14px;
    font-size: 12pt;
}

#header-items li:hover {
    font-weight: bold;
    cursor: pointer;
}

#logo {
    max-height: 100%;
    background-image: url(logo.png);
    background-size: cover;
    margin-right: 1rem;
}

a {
    text-decoration: none;
    color: #1d1d1d;
}

#contact-button {
    display: inline-block;
    background-color: #1d1d1d;
    color: white;
    border: none;
    border-radius:8px;
    padding: 12px 24px;
    cursor: pointer;
    font-size: small;
    font-weight: bold;
    align-items: center;
    /* height: 100%; */
}

/* #contact-button a {
    color: white;
    font-weight: bold;
} */

#hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 100px;
    padding: 100px 0;
    height: 24vh;
}

#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw; 
    height: 78vh;
    background-image: url("images/hero-img.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
}

#hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    gap: 24px;
}

#hero-button {
    background-color: white;
    color: #1d1d1d;
    border: none;
    border-radius:8px;
    padding: 12px 24px;
    cursor: pointer;
    font-size: small;
    font-weight: bold;
}

/* #hero-button a {
    color: #1d1d1d;
    font-weight: bold;
} */

#client-logos {
    display: flex;
    width: 100vw;
    flex-direction: row;
    justify-content: center;
    margin-top: 50px;
    padding: 0 0 50px 0;
    background-color: white;
    height: 120px;
    align-items: center;
    overflow: hidden;
}

#client-logos ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#client-logos li {
    margin: 0 24px;
    opacity: 40%;
}

#about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin: 0px 100px;
    padding: 50px 50px;
    column-gap: 48px;
    border-radius: 16px;
}

#about-image {
    width: 90%;
}

#text-container {
    display: flex;
    flex-direction: column;
    gap: 12px
}

#services {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0px 100px;
    padding: 50px 50px;
    align-items: center;
}

#services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 24px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    border-radius: 16px;
    padding: 24px;
    margin: 0;
    flex: 1;
    gap: 24px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.service-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-items: center;
    gap: 12px;
}

#testimonials-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin: 0px 100px;
    padding: 50px 50px;
    column-gap: 48px;
    border-radius: 16px;
}

#testimonials {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin: 0;
    padding: 0;
    gap: 24px;
}

#testimonials-image {
    width: 100%;
}

#testimonials-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.testimonial-item {
    display: flex;
    flex-direction: row;
    background-color: white;
    border-radius: 16px;
    padding: 24px;
    gap: 24px;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonial-item img { 
    width: 80px; 
}

.testimonial-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.clientname { 
    font-weight: bolder;
}

.client-image {
    width: 100px;
    border-radius: 100%;
}

#portfolio { 
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px 100px;
    padding: 50px 50px;
    gap: 48px;
}

#portfolio-list { 
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    justify-content: center;
    width: 100%;
    gap: 24px;
}

.portfolio-item { 
    aspect-ratio: 1 / 1; 
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 100%; 
    object-fit: cover; 
    border-radius: 8px; 
    display: block;
    object-position: center;
}

#behance-button {
    background-color: #0057ff;
    color: white;
    border: 2px solid #0057ff;
    font-weight: bold;
    border-radius:8px;
    padding: 12px 24px;
    cursor: pointer;
    font-size: small;
}

#behance-button:hover { 
    background-color: #003bb5;
    color: white;
    border-color: #003bb5;
}

/* #behance-button a {
    color: white;
    font-weight: bold;
} */

#tools {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px 100px;
    padding: 50px 50px;
    gap: 48px;
}   

#tools-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    width: 100%;
}

.tool-item { 
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 16px;
    padding: 24px;
    margin: 0;
    flex: 1;
    gap: 24px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tool-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.tool-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-items: center;
    gap: 12px;
}

.tools-button { 
    background-color: #1d1d1d;
    color: white;
    border: 2px solid #1d1d1d;
    border-radius:8px;
    padding: 12px 24px;
    cursor: pointer;
    font-size: small;
    font-weight: bold;
}

.tools-button-disabled { 
    background-color: grey;
    color: white;
    border: 2px solid grey;
    border-radius:8px;
    padding: 12px 24px;
    cursor: pointer;
    font-size: small;
    font-weight: bold;
}

/* .tools-button a {
    color: white;
    font-weight: bold;
} */

.tools-button:hover { 
    background-color: red;
    color: white;
    border-color: red;
}

#contact-section { 
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px 100px;
    padding: 50px 50px;
    gap: 48px;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 50%;
    align-items: center;
}

.input-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
    gap: 12px;
}

.input-container input {
    padding: 12px;
    width: 100%;
    background-color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#contact-form textarea {
    padding: 12px;
    width: 100%;
    background-color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    height: 100px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    resize: none;
}

#contact-form button { 
    background-color: #1d1d1d;
    color: white;
    border: none;
    border-radius:8px;
    padding: 12px 24px;
    cursor: pointer;
    font-size: small;
    width: fit-content;
}

.checkbox-container {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    /* flex-direction: row; */
    align-items: center;
    gap: 12px;
}

#blog {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px 100px;
    padding: 100px 50px;
    gap: 48px;
}

#blog-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 24px;
}

.blog-item {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 16px;
    padding: 24px;
    /* margin: 0 12px; */
    flex: 1;
    gap: 24px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-items: center;
    gap: 12px;
}

#footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #1d1d1d;
    color: white;
    padding: 24px 100px;
}

#footer-container {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 24px;
    margin: 0 50px;
}

#footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 24px;
}

.footer-item {
    color: white;
    text-decoration: none;
    font-size: 12pt;
}

#footer-logo {
   margin: 0 50px;
}

#hero-button:hover { 
    background-color: red;
    color: white;
}

#contact-button:hover { 
    background-color: red;
    color: white;
}

#contact-form button:hover { 
    background-color: red;
    color: white;
}

/* Privacy Policy CSS */
#privacypolicy-header {
    position: sticky;
    top: 25px;
    display: flex;
    background-color: white;
    flex-direction: row;
    border-radius: 16px;
    margin: 24px 100px;
    padding: 25px 50px;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#back-button {
    display: flex;
    flex-direction: row;
    background-color: #1d1d1d;
    color: white;
    border: none;
    border-radius:8px;
    padding: 12px 24px;
    cursor: pointer;
    font-size: small;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

#back-button a {
    color: white;
    font-weight: bold;
}

#back-button:hover { 
    background-color: red;
    color: white;
}

#privacypolicy-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 16px;
    margin: 24px 100px;
    padding: 25px 50px;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px 100px;
    padding: 50px 50px;
    gap: 48px;
}

#qr-container button { 
    background-color: #1d1d1d;
    color: white;
    border: none;
    border-radius:8px;
    padding: 12px 24px;
    cursor: pointer;
    font-size: small;
    width: fit-content;
    text-wrap: nowrap;
}

#link-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    gap: 12px;
}

#link-input input{ 
        padding: 12px;
        width: 100%;
        background-color: white;
        border: none;
        border-radius: 8px;
        font-size: 14px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#input-row { 
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    width: 100%;
}

#download-buttons {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

#not-found {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 100px 100px;
    padding: 50px 50px;
    gap: 48px;
}

#nf-image {
    width: 300px;
}

#email-container { 
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 100px 100px;
    padding: 50px 50px;
    gap: 48px;
}

@media (max-width: 768px) {
    #about, #testimonials-section {
        grid-template-columns: 1fr;
        margin: 0px 20px;
    }

    #hero {
        height: auto;
        padding: 50px 0;
    }

    header, #privacypolicy-header {
        flex-direction: row;
        align-items: center;
        text-align: center;
        margin: 12px 20px;
    }

    #header-items {
        flex-direction: column;
        gap: 12px;
        display: none;
    }

    #client-logos {
        display: none;
        padding-top: 12px;
    }

    #about {
        display: flex;
        flex-direction: column;
        padding: 100px 20px;
        align-items: center;
    }

    #text-container {
        align-items: center;
        text-align: center;
    }

    #about-image {
        width: 80%;
    }

    #services {
        display: flex;
        margin: 0px 20px;
        padding: 0;
        flex-direction: column;
        gap: 24px;
    }

    #services-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin: 24px 20px;
        width: 100%;
        gap: 24px;
        row-gap: 70px;
    }

    .service-item {
        height: 100%;
    }

    #portfolio { 
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0px 20px;
        padding: 0 0 0 0;
        gap: 24px;
    }
    
    #portfolio-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin: 24px 20px;
        width: 100%;
    }

    #tools {
        margin: 0px 20px;
    }

    #tools-list {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .tool-container {
        width: 100%;
    }

    #contact-section {
        margin: 50px 20px;
        padding: 0 0 0 0;
        gap: 24px;
    }

    #contact-form {
        margin: 0px 200px;
        width: 80%;
    }

    #footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }

    #footer-container {
        align-items: center;
    }
    
    #not-found {
        margin: 50px 20px;
        padding: 0 0 0 0;
        gap: 24px;
    }
}