body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;

    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;

    /* background-color: #fff; */
}

body {
    overflow-y: visible;
}

code {
    background-color: #f3ebff;
    color: #553c9a;
    padding: 2px 5px;
    border-radius: 4px;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    font-size: 90%;
}

#hero,
.section-internal {
    width: 100%;
    max-width: 1143px;
    margin: 0 auto;
}

h1 {
    margin-bottom: 0;
    margin-top: 0;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    font-size: 66px;

    color: #1a0b44;
}

* {
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

a[href] {
    color: #ec1459;
}

h2 + p {
    margin-top: 0;
}

p {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    color: #1a0b44;
}

p b {
    font-size: 16px;
}

.header-bg {
    content: ' ';
    background: url('images/hero-grey-bg-element.svg');
    background-repeat: no-repeat;

    /* hero-grey-bg-element */

    position: absolute;
    z-index: -5;
    left: 0;
    top: 0px;

    width: 549px;
    height: 591px;
}

#header {
    /* Header */

    /* position: sticky; */
    width: 100%;
    height: 137px;
    top: 0px;

    z-index: 50;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 45px;

    /* filter: drop-shadow(0px 3px 10px rgba(0, 0, 0, 0.2)); */
}

#header .desktop-menu {
    /* justify-self: end; */
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    padding: 0px;
    gap: 10px;
}


.button, a[href].button {
    cursor: pointer;

    /* primary btn */
    font-optical-sizing: auto;
    font-weight: bolder;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 25px 29px;
    gap: 10px;

    height: 68px;

    /* Pink */
    background: #ec1459;
    border-radius: 16px;

    /* sign up */

    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    font-size: 12px;
    line-height: 150%;
    /* identical to box height, or 18px */
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;

    color: #ffffff;
}

.button.signup {
    width: fit-content;
}

.button.signup:after {
    content: ' ';
    background: url('images/arrow_right_alt.png');
    background-size: contain;
    width: 13px;
    height: 13px;
}

#header .button.secondary {
    /* secondary button */

    height: 68px;

    /* Grey */
    background: #f5f5f7;
    border-radius: 16px;

    /* Dark Purple */
    color: #1a0b44;
}

#hero {
    display: flex;
    flex-direction: row;
    height: 50vh;
    min-height: 626px;

    margin-top: 140px;
}

#hero .container {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 420px;
}

#hero .price-container {
    display: flex;
    flex-direction: row;

    gap: 12px;
}

#hero .price {
    /* Frame 17 */

    /* Auto layout */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 25px;

    /* Purple */
    background: #6f2b8c;
    border-radius: 30px;

    font-weight: 900;
    font-size: 48px;
    /* line-height: 120%; */
    white-space: nowrap;
    /* identical to box height, or 58px */

    /* White */
    color: #ffffff;
}

#hero .price-container .moon {
    width: 100%;
    max-width: 77px;

    aspect-ratio: 1 / 1;
    align-self: center;

    background: url('images/moon.png');
    background-repeat: no-repeat;
    background-size: contain;

    filter: drop-shadow(0px 8px 35px rgba(0, 0, 0, 0.2));
}

#hero h1 {
    /* Premium Hosting for */

    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    font-size: 66px;
    line-height: 120%;
    /* or 79px */

    /* Dark Purple */
    color: #1a0b44;
}

#hero:before {
    content: ' ';
    background: url('images/hero-super-graphic.svg');
    background-repeat: no-repeat;
    /* hero-super-graphic */

    position: absolute;
    z-index: -1;
    width: 688px;
    height: 1219px;
    right: 0px;
    top: 120px;
}

#hero .clip-art {
    pointer-events: none;
    background: url('images/hero-clipart-bg.png');
    background-repeat: no-repeat;
    background-size: contain;

    position: relative;
    z-index: -1;

    width: 802px;
    aspect-ratio: 828 / 928;
    top: -108px;
    right: 2px;
    flex-shrink: 1;

    filter: drop-shadow(0px 8px 35px rgba(0, 0, 0, 0.2));
}

section {
    position: relative;
    padding-bottom: 50px;
}
section:first-of-type:last-of-type {
    min-height: calc(100vh - 137px - 97.2px - 20px);
    box-sizing: border-box;
}

section.text {
    margin-top: 20px;
}

