/* ==========================================================================
   Header Stylesheet
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Background  */
body {
    font-family: 'Poppins', sans-serif;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Blur the background */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    filter: blur(4px);
    z-index: -2;
}

/* Overlay */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: -1;
}

/* --------------------------------------------------------------------------
   2. Header Container
   -------------------------------------------------------------------------- */
.header {
    width: 100%;
    padding: 0 20px;
}

/* Navigation bar wrapper for alignment */
.navigation-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px 0;
    padding-right: 20px;
}

/* --------------------------------------------------------------------------
   3. Brand Logo
   -------------------------------------------------------------------------- */
.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

/* --------------------------------------------------------------------------
   4. Navigation Menu & Links
   -------------------------------------------------------------------------- */
.navigation {
    display: flex;
    align-items: center;
}

.navigation-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 48px;
}

.navigation-item {
    display: inline-block;
    position: relative;
}

.navigation-link {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s ease-in-out;
}

/* Dropdown toggle link */
.navigation-link.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Dropdown arrow icon */
.dropdown-icon {
    width: 12px;
    height: auto;
    display: inline-block;
    transition: transform 0.2s ease-in-out;
}

.dropdown-icon {
    transition: transform 0.3s ease;
}

.dropdown.open .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    min-width: 150px;
    margin-top: 10px;
}

.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-menu {
    list-style: none;
    background: #ffffff;
    color: #000000;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-item a {
    display: block;
    padding: 4px 0;
    color: #000000;
    text-decoration: none;
}


/* --------------------------------------------------------------------------
   5. Responsive Header
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {

    .navigation-bar {
        padding: 0 20px;
        flex-direction: column;
        gap: 16px;
    }

    .navigation-list {
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo-img {
        height: 54px;
    }
}


/* =========================================================
   ADMISSION HERO SECTION
========================================================= */

.admission-hero {
    display: flex;
    align-items: center;
    width: 100%;
    flex: 1;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}


/* =========================================================
   COMMON BOX
========================================================= */

.hero-box {
    box-sizing: border-box;
    position: relative;
}


/* =========================================================
   BOX 1
   STUDENT
========================================================= */

.hero-student {
    flex: 0 0 28%;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    overflow: visible;
}


/* =========================================================
   STUDENT IMAGE WRAPPER
========================================================= */

.student-image-wrapper {
    width: 700px;
    height: 100%;
    position: absolute;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    z-index: 2;
}


/* =========================================================
   STUDENT IMAGE
========================================================= */

.student-image {
    height: 100%;
    width: auto;
    max-width: none;
    position: absolute;
    bottom: -105px;
    left: -110px;
    object-fit: contain;
    object-position: bottom left;
    display: block;
}


/* =========================================================
   BOX 2
   ADMISSION CONTENT
========================================================= */

.hero-content {
    flex: 0 0 38%;
    padding: 20px;
    box-sizing: border-box;
    color: #ffffff;
    z-index: 3;
}


/* =========================================================
   MAIN TITLE
========================================================= */

.hero-title {
    margin: 0;
    font-size: 50px;
    line-height: 1.25;
    font-weight: 700;
    color: #ffffff;
}

.hero-title-subtitle {
    display: block;
}


/* =========================================================
   ADMISSION STATUS
========================================================= */

.admission-status {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    color: #52A852;
    padding: 7px 17px;
    border-radius: 30px;
    margin-top: 15px;
    font-size: 18px;
    font-weight: 400;
    border: 1px solid #52A852;
}

/* Green dot */
.status-dot {
    width: 10px;
    height: 10px;
    background: #52A852;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.status-dot::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: #52A852;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: statusPulse 1.8s ease-out infinite;
}

@keyframes statusPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }

    70% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

/* =========================================================
   ASSISTANT INFORMATION
========================================================= */

.assistant-info {
    margin-top: 78px;
}

/* Small heading */
.assistant-title {
    margin: 0 0 10px;
    color: #CCCCCC;
    font-size: 15px;
    font-weight: 500;
}

.course-badge {
    background: #f5f5f5;
}

/* =========================================================
   CONTACT DETAILS
========================================================= */

.contact-details {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}


/* Individual contact */
.contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
}

/* Contact icon */
.contact-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    font-size: 9px;
}

.contact-icon img {
    filter: brightness(0);
}


/* =========================================================
   BOX 3
   REGISTRATION
========================================================= */

/* form-style.css | comman Style */


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .admission-hero {
        padding: 20px;
    }

    .hero-content {
        flex-basis: 50%;
    }


    .hero-title {
        font-size: 34px;
    }

    .student-image-wrapper {
        width: 330px;
    }

    .hero-student {
        display: none;
    }

    .assistant-info {
        margin-top: 40px;
    }

}

@media (max-width: 991px) {

    .navigation-bar {
        padding: 20px;
        flex-direction: column;
        gap: 16px;
    }

    .navigation-list {
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .hero-student {
        display: none;
    }

    .hero-content {
        flex-basis: 50%;
    }


}



/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 800px) {

    body {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }

    .admission-hero {
        flex-direction: column;
        min-height: auto;
        padding: 20px;
    }

    .hero-student,
    .hero-content {
        flex: 0 0 auto;
        width: 100%;
    }

    .hero-student {
        height: 450px;
        order: 3;
    }

    .hero-content {
        order: 1;
        text-align: center;
        padding: 20px;
    }

    .contact-details {
        justify-content: center;
    }

    .admission-status {
        margin-left: auto;
        margin-right: auto;
    }

    .registration-card {
        max-width: 400px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 500px) {

    .hero-title {
        font-size: 28px;
    }

    .hero-student {
        height: 400px;
    }

    .student-image-wrapper {
        width: 300px;
        height: 400px;
    }


    .contact-details {
        flex-direction: column;
        gap: 10px;
    }

}

/* =========================================================
   HAMBURGER MENU & SMALL NAV (<= 575px)
========================================================= */

/* Hidden by default */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    z-index: 101;
}

.hamburger-menu span {
    display: block;
    height: 2.5px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Hamburger Active State (X) */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

@media (max-width: 991px) {
    .navigation-bar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        padding: 15px 20px;
    }

    .hamburger-menu {
        display: flex;
    }

    .navigation {
        display: none;
        width: 100%;
        margin-top: 15px;
    }

    .navigation-list {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        align-items: flex-start;
    }

    .navigation-item {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        background: transparent;
        color: #ffffff;
        margin-top: 5px;
    }

    .dropdown-menu .dropdown-item a {
        color: #ffffff;
    }
}