/* =====================
MOBILE STYLES
===================== */

@media (max-width: 350px) {
    .site-footer__logo {
        width: 7.5rem;
    }
}

/* ***** Hero Section **** */

.hero-section {
    width: 100%;
    background-image: url("/assets/images/home/baystorm-hero-image.jpg");
    background-size: cover;
    background-position: 65% center;
    background-repeat: no-repeat;
    padding: 4.375rem 1.5625rem 3.125rem 1.5625rem;
}

.hero-container {
    width: 100%;
    max-width: 22.18rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-image {
    display: none;
}

.hero-container h1 {
    font-size: 2.18rem;
    max-width: 10ch;
}

.hero-container h1 span {
    color: var(--color-secondary);
}

#hero-paragraph {
    color: rgb(130, 130, 130);
}

#hero-paragraph span {
    display: inline;
}

.btn-primary,
.btn-secondary {
    min-width: 17rem;
    height: 2.5rem;
    align-self: center;
    font-weight: 700;
}

.btn-primary {
    background-color: var(--color-primary);
    text-transform: uppercase;
    border: none;
    margin-bottom: 0.3125rem;
}

.btn-secondary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.0625rem;
    background-color: var(--color-secondary);
    color: var(--color-bg-black);
    text-transform: uppercase;
}

.soon {
    color: red;
}

/* ***** What We Offer **** */

.what-we-offer {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--color-bg-grey);
    padding-top: 1.25rem;
}

.what-we-offer-container {
    width: 100%;
    max-width: 20rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.what-we-offer h2 {
    color: var(--color-text-white);
    font-size: 1.4375rem;
    text-transform: uppercase;
}

.what-we-offer .card {
    width: 100%;
    max-width: 20rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--color-bg-black);
    color: var(--color-text-white);
    border: 1px solid rgba(128, 128, 128, 0.3);
    margin-bottom: 1.25rem;
    padding: 1.875rem;
}

.what-we-offer .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.what-we-offer .card img {
    width: 100%;
    max-width: 8rem;
}

.what-we-offer .card-2 img {
    max-width: 7rem;
}

.what-we-offer .card h3 {
    max-width: 11ch;
    text-align: center;
    font-size: 1.125rem;
    text-transform: uppercase;
}

.what-we-offer .card-2 h3 {
    max-width: 8ch;
    color: var(--color-secondary);
}

.what-we-offer .card p {
    color: gray;
    font-size: 0.75rem;
    text-align: center;
}

/* ***** Join Baystorm/Why Baystorm Works **** */

.join-baystorm {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--color-bg-grey);
}

.join-baystorm-container {
    width: 100%;
    max-width: 20rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2.1875rem;
}

.why-baystorm-works h2 {
    font-size: 1.25rem;
    text-transform: uppercase;
    padding-left: 1.5625rem;
}

.why-baystorm-works {
    margin-bottom: 1.5625rem;
}

.why-baystorm-works p {
    color: rgb(128, 128, 128);
    font-size: 0.875rem;
    margin: 0.1875rem;
}

.bi-check {
    color: var(--color-secondary);
    font-size: 1.25rem;
}

/* ***** Sign Up **** */

.sign-up {
    width: 100%;
    max-width: 21rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(128, 128, 128, 0.3);
    margin-bottom: 1.5625rem;
    padding: 0 0.3125rem 0.9375rem 0.3125rem;
}

.sign-up h3 {
    width: 100%;
    max-width: 28ch;
    font-size: var(--fs-small);
    text-align: center;
    line-height: 1.25rem;
    margin-top: 0.9375rem;
}

.sign-up h3 span {
    color: var(--color-secondary);
}

.sign-up form {
    width: 95%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sign-up form div {
    width: 100%;
}

.sign-up input {
    width: 100%;
    max-width: 22rem;
    border: 1px solid rgba(128, 128, 128, 0.3);
    background-color: var(--color-bg-black);
    color: rgba(130, 130, 130, 0.6);
    text-indent: 0.5rem;
}

.sign-up input::placeholder {
    font-size: 0.75rem;
    color: rgba(130, 130, 130, 0.6);
}

.sign-up button {
    width: 95%;
    margin-top: 1.25rem;
    font-weight: 700;
}

/* ***** Footer Section **** */

.site-footer {
    display: flex;
    justify-content: center;
    background-color: var(--color-bg-grey);
    padding-bottom: 1.5625rem;
}

.site-footer__container {
    width: 100%;
    max-width: 28rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-text-white);
    border: 1px solid rgba(128, 128, 128, 0.3);
    background-color: var(--color-bg-black);
}

