@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

:root {
    --serenity-green: #39A934;
    --serenity-blue: #4862FF;
}

* {
    margin: 0;
}

#header .title {
    font-family: 'Questrial', sans-serif;
    font-size: 72px;
    text-align: center;
}

.subtitle {
    font-family: 'Questrial', sans-serif;
    font-size: 28px;
    text-align: center;
}

.color-primary {
    color: var(--serenity-blue);
}

.color-secondary {
    color: var(--serenity-green);
}

#hero {
    min-height: 80svh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#header {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    gap: 20px;
    flex: 1;
    justify-content: center;
}

#logo {
    padding: 20px;
    align-self: flex-start;
}

#cta-container {
    display: flex;
    gap: 8px;
    width: 100%;
}

#cta-container input {
    border: #CBD5E1 1px solid;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 24px;
    flex: 1;
}

#cta-container button {
    background-color: var(--serenity-green);
    border: none;
    border-radius: 6px;
    color: white;
    line-height: 24px;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
}

#cta-container button:hover {
    background-color: #21901B;
}

#logos-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
    padding: 20px 0;
}

#logos-container img {
    height: 40px;
}

#logos-container a {
    display: inline-block;
    transition: transform 0.2s ease;
}

#logos-container a:hover {
    transform: scale(1.1);
}

.company-logo {
    max-width: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.company-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* second section */

#serenity-info {
    position: relative;
    background: url('bg.png') no-repeat center center/cover;
    font-family: 'Inter', sans-serif;
    padding-top: 64px;
    padding-bottom: 64px;
}

#serenity-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(72, 98, 255, 0.9);
    z-index: 1;
}

#serenity-info .content {
    position: relative;
    z-index: 2;
    margin: auto;
    max-width: 1365px;
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

#serenity-info .content img {
    max-width: calc(682px - 48px);
}

#serenity-info h1 {
    font-size: 60px;
    line-height: 110%;
    font-weight: 600;
    color: white;
    margin-bottom: 32px;
}

#serenity-info h3 {
    font-size: 32px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.8)
}

#serenity-info p {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

#learn-more-btn {
    background-color: white;
    color: var(--serenity-blue);
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    line-height: 24px;
    font-weight: 600;
    text-decoration: none;
}

#footer {
    background-color: black;
    color: white;
    padding: 32px;
    font-family: 'Inter', sans-serif;
}

#footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1365px;
    margin: auto;
}

#footer img {
    height: 40px;
}

#footer .contact-info {
    text-align: center;
    font-size: 12px;
}

#footer .contact-info p {
    margin-bottom: 8px;
}

#footer .contact-info .title {
    font-weight: 600;
}

#footer .contact-info {
    margin-top: 20px;
}

@media (max-width: 1364px) {
    #header {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    #header .title {
        font-size: 48px;
    }

    .subtitle {
        font-size: 24px;
        margin-bottom: 16px;
    }

    #serenity-info {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    #serenity-info .content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    #serenity-info h1 {
        font-size: 40px;
        margin-bottom: 20px;
    }

    #serenity-info h3 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    #serenity-info p {
        font-size: 24px;
        margin-bottom: 20px;
    }    #logos-container img {
        height: 30px;
    }

    .company-logo {
        max-width: 80px;
    }

    #serenity-info .content img {
        margin: 0 auto;
        max-width: 70%;
    }
}

@media (max-width: 768px) {
    #hero {
        min-height: auto;
    }

    #serenity-info .content img {
        max-width: 100%;
    }

    #footer .container {
        flex-direction: column;
        align-items: flex-start;
    }

    #footer .contact-info {
        text-align: left;
        margin-top: 16px;
    }
}
