@import url("./root.css");



body {
    background-color: var(--Navy-900);
}

/* NAV */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 60px;
    list-style: none;
}



nav ul li a {
    font-size: 2rem;
    color: var(--White);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s linear;
}

nav ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* HERO SECTION */

.hero-section {
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding-top: 50px;
}

.hero-section img,
.hero-section h2,
.hero-section p,
.hero-section .button {
    transform: translateY(80px);
    opacity: 0;
    animation: hero-transition 0.7s forwards;
}


.hero-section h2 {
    animation-delay: 0.180s;
}

.hero-section p {
    animation-delay: 0.360s;
}

.hero-section .button {
    animation-delay: 0.540s;
}

.hero-section img {
    max-width: 100%;
}

.hero-section h2 {
    max-width: 900px;
    margin: 40px auto;
}


.hero-section p {
    font-size: 2rem;
    color: var(--White);
    max-width: 600px;
    margin: 40px auto;
    line-height: 30px;
    font-weight: 100;
}


.hero-section .button,
form button {
    position: relative;
    display: inline-block;
    margin: auto;
    width: 250px;
    padding: 13px 8px;
    text-decoration: none;
    font-size: 1.6rem;
    border-radius: 100px;
    z-index: 1;

}

.hero-section .button::after,
form button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 100px;
    background-color: var(--hover-btn);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.2s linear;
}

.hero-section .button:hover::after,
form button:hover::after {
    opacity: 1;
}



/* CARD SECTION */

.card-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 400px));
    justify-content: center;
    gap: 80px 170px;
}

.card-presentation {
    text-align: center;
    color: var(--White);
    transform: translateY(80px);
    opacity: 0;
}

.card-presentation.animate {
    animation: card-transition 0.7s forwards;

}

.card-presentation:nth-child(2) {
    animation-delay: 0.180s;
}

.card-presentation:nth-child(3) {
    animation-delay: 0.360s;
}


.card-presentation:nth-child(4) {
    animation-delay: 0.540s;
}


.card-presentation img {
    margin-bottom: 30px;
}

.card-presentation h3 {
    margin-bottom: 10px;
}

.card-presentation p {
    font-size: 1.6rem;
    font-weight: 100;
    line-height: 25px;
}

/* PRODUCTIVE SECTION */
.productive-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
    color: var(--White);
    gap: 70px;

}

.poductive-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: translateX(-80px);
    opacity: 0;

}

.productive-text {
    transform: translateX(80px);
    opacity: 0;

}

.poductive-icon-img.productive-anim,
.productive-text.productive-anim {
    animation: productive-anim 0.7s forwards;
}

.productive-text p {
    font-size: 2rem;
    margin-top: 20px;
    font-weight: 100;

}


.link-productive-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    position: relative;
    gap: 10px;
    margin-top: 20px;
    font-size: 2rem;
    color: var(--Teal-200);
    font-weight: 100;
    text-decoration: none;
    transition: color 0.3s linear;
}


.link-productive-section:hover {
    color: var(--White);
}

.link-productive-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--Teal-200);
    transform: translateY(5px);
    transition: background-color 0.3s linear;
}

.link-productive-section:hover::after {
    background-color: var(--White);
}


/* arrow button */

.link-productive-section svg {
    transform: translateY(2px);
}

.link-productive-section svg use {
    transition: fill 0.3s linear;
}

.link-productive-section:hover svg use {
    fill: var(--White);
}


/* TESTIMONIAL SECTION */

.testimonial-section {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, minmax(250px, 400px));
    gap: 50px;
    margin-bottom: 110px;

}



.card-testimonial {
    background-color: var(--Navy-800);
    color: var(--White);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0px 0px 15px 1px #62E0D9;
    opacity: 0;

}

.card-testimonial:nth-child(1) {
    position: relative;
}

.card-testimonial:nth-child(2) {
    transform: translateY(-40px);
    transition: transform 0.5s linear;
}

.card-testimonial:nth-child(3) {
    transform: translateY(-80px);
    transition: transform 0.5s 0.1s linear;
}

.card-testimonial.testimonial-anim {
    animation: testimonial-anim-card 1s forwards;
}


.card-testimonial:nth-child(2).testimonial-anim {
    transform: translateY(40px);
}

.card-testimonial:nth-child(3).testimonial-anim {
    transform: translateY(80px);
}


.quotes-icon {
    position: absolute;
    top: -30px;
    left: -5px;
    z-index: -1;
}

.card-testimonial p {
    font-size: 1.6rem;
}

.user-testimonial {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.user-testimonial img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}


.user-info-testimonial h3 {
    font-size: 1.3rem;
}

.user-info-testimonial h4 {
    font-size: 1rem;
    font-weight: 200;
}

/* EMAIL SECTION */


.form-section {
    transform: translateY(100px);
    margin: auto;
    background-color: var(--Navy-850);
    padding: 35px 60px;
    color: var(--White);
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 3px 3px 10px 8px rgba(0, 0, 0, 0.2);
}

.form-section h2 {
    font-size: 2.6rem;
    text-align: center;
    margin-bottom: 13px;
}

.form-section p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-align: center;

}

form input,
form button {
    border: none;
    outline: none;
    padding: 10px 12px;
    border-radius: 100px;
}

form input {
    width: 60%;
    margin-right: 20px;
}


.error-message {
    display: none;
    font-size: 1.4rem;
    color: var(--Red-500);
    margin: 5px 10px;

}

/* FOOTER */

footer {
    padding: 200px 150px 50px 150px;
    background-color: var(--Navy-950);

}

footer ul {
    list-style-type: none;
}

footer ul li a,
footer ul li {
    color: var(--White);
    font-size: 1.6rem;
}



.footer-grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
}

.footer-grid-container ul li {
    margin-bottom: 20px;
}

.footer-grid-container ul li a {
    opacity: 0.6;
    transition: opacity 0.3s linear
}

.footer-grid-container ul li a:hover {
    opacity: 1;
}

.footer-group {
    flex: 1 1 auto;
    min-width: 16px;
}

.location img,
.contact img {
    margin-right: 20px;
}

.contact ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
}



.contact ul li span {
    opacity: 0.6;
}

.links {
    display: flex;
    gap: 50px;
}

.links a {
    text-decoration: none;
}

.links ul {
    width: 100%;

}

.networks ul {
    display: flex;
    justify-content: end;
    gap: 20px;
}

.networks svg {
    width: 30px;
    height: 30px;
    padding: 3px;
    transition: fill 0.3s linear, border 0.3s linear;
    border: 1px solid var(--White);
    border-radius: 100%;

}


.networks svg:hover {
    border: 1px solid var(--Teal-200);
}


.networks svg:hover path {
    fill: var(--Teal-200);
}






.footer-link-icon {
    width: 37px;
    height: 37px;
    padding: 4px;
    border-radius: 100%;
    border: 1px solid var(--White);
    transition: border 0.3s linear;
}

.footer-link-icon:hover {
    border: 1px solid var(--Teal-200);
}