@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    font-family: "Poppins", sans-serif;
    line-height: 1.25;
    font-style: normal;
    --prime: #4F0B70;
    --accent: #FBC49C;
    --text: #1F1F1F;
    scroll-behavior: smooth;
    --base-font-size: clamp(.5rem, calc(.6rem + .4vw), 1rem);
    font-size: var(--base-font-size);
    --lgr: linear-gradient(90deg, #4F0B70 0%, #2E55A5 100%);
    --lgr1: linear-gradient(95.35deg, #2E55A5 -18.04%, #4F0B70 219.44%)
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:where(*:not(.bg-prime *)) {
    color: var(--text);
}

.bg-prime {
    background: var(--prime);
    color: #fff;
}

.text-white,
.bg-prime * {
    color: #fff;
}

.text-prime {
    color: var(--prime);
}

.bg-light {
    background: var(--accent);
}


/* typography */
.h1,
h1 {
    font-size: calc(var(--base-font-size)*3.2);
}

.h2 {
    font-size: calc(var(--base-font-size)*4.6);
}

.h3 {
    font-size: calc(var(--base-font-size)*2.2);
}

.h4 {
    font-size: calc(var(--base-font-size)*1.8);
}

.h5 {
    font-size: calc(var(--base-font-size)*1.4);
}

.text-grad,
h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span {
    background: var(--lgr);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
}


img {
    width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    font-size: inherit var(--base-font-size);
    cursor: pointer;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

li,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-bottom: clamp(.5rem, calc(.4rem + .5vw), 1rem);
    font-weight: 400;
}

li,
p {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 300;
}

b,
strong {
    font-weight: 500;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.uppercase {
    text-transform: uppercase;
}

.block {
    display: block;
}

.content-center-y {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container {
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: clamp(1rem, calc(1rem + 2.5vw), 3rem);
}

section>.container {
    padding-block: clamp(2rem, calc(1.5rem + 2.5vw), 3rem);
}


.btn {
    background: var(--lgr1);
    border-radius: 60px;
    padding: 1rem 2rem;
    margin-block: calc(var(--base-font-size)*.5);
    color: #fff;
    display: inline-block;

    &:hover {
        background: var(--lgr);
    }
}


.btn-gray {
    background: #00000026;
    color: #000;
    padding: 15px 28px;
    border-radius: 40px;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;

    &:hover {
        color: var(--prime);
    }
}

.text-center {
    text-align: center
}

.mb-0 {
    margin-bottom: 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transition: all .3s ease-in-out;
}

header nav a {
    width: fit-content;
    display: block;
    margin: auto;

    img {
        height: 70px;
        width: auto;
        filter: brightness(0) invert(1);
        transition: all .3s ease-in-out;
    }
}


header:not(.bg-prime) {
    top: 30px;
    background: transparent;
    transition: all .3s ease-in-out;

    & nav a img {
        filter: brightness(1) invert(0);
        height: calc(var(--base-font-size)*8);
        transition: all .3s ease-in-out;
    }
}

.latest-update {
    background: var(--lgr1);

    .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-block: 8px !important;

        * {
            margin-bottom: 0;
            color: #fff;
        }

        a {
            font-weight: 500;
            text-decoration: underline;
            color: #fff;
        }
    }
}


/* footer */

footer {
    padding-top: calc(var(--base-font-size)*2);
    background: url('../images/footerbg.webp') center center / cover no-repeat;

    * {
        color: #fff;
        font-size: 14px !important;
        font-weight: 300 !important;
    }

    .logo {
        display: block;
        margin-inline: auto;
        width: auto;
        max-width: 100%;
        height: 140px;
/*         filter: brightness(0) invert(1); */
    }
/* 
    .contact {
        display: flex;
        justify-content: center;
        gap: calc(var(--base-font-size)*2);
        align-items: center;
        flex-wrap: wrap;
        padding-block: 1.7rem 1.5rem;
        margin-block: 1.3rem 1rem;
        border-block: 1px solid #4b4b4b;

        .item {
            display: flex;
            align-items: center;
            gap: 10px;

            img {
                height: 20px;
                width: 20px;
                object-fit: contain;
                border-radius: 50%;
            }
        }
    } */

    p {
        margin-bottom: 0;
        padding-block: 1rem;
    }
}

.socialmedia {
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;

    a {
        border-radius: 50%;
        background-color: #fff;
        height: 24px;
        width: 24px;
        display: grid;
        place-items: center;
        padding: 4px;

        img {
            object-fit: contain;
        }
    }

}

.formcard {
    background: #fff;
    border-radius: 2rem;
    padding: calc(var(--base-font-size)*3) calc(var(--base-font-size)*2);
    max-width: 660px;
    margin: auto;

    h3 {
        margin-bottom: calc(var(--base-font-size)*2);
    }

    .contact {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: calc(var(--base-font-size)*2);

        .item {
            display: flex;
            align-items: center;
            gap: .9rem;

            img {
                width: 55px;
            }

            p {
                margin-bottom: 0;
            }
        }
    }

    input {
        background: #EFEFEF;
        font-family: inherit;
        border: 0;
        border-radius: 8px;
        padding: 15px;
        font-weight: 400;
        font-size: 14px;
        width: 100%;
    }

    input[type=submit] {
        background: var(--lgr);
        border: 0;
        padding: 12px 50px 13px;
        display: block;
        color: #FFFFFF;
        -webkit-appearance: none;
        cursor: pointer;
        border-radius: 50px;
        width: 100%;
        margin-top: 8px;
    }

    input[type="checkbox"][name="accept-terms"] {
        display: none;
    }

    input[type="checkbox"][name="accept-terms"]+.item-label {
        position: relative;
        padding-left: 30px;
        cursor: pointer;
        font-size: 14px;
    }

    .wpcf7-list-item {
        margin-left: 0;
    }

    input[type="checkbox"][name="accept-terms"]+.item-label::before {
        content: "";
        position: absolute;
        left: 0;
        top: 1px;
        width: 18px;
        height: 18px;
        border: 1px solid #000000;
        border-radius: 10px;
        background: transparent;
        transition: 0.3s;
    }

    input[type="checkbox"][name="accept-terms"]:checked+.item-label::after {
        content: "\2714";
        position: absolute;
        left: 4px;
        top: 0px;
        font-size: 14px;
        color: var(--prime);
    }


    .wpcf7-response-output {
        border-radius: 20px;
        margin: .5rem auto 2rem !important;
        background: var(--lgr);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        width: fit-content;
    }

    .custom-form .btn {
        width: 100%;
        margin-top: 10px;
        padding: 12px;
        border-radius: 50px;
    }

    #form-message {
        font-size: 14px;
        min-height: 20px;
    }
}


/* Animations - Effective if user has no preferance for reduced motion */
@media (prefers-reduced-motion: no-preference) {
    .animate-this {
        opacity: 0;
        transform: translateY(50px);
    }

    .animate-this.animated {
        animation: fade-in 0.8s ease-in-out forwards;
    }

    @keyframes fade-in {
        to {
            opacity: 1;
            transform: translateY(0px);
        }
    }
}

@media (max-width: 992px) {}

@media (max-width: 600px) {

    header {
        .logo {
            height: 60px;
        }
    }

    footer {
        padding-block: .7rem;

        .contact {
            flex-direction: column;
            gap: 1rem;
            align-items: start;
        }

        hr {
            margin-block: .7rem;
        }
    }
}

/* Quiz & Contest Styles */

.quiz-dialog {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--lgr);
    overflow-y: auto;
}

.quiz-dialog::backdrop {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.quiz-modal-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 30px 15px;
}

.quiz-content-container {
    width: 100%;
    max-width: 600px;
    color: #fff;
}

.quiz-input-group {
    display: flex;
    align-items: center;
    background: #f4f4f4;
    border-radius: 8px;
    padding: 0 15px;
    border: 1px solid #ddd;
    margin-bottom: 1.5rem;
}

.quiz-input-group span {
    font-weight: 600;
    color: #555;
    margin-right: 8px;
}

.quiz-input-group input {
    background: transparent;
    border: 0 !important;
    padding: 12px 0 !important;
    width: 100% !important;
    box-shadow: none !important;
    outline: none !important;
}

.quiz-form-control {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    outline: none;
}

.quiz-btn-primary {
    background: var(--lgr);
    border: 0;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    color: #fff !important;
    padding: 1rem;
    width: 100%;
    cursor: pointer;
    transition: transform 0.2s;
    text-align: center;
}

.quiz-btn-primary:active {
    transform: scale(0.98);
}

.quiz-btn-white {
    background: #fff;
    border: 0;
    border-radius: 40px;
    font-weight: 800;
    color: var(--prime) !important;
    padding: .7rem;
    width: 100%;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: block;
}

.quiz-otp-input {
    font-size: 28px;
    letter-spacing: 8px;
    font-weight: 800;
    padding: 15px;
    border-radius: 12px;
    border: 0;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff;
    width: 100%;
    text-align: center;
    outline: none;
}

.quiz-otp-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.quiz-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
}

