/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {

    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Distribute content */
    padding: 2rem 0 1rem 0; /* Top padding only */

}


.hero-container-column {
    height: 100%;
    padding: 1rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: space-around;
}

.hero-container-row {
    max-width: fit-content;
    margin-top: 1rem;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: space-around;
    width: 100%;
}

.hero-title {
    font-size: clamp(2.5rem, 4vw + 1vh, 7rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.hero-subtitle {
    /* min 1rem, grows with vw, max 2.5rem */
    font-size: clamp(1rem, 2.5vw + 0.5vh, 2.5rem);
    font-weight: 700;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.hero-blurb {
    /* min 0.8rem, grows slowly, max 1.25rem */
    font-size: clamp(0.8rem, 1.5vw + 0.3vh, 1.25rem);
    font-weight: 400;
    color: #fff;
    font-family: 'Inter', sans-serif;
    max-width: 50%;
    text-align: center;
}

.hero-id {
    width: 13rem;                /* Set a sensible width (adjust as needed) */
    display: inline-block;       /* So multiple cards can sit side by side */
    margin: 0 1rem;
    border: #fff 4px solid;
    border-radius: 12px;
    background: #ffffff;            /* Optional: card background */
    overflow: hidden;            /* Ensures rounded corners clip the image */
    text-align: center;          /* Centers the text below */
}

.hero-id.granted {
    border: green 4px solid;
}


.hero-id-blurb {
    font: inherit;
    font-weight: 600;
    color: black;
    display: none;
}

.hero-id.expiring .hero-id-blurb {
    display: block;
}


.hero-id.expiring {
    border: orange 4px solid;
}

.hero-id img {
    display: block;              /* Remove bottom whitespace */
    width: 100%;                 /* Fill card width */
    height: auto;                /* Keep aspect ratio */
    border-bottom: 4px solid #fff; /* Optional separator line */
}

.hero-id-detail {
    font-weight: 600;
    text-align: start;
    padding: 0.5rem 1rem;
    font-size: clamp(0.7rem, 1vw, 0.9rem);
    color: #000000;                 /* Adjust for your background */
    margin: 0;                   /* Remove default p margin */
}
.hero-id-detail-2 {
    font-weight: 400;
    text-align: start;
    padding: 0.5rem 1rem;
    font-size: clamp(0.6rem, 0.8vw, 0.7rem);
    color: #000000;                 /* Adjust for your background */
    margin: 0;                   /* Remove default p margin */
}


.detail-spacer {
    height: 0.2rem;         /* line thickness */
    width: 100%;            /* or a fixed width */
    background-color: #818181; /* line color */
    border-radius: 9999px;  /* huge radius = perfectly rounded ends */
}


#section-1{
    min-height: fit-content;
}


/* ==========================================================================
   Section Styles
   ========================================================================== */

/* Section 2 */

#section-2{
    min-height: fit-content;
}

#section-2 .page-section{
    flex-direction: column;
    align-items: center;
    align-content: end;
    gap: 0rem;
    padding-top: 2rem;
}


#business-hero-image{
    max-height: 80%;
    max-width: 70vw;
    width: auto;
    display: block;
    object-fit: contain;
}

#business-hero-overlay-image {
    position: absolute;
    bottom: 15%;
    right: 5%;
    max-height: 50%;
    width: auto;
    z-index: 2;
    transition: 0.4s;
}

#section-2 .section-column{
    max-width: 70%;
    justify-content: center;
    text-align: center;
    max-height: fit-content;
}

#section-2 .section-column.top .section-content {
    padding: 0rem;
}

.section-2 .section-column.top .section-content .section-title{
    margin-bottom: 0;
}

#section-2 .section-column.bottom .section-content {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
}
#section-2 .section-column.bottom .section-content .section-blurb{
    max-width: 35%;
}




/* Section 3 */
#section-3 {
    min-height: fit-content;
}

#section-3 .section-column.left {
    max-width: 35%;
}

