/* GENERAL */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #F5F5F0;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 16px;
    box-sizing: border-box;
}

.btn {
    background-color: #0A2342;
    color: #FFFFFF;
    padding: 16px 32px;
    font-size: 16px;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    background-color: #1C77C3;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.btn:active {
    background-color: #155A91;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.divider {
    border: none;
    height: 2px;
    width: 80%;
    margin: 48px auto;
    background: linear-gradient(to right, #0A2342, #1C77C3, #0A2342);
    border-radius: 999px;
    opacity: 0.5;
}

/* SVG */

.wave-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 100px;
    position: absolute;
}

.wave-divider-bottom svg {
    transform: scaleX(-1);
}

/* BUTTON MENU */

.menu__backdrop {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px;
}

.menu--open .menu__backdrop {
    right: 0;
}

.btn__menu {
    display: none;
}

.menu__link {
    display: none;
}

.menu__link--primary {
    color: #f7fafc !important;
    padding: 12px 32px;
    background: #0A2342;
    border-radius: 500px;
    border: none;
}

/* NAV */

nav {
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    padding: 10px 0;
}

.nav__row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav__container {
    width: 100%;
    background-color: #0A2342;
}

.logo__img {
    height: 148px;
    width: auto;
}

.logo__img--wrapper {
    display: flex;
    align-items: center;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    transition: color ease 0.3s;
}

.nav__link--primary {
    padding: 8px 16px;
    background-color: #FFD700;
    border-radius: 24px;
    color: #0A2342;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav__link--primary:hover {
    background-color: #E6C200;
    color: #FFFFFF;
}

.nav__link:hover {
    color: #FFD700;
}

/* ABOUT */

#about .container {
    padding: 80px;
}

#about .row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section__header {
    display: flex;
    justify-content: center;
    color: #222831;
    font-size: 64px;
    text-align: center;
}

.section__para {
    width: 600px;
    text-align: center;
    color: #333333;
    padding: 28px 0;
    line-height: 1.5;
    font-size: 20px;
}

.about__description {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding-top: 24px;
}

.about__img {
    height: 400px;
    width: 400px;
}

/* COVERAGE */

#coverage h2 {
    padding: 32px 0;
    padding-top: 64px;
}

#coverage h3 {
    text-align: center;
}

.coverage__grid {
    display: flex;
    justify-content: center;
    padding: 24px 0;
    gap: 24px;
}

.coverage__card {
    background-color: #F2F2F5;
    border-left: 4px solid #1C77C3;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    max-width: 400px;
    flex: 1 1 300px;
}

.coverage__card h3 {
    color: #0A2342;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    font-size: 24px;
}

.coverage__card p {
    color: #0A2342;
    margin-bottom: 12px;
    font-size: 18px;
    text-align: center;
}

.card__img {
    height: 180px;
    width: auto;
    padding-top: 4px;
}

.card__img--wrapper {
    display: flex;
    justify-content: center;
}

.coverage__cta {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

/* WHY CHOOSE US */

#why .row {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#why .container {
    padding-bottom: 64px;
}

.why__grid {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 32px;
}

.why__item {
    background-color: #F2F2F5;
    border-left: 4px solid #1C77C3;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    max-width: 350px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.why__icon-wrapper {
    height: 80px;
    width: 80px;
    min-width: 80px;
    border: 2px solid #1C77C3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why__icon-wrapper i {
    font-size: 28px;
    color: #1C77C3;
}

.why__item h3 {
    color: #0A2342;
    margin-bottom: 8px;
}

.why__item p {
    color: #4F4F4F;
    font-size: 16px;
    line-height: 1.5;
}

/* CTA */

#cta {
    padding: 64px 32px;
}

#cta h2.section__header {
    padding-top: 48px;
}

.cta__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.cta__text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta__form {
    max-width: 700px;
}

.cta__form form {
    display: flex;
    flex-direction: column;
    width: 500px;
    gap: 16px;
}

.cta__form input,
.cta__form textarea {
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
}

.btn:hover {
    background-color: #1C77C3;
}

.btn--secondary {
    display: flex;
    margin-top: 16px;
    background-color: #1C77C3;
}

.section__para strong {
    color: #0A2342;
}

/* FAQ */

#faq {
    text-align: center;
}

#faq p {
    width: 100%;
    text-align: center;
    color: #333333;
    line-height: 1.4;
    font-size: 16px;
    font-weight: 500;
}

#faq h2.section__header {
    padding-bottom: 24px;
}

.faq__wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.faq__item {
    margin-bottom: 16px;
    border-bottom: 1px solid #BFC5D2;
}