section.text .section-internal {
    position: relative;
    max-width: 960px;
}

section.text .section-internal > h1 {
    margin-bottom: 20px;
}

h2 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 26px;
    line-height: 150%;
    margin-bottom: 4px;
}

section#terms h2 {
    font-size: 20px;
}

#included .section-internal > h1 {
    line-height: 150%;
    margin-bottom: 8px;

    /* Dark Purple */
    color: #1a0b44;
}

#included .grid {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 30px;
}

#included .grid div {
    background: #ffffff;
    box-shadow: 0px 8px 35px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

#included .grid div img {
    margin-left: 40px;
    margin-top: 25px;
    margin-bottom: 25px;
}

#included .grid div h1 {
    margin-bottom: 10px;
    margin-left: 40px;

    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    font-size: 24px;
    line-height: 120%;

    /* Dark Purple */
    color: #1a0b44;
}

#included .grid div p {
    margin-left: 40px;
    margin-right: 32px;
    margin-bottom: 32px;

    line-height: 170%;

    opacity: 0.7;
}

#included .button.signup {
    margin: 0 auto;
    margin-top: 50px;
}

#pricing {
    padding-bottom: 100px;
}

#pricing:before {
    content: ' ';
    position: absolute;
    background: url('images/pricing-bg.svg');
    background-repeat: no-repeat;

    /* PRICING-BG */

    position: absolute;
    width: 1303px;
    height: 204.96px;
    left: calc((max(100vw, 1440px) - 1440px) / 2);
    top: 0;
    z-index: -1;

    transform: translateY(-65%);
}

#pricing .offer-commitment-container {
    margin-top: 130px;
    display: grid;
    grid-template-columns: auto auto;
    gap: 112px;
}

#pricing .offer-commitment-container h1 {
    /* We offer premium hosting at just $5/month. */

    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    font-size: 36px;
    line-height: 150%;
    /* or 54px */

    /* Dark Purple */
    color: #1a0b44;
}

#pricing .offer-commitment-container h1 span {
    /* We offer premium hosting at just $5/month. */

    /* Pink */
    color: #ec1459;
}

#pricing .offer-commitment-container p {
    /* Our commitment is to provide unbeatable value without any lock-ins or bait-and-switch tactics, ensuring you get all the features you need for a seamless online presence. Experience top-tier hosting at a fraction of the cost. */

    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 170%;
    /* or 31px */

    /* grey purple */
    color: #5f547c;
}

#pricing .offer-commitment-container p b {
    /* Our commitment is to provide unbeatable value without any lock-ins or bait-and-switch tactics, ensuring you get all the features you need for a seamless online presence. Experience top-tier hosting at a fraction of the cost. */

    font-weight: 700;

    /* Dark Purple */
    color: #1a0b44;
}

#pricing .details {
    max-width: 560px;
    display: flex;
    flex-direction: column;

    /* Rectangle 21 */

    background: #ffffff;
    box-shadow: 0px 8px 35px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

#pricing .details h1 {
    position: relative;

    height: 70px;

    /* Purple */
    background: #6f2b8c;
    border-radius: 20px 20px 0px 0px;

    display: flex;
    align-items: center;
    padding-left: 30px;

    /* Pricing */

    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    font-size: 30px;
    line-height: 150%;
    /* identical to box height, or 45px */

    /* White */
    color: #ffffff;
}

#pricing .details h1:after {
    content: ' ';
    background: url('images/price-detail-star-clipart.png');
    background-repeat: no-repeat;
    background-size: contain;

    /* price-detail-star-clipart */

    position: absolute;
    width: 81px;
    height: 92px;
    right: 40px;
    top: -35px;
}

#pricing .details .feature-item {
    display: flex;
    align-items: center;

    padding: 19px 0;
    padding-left: 30px;

    /* Dark Purple */
    border-bottom: 1px solid rgba(25, 11, 66, 0.15);

    /* Unlimited bandwidth */

    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    /* identical to box height, or 24px */

    /* Dark Purple */
    color: rgba(26, 11, 68, 0.7);
}

#pricing .details .feature-item:before {
    content: ' ';
    background: url('images/task_alt.png');
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;

    margin-right: 15px;
}

#pricing .details .details-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
}

