/* =========================================================
   DROPSHIPPING HERO + REGISTRATION FORM
========================================================= */


/* =========================================================
   HERO SECTION
========================================================= */

.hero-section {

    width: 100%;

    padding:
        55px
        20px
        90px;

    box-sizing: border-box;

    position: relative;

    z-index: 2;

}


/* =========================================================
   MAIN HERO CONTAINER
========================================================= */

.hero-container {

    width: 100%;

    max-width: 1450px;

    margin: 0 auto;

    box-sizing: border-box;

}


/* =========================================================
   FULL WIDTH HERO HEADING
========================================================= */

.hero-heading {

    width: 100%;

    max-width: 1450px;

    margin:
        0
        auto
        40px;

    padding:
        0
        10px;

    box-sizing: border-box;

    text-align: center;

}


/* =========================================================
   HERO HEADING TEXT
========================================================= */

.hero-heading h1 {

    width: 100%;

    max-width: 1400px;

    margin: 0 auto;

    padding: 0;

    box-sizing: border-box;

    color: #ffffff;

    font-size: clamp(
        38px,
        4.2vw,
        62px
    );

    font-weight: 800;

    line-height: 1.12;

    letter-spacing: -1px;

    text-align: center;

}


/* =========================================================
   50 / 50 MAIN CONTENT
========================================================= */

.hero-main-content {

    width: 100%;

    display: grid;

    /*
       EXACT 50 / 50 SPLIT
    */

    grid-template-columns:
        1fr
        1fr;

    gap: 40px;

    align-items: start;

    box-sizing: border-box;

}


/* =========================================================
   LEFT SIDE - VIDEO CONTENT
========================================================= */

.hero-video-content {

    width: 100%;

    min-width: 0;

    box-sizing: border-box;

}


/* =========================================================
   VIDEO DESCRIPTION
========================================================= */

.video-description {

    width: 100%;

    margin:
        0
        0
        22px;

    padding: 0;

    color: #ffffff;

    font-size: 18px;

    font-weight: 500;

    line-height: 1.55;

    text-align: center;

    box-sizing: border-box;

}


/* =========================================================
   VIDEO WRAPPER
========================================================= */

.video-wrapper {

    position: relative;

    width: 100%;

    /*
       Keeps video at 16:9 ratio.
    */

    aspect-ratio: 16 / 9;

    margin: 0;

    padding: 0;

    overflow: hidden;

    background: #000000;

    border-radius: 18px;

    box-sizing: border-box;

    box-shadow:
        0 15px 45px
        rgba(0, 0, 0, 0.40);

}


/* =========================================================
   VIDEO
========================================================= */

.video-wrapper video {

    position: absolute;

    top: 0;

    left: 0;

    display: block;

    width: 100% !important;

    height: 100% !important;

    max-width: none !important;

    max-height: none !important;

    margin: 0;

    padding: 0;

    border: 0;

    background: #000000;

    /*
       contain ensures the complete
       video remains visible.
    */

    object-fit: contain;

    object-position: center;

    box-sizing: border-box;

}


.registration-form-card {
    width: 100%;
    box-sizing: border-box;

    background: #ffffff;

    border-radius: 10px;

    padding:
        34px
        30px
        30px;

    border-top:
        4px solid #5146e5;

    box-shadow:
        0 12px 40px
        rgba(0, 0, 0, 0.16);
}




/* =========================================================
   FORM HEADING
========================================================= */

.registration-form-card h2 {

    margin:
        0
        0
        20px;

    padding: 0;

    color: #1d2738;

    font-size: 28px;

    font-weight: 800;

    line-height: 1.25;

    text-align: center;

}


/* =========================================================
   WORKSHOP DATE BOX
========================================================= */

.workshop-info {

    width: 100%;

    box-sizing: border-box;

    padding:
        8px
        12px;

    margin-bottom: 18px;

    border:
        2px solid #5146e5;

    border-radius: 7px;

    background: #ffffff;

    color: #6f7682;

    font-size: 15px;

    font-weight: 500;

    line-height: 1.4;

    text-align: center;

}


/* =========================================================
   LIMITED SPOTS TEXT
========================================================= */

.limited-text {

    margin:
        0
        0
        28px;

    color: #737985;

    font-size: 15px;

    line-height: 1.5;

    text-align: center;

}


/* =========================================================
   FORM
========================================================= */