.faq__question {
    background: none;
    border: none;
    text-align: center;
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    color: #0A2342;
    padding: 12px 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq__question:hover {
    color: #1C77C3;
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.faq__item.active .faq__answer {
    max-height: 300px;
    opacity: 1;
    padding-bottom: 12px;
}

/* FOOTER */

.footer {
    background-color: #0A2342;
    color: #F2F2F5;
    padding: 48px 24px 24px;
    font-size: 14px;
}

.footer__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer__left,
.footer__middle,
.footer__right {
    flex: 1;
    min-width: 220px;
}

.footer__logo {
    height: 68px;
    width: auto;
    margin-bottom: 8px;
}

.footer__tagline {
    font-style: italic;
    color: #BFC5D2;
    margin-top: 4px;
}

.footer__middle ul {
    list-style: none;
    padding: 0;
    margin-top: 12px;
}

.footer__middle li {
    margin-bottom: 8px;
}

.footer__middle a {
    color: #F2F2F5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__middle a:hover {
    color: #FFD700;
}

.footer__bottom {
    text-align: center;
    margin-top: 32px;
    border-top: 1px solid #1C77C3;
    padding-top: 16px;
    color: #BFC5D2;
}

.footer__p {
    line-height: 1.5em;
}

/* RESPONSIVENESS */

@media (max-width: 992px) {

    #about p.section__para {
        width: 500px;
    }

    #about .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .coverage__grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {

    .nav__row {
        display: flex;
        justify-content: center;
        position: relative;
    }

    .logo__img {
        height: 80px;
        width: auto;
    }

    .nav__links {
        display: none;
    }

    .btn__menu {
        display: block;
        font-size: 24px;
        background: none;
        border: none;
        color: #FFFFFF;
        cursor: pointer;
        position: absolute;
        right: 24px;
        top: 50%;
        transform: translateY(-50%);
    }

    .btn__menu--close {
        display: block;
        font-size: 24px;
        background: none;
        border: none;
        color: #0A2342;
        cursor: pointer;
    }

    .menu__links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        margin-top: 64px;
    }

    .menu__link {
        font-size: 20px;
        font-weight: bold;
        color: #243e63;
        display: block;
        display: flex;
        justify-content: center;
        transition: color ease 0.3s;
    }

    .menu__link:hover {
        color: #155A91;
    }

    .btn__menu--close {
        align-self: flex-end;
        font-size: 24px;
        background: none;
        border: none;
        cursor: pointer;
        position: absolute;
        top: 50px;
        right: 40px;
    }

    .nav__links {
        display: none;
        flex-direction: column;
        background-color: #0A2342;
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        padding: 16px 0;
        text-align: center;
        gap: 16px;
    }

    .nav__links.nav__links--active {
        display: flex;
    }

    #about .container {
        padding: 0 64px;
        padding-top: 16px;
    }

    #about .row {
        display: flex;
        flex-direction: column;
    }

    #coverage .container {
        padding: 0;
        padding-top: 48px;
    }

    .coverage__grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #why .container {
        padding: 0 64px;
        padding-bottom: 32px;
    }

    #cta {
        padding: 0 64px;
    }

    #cta h2.section__header {
        padding-top: 72px;
    }

    #faq .container {
        padding: 0 64px;
        padding-bottom: 48px;
    }

    .footer__container {
        display: flex;
        justify-content: space-around;
        flex-wrap: nowrap;
        gap: 16px;
    }

    .footer__middle {
        text-align: center;
    }

    .footer__p {
        line-height: 1.8em;
    }
}

/* SMALL PHONE */

@media (max-width: 480px) {

    .row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .container {
        padding: 0 12px;
    }

    #about h1.section__header {
        font-size: 32px;
        width: 330px;
    }

    h1.section__header {
        font-size: 48px;
    }

    h2.section__header {
        font-size: 40px;
    }

    .about__description {
        max-width: 100%;
    }

    #about .section__para {
        max-width: 100%;
        font-size: 18px;
    }

    .about__img {
        max-width: 100%;
    }

    #coverage h2.section__header {
        padding-top: 64px;
    }

    .coverage__card {
        max-width: 340px;
    }

    #why .why__grid {
        display: flex;
        flex-wrap: wrap;
    }

    #why h2.section__header {
        font-size: 42px;
    }

    #cta {
        padding: 0;
    }

    #cta h2.section__header {
        padding: 0 64px;
        padding-top: 84px;
    }
    
    #cta p.section__para {
        width: 300px;
    }
    
    #cta form {
        max-width: 340px;
    }

    #faq h2.section__header {
        font-size: 42px;
    }

    .footer__container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer__right {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    p.footer__tagline {
        text-align: center;
    }

    .footer__left {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 12px;
    }

    .footer {
        padding: 24px;
    }
}

/* LANDSCAPE ORIENTATION */

@media screen and (orientation: landscape) {
    html {
      font-size: 14px;
    }
  
    .cta__form input,
    .cta__form textarea {
      font-size: 16px !important;
    }
  
    body {
      zoom: 1 !important;
    }
}