#pricing .details .details-bottom .price {
    /* $5.00/mo */

    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    font-size: 44px;
    /* identical to box height, or 66px */

    /* Dark Purple */
    color: #1a0b44;
}

#pricing .details .details-bottom .price span {
    /* $5.00/mo */

    font-size: 24px;
}

#pricing:after {
    content: ' ';
    background: url('images/pricing-super-graphic.svg');
    background-repeat: no-repeat;

    /* pricing-super-graphic */

    position: absolute;
    z-index: -2;
    width: 426px;
    height: 650px;
    right: 0;
    top: 175px;
}

#pricing .details::after {
    content: ' ';
    background: url('images/pricing-bg-clipart.png');
    background-repeat: no-repeat;
    /* pricing-bg-clipart */

    position: absolute;
    z-index: -1;
    width: 809px;
    height: 790px;
    right: calc((max(100vw, 1440px) - 1440px) / 2);
    top: 80px;
}

#pure-hosting {
    background: #f5f5f7;
    padding: 100px 0;
    margin-bottom: 100px;
}

#pure-hosting .section-internal {
    display: flex;
    flex-direction: row;
    gap: 108px;
}

#pure-hosting .section-internal > * {
    z-index: 5;
}

#pure-hosting:before {
    content: ' ';

    background: url('images/pure-hosting-top-bleed.svg');
    background-repeat: no-repeat;
    /* pure-hosting-top-bleed */

    position: absolute;
    width: 606.2px;
    height: 188.09px;
    top: -177.59px;
    z-index: -1;
}

#pure-hosting:after {
    content: ' ';

    background: url('images/pure-hosting-top-bleed.svg');
    background-repeat: no-repeat;
    /* pure-hosting-top-bleed */

    transform: rotate(180deg);

    position: absolute;
    width: 606.2px;
    height: 188.09px;
    bottom: -177.59px;
    right: 0;
    z-index: -1;
}

#pure-hosting .section-internal:after {
    content: ' ';
    background: url('images/pure-hosting-super-graphic.svg');
    background-repeat: no-repeat;
    /* pure-hosting-super-graphic */

    position: absolute;
    z-index: 0;
    width: 457px;
    height: 689px;
    left: 0px;
    bottom: 0;
}

#pure-hosting .section-internal > .button.signup {
    display: none;
}

#pure-hosting .section-internal > .details h1 {
    /* SiteSparq is Pure Hosting */

    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    font-size: 36px;
    line-height: 150%;
    /* identical to box height, or 54px */

    /* Dark Purple */
    color: #1a0b44;
}

#pure-hosting .section-internal > .details h1 span {
    color: #ec1459;
}

#pure-hosting .section-internal > .details p {
    /* After signing up, deploy your website (HTML, CSS, JavaScript, and media files) in a few simple steps: */

    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 170%;
    /* or 31px */

    /* grey purple */
    color: #5f547c;
}

#pure-hosting .section-internal > .details hr {
    /* Line 8 */

    opacity: 0.15;
    /* Dark Purple */
    border: 1px solid #1a0b44;

    margin: 35px 0;
}

#pure-hosting .steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

#pure-hosting .steps > div {
    position: relative;
    display: grid;
    grid-template-columns: auto 65%;
    gap: 29px;

    /* min-height: 210px; */

    padding: 30px;

    background: #ffffff;
    box-shadow: 0px 8px 35px rgba(0, 0, 0, 0.06);
    border-radius: 20px;
}

#pure-hosting .steps > div img {
    align-self: center;
    justify-self: end;
}

#pure-hosting .steps > div .number {
    position: absolute;
    left: 10px;
    top: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    /* Dark Blue */
    background: #112856;

    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    /* identical to box height */

    /* White */
    color: #ffffff;

    border-radius: 100%;
    width: 40px;
    height: 40px;
}

#pure-hosting .steps > div:nth-child(1):after {
    content: ' ';

    background: url('images/moon.png');
    background-repeat: no-repeat;
    background-size: contain;

    width: 77px;
    height: 77px;

    /* pure-hosting-moon */

    position: absolute;
    right: 25px;
    top: -40px;

    filter: drop-shadow(0px 8px 35px rgba(0, 0, 0, 0.2));
}