.site-footer__main {
    display: flex;
    flex-direction: row;
}

.site-footer__branding {
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-footer__logo {
    height: auto;
    width: 9rem;
    max-width: 100%;
}

.site-footer__contact {
    display: flex;
    flex-direction: column;
    padding: 0.9375rem 0.9375rem 0.9375rem 1.5625rem;
}

.site-footer__address-link:hover,
.site-footer__address-link:focus-visible,
.site-footer__phone-link:hover,
.site-footer__phone-link:focus-visible,
.site-footer__email-link:hover,
.site-footer__email-link:focus-visible {
    color: var(--color-secondary);
    text-decoration: underline;
}

.site-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--color-text-white);
}

.site-footer__contact-item address {
    margin-bottom: 0;
    line-height: 1.25rem;
    color: var(--color-text-white);
}

.site-footer__contact-item a {
    color: var(--color-text-white);
}

.site-footer__contact-item i {
    line-height: 1.25rem;
    flex-shrink: 0;
}

.site-footer__contact h3 {
    color: var(--color-secondary);
    font-size: 1.125rem;
    text-transform: uppercase;
}

.site-footer__social {
    display: flex;
    justify-content: center;
    padding-bottom: 0.625rem;
}

.site-footer__social h3 {
    font-size: 1.125rem;
    color: var(--color-secondary);
}

.site-footer__social a {
    color: var(--color-text-white);
    padding: 0rem 0rem 0rem 0.5rem;
}

.site-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.25rem;
}

.site-footer__nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.9375rem;
}

.site-footer__nav a {
    font-size: 0.625rem;
    color: var(--color-text-white);
    text-decoration: none;
}

.site-footer__copyright {
    font-size: 0.625rem;
    text-transform: uppercase;
    color: rgb(247, 247, 247, 0.4);
    padding-top: 1.25rem;
}

/* =====================
TABLET STYLES
===================== */

/* Global Tablet Styles */

@media (min-width: 768px) {
    /* ***** Hero Section **** */

    .hero-container {
        max-width: 57rem;
    }

    .hero-image {
        display: block;
        width: 408px;
        height: 375px;
    }

    .hero-container h1 {
        font-size: 3rem;
        max-width: 18ch;
    }

    #hero-paragraph {
        max-width: 42rem;
        font-size: 1.6rem;
        line-height: 1.6rem;
    }

    #hero-paragraph span {
        display: block;
    }

    #hero-paragraph span:first-child {
        max-width: 30ch;
        margin-bottom: 0.5rem;
    }

    #hero-paragraph span:nth-child(2) {
        max-width: 23rem;
    }

    .hero-section .btn-primary,
    .hero-section .btn-secondary {
        align-self: flex-start;
        min-width: 28.68rem;
        height: 3rem;
    }

    /* ***** Join Baystorm/What We Offer **** */

    .what-we-offer {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .what-we-offer-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5625rem;
        max-width: 58rem;
        margin: 0 auto;
    }

    .what-we-offer h2 {
        font-size: 1.75rem;
    }

    .what-we-offer .card {
        flex-direction: row;
        width: 50%;
    }

    .what-we-offer .card-2 img {
        max-height: 5.75rem;
    }

    .what-we-offer .card-1,
    .what-we-offer .card-2 {
        width: 100%;
        max-width: 25rem;
        min-height: 14.0625rem;
    }

    .what-we-offer .card-3 {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 100%;
        max-width: 35.25rem;
        min-height: 14.0625rem;
    }

    .what-we-offer .card-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-left: 0.625rem;
    }

    .what-we-offer .card img {
        max-width: 10rem;
        max-height: 9rem;
    }

    .what-we-offer .card h3 {
        max-width: 25ch;
        font-size: 1.25rem;
    }

    .what-we-offer .card p {
        justify-content: center;
        text-align: left;
        max-width: 32ch;
        font-size: 1rem;
    }

    /* ***** Join Baystorm/Why Baystorm Works **** */

    .join-baystorm-container {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        max-width: 70rem;
        padding-inline: 1.5rem;
    }

    .why-baystorm-works {
        display: flex;
        flex-direction: column;
        flex: 0 1 32rem;
    }

    .why-baystorm-works h2 {
        font-size: 1.75rem;
        font-weight: 700;
        padding-left: 0;
        padding-bottom: 1.25rem;
    }

    .why-baystorm-works span {
        color: var(--color-secondary);
    }

    .why-baystorm-works p {
        font-size: 1.125rem;
        line-height: 1.5;
        padding-left: 0;
    }

    /* ***** Sign Up ***** */

    .sign-up {
        flex: 0 1 28rem;
        border: none;
    }

    .sign-up button {
        max-width: 22rem;
        width: 95%;
    }

    /* Footer */

    .site-footer {
        background-color: var(--color-bg-black);
        padding-bottom: 0;
    }

    .site-footer__container {
        width: 100%;
        max-width: none;
    }

    .site-footer__bottom {
        width: 100%;
        padding-top: 1.5rem;
    }

    .site-footer__nav {
        width: 100%;
        gap: 1.5625rem 1.75rem;
        justify-content: space-around;
    }

    .site-footer__nav a {
        font-size: 0.875rem;
        padding-left: 0;
    }

    .site-footer__copyright {
        font-size: 0.75rem;
        text-align: center;
        padding-left: 0;
    }
}