#section-3 .section-column.right {
    max-width: 35%;
}


/* Section 4 */
#section-4 {
    
    min-height: fit-content;
    
}

#section-4-background {
    background-image: url('/resources/images/en/business-section4-background.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#section-4 .page-section{
    max-width: 100vw;
}

#section-4 .section-column.left {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

#section-4 .section-column.right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

#section4-titles {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    text-align: center;
    background: radial-gradient(circle, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 85%);
    display: inline-block;
}


/* Section 5 */
#section-5 {
    min-height: fit-content;
}

#section-5 .section-column.left {
    max-width: 35%;
}

#section-5 .section-column.right {
    max-width: 35%;
}

/* Section 6 */
#section-6 {
    
    min-height: fit-content;
    
}

#section-6-background {
    background-image: url('/resources/images/en/business-section6-background.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#section-6 .page-section{
    max-width: 100vw;
}

#section-6 .section-column.left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

#section-6 .section-column.right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

#section6-titles {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    text-align: center;
    background: radial-gradient(circle, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 85%);
    display: inline-block;
}


/* Section 5 */
#section-7 {
    min-height: fit-content;

}

#section-7 .section-column.left {
    max-width: 35%;
}

#section-7 .section-column.right {
    max-width: 35%;
}


/* ==========================================================================
   Demo Components
   ========================================================================== */

/* Image Container */
.image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 65vh;
    overflow: hidden;
    max-width: 100%;
}




/* Demo 1 */
#business-demo1-image {
    max-height: 80%;
    width: auto;
    display: block;
    object-fit: contain;
}

#business-demo1-overlay-image {
    position: absolute;
    bottom: 15%;
    max-height: 40%;
    width: auto;
    z-index: 2;
    transition: 0.4s ease;
}

#business-demo1-overlay-image:hover {
    transition: 0.4s ease;
    max-height: 45%;
}

/* Demo 2 */
#business-demo2-image {
    max-height: 60%;
    width: auto;
    display: block;
}

#business-demo2-overlay-image {
    position: absolute;
    top: 30%;
    left: 5%;
    max-height: 40%;
    width: auto;
    z-index: 2;
    transition: 0.4s ease;
}

#business-demo2-overlay-image:hover {
    transition: 0.4s ease;
    max-height: 45%;
}


/* Demo 3 */
#business-demo3-image {
    max-height: 90%;
    width: auto;
    display: block;
}

#business-demo3-overlay-image {
    position: absolute;
    top: 25%;
    max-height: 50%;
    width: auto;
    z-index: 2;
    transition: 0.4s ease;
}

#business-demo3-overlay-image:hover {
    transition: 0.4s ease;
    max-height: 55%;
}


/* Demo 4 */
#business-demo4-image {
    max-height: 90%;
    width: fit-content;
    display: block;
}

#business-demo4-overlay-image {
    position: absolute;
    top: 10%;
    left: 5%;
    max-height: 10%;
    width: 20%;
    z-index: 2;
    transition: 0.4s ease;
}



/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-overlay {
    background: radial-gradient(
        circle at center,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 5%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0) 70%,
        rgba(0, 0, 0, 0) 90%,
        rgba(0, 0, 0, 0) 100%
    );
    padding: 1.5rem 2rem;
    display: inline-block;
    position: relative;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

