@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');


body {
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #4f4cfd;
    color: white;
    text-align: center;
}

.top-right-header {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
}

.top-right-header a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
}

.header-section {
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 10%;
    text-align: left;
}

.header-section h1 {
    font-size: 56px;
    margin: 0 10px;
}

.header-section h2 {
    font-size: 36px;
    font-weight: 100;
    margin: 10px 10px;
}

.header-section span {
    font-weight: 700;
}

.cta-button {
    padding: 15px 25px;
    font-size: 1em;
    border: none;
    background-color: white;
    color: #4f4cfd;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 20px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #f0f0f0;
}

.contact-header-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #4f4cfd;
}

.contact-header-section h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.contact-header-section p {
    font-size: 1.2em;
    color: #fff;
}

.contact-form-section {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
    background-color: #fff;
}

#contact-form {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
}

#contact-form label {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #000;
    text-align: left; 
    display: block;
}

#contact-form input,
#contact-form textarea {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    width: 100%;
}

#contact-form textarea {
    height: 150px;
    resize: none;
}

.send-button {
    margin-top: 12px;
    padding: 10px 0;
    background-color: #0D0D0D;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 22px;
    font-weight: 600;
    border-radius: 32px;
    width: 100%;
    height: 56px;
    font-family: 'Roboto', sans-serif;
    padding-bottom: 8px;
}

.flashes {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.features-section {
    display: flex;
    justify-content: space-evenly;
    padding: 40px 20px;
    flex-wrap: wrap;
}

.feature-box {
    background-color: #4f4cfd;
    border: 2px solid white;
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
    width: calc(25% - 40px);
    min-width: 250px;
    box-sizing: border-box;
}

.feature-box h2 {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.feature-box p {
    font-size: 1em;
    line-height: 1.5;
}

.media-container {
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    background-color: #4f4cfd;
}

video {
    display: block; 
    max-width: 100%;
    height: auto; 
}

.counter-section {
    background: linear-gradient(to bottom, #4f4cfd 0%, #ffffff 25%, #ffffff 75%, #4f4cfd 100%);
    color: #4f4cfd;
    padding: 50px 20px;
}

.counter-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.counter-section p {
    font-size: 1.5em;
}

.footer-section a {
    color: white;
    text-decoration: underline;
}

@keyframes slideIn {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(-100%); opacity: 0; }
}

#changing-word {
    display: inline-block;
    position: relative;
    animation: slideIn 1s forwards;
}

@media (max-width: 1250px) {
    .feature-box {
        width: calc(50% - 40px);
    }
}

@media (max-width: 768px) {
    .header-section {
        height: 80vh;
        margin-top: 30px;
    }

    .header-section h1 {
        font-size: 38px;
    }

    .header-section h2 {
        font-size: 20px;
    }    

    .cta-button {
        font-size: 14px;
    }

    .counter-section p {
        font-size: 20px;
    }    
    .feature-box {
        width: calc(100% - 40px);
    }
}