/* Small Tablet Footer Adjustments */

@media (min-width: 768px) and (max-width: 899px) {
    .site-footer__container {
        max-width: 57rem;
        padding-inline: 1.125rem;
    }

    .site-footer__main {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4.6875rem;
    }

    .site-footer__logo {
        width: 11rem;
        height: auto;
        padding-right: 0;
    }

    .site-footer__content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4.6875rem;
        width: auto;
    }

    .site-footer__contact {
        flex: 0 1 auto;
        width: auto;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        border-left: 1px solid rgba(128, 128, 128, 0.3);
        border-right: 1px solid rgba(128, 128, 128, 0.3);
    }

    .site-footer__contact h3 {
        display: none;
    }

    .site-footer__contact-item address,
    .site-footer__contact-item a,
    .site-footer__contact-item i {
        font-size: 0.9375rem;
        line-height: 1.375rem;
    }

    .site-footer__social {
        flex: 0 0 auto;
        min-width: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .site-footer__social h3 {
        font-size: 1.25rem;
        white-space: nowrap;
    }

    .site-footer__social-links {
        display: flex;
        gap: 1.125rem;
    }

    .site-footer__social-links i {
        font-size: 1.5rem;
    }
}

/* Medium Tablet Join Baystorm Adjustment */

@media (min-width: 850px) {
    .join-baystorm-container {
        gap: 1.875rem;
    }

    .why-baystorm-works h2 {
        font-size: 2rem;
    }

    .why-baystorm-works p {
        font-size: 1.3125rem;
    }
}

/* Medium Tablet Footer Adjustments */