/* Large Screens */
@media screen and (max-width: 1440px) {
    .hero-container-column{
        margin-top: 1.5rem;
    }

    .hero-container-row {
        width: 70%;
    }

    .hero-title{
        font-size: 6rem;
        margin-bottom: 0rem;
    }

    .hero-subtitle {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
    .section-blurb {
        font-size: 1rem;
    }

    
}

/* Medium Screens */
@media screen and (max-width: 1030px) {

    .hero-subtitle {
        text-align: center;
    }

    .hero-blurb {
        text-align: center;
    }

    
}

@media screen and (max-width: 1024px) {
    .hero-title{
        font-size: 5rem;
    }

    .hero-subtitle {
        font-size: 2rem;
    }

    .hero-blurb {
        font-size: 1.2rem;
    }

    .hero-content {
        display: flex;
        justify-content: flex-start;
        flex-direction: column;
        align-items: center;
        margin-bottom: 1rem;
    }


    #section-1{
        overflow: hidden;
    }

    #section-2 .section-column.right{
        display: none;
    }


    #section-2 .section-column.left{
        flex-direction: row-reverse;
        max-width: 100vw;
    }

    #phone2-image {
        max-height: 70vh;
    }

    #section-3 .section-column.left{
        max-width:50%;
    }
    #section-3 .section-column.right{
        max-width:50%;
    }

    #section-5 .section-column.left {
        max-width: none;
    }

    #section-7 .section-column.right {
        max-width: none;
    }

    #section-join .section-column.left{
        max-width: 50%;
    }
    #section-join .section-column.right{
        max-width: 50%;
    }
}

/* Small Screens */
@media screen and (max-width: 768px) {
    .section-blurb{
        font-size: 0.8rem;
    }

    .section-column {
        padding: 1rem;
    }

    .section-content {
        padding: 1rem;
    }

    .hero-container-column{
        margin-top: 1.5rem;
    }
    .hero-title {
        font-size: 3rem;
        margin: 0rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    #section-2 .section-content{
        padding: 1rem;
    }


    #section-join .page-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #section-join .section-column.right {
        order:0;
    }

    #section-join .section-column.left {
        order:1;
    }

    #section-join-titles{
        font-size: 3rem;
        text-align: center;
    }
    #join-overlay-image {
        padding-bottom: 2rem;
    }

    #join-image {
        max-height: 70vh;
    }
}

/* Mobile Screens */
@media screen and (max-width: 670px) {

    .hero-container-row {
        align-items: center;
        max-width: 60%;      
    }

    .section-title {
        font-size: 1.5rem;
    }
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-blurb {
        font-size: 0.8rem;
        text-align: center;
    }
    .hero-image {
        max-height: 80vh;
        margin-top: 0;
    }

    #section-2 {
        max-height: fit-content;
    }

    #section-2 .section-column.bottom .section-content{
        flex-direction: column;
    }
    .section-blurb {
        text-align: center;
        min-width: fit-content;
    }

    #section-3 .page-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #section-3 .section-column.right {
        order: 0;
        max-width: 100vw;
    }

    #section-3 .section-column.left {
        order: 1;
        max-width: 100vw;
    }

    #demo1-image {
        max-width: 30vh;
    }

    #demo2-image {
        max-width: 30vh;
    }


    #section-4 .page-section{
        min-height: 60lvh;
    }

    #section-5 .page-section{
        display: flex;
        flex-direction: column;
    }

    #section-5 .page-section .section-column.left{
        max-width: 100vw;

    }

    #section-5 .page-section .section-column.right{
        max-width: 100vw;

    }

    #section-6 .page-section{
        flex-direction: column;
    }

    #section-6 .page-section .section-column.right .section-content {
        display: flex;
        justify-content: center;
    }

    #section-7 .page-section{
        flex-direction: column;
    }

    #section-7 .page-section .section-column.left {
        max-width: none;
    }

    

    #section-join .page-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-height: fit-content;
    }

    #section-join-titles {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    #section-join .section-column.right {
        order: 0;
        max-width: 100vw;
        padding: 0rem;
    }

    #section-join .section-column.left {
        order: 1;
        max-width: 100vw;
        padding: 0rem;
    }

    #join-image{
        max-width: 30vh;
    }

    #join-overlay-image {
        max-height: 50%;
    }

    #section-join .btn{
        font-size: 1rem;
    }

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

    .footer-section {
        align-items: center;
    }

    .footer-row-left {
        flex-direction: column;
    }

    .footer-row {
        flex-direction: column;
    }
}