.quiz-options-grid {
    display: grid;
    gap: 1rem;
}

.quiz-option-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    text-align: left;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    width: 100%;
}

.quiz-option-btn:hover {
    background: #fff;
    color: var(--prime);
    transform: translateY(-2px);
}

.quiz-option-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.quiz-score-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.quiz-score-val {
    font-weight: 900;
    display: block;
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.d-none {
    display: none;
}

.quiz-dialog :not(button):not(a) {
    color: #fff !important;
}

.quiz-dialog .quiz-btn-white,
.quiz-dialog .btn {
    color: var(--prime) !important;
}

.quiz-dialog .btn:hover,
.quiz-dialog .quiz-btn-white:hover,
.quiz-dialog .quiz-option-btn:hover {
    color: var(--prime) !important;
    background: #fff !important;
}

.quiz-title {
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
}

.quiz-desc {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.quiz-otp-wrap {
    margin-bottom: 2rem;
}

.quiz-result-icon {
    font-size: 80px;
    margin-bottom: 1.5rem;
}

.quiz-score-label {
    display: block;
    opacity: 0.8;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.quiz-msg {
    opacity: 0.9;
    margin-bottom: 3rem;
}

.quiz-question-text {
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 30px;
}

.quiz-instructions-list {
    text-align: left;
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.instr-item {
    margin-bottom: 1.2rem;
}

.instr-item:last-child {
    margin-bottom: 0;
}

.instr-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--accent) !important;
    margin-bottom: 4px;
}

.instr-item p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 0;
    line-height: 1.4;
}

/* ── Terms & Conditions rich-text formatting ─────────────────────────────── */

.quiz-terms-text {
    color: #fff;
}

.quiz-terms-text ul,
.quiz-terms-text ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.quiz-terms-text ul {
    list-style: disc !important;
}

.quiz-terms-text ol {
    list-style: decimal !important;
}

.quiz-terms-text ul ul,
.quiz-terms-text ol ul {
    list-style: circle !important;
    margin-bottom: 0;
}

.quiz-terms-text ul ol,
.quiz-terms-text ol ol {
    list-style: lower-alpha !important;
    margin-bottom: 0;
}

.quiz-terms-text li {
    display: list-item !important;
    list-style: inherit !important;
    margin-bottom: .35rem;
    font-size: 15px;
    line-height: 1.55;
    color: #fff !important;
}

.quiz-terms-text p {
    margin-bottom: .75rem;
    font-size: 15px;
    line-height: 1.55;
    color: #fff !important;
}

.quiz-terms-text h1,
.quiz-terms-text h2,
.quiz-terms-text h3,
.quiz-terms-text h4,
.quiz-terms-text h5,
.quiz-terms-text h6 {
    font-weight: 700;
    margin-top: 1.25rem;
    margin-bottom: .5rem;
    color: #fff !important;
    font-size: 20px;
    letter-spacing: 0;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #fff !important;
}

.quiz-terms-text strong,
.quiz-terms-text b {
    font-weight: 700;
    color: #fff !important;
}

.quiz-terms-text em,
.quiz-terms-text i {
    font-style: italic;
}

.quiz-terms-text a {
    color: #ffd700 !important;
    text-decoration: underline;
}

/* ──────────────────────────────────────────────────────────────────────────── */

body.maintenance #quiz-entry-point,
body.maintenance #quiz-modal {
    display: none !important;
}

@media (max-width:768px) {
    .latest-update {
        .container {
            flex-direction: column-reverse;
            justify-content: center;
            text-align: center;
            gap: 1rem;
        }
    }
}


@media (max-width:476px) {
	
	footer{
		.logo{
        height: 120px;
		}
	}

    li,
    p {
        font-size: 14px;
    }

    .formcard {
        .contact {
            .item {
                gap: .7rem;

                img {
                    width: 45px;
                }

                p {
                    font-size: 14px;

                    a {
                        font-size: 12px;
                    }
                }
            }
        }
    }
}