* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #eeeeee;
    overflow-x: hidden;
    font-size: 16px !important;
    line-height: 30px !important;
}

img {
    max-width: 100%;
}

/* ====================================
HEADER
==================================== */

.header-section {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 20;
    padding: 20px 0;
}

.logo-wrapper img {
    width: 230px;
}

/* ====================================
HERO SECTION
==================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #efefef;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.hero-section .container-fluid {
    position: relative;
    z-index: 10;
}

.merrito-box {
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.merrito-form {
    min-height: 550px;
    width: 460px;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #901B2B;
    border-radius: 20px;
}

.merrito-form p {
    text-align: center;
    padding-top: 20px;
}

.admission-form-box {
    width: 100%;
    max-width: 500px;
    background: #fff;
    margin-top: 80px;
    border-radius: 45px;
    overflow: hidden;
    border: 2px solid #901B2B;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.form-title {
    background: linear-gradient(90deg, #f2b31d, #aa7b56);
    text-align: center;
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    padding: 18px 20px;
}

.form-body {
    padding: 20px;
}

/* ====================================
FORM TABS
==================================== */

.form-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.form-tabs button {
    border: 1px solid #d6a12a;
    background: #fff;
    color: #2b3fe3;
    border-radius: 40px;
    padding: 8px 24px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
}

.form-tabs button.active {
    background: #f2b31d;
    color: #fff;
}

/* ====================================
FORM FIELDS
==================================== */

.form-body input,
.form-body select {
    width: 100%;
    height: 48px;
    border: 1px solid #dddddd;
    border-radius: 30px;
    padding: 0 18px;
    font-size: 14px;
    margin-bottom: 12px;
    outline: none;
    background: #fff;
}

.mobile-group {
    display: flex;
    gap: 10px;
}

.mobile-group select {
    max-width: 90px;
}

.two-column-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.captcha-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
    align-items: center;
}

.captcha-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    height: 48px;
}

.captcha-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ====================================
TERMS
==================================== */

.terms-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
}

.terms-row input {
    width: 16px;
    height: 16px;
    margin-top: 4px;
}

.terms-row p {
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

/* ====================================
BUTTON
==================================== */

.register-btn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(90deg, #1c1d2d, #f2b31d);
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.register-btn:hover {
    opacity: 0.95;
}

/* ====================================
SECTION HEADING
==================================== */

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
}

.section-heading span {
    width: 100px;
    height: 3px;
    background: #1A3866;
    display: inline-block;
    position: relative;
}

.section-heading span::before,
.section-heading span::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #1A3866;
    border-radius: 50%;
    top: -2px;
}

.section-heading span::before {
    left: -15px;
}

.section-heading span::after {
    right: -15px;
}

/* ====================================
STEPS SECTION
==================================== */

.steps-section {
    padding: 90px 0 60px;
    background: #efefef;
}



.steps-counter {
    display: flex;
    /* gap: 30px; */
    align-items: center;
    justify-content: space-between;
}

.counter {
    /* animation: drift 3000ms; */
    color: #1A3866;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    width: 210px;
    height: 222px;
    padding: 48px 28px 0;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.counter:before,
.counter:after {
    content: '';
    background: linear-gradient(135deg, #fff, #f1f1f1);
    height: 147px;
    width: 147px;
    box-shadow: -5px -5px 3px rgba(0, 0, 0, 0.2), -10px -10px #1A3866;
    transform: translateX(-50%) rotate(45deg);
    position: absolute;
    left: 50%;
    top: 44px;
    z-index: -1;
    transition: all 0.3s ease 0s;
}

.counter .counter-icon {
    font-size: 35px;
    line-height: 40px;
    margin: 0 0 12px;
}

.counter h3 {
    color: #261c4e;
    font-size: 15px;
    font-weight: bold;
    text-transform: capitalize;
    margin: 0 0 16px;
}

.counter .counter-value {
    color: #fff;
    background: #1A3866;
    font-size: 15px;
    font-weight: bold;
    line-height: 33px;
    width: 100%;
    padding: 10px 0 26px;
    position: absolute;
    left: 0;
    bottom: 0;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* ====================================
INSTRUCTION SECTION
==================================== */

.instruction-heading {
    margin-bottom: 50px;
}

.instruction-section {
    background: #efefef;
}

.instruction-wrapper {
    background: #E4B720;
    padding: 80px 0;
}

.instruction-image img {
    width: 100%;
}

.instruction-box {
    background: #1A3866;
    border-radius: 25px;
    padding: 10px 20px;
    color: #fff;
}

/* ====================================
INSTRUCTION CONTENT
==================================== */

.instruction-box h3 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.3;
}

.instruction-sub-section {
    margin-top: 35px;
}

.instruction-sub-section h4 {
    font-size: 22px;
    font-weight: 600;
    color: #f5d26c;
    margin-bottom: 15px;
}

.instruction-list,
.instruction-ordered-list {
    padding-left: 22px;
    margin-bottom: 0;
}

.instruction-list li,
.instruction-ordered-list li {
    color: #fff;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 10px;
}

.instruction-list strong {
    color: #f5d26c;
    font-weight: 600;
}

.instruction-ordered-list li::marker {
    font-weight: 700;
    /* color: #f5d26c; */
}

.instruction-box a {
    color: #f5d26c;
    font-weight: 600;
    text-decoration: none;
}

.instruction-box a:hover {
    text-decoration: underline;
}

.instruction-note {
    margin-top: 35px;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
    border-left: 4px solid #f5d26c;
}

/* ====================================
RESPONSIVE
==================================== */

@media(max-width:767px) {

    .instruction-box h3 {
        font-size: 24px;
    }

    .instruction-sub-section h4 {
        font-size: 19px;
    }

    .instruction-list li,
    .instruction-ordered-list li,
    .instruction-note {
        font-size: 14px;
        line-height: 1.8;
    }

    .steps-counter {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .merrito-form {
        max-width: 350px;
        width: 100%;
        margin-top: 70px;
    }
}

/* ====================================
FOOTER
==================================== */

.footer-section {
    background: #1A3866;
    padding: 10px 40px 5px;
    text-align: right;
}

.footer-section p {
    color: #ffffff;
    text-align: center;
}

.footer-section img {
    width: 90px;
}

/* ====================================
RESPONSIVE
==================================== */

@media(max-width:1199px) {

    .form-title {
        font-size: 34px;
    }
}

@media(max-width:991px) {

    .hero-section {
        padding-bottom: 60px;
    }

    .admission-form-box {
        margin: 140px auto 0;
    }

    .logo-wrapper img {
        width: 180px;
    }
}

@media(max-width:767px) {

    .hero-section {
        min-height: auto;
    }

    .admission-form-box {
        border-radius: 25px;
        margin-top: 120px;
    }

    .form-title {
        font-size: 28px;
    }

    .two-column-fields,
    .captcha-row {
        grid-template-columns: 1fr;
    }

    .mobile-group {
        flex-direction: column;
    }

    .mobile-group select {
        max-width: 100%;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .instruction-box {
        padding: 25px;
    }
}