:root {
    --white: #f4ede0;
    --blue: #0052d5;
    --dark-blue: #003471;
    --purple: #5c43a9;
    --green: #01e7b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica", sans-serif;
    background-color: var(--white);
    color: #333;
    line-height: 1.6;
}

.navbar {
    width: 100%;
    background-color: var(--blue);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 12vh;
}

.container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 1.5vw;
}

.logo a {
    text-decoration: none;
    color: var(--white);
    height: 100%;
}

.logo a img {
    height: 8vh;
    border-radius: 50%;
}

@media (min-width: 769px) {
    .openbtn, .closebtn {
        display: none;
    }
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 12vh;
    margin-right: 1vw;
}

.nav-links li {
    height: 12vh;
}

.nav-links li a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 3vh;
    letter-spacing: 0.12vw;
    transition: color 0.3s;
    padding: 3vh 3vh 1vh 3vh;
    display: flex;
    align-items: center;
    display: inline-block;
    position: relative;
}

.nav-links li a::after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 0.25rem;
    bottom: 0;
    left: 0;
    background-color: var(--green);
    transition: transform 0.3s ease-out;
    transform-origin: bottom left;
}

.nav-links li a:hover {
    color: var(--green);
}

.nav-links li a:hover::after {
    transform: scaleX(1);
}

.hero {
    height: 88vh;
    background: linear-gradient(to right, var(--blue), var(--dark-blue));
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 0 15px;
    color: var(--white);
    overflow: hidden;
}

.hero-content {
    animation: fade-in-left 1.5s ease-in-out;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 15px;
}

.hero-content h1 span {
    color: var(--green);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.cta-btn {
    padding: 1rem 2rem;
    background-color: var(--green);
    color: var(--blue);
    text-decoration: none;
    border-radius: 1.5rem;
    transition: background-color 0.3s;
}

.cta-btn:hover {
    background-color: var(--purple);
    color: var(--white);
}

.hero-illustration {
    width: 70%;
}
.hero-illustration img {
    width: 90%;
    height: auto;
    float: right;
    animation: fade-in-right 1.5s ease-in-out;
}

.features-section {
    background-color: var(--white);
    padding: 0 1rem 0 2rem;
}

.feature {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.5s ease, transform 1.5s ease;
    height: 50vh;
    width: 100%;
}

.feature.visible {
    opacity: 1;
    transform: translateY(-10px);
}

.feature:nth-child(odd) {
    flex-direction: row-reverse;
}

.feature-illustration img {
    width: 40vw;
    height: 40vh;
}

.feature-illustration {
    width: 50%;
}

.feature-content {
    width: 50%;
    color: #333;
}

.feature-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--blue);
}

.feature-content p {
    font-size: 1.2rem;
    color: #666;
}

.footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 3rem 1rem;
    height: 50vh;
}

.footer-content {
    display: grid;
    margin-left: 1rem;
    grid-template-columns: 3fr 1fr 1fr;
    gap: 1rem;
    height: 80%;
}

.footer-info,
.footer-contact,
.footer-social {
    align-self: center;
}

.footer-info h3,
.footer-contact h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-social h3 {
    font-size: 2rem;
}

.footer-info p,
.footer-contact p {
    font-size: 1rem;
}

.footer-social .social-links {
    display: flex;
    gap: 1rem;
}

.footer-social .social-links a img {
    height: 5vh;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

@keyframes fade-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
