/* Animated Hamburger Bars */
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #d1d5db; /* gray-300 */
    margin: 5px 0;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

/* X-Transformation */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background-color: #fff; }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-20px); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background-color: #fff; }

/* The Drawer Styling */
#mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Start off-screen */
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: #111827; /* gray-900 */
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 40;
    display: flex !important; /* Always flex, but hidden via 'right' */
}

#mobile-menu.active {
    right: 0; /* Slide in */
}

/* Overlay Background */
#menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    z-index: 30;
}

#menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Link Entrance Animation */
#mobile-menu a {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
}

#mobile-menu.active a {
    opacity: 1;
    transform: translateX(0);
}

/* video advert */
/* =========================================
   GLOBALPEAK ADVERTISEMENT SECTION
   ========================================= */

.gp-ad-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
    background: #000;
}

/* Background Image */
.gp-ad-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gp-ad-background img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Dark Overlay */
.gp-ad-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.70);
}

/* Content Wrapper */
.gp-ad-content {
    position: relative;
    z-index: 3;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 20px;
    box-sizing: border-box;
}

/* Main Card */
.gp-ad-card {
    width: 100%;
    max-width: 760px;

    padding: 28px;

    background: rgba(0, 0, 0, 0.82);

    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 10px;

    box-sizing: border-box;

    text-align: center;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.45);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Video */
.gp-ad-video {
    display: block;

    width: 100%;
    max-width: 700px;
    height: auto;

    margin: 0 auto 25px;

    background: #000;

    border-radius: 6px;
}

/* Description */
.gp-ad-text {
    margin: 0 auto 25px;

    max-width: 650px;

    color: #fff;

    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;

    text-align: center;
}

/* Register Button */
.gp-ad-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 30px;

    background: #ff444f;
    color: #fff;

    text-decoration: none;
    text-transform: uppercase;

    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;

    border-radius: 4px;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/* Button Hover */
.gp-ad-button:hover {
    background: #016cfc;
    color: #fff;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(1, 108, 252, 0.35);
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 768px) {

    .gp-ad-section {
        min-height: 600px;
    }

    .gp-ad-content {
        padding: 25px 15px;
    }

    .gp-ad-card {
        max-width: 650px;
        padding: 22px;
    }

    .gp-ad-text {
        font-size: 16px;
        line-height: 1.6;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 480px) {

    .gp-ad-section {
        height: auto;
        min-height: 100vh;
    }

    .gp-ad-content {
        padding: 25px 12px;
    }

    .gp-ad-card {
        padding: 16px;

        border-radius: 8px;
    }

    .gp-ad-video {
        margin-bottom: 20px;
        border-radius: 4px;
    }

    .gp-ad-text {
        font-size: 15px;
        line-height: 1.55;

        margin-bottom: 20px;
    }

    .gp-ad-button {
        width: 100%;

        padding: 14px 20px;

        font-size: 13px;
    }
}