.registration-form-card form {

    width: 100%;

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


/* =========================================================
   NORMAL INPUTS
========================================================= */

.registration-form-card input[type="text"],
.registration-form-card input[type="email"],
.registration-form-card input[type="tel"] {

    display: block;

    width: 100%;

    height: 50px;

    box-sizing: border-box;

    margin:
        0
        0
        14px;

    padding:
        0
        15px;

    border:
        1px solid #aeb4bd;

    border-radius: 5px;

    outline: none;

    background: #ffffff;

    color: #333333;

    font-family: inherit;

    font-size: 17px;

    font-weight: 400;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;

}


/* =========================================================
   INPUT PLACEHOLDER
========================================================= */

.registration-form-card input::placeholder {

    color: #9ca3af;

    opacity: 1;

}


/* =========================================================
   INPUT FOCUS
========================================================= */

.registration-form-card input[type="text"]:focus,
.registration-form-card input[type="email"]:focus,
.registration-form-card input[type="tel"]:focus {

    border-color: #5146e5;

    box-shadow:
        0 0 0 3px
        rgba(81, 70, 229, 0.12);

}


/* =========================================================
   PHONE WRAPPER
========================================================= */

.phone-wrapper {

    display: flex;

    width: 100%;

    height: 50px;

    margin:
        0
        0
        14px;

    box-sizing: border-box;

}


/* =========================================================
   COUNTRY CODE
========================================================= */

.country-code {

    width: 90px;

    height: 50px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    box-sizing: border-box;

    border:
        1px solid #aeb4bd;

    border-right: none;

    border-radius:
        5px
        0
        0
        5px;

    background: #ffffff;

    color: #6d7480;

    font-size: 16px;

}


/* =========================================================
   COUNTRY FLAG
========================================================= */

.country-flag {

    font-size: 19px;

    line-height: 1;

}


/* =========================================================
   PHONE INPUT
========================================================= */

.phone-wrapper input {

    flex: 1;

    min-width: 0;

    width: auto !important;

    height: 50px !important;

    margin: 0 !important;

    border-radius:
        0
        5px
        5px
        0 !important;

}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.reserve-button {

    display: block;

    width: 100%;

    min-height: 52px;

    margin: 0;

    padding:
        13px
        15px;

    box-sizing: border-box;

    border: none;

    border-radius: 4px;

    outline: none;

    background: #2463df;

    color: #ffffff;

    font-family: inherit;

    font-size: 16px;

    font-weight: 800;

    line-height: 1.3;

    text-align: center;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;

}


/* =========================================================
   BUTTON HOVER
========================================================= */

.reserve-button:hover {

    background: #1453cb;

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px
        rgba(36, 99, 223, 0.25);

}


/* =========================================================
   BUTTON ACTIVE
========================================================= */

.reserve-button:active {

    transform: translateY(0);

    box-shadow: none;

}


/* =========================================================
   SECURITY MESSAGE
========================================================= */

.secure-message {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    width: 100%;

    margin-top: 28px;

    color: #858b96;

    font-size: 13px;

    line-height: 1.5;

    text-align: center;

}


/* =========================================================
   LOCK ICON
========================================================= */

.lock-icon {

    color: #16a34a;

    font-size: 14px;

    line-height: 1;

}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (max-width: 1200px) {

    .hero-section {

        padding-left: 18px;

        padding-right: 18px;

    }


    .hero-container {

        max-width: 1150px;

    }


    .hero-main-content {

        gap: 30px;

    }


    .hero-heading h1 {

        font-size: clamp(
            36px,
            4.5vw,
            52px
        );

    }


    .registration-form-card {

        padding:
            30px
            24px
            28px;

    }


    .registration-form-card h2 {

        font-size: 25px;

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .hero-section {

        padding-top: 40px;

        padding-bottom: 60px;

    }


    .hero-heading {

        margin-bottom: 30px;

    }


    .hero-heading h1 {

        font-size: clamp(
            32px,
            6vw,
            46px
        );

        line-height: 1.15;

        letter-spacing: -0.5px;

    }


    /*
       Keep 50 / 50 split
       on larger tablets.
    */

    .hero-main-content {

        grid-template-columns:
            1fr
            1fr;

        gap: 25px;

    }


    .video-description {

        font-size: 16px;

    }


    .registration-form-card {

        padding:
            25px
            20px
            25px;

    }


    .registration-form-card h2 {

        font-size: 23px;

    }


    .workshop-info {

        font-size: 13px;

    }


    .limited-text {

        font-size: 14px;

    }


    .reserve-button {

        font-size: 14px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .hero-section {

        padding:
            30px
            14px
            50px;

    }


    .hero-container {

        width: 100%;

    }


    /* =================================
       FULL WIDTH MOBILE HEADING
    ================================= */

    .hero-heading {

        width: 100%;

        margin-bottom: 25px;

        padding: 0;

    }


    .hero-heading h1 {

        width: 100%;

        max-width: none;

        font-size: 29px;

        line-height: 1.18;

        letter-spacing: -0.3px;

        text-align: center;

    }


    /* =================================
       STACK VIDEO + FORM
    ================================= */

    .hero-main-content {

        grid-template-columns: 1fr;

        gap: 25px;

    }


    /* =================================
       VIDEO DESCRIPTION
    ================================= */

    .video-description {

        width: 100%;

        font-size: 15px;

        line-height: 1.5;

        margin-bottom: 18px;

        text-align: center;

    }


    /* =================================
       VIDEO
    ================================= */

    .video-wrapper {

        width: 100%;

        max-width: 100%;

        aspect-ratio: 16 / 9;

        border-radius: 12px;

    }


    .video-wrapper video {

        width: 100% !important;

        height: 100% !important;

        object-fit: contain;

        object-position: center;

    }


    /* =================================
       FORM
    ================================= */

    .registration-form-card {

        width: 100%;

        margin: 0;

        padding:
            25px
            17px
            24px;

        border-radius: 9px;

    }


    .registration-form-card h2 {

        font-size: 23px;

        margin-bottom: 17px;

    }


    .workshop-info {

        padding: 8px;

        font-size: 13px;

    }


    .limited-text {

        font-size: 14px;

        margin-bottom: 23px;

    }


    .registration-form-card input[type="text"],
    .registration-form-card input[type="email"],
    .registration-form-card input[type="tel"] {

        height: 50px;

        font-size: 16px;

    }


    .country-code {

        width: 82px;

        height: 50px;

        font-size: 15px;

    }


    .reserve-button {

        min-height: 52px;

        font-size: 14px;

    }


    .secure-message {

        font-size: 12px;

        margin-top: 23px;

    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .hero-heading h1 {

        font-size: 26px;

    }


    .registration-form-card {

        padding-left: 14px;

        padding-right: 14px;

    }


    .registration-form-card h2 {

        font-size: 21px;

    }


    .workshop-info {

        font-size: 12px;

    }

}