#pure-hosting .steps > div:nth-child(2) .number {
    background: #6f2b8c;
}
#pure-hosting .steps > div:nth-child(3) .number {
    background: #ec1459;
}
#pure-hosting .steps > div:nth-child(4) .number {
    background: #f7981d;
}

#pure-hosting .steps > div h1 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 29px;

    margin-top: 35px;

    /* Dark Purple */
    color: #1a0b44;
}

#pure-hosting .steps > div p {
    /* Test your website locally to ensure it works. */

    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 170%;
    /* or 31px */

    /* Dark Purple */
    color: #1a0b44;

    opacity: 0.8;
}

#about {
    padding-top: 50px;
}

#about:before {
    content: ' ';
    position: absolute;
    background: url('images/about-bg.svg');
    background-repeat: no-repeat;

    /* about-bg */

    position: absolute;
    width: 1128.45px;
    height: 204.96px;
    left: calc((max(100vw, 1440px) - 1440px) / 2);
    top: 0;
    z-index: -1;
}

#about:after {
    content: ' ';
    /* about-stars-right */

    position: absolute;
    z-index: -1;
    bottom: 200px;
    left: calc((max(100vw, 1440px) - 1440px) / 2);

    width: 96px;
    height: 88px;
    overflow: visible;

    background: url('images/about-star-left.png');
    background-repeat: no-repeat;

    filter: drop-shadow(0px 8px 35px rgba(0, 0, 0, 0.2));
}

#about .container:nth-child(2):after {
    content: ' ';
    /* about-stars-right */

    position: absolute;
    z-index: -1;
    bottom: 50px;
    right: -160px;

    width: 254px;
    height: 199px;
    overflow: visible;

    background: url('images/about-stars-right.png');
    background-repeat: no-repeat;

    filter: drop-shadow(0px 8px 35px rgba(0, 0, 0, 0.2));
}

#about .container {
    position: relative;
    display: flex;

    align-items: end;

    gap: 100px;

    margin-bottom: 55px;
}

#about .container h1 {
    /* About SiteSparq */

    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    font-size: 36px;
    line-height: 150%;
    /* identical to box height, or 54px */

    /* Dark Purple */
    color: #1a0b44;
}

#about .container p {
    /* Founded by industry veterans and AWS experts, SiteSparq brings enterprise-level hosting experience to businesses of all sizes. Our team has powered the online presence of some of the world's most recognizable brands. Now, we're leveraging cutting-edge architecture and AWS's global infrastructure to deliver world-class hosting that's accessible to everyone. */

    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 170%;
    /* or 31px */

    /* grey purple */
    color: #5f547c;
}

#about .container p b {
    /* Founded by industry veterans and AWS experts, SiteSparq brings enterprise-level hosting experience to businesses of all sizes. Our team has powered the online presence of some of the world's most recognizable brands. Now, we're leveraging cutting-edge architecture and AWS's global infrastructure to deliver world-class hosting that's accessible to everyone. */

    font-weight: 700;
    /* or 31px */

    /* Dark Purple */
    color: #1a0b44;
}

#about .container:nth-child(1) img {
    filter: drop-shadow(0px 8px 35px rgba(0, 0, 0, 0.2));
}

#about .container:nth-child(1) p {
    max-width: 520px;
}
#about .container:nth-child(2) {
    gap: 60px;
}

#about .container:nth-child(2) p {
    max-width: 685px;
}

footer {
    position: relative;

    /* Dark Blue */
    background: #112856;
}

footer a {
    color: #fff !important;
}

footer:before {
    content: ' ';
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;

    background: url('images/footer-super-graphic.svg');
    background-repeat: no-repeat;

    /* footer-super-graphic */
    width: 178px;
    height: 339px;
}

footer .section-internal {
    padding-top: 35px;
    padding-bottom: 35px;

    display: flex;
    justify-content: space-between;

    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 170%;
    /* or 27px */

    /* White */
    color: #ffffff;
}

footer .footer-links {
    display: flex;
    margin-right: 72px;
}

footer .footer-links a {
    padding: 0 20px;
    border-right: 1px solid #ffffff;
}

footer .footer-links a:last-child {
    border-right: none;
    padding-right: 0;
}