@media (min-width: 900px) {
    /* ***** Footer **** */

    .site-footer__container {
        max-width: 57rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .site-footer__main {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .site-footer__branding {
        flex: 0 0 auto;
    }

    .site-footer__logo {
        width: clamp(11rem, 22vw, 16rem);
        height: auto;
        margin: 0;
        padding-top: 0;
        padding-right: 1.5625rem;
    }

    .site-footer__content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.875rem;
        width: 100%;
    }

    .site-footer__contact {
        width: auto;
        flex: 1;
        padding-left: 3.125rem;
        padding-right: 2.5rem;
        border-left: 1px solid rgba(128, 128, 128, 0.3);
        border-right: 1px solid rgba(128, 128, 128, 0.3);
    }

    .site-footer__contact-item address,
    .site-footer__contact-item a,
    .site-footer__contact-item i {
        font-size: 1.125rem;
        line-height: 1.5625rem;
    }

    .site-footer__contact-item {
        padding-bottom: 0.625rem;
        font-size: 1rem;
    }

    .site-footer__contact h3 {
        display: none;
    }

    .site-footer__social {
        width: auto;
        min-width: 13.75rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .site-footer__social h3 {
        font-size: 1.625rem;
        color: var(--color-text-white);
    }

    .site-footer__social-links i {
        font-size: 1.75rem;
    }
}

/* Large Tablet Adjustments */

@media (min-width: 1024px) {
    /* ***** Join Baystorm **** */

    .why-baystorm-works h2 {
        font-size: 2.1875rem;
        font-weight: 700;
        padding-left: 0;
        padding-bottom: 1.5625rem;
    }

    .why-baystorm-works p {
        font-size: 1.5rem;
        padding-left: 0.625rem;
    }

    .sign-up {
        flex: 1 1 28rem;
        border: none;
    }

    .sign-up h3 {
        font-size: 1.125rem;
    }

    .sign-up button {
        max-width: 22rem;
        width: 95%;
    }
}

/* =====================
DESKTOP STYLES
===================== */

@media (min-width: 1200px) {
    /* ***** Hero Section **** */

    .hero-container {
        max-width: 79rem;
    }

    .hero-container h1 {
        font-size: 3.8rem;
    }

    #hero-paragraph {
        max-width: 55rem;
        font-size: 1.3rem;
        line-height: 1.5rem;
    }

    #hero-paragraph span:first-child {
        width: 100%;
        max-width: 60ch;
        margin-bottom: 0.5rem;
    }

    #hero-paragraph span:nth-child(2) {
        max-width: 30rem;
    }

    .hero-buttons {
        display: flex;
        gap: 1rem;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.25rem;
        min-width: 20.68rem;
        height: 4rem;
        font-size: 1.3125rem;
    }

    /* Join Baystorm/What We Offer */

    .what-we-offer h2 {
        font-size: 2.25rem;
        letter-spacing: 0.15rem;
    }

    .what-we-offer-container {
        width: 100%;
        max-width: none;
        flex-wrap: nowrap;
        margin: 0;
    }

    .what-we-offer .card {
        width: 100%;
        max-width: 25rem;
        height: 23.37rem;
        flex-direction: column;
        align-items: center;
        gap: 2.1875rem;
    }

    .what-we-offer .card-content {
        align-items: center;
    }

    .what-we-offer .card p {
        text-align: center;
    }

    .what-we-offer .card-2 img {
        max-height: 7rem;
        width: auto;
    }

    /* Join Baystorm/Why Baystorm Works */

    .join-baystorm-container {
        width: 100%;
        max-width: none;
        gap: 3rem;
    }

    .why-baystorm-works {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 0 1 46.62rem;
    }

    .why-baystorm-works__content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .why-baystorm-works h2 {
        padding-bottom: 0.9375rem;
        letter-spacing: 0.125rem;
    }

    .why-baystorm-works p {
        padding: 0;
    }

    .bi-check {
        display: inline-block;
        width: 2.5rem;
        font-size: 2.1875rem;
    }

    /* ***** Sign Up ***** */

    .sign-up {
        flex: 0 1 40rem;
        max-width: none;
    }

    .sign-up form {
        width: 100%;
    }

    .sign-up form div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sign-up h3 {
        font-size: 1.5rem;
        line-height: 1.875rem;
    }

    .sign-up h3 span {
        color: var(--color-text-white);
    }

    .sign-up input {
        width: 80%;
        max-width: none;
        height: 2.8125rem;
    }

    .sign-up button {
        width: 80%;
        height: auto;
        max-width: none;
        font-size: 1.5rem;
    }

    .sign-up input::placeholder {
        font-size: 1.2rem;
    }

    /* Footer */
    .site-footer__container {
        width: 100%;
        max-width: 90rem;
        padding-inline: clamp(1rem, 2vw, 2rem);
    }

    .site-footer__main {
        width: 100%;
        align-items: center;
        gap: clamp(1.25rem, 2.5vw, 2.5rem);
    }

    .site-footer__branding {
        flex: 0 1 auto;
    }

    .site-footer__logo {
        width: clamp(10rem, 15vw, 13rem);
        padding-right: 0;
    }

    .site-footer__content {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: clamp(1.25rem, 2vw, 2rem);
    }

    .site-footer__contact {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        gap: clamp(1.5rem, 3vw, 3rem);
        padding: 0;
    }

    .site-footer__contact-item {
        min-width: 0;
    }

    .site-footer__contact-item address,
    .site-footer__contact-item a,
    .site-footer__contact-item i {
        font-size: clamp(1rem, 1.65vw, 1.4rem);
        line-height: 2.5rem;
    }

    .site-footer__contact-item address {
        white-space: nowrap;
    }

    .site-footer__contact-item i {
        font-size: clamp(1.75rem, 2.5vw, 2.2rem);
    }

    .site-footer__social {
        flex: 0 0 auto;
        min-width: 7.5rem;
        padding-bottom: 0;
    }

    .site-footer__social h3 {
        font-size: clamp(1.25rem, 1.8vw, 1.625rem);
        white-space: nowrap;
        margin-bottom: 0.5rem;
    }

    .site-footer__social-links {
        display: flex;
        justify-content: center;
        gap: 0.75rem;
    }

    .site-footer__social-links i {
        font-size: 2.1875rem;
    }
}
