
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ==========================================
   1. GLOBAL SETTINGS
   ========================================== */

:root {
    --navy: #493447;
    --plum: #713F62;
    --rose: #A64D79;
    --purple: #9271B5;
    --pink: #F7AFCB;
    --blush: #F8DDE8;
    --lavender: #E9DDF8;
    --light: #FFF5F8;
    --gray: #81717D;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: block;
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    background: var(--white);
    line-height: 1.7;
    animation: pageEnter 0.8s ease both;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================
   2. HEADER
   ========================================== */

header {
    width: 100%;
    min-height: 85px;
    padding: 15px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    background: var(--white);
    box-shadow: 0 2px 15px rgba(166,77,121,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideDown 0.8s ease both;
}

.logo {
    font-size: 25px;
    font-weight: 800;
    color: var(--navy);
}

.logo span {
    color: var(--rose);
    font-size: 12px;
    display: block;
    letter-spacing: 3px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

nav a {
    position: relative;
    text-decoration: none;
    color: #756574;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -6px;
    background: var(--rose);
    transition: width 0.3s ease;
}

nav a:hover,
nav a.active {
    color: var(--rose);
}

nav a:hover::after {
    width: 100%;
}

.nav-btn {
    text-decoration: none;
    color: white;
    background: var(--rose);
    padding: 12px 20px;
    border-radius: 7px;
    font-size: 13px;
}

/* ==========================================
   3. HERO SECTION
   ========================================== */

.hero {
    width: 100%;
    max-width: none;
    min-height: 580px;
    margin: 0;
    padding: 75px 6%;
    background: linear-gradient(120deg, #713F62, #A64D79);
    color: white;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Decorative background circles */

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.hero::before {
    width: 250px;
    height: 250px;
    top: 5%;
    right: 8%;
    background: rgba(247,175,203,0.18);
    filter: blur(3px);
    animation: glowFloat 8s ease-in-out infinite alternate;
}

.hero::after {
    width: 200px;
    height: 200px;
    bottom: 5%;
    left: 8%;
    background: rgba(233,221,248,0.2);
    filter: blur(3px);
    animation: glowFloat 7s ease-in-out infinite alternate-reverse;
}

.hero-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    animation: heroText 1s ease both;
}

.hero-label {
    display: inline-block;
    color: #FFDCEB;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding: 8px 16px;
    border: 1px solid #ffffff50;
    border-radius: 30px;
    background: #ffffff12;
}

.hero h1 {
    width: 100%;
    max-width: 850px;
    margin: 0 auto 22px;
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1.2;
    letter-spacing: -2px;
    color: white;
    animation: headingReveal 1.2s ease both;
}

.hero h1 span {
    display: block;
    color: var(--blush);
}

.hero-content p {
    width: 100%;
    max-width: 750px;
    margin: 0 auto 28px;
    color: #FBEAF1;
    font-size: 15px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px auto;
}

.hero-highlights {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px 25px;
    margin: 28px auto 0;
}

.hero-highlights span {
    color: white;
    font-size: 12px;
    font-weight: 500;
}

/* ==========================================
   4. BUTTONS
   ========================================== */

.btn {
    position: relative;
    display: inline-block;
    overflow: hidden;
    background: var(--rose);
    color: white;
    padding: 14px 25px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.hero .btn {
    background: var(--pink);
    color: var(--navy);
}

.secondary-btn {
    background: transparent !important;
    color: white !important;
    border: 1px solid #ffffff90;
}

.btn:hover {
    background: #81385F;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(166,77,121,0.28);
}

/* Shine animation */

.btn::before,
button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        110deg,
        transparent,
        rgba(255,255,255,0.4),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}

.btn:hover::before,
button:hover::before {
    left: 150%;
}

/* ==========================================
   5. COMMON SECTIONS
   ========================================== */

.section {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 80px 6%;
    text-align: center;
    background: white;
}

.light-bg {
    background: var(--light);
}

.section-heading {
    width: 100%;
    max-width: 850px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-label {
    display: inline-block;
    color: var(--rose);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-heading h2 {
    font-size: clamp(27px, 4vw, 38px);
    line-height: 1.3;
    color: var(--navy);
    margin-bottom: 15px;
}

.section-heading p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.8;
}

.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   6. BENEFIT CARDS
   ========================================== */

.card-grid {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.card {
    min-width: 0;
    background: white;
    padding: 30px 22px;
    border: 1px solid #F0DDE7;
    border-radius: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    transition: 0.4s ease;
    animation: cardAppear 0.8s ease both;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(166,77,121,0.16);
    border-color: var(--pink);
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rose), var(--lavender));
    transition: width 0.4s ease;
}

.card:hover::before {
    width: 100%;
}

.card-icon {
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--blush);
    border-radius: 15px;
    font-size: 27px;
    margin: 0 auto 15px;
    transition: transform 0.4s ease;
}

.card:hover .card-icon {
    transform: rotate(8deg) scale(1.1);
}

.card h3 {
    font-size: 16px;
    color: var(--navy);
    margin: 8px 0 12px;
}

.card p {
    color: var(--gray);
    font-size: 12px;
    line-height: 1.8;
}

/* ==========================================
   7. OTHER ICONS
   ========================================== */

.icon {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    font-size: 24px;
}

.purple {
    background: #F0E6FA;
    color: #8060A8;
}

.orange {
    background: #FFF0E5;
    color: #C57C54;
}

.green {
    background: #E8F5ED;
    color: #4D9776;
}

.blue {
    background: #FCE4EF;
    color: var(--rose);
}

/* ==========================================
   8. CTA SECTION
   ========================================== */

.cta-section {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 70px 6%;
    background: linear-gradient(110deg, #713F62, #A64D79);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color: white;
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.4;
}

.cta-section p {
    width: 100%;
    max-width: 720px;
    color: #FFEAF2;
    font-size: 14px;
    margin: 0 auto 12px;
}

.white-btn {
    background: white;
    color: var(--plum);
}

/* ==========================================
   9. PAGE BANNER
   ========================================== */

.page-banner {
    width: 100%;
    max-width: none;
    margin: 0;
    background: linear-gradient(120deg, #713F62, #A64D79);
    color: white;
    text-align: center;
    padding: 90px 6%;
}

.page-banner .tag {
    color: #FFDCEB;
}

.page-banner h1 {
    font-size: clamp(30px, 4vw, 45px);
    max-width: 850px;
    margin: 0 auto 15px;
    line-height: 1.3;
}

.page-banner h1 span {
    color: var(--blush);
}

.page-banner p {
    color: #FFEAF2;
    font-size: 14px;
}

/* ==========================================
   10. ABOUT PAGE
   ========================================== */

.about-box {
    width: 100%;
    max-width: 950px;
    padding: 30px;
    border: 1px solid #F0DDE7;
    border-radius: 15px;
    margin: 0 auto 20px;
    background: white;
    text-align: center;
    transition: 0.3s ease;
}

.about-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(166,77,121,0.1);
}

.about-box h2 {
    color: var(--navy);
    font-size: 23px;
    margin-bottom: 15px;
}

.about-box h3 {
    color: #6B4961;
    font-size: 18px;
    margin-bottom: 15px;
}

.about-box p {
    color: var(--gray);
    font-size: 13px;
}

.text-link {
    color: var(--rose);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.info-card {
    padding: 25px;
    background: white;
    border-radius: 12px;
    border: 1px solid #F0DDE7;
    text-align: center;
    transition: 0.3s ease;
}

.info-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(166,77,121,0.12);
}

.info-card small {
    color: var(--rose);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.info-card h3 {
    font-size: 14px;
    margin-top: 12px;
    color: var(--navy);
}

.objective-list {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.objective {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 20px;
    border-bottom: 1px solid #F0DDE7;
    text-align: left;
}

.objective > span {
    font-size: 16px;
    font-weight: 700;
    color: var(--purple);
}

.objective h3 {
    font-size: 16px;
    color: var(--navy);
}

.objective p {
    font-size: 13px;
    color: var(--gray);
}

/* ==========================================
   11. APPLY PAGE
   ========================================== */

.apply-layout {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 30px;
    align-items: start;
}

.eligibility-box {
    background: var(--plum);
    color: white;
    padding: 30px;
    border-radius: 15px;
}

.eligibility-box h2 {
    font-size: 21px;
    margin-bottom: 20px;
    color: white;
}

.eligibility-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #ffffff30;
}

.eligibility-item > span {
    color: var(--blush);
    font-size: 20px;
}

.eligibility-item small {
    color: #EACBDA;
    font-size: 11px;
}

.eligibility-item h3 {
    font-size: 14px;
    color: white;
}

.eligibility-box p,
.eligibility-box li {
    font-size: 12px;
    color: #FBEAF1;
}

.eligibility-box p {
    margin: 20px 0;
}

.eligibility-box ul {
    padding-left: 20px;
}

.eligibility-box li {
    margin: 10px 0;
}

.eligibility-box hr {
    border: 0;
    border-top: 1px solid #ffffff30;
    margin: 25px 0;
}

.application-box,
.contact-form {
    width: 100%;
    min-width: 0;
    background: white;
    padding: 30px;
    border: 1px solid #F0DDE7;
    border-radius: 15px;
    box-shadow: 0 10px 30px #A64D790D;
}

.application-box h2,
.contact-form h2 {
    font-size: 23px;
    color: var(--navy);
}

.application-box > p {
    color: var(--gray);
    font-size: 12px;
    margin-bottom: 20px;
}

/* ==========================================
   12. FORM ELEMENTS
   ========================================== */

form {
    width: 100%;
}

form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #594658;
    margin: 15px 0 7px;
}

input,
select,
textarea {
    width: 100%;
    min-width: 0;
    padding: 13px;
    border: 1px solid #EAD9E3;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    background: #FFFAFC;
    outline: none;
    transition: 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--rose);
    box-shadow: 0 0 0 4px rgba(166,77,121,0.13);
}

textarea {
    resize: vertical;
}

.consent {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400 !important;
    line-height: 1.6;
}

.consent input {
    width: auto;
    margin-top: 4px;
    accent-color: var(--rose);
}

.consent a {
    color: var(--rose);
}

.form-note {
    color: var(--gray);
    font-size: 10px;
    margin-top: 15px;
}

.success-message {
    display: none;
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
    background: #EAF6EF;
    color: #216744;
}

.success-message h3 {
    font-size: 17px;
}

.success-message p {
    font-size: 12px;
}

.success-message small {
    display: block;
    margin-top: 10px;
    font-size: 10px;
}

/* ==========================================
   13. NEXT STEPS
   ========================================== */

.steps-grid {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.step-card {
    padding: 25px;
    border-radius: 12px;
    background: white;
    border: 1px solid #F0DDE7;
    transition: 0.3s ease;
}

.step-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(166,77,121,0.12);
}

.step-card span {
    color: var(--rose);
    font-weight: 700;
    font-size: 20px;
}

.step-card h3 {
    font-size: 15px;
    margin: 10px 0;
}

.step-card p {
    font-size: 12px;
    color: var(--gray);
}

/* ==========================================
   14. CONTACT PAGE
   ========================================== */

.contact-grid {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.contact-card {
    position: relative;
    padding: 30px;
    border: 1px solid #F0DDE7;
    border-radius: 15px;
    background: white;
    text-align: center;
    transition: 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(166,77,121,0.14);
}

.contact-card h2 {
    font-size: 22px;
    color: var(--navy);
}

.contact-card p {
    color: var(--gray);
    font-size: 13px;
    margin: 8px 0;
}

.contact-card hr {
    border: 0;
    border-top: 1px solid #F0DDE7;
    margin: 20px 0;
}

.contact-card a {
    color: var(--rose);
    overflow-wrap: anywhere;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: #FCE4EF;
    color: var(--rose);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin: 0 auto 20px;
}

.contact-icon.orange {
    background: #FFF0E5;
    color: #C57C54;
}

.contact-form {
    max-width: 750px;
    margin: 0 auto;
    text-align: left;
}

/* ==========================================
   15. FOOTER
   ========================================== */

footer {
    width: 100%;
    max-width: none;
    margin: 0;
    background: var(--navy);
    color: white;
    text-align: center;
    padding: 50px 6% 20px;
}

.footer-content {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

footer h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

footer p {
    color: #EAD9E3;
    font-size: 12px;
    margin: 8px 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin: 25px 0;
}

.footer-links a {
    color: var(--blush);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--pink);
}

.copyright {
    border-top: 1px solid #ffffff30;
    padding-top: 20px;
    margin-top: 25px;
    font-size: 10px;
}

/* ==========================================
   16. ANIMATIONS
   ========================================== */

@keyframes pageEnter {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroText {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes headingReveal {
    from {
        opacity: 0;
        transform: translateY(25px);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowFloat {
    from {
        transform: translate(0, 0) scale(0.9);
    }
    to {
        transform: translate(-25px, 25px) scale(1.15);
    }
}

/* ==========================================
   17. TABLET RESPONSIVENESS
   ========================================== */

@media screen and (max-width: 900px) {

    header {
        padding: 15px 4%;
    }

    nav {
        gap: 15px;
    }

    .hero {
        min-height: auto;
        padding: 65px 5%;
    }

    .hero h1 {
        font-size: 48px;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .apply-layout {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================
   18. MOBILE RESPONSIVENESS
   ========================================== */

@media screen and (max-width: 650px) {

    header {
        width: 100%;
        min-height: auto;
        padding: 18px 5%;
        flex-direction: column;
        justify-content: center;
        gap: 12px;
    }

    .logo {
        font-size: 21px;
        text-align: center;
    }

    nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    nav a {
        font-size: 12px;
    }

    .hero {
        width: 100%;
        min-height: auto;
        padding: 50px 18px;
    }

    .hero h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-highlights {
        gap: 12px;
    }

    .hero-highlights span {
        font-size: 11px;
    }

    .section {
        width: 100%;
        padding: 45px 18px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .section-heading p {
        font-size: 13px;
    }

    .card-grid,
    .info-grid,
    .steps-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .card {
        padding: 25px 20px;
    }

    .cta-section {
        padding: 45px 18px;
    }

    .cta-section h2 {
        font-size: 27px;
    }

    .page-banner {
        padding: 55px 18px;
    }

    .page-banner h1 {
        font-size: 30px;
    }

    .about-box {
        padding: 22px;
    }

    .apply-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .application-box,
    .contact-form {
        padding: 22px 17px;
    }

    .eligibility-box {
        padding: 23px;
    }

    .contact-card {
        padding: 23px;
    }

    .objective {
        gap: 12px;
        padding: 16px 5px;
    }

    .footer-links {
        gap: 15px;
    }

    footer {
        padding: 35px 18px 20px;
    }

    footer h3 {
        font-size: 20px;
    }
}

/* ==========================================
   19. SMALL MOBILE PHONES
   ========================================== */

@media screen and (max-width: 380px) {

    .logo {
        font-size: 19px;
    }

    nav {
        gap: 10px 13px;
    }

    nav a {
        font-size: 11px;
    }

    .hero h1 {
        font-size: 29px;
    }

    .hero-label {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .section-heading h2 {
        font-size: 24px;
    }

    .card {
        padding: 20px 15px;
    }

    .btn {
        padding: 12px 18px;
        font-size: 12px;
    }
}

/* ==========================================
   20. ACCESSIBILITY
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* APPLY PAGE – ELIGIBILITY SECTION ALIGNMENT */

.eligibility-box {
    text-align: left;
}

/* Centre the section headings */
.eligibility-box h2 {
    text-align: center;
    margin-bottom: 25px;
}

/* Centre the introductory paragraph */
.eligibility-box > p {
    text-align: center;
    line-height: 1.7;
    margin-top: 20px;
}

/* Keep eligibility details neatly aligned */
.eligibility-item {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 15px;
}

/* Keep participation list readable */
.eligibility-box ul {
    text-align: left;
    padding-left: 25px;
    line-height: 1.8;
}

.eligibility-box li {
    margin-bottom: 10px;
}

/* CMRG RESPONSIVE APPLICATION FORM */

html {
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: clip;
}

header,
nav,
.apply-layout,
.application-box,
.eligibility-box {
    min-width: 0;
}

.apply-layout {
    padding-top: 60px;
    padding-bottom: 60px;
}

.eligibility-box h2 {
    text-align: center;
}

.eligibility-box > p {
    text-align: center;
    line-height: 1.8;
}

.application-box {
    text-align: left;
}

.application-box input:not([type="checkbox"]),
.application-box select,
.application-box textarea {
    display: block;
    width: 100%;
    min-height: 48px;
}

.application-box textarea {
    min-height: 130px;
}

.application-box button[type="submit"] {
    width: 100%;
    min-height: 48px;
    margin-top: 18px;
}

.application-box button:disabled {
    opacity: 0.7;
    cursor: wait;
}

.consent {
    align-items: flex-start;
}

.consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
}

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.form-status {
    display: none;
    margin-top: 16px;
    padding: 13px 15px;
    border-radius: 9px;
    font-size: 13px;
}

.form-status.error {
    display: block;
    background: #fff0f0;
    color: #9d2525;
    border: 1px solid #f0caca;
}

.success-message {
    display: none;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .apply-layout {
        grid-template-columns: 1fr;
        max-width: 720px;
    }

    .eligibility-box,
    .application-box {
        width: 100%;
    }
}

@media (max-width: 650px) {
    header {
        position: relative;
    }

    .apply-layout {
        padding: 38px 16px;
    }

    .eligibility-box {
        padding: 23px 20px;
    }

    .application-box {
        padding: 23px 18px;
    }

    .application-box input:not([type="checkbox"]),
    .application-box select,
    .application-box textarea {
        font-size: 16px;
    }

    .consent {
        font-size: 11px !important;
    }
}

@media (max-width: 380px) {
    .apply-layout {
        padding-left: 12px;
        padding-right: 12px;
    }

    .eligibility-box,
    .application-box {
        padding: 19px 15px;
    }
}