@media (max-width: 1158px) {
    #hero,
    .section-internal {
        margin: 0;
        padding: 0 25px;
    }

    #hero {
        margin-top: 120px;
    }

    footer:before {
        z-index: -1;
        bottom: 100%;
    }

    footer .footer-links {
        margin-right: 0;
    }
}

@media (max-width: 916px) {
    #included .grid {
        display: grid;
        grid-template-columns: auto auto;
    }

    #hero .clip-art {
        position: absolute;
        width: 100%;
        right: -261px;
        top: 13px;
    }

    #pure-hosting {
        padding-bottom: 420px;
        margin-bottom: 35px;
    }

    #pure-hosting .section-internal {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }

    #pure-hosting:before,
    #pure-hosting:after,
    #pure-hosting .details .button.signup {
        display: none;
    }

    #pure-hosting .section-internal > .button.signup {
        display: flex;
    }

    #pure-hosting .section-internal:after {
        background-size: contain;
        width: 310px;
        height: 410px;
    }

    #pure-hosting .section-internal:before {
        width: 385.24px;
        height: 413px;
        background-size: contain;
    }

    #pure-hosting .details img {
        position: absolute;
        bottom: 0;
        width: 265px;
        left: 99px;
    }
}

.mobile-menu-toggle {
    display: none;

    /* primary btn */
    cursor: pointer;

    /* Auto layout */
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 22px;

    width: 68px;
    height: 52px;

    /* Pink */
    background: #ec1459;
    border-radius: 16px;
}

body.show-menu .mobile-menu-toggle {
    background: #6f2b8c;
}

.mobile-menu-toggle img {
    width: 28px;
    height: 12px;
}

@media (max-width: 768px) {
    #header {
        height: auto;
        padding: 25px;
        padding-top: 15px;
    }

    .header-bg {
        width: 369px;
        height: 311px;
        background-size: contain;
    }

    #header .logo img {
        width: 238px;
        height: 80px;
    }

    body:not(.show-menu) #header .desktop-menu {
        display: none;
    }

    body.show-menu {
        margin-top: 124px;
    }

    body.show-menu #header {
        flex-wrap: wrap;
        position: fixed;
        top: 0;
        background: #fff;
        filter: drop-shadow(0px 8px 35px rgba(0, 0, 0, 0.16));
        border-radius: 0px 0px 30px 30px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    #header .desktop-menu {
        /* position: absolute; */
        width: 100%;
        padding-top: 30px;

        flex-direction: column-reverse;
        align-items: center;

        background: #ffffff;

        border-radius: 0px 0px 30px 30px;
    }

    #header .desktop-menu .button {
        width: 100%;
    }

    #hero {
        margin-top: 16px;
    }

    #pricing .offer-commitment-container {
        grid-template-columns: auto;
        gap: 10px;
    }

    #about:before {
        width: 495px;
        background-size: contain;
        left: -21px;
        height: 90px;
    }

    #about .container {
        flex-direction: column-reverse;
        align-items: start;
        justify-items: center;

        gap: 50px;

        margin-bottom: 0px;
    }

    #about .container:nth-child(1) img {
        width: 90%;
    }

    #about .container:nth-child(2) img {
        width: 56%;
        align-self: center;
    }

    #about .container h1,
    h1 {
        font-size: 36px;
    }

    #about .container:nth-child(2):after {
        display: none;
    }
}

@media (max-width: 660px) {
    #hero:before {
        top: 550px;
        width: 546px;
        height: 977px;
        background-size: contain;
    }

    #hero h1 {
        /* Premium Hosting for */

        font-size: 48px;
    }

    #hero .price {
        font-size: 40px;
    }

    #included .grid {
        display: grid;
        grid-template-columns: auto;
    }

    #pricing {
        padding-bottom: 330px;
    }

    #pricing:before {
        width: 565px;
        background-size: contain;
        top: 90px;
    }

    #pricing:after {
        top: initial;
        bottom: -44px;
        width: 250px;
        background-size: contain;
        height: 383px;
    }

    #pricing .offer-commitment-container {
        grid-template-columns: auto;
        gap: 10px;
        margin-top: 30px;
    }

    #pricing .details .details-bottom {
        flex-wrap: wrap;
        gap: 12px;
    }

    #pricing .details::after {
        left: 0;
        bottom: -35%;
        top: initial;
        right: initial;

        width: 100%;
        background-size: contain;
    }

    footer:before {
        z-index: -1;
        width: 86px;
        height: 163px;
        background-size: contain;
        bottom: 100%;
    }

    footer .footer-links a:first-child {
        padding-left: 0;
    }
}

