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

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f1f1f1;
    color: #36485C;
    font-family: 'Trebuchet MS', Arial, sans-serif;
}

/* Banner */

.banner {
    background-color: #fff;
    display: flex;
    justify-content: center;
}

.banner-wrapper {
    display: flex;
    flex-direction: row;
    width: 90vw;
    justify-content: space-between;
}

.banner-logo {
    height: 42px;
    width: auto;
    margin: 18px 0;
}

.banner-button {
    background-color: darkgreen;
    margin: 18px 0;
    padding: 12px;
    border-radius: 50px;
    border: none;
}

.banner-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

@media screen and (max-width: 767.99px) {
    .banner-logo {
        height: 32px;
        margin: 12px 0;
    }

    .banner-button {
        padding: 8px;
        margin: 12px 0;
    }
    
    .banner-link {
        font-size: 12px;
    }
}

/* Hero */

.hero-image {
    background-image: url('./images/hero-image.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 1.78;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    position: relative;
    height: 70vh;
}

@media (min-width: 1024px){
    .hero-image {
        aspect-ratio: 2.5;
        height: auto;
    }
}

.hero-logo {
    height: 90px;
    width: auto;
}

.hero-title-wrapper {
    background: rgba(0, 0, 0, 0.3);
    padding: 0 6px;
    width: 80vw;
}

.hero-title {
    text-align: center;
    font-size: 48px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: 900;
}

@media (max-width: 767.99px) {
    .hero-title {
        font-size: 38px;
    }
}

@media (max-width: 479px) {
    .hero-image {
        height: 50vh;
    }
    
    .hero-logo {
        height: 78px;
    }

    .hero-title-wrapper {
        padding: 2px 2px 0 2px;
    }

    .hero-title {
        font-size: calc(6vw + 6px);
    }
}

.section-title {
    font-size: 38px;
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 20px 0;
    text-align: center;
}

@media (max-width: 767.99px) {
    .section-title {
        font-size: 2em;
        margin: .6em;
    }
}

.section-subtitle {
    font-size: 24px;
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 12px 0;
    text-align: center;
}

@media (max-width: 767.99px) {
    .section-subtitle {
        font-size: 1em;
        margin: .3em;
    }
}

.banner-button.hero {
    padding: 12px 24px;
}

.banner-link.hero {
    font-size: 24px;
}

@media screen and (max-width: 767.99px) {
    .banner-button.hero {
        padding: 8px 18px;
    }

    .banner-link.hero {
        font-size: 18px;
    }
}

@media screen and (max-width: 479px) {
    .banner-button.hero {
        padding: 6px 14px;
    }

    .banner-link.hero {
        font-size: 14px;
    }
}

/* Specialty */
.specialty-lists-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    align-items: flex-start;
}

@media screen and (max-width: 940.99px){
    .specialty-lists-container {
        gap: 20px
    }
}

.specialty-group {
    text-align: left;
}

.specialty-list {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

.specialty-group:nth-of-type(1) .specialty-list {
    margin-left: 80px;
}

@media screen and (max-width: 767.99px) {
    .specialty-group:nth-of-type(1) .specialty-list {
        margin-left: 38px;
    }
}

.specialty-group:nth-of-type(2) .specialty-list {
    margin-left: 53px;
}

@media screen and (max-width: 767.99px) {
    .specialty-group:nth-of-type(2) .specialty-list {
        margin-left: 18px;
    }
}

.specialty-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 0.75em;
    font-size: 16px;
}

@media screen and (max-width: 767.99px) {
    .specialty-list li {
        font-size: 14px;
    }
}

.specialty-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background-image: url('/images/green-checkmark.png');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Steps */

#steps {
    display: block;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.steps-card-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Automatically adjusts the number of columns based on screen size */
    gap: 20px;
    padding: 20px; 
}

.steps-card {
    background: #fff;
    border: 2px solid #36485C;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.1); /* Enhanced box shadow for paper effect */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 20px;
}

.steps-card ul li {
    margin: 0 12px 8px;
    font-size: 16px;
}

.steps-card ul li:last-child {
    margin-bottom: 0;
}

.steps-card-title {
    text-align: center;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-style: italic;
    font-size: 2em;
    margin-bottom: 10px;
}

.steps-card-subtitle {
    font-size: 1em;
    text-align: center;
}

.steps-card-price {
    margin-top: auto;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-style: italic;
    font-size: 2em;
    text-align: center;
    display: none;
    visibility: hidden;
}

.steps-calendar-link-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px 0 0;
}

.steps-calendar-link {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    background: darkorange;
    max-width: 540px;
    color: #fff;
    border-radius: 64px;
    cursor: pointer;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15), 
    0px 12px 24px rgba(0, 0, 0, 0.15), 
    0px 20px 40px rgba(0, 0, 0, 0.1);
}

.steps-calendar-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 12px;
    padding: 6px 0 6px 14px;
    text-align: center;
}

.steps-calendar-text:first-of-type {
    font-size: 24px;
    font-weight: bold;
}

.steps-calendar-text:last-of-type {
    font-size: 16px;
    font-weight: bold;
}

.steps-calendar-chevron {
    font-size: 28px;
    font-weight: bold;
}

@media (max-width: 767.99px) {
    .steps-calendar-link {
        width: auto;
        padding: calc(2px + .2vw) calc(2px + 1vw);
        border-radius: calc(32px + 2vw);
        max-width: 90%;
    }

    .steps-calendar-text-wrapper {
        padding: 2px;
    }

    .steps-calendar-text:first-of-type {
        font-size: calc(14px + 1vw);
    }

    .steps-calendar-text:last-of-type {
        font-size: calc(10px + 1vw);
    }

    .steps-calendar-chevron {
        font-size: calc(24px + 1vw);
    }
}

/* About */

.about-div {
    display: flex;
    justify-content: center;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding: 10px 20px;
    align-items: center;
    justify-items: center;
    gap: 20px;
}

.about-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 90%;
    height: 100%;
    width: 380px;
}

.about-paragraph {
    width: 100%;
    font-size: 1.1em;
    line-height: 1.6;
    text-align: center;
    text-indent: 0;
}

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

.self {
    max-height: 100%;
    width: auto;
    max-width: 480px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 999.99px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        grid-template-areas:
            "about-self-wrapper"
            "about-column";
    }
    
    .about-column {
        grid-area: about-column;
        width: auto;
    }

    .about-self-wrapper {
        grid-area: about-self-wrapper;
        position: relative;
        width: 320px;
        height: 264px;
        overflow: hidden;
    }

    .self {
        position: absolute;
        top: 0;
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: top;
    }

    .about-paragraph {
        font-size: 1em;
    }
}

 /* Badge */

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

.badge-banner {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: 24px 0;
    height: 124px;
    overflow: hidden;
}

.badge-image {
    max-height: 100%;
    width: auto;
    margin: 0 18px;
    object-fit: contain;
}

@media screen and (max-width: 767.99px) {
    .badge-banner {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Two columns */
        grid-template-rows: repeat(2, auto);  /* Two rows */
        gap: 10px; /* Adjust spacing between items */
        justify-content: center;
        place-items: center;
        height: auto; /* Allow flexible height */
    }
    
    .badge-image {
        height: calc(10vw + 60px);
        margin: calc(2px + 0.5vw) calc(5px + 1.5vw);
    }
}

/* Footer */

.footer {
    padding: 32px;
    text-align: center;
    background-color: #f1f1f1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-logo-icon {
    height: 42px;
    width: auto;
}

.footer .footer-bottom { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

@media screen and (max-width: 767.99px) {
    .footer-logo-icon {
        height: 32px;
    }

    .footer .footer-bottom {
        font-size: 10px;
    }
}

/* Thank You */

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px; /* Adjust as needed */
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}


.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.thank-you-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px;
}

.thank-you-button {
    border-radius: 18px;
    border: none;
    background: #508C0F;
    font-size: 16px;
    padding: 0;
    display: inline-block;
    overflow: hidden;
}

.thank-you-link {
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
    padding: 8px 24px;
    text-align: center;
    line-height: 1.5;
}