@media (max-width: 544px) {
    #hero {
        flex-wrap: wrap;
        height: auto;
    }

    #hero .clip-art {
        position: static;
        width: 100%;
    }

    #included .section-internal > h1 {
        color: #ffffff;
    }

    footer .section-internal {
        flex-wrap: wrap;
        justify-content: start;
        font-size: 14px;
        gap: 14px;
    }
}

@media (max-width: 410px) {
    #hero .price {
        font-size: 38px;
    }

    #included .section-internal > h1 {
        font-size: 32px;
    }

    #pure-hosting .steps > div {
        grid-template-columns: auto;
        gap: 0;
    }

    #pure-hosting .steps > div img {
        align-self: end;
        justify-self: start;
        padding-top: 20px;
    }

    footer .footer-links a {
        padding: 0 12px;
    }
}

/* Secondary page layout adjustments */
.secondary-page {
    width: 100%;
    max-width: 900px; /* Increased to prevent h1 wrapping */
    margin: 0 auto;
    padding: 0 25px;
}

/* Override the general h1 styles */
.secondary-page h1 {
    font-size: 66px !important;
    line-height: 1.2;
    margin-bottom: 3.5rem;
    margin-top: 0;
    color: #1a0b44;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    white-space: nowrap; /* Prevents wrapping */
}

/* Content sections */
.secondary-page > div {
    margin-bottom: 3rem;
    max-width: 860px; /* Keeps text comfortably readable */
}

.secondary-page > div:last-child {
    margin-bottom: 0;
}

/* Section headers */
.secondary-page h2 {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a0b44;
    margin-top: 2rem; /* Extra spacing above each section */
    margin-bottom: 1.5rem;
    font-family: 'Montserrat';
    font-style: normal;
}

/* Paragraph text */
.secondary-page p,
.secondary-page ol li {
    font-size: 18px;
    line-height: 1.7;
    color: #5f547c;
    margin-top: 1rem;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    word-wrap: break-word; /* Ensures text wraps within max width */
    max-width: 100%; /* Prevents overflow */
}

/* Lists */
.secondary-page ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.secondary-page ol li {
    font-size: 18px;
    line-height: 1.7;
    color: #5f547c;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
}

/* Bold text */
.secondary-page b,
.secondary-page strong {
    color: #1a0b44;
    font-weight: 600;
}

/* Links */
.secondary-page a {
    color: #ec1459;
    text-decoration: none;
}

.secondary-page a:hover {
    text-decoration: underline;
}

/* Meta information (like Effective Date in Terms) */
.secondary-page .meta {
    font-size: 16px;
    color: #5f547c;
    margin-bottom: 2rem;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .secondary-page h1 {
        font-size: 48px;
        margin-bottom: 2.5rem;
        white-space: normal; /* Allows wrapping on smaller screens */
    }
    
    .secondary-page h2 {
        font-size: 22px;
        margin-top: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .secondary-page p,
    .secondary-page ol li {
        font-size: 16px;
        line-height: 1.6;
    }
}

/* Video Button Styles */
.video-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0 0 0;        /* Removes auto-centering */
    align-self: flex-start;    /* Explicitly aligns the button to the left */
    padding: 16px 25px;
    gap: 12px;
    border-radius: 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #1a0b44;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    width: fit-content;
}

.video-button:hover {
    background: rgba(111, 43, 140, 0.05);
}

.play-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FFD700;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

.play-icon:before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 2px;
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 11, 68, 0.85);
    z-index: 999;
    align-items: center;
    justify-content: center;
}

.video-modal.open {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0px 8px 35px rgba(0, 0, 0, 0.3);
}

.video-modal-close {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    background: #ec1459;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-button {
        font-size: 11px;
        padding: 14px 20px;
    }
    
    .play-icon {
        width: 28px;
        height: 28px;
    }
    
    .video-modal-close {
        top: -15px;
        right: -15px;
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .video-modal-content {
        width: 95%;
        padding: 15px;
    }
    
    .video-modal-close {
        top: -10px;
        right: -10px;
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
}