:root {
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    --bg-base: #FCFAf6;
    --text-dark: #1C1929;
    --text-gold: #B28A4A;

    --card-quiz: linear-gradient(135deg, #471EA0, #2C1167);
    --card-details: #FFF4E5;
    --card-calendar: #EFDCFF;

    --footer-bg: #231F3B;

    --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 24px 48px rgba(35, 31, 59, 0.08);
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-base);
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

/* Background Layers for Richness */
.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.glow-peach {
    position: absolute;
    top: -10vh;
    left: -10vw;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(255, 225, 190, 0.6) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.glow-purple {
    position: absolute;
    top: 20vh;
    right: 5vw;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(230, 210, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.glow-white {
    position: absolute;
    top: 30vh;
    left: 5vw;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.glow-lantern-back {
    position: absolute;
    top: 0;
    right: 0;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(255, 175, 100, 0.25) 0%, rgba(212, 107, 185, 0.15) 30%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(178, 138, 74, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

.mosque-silhouettes {
    position: absolute;
    top: 30vh;
    right: 0;
    width: 50vw;
    height: 30vw;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 900 600" xmlns="http://www.w3.org/2000/svg"><path d="M700 600 L700 350 L720 350 L720 320 Q750 250 750 200 Q750 250 780 320 L780 350 L800 350 L800 600 Z M500 600 L500 250 L530 250 L530 200 Q570 100 570 30 Q570 100 610 200 L610 250 L640 250 L640 600 Z M300 600 L300 350 L320 350 L320 320 Q350 250 350 200 Q350 250 380 320 L380 350 L400 350 L400 600 Z" fill="%23dfd0be" opacity="0.1"/></svg>');
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: contain;
}

/* ==========================================================================
   DESKTOP VIEW (EXACTLY 100VH) - THIS IS THE CRITICAL SPEC
   ========================================================================== */
@media (min-width: 993px) {
    body {
        height: 100vh;
        overflow: hidden;
        /* Force absolutely no scrolling */
        display: flex;
        flex-direction: column;
    }

    /* Structural allocations */
    .header {
        height: 12vh;
        padding: 0;
        display: flex;
        align-items: center;
        position: relative;
        z-index: 100;
    }

    main {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .hero {
        height: 44vh;
        padding: 0;
        display: flex;
        align-items: center;
        position: relative;
        z-index: 10;
    }

    .feature-cards {
        height: 30vh;
        padding: 0;
        display: flex;
        align-items: center;
        position: relative;
        z-index: 20;
    }

    .footer {
        height: 9vh;
        background-color: var(--footer-bg);
        border-top: 0.5vh solid var(--text-gold);
        display: flex;
        align-items: center;
        color: white;
    }

    /* Component Scaling */

    /* Header */
    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo img {
        height: 13vh;
        object-fit: contain;
    }

    .desktop-nav ul {
        display: flex;
        gap: 3vw;
        list-style: none;
    }

    .desktop-nav a {
        font-family: var(--font-secondary);
        font-size: 1.8vh;
        font-weight: 500;
        color: var(--text-dark);
        position: relative;
    }

    .desktop-nav a.active::after {
        content: '';
        position: absolute;
        bottom: -0.8vh;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--text-gold);
    }

    .notification-btn {
        width: 4.5vh;
        height: 4.5vh;
        border-radius: 50%;
        background: white;
        border: none;
        box-shadow: var(--shadow-soft);
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        cursor: pointer;
    }

    .notification-btn svg {
        height: 2.2vh;
        width: 2.2vh;
    }

    .notification-dot {
        position: absolute;
        top: 1vh;
        right: 1vh;
        width: 0.6vh;
        height: 0.6vh;
        background-color: #ff5252;
        border-radius: 50%;
        border: 0.2vh solid white;
    }

    /* Hero */
    .hero-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 100%;
    }

    .hero-left {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        padding-left: clamp(72px, 8vw, 122px);
    }

    .title-wrapper {
        display: flex;
        align-items: center;
        gap: 1.2vw;
        margin-bottom: 2.2vh;
    }

    .hero-title {
        font-size: 6vh;
        line-height: 1.05;
        font-weight: 700;
        letter-spacing: -0.1vh;
    }

    .hero-title span {
        display: block;
    }

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

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

    .vertical-date {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1vh;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        transform: rotate(180deg);
    }

    .date-text {
        font-family: var(--font-primary);
        font-size: 1.5vh;
        font-weight: 500;
        color: var(--text-gold);
    }

    .cross-icon {
        transform: rotate(90deg);
        width: 1.6vh;
        height: 1.6vh;
    }

    .categories {
        font-family: var(--font-secondary);
        font-size: 1.35vh;
        font-weight: 500;
        color: var(--text-dark);
        line-height: 1.9;
        margin-bottom: 2.1vh;
    }

    .event-logos {
        margin-bottom: -10vh;
    }

    .event-logos img {
        height: 10vh;
        width: auto;
        display: block;
    }

    .sabic-text {
        font-family: var(--font-secondary);
        font-size: 1.55vh;
        margin-bottom: 6vh;
        color: var(--text-dark);
        line-height: 1.4;
    }

    .hero-right {
        position: relative;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50%;
    }

    .lantern-wrapper {
        height: 100%;
        display: flex;
        align-items: center;
        animation: floatLantern 8s ease-in-out infinite;
    }

    .lantern {
        height: 70vh;
        width: auto;
        filter: drop-shadow(0 3vh 4vh rgba(178, 138, 74, 0.3));
        transform: translate(-1vw, -15vh);
    }

    /* Cards */
    .cards-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5vw;
        width: 100%;
        margin: 0 auto;
        padding-left: calc(40px + clamp(72px, 8vw, 122px));
        padding-right: calc(40px + clamp(72px, 8vw, 122px));
        height: 20vh;
    }

    .card {
        height: 100%;
        border-radius: 2vh;
        padding: 2.5vh 2vw;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        box-shadow: var(--shadow-card);
        transition: transform 0.4s ease;
    }

    .card:hover {
        transform: translateY(-1vh);
    }

    .card-purple {
        background: var(--card-quiz);
        color: white;
    }

    .card-cream {
        background: var(--card-details);
        color: var(--text-dark);
    }

    .card-lavender {
        background: var(--card-calendar);
        color: var(--text-dark);
    }

    .card-content {
        max-width: 62%;
        height: 100%;
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 2;
    }

    .card h2 {
        font-size: 1.7vh;
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: 0.02vh;
        margin-bottom: 1.5vh;
        text-transform: uppercase;
    }

    .card p {
        font-family: var(--font-secondary);
        font-size: 1.25vh;
        line-height: 1.45;
        margin-bottom: 0;
        opacity: 0.85;
    }

    .btn {
        margin-top: auto;
        display: inline-flex;
        align-items: center;
        gap: 0.8vh;
        padding: 0.8vh 1vw 0.8vh 1.4vw;
        border-radius: 4vh;
        font-family: var(--font-secondary);
        font-size: 1.2vh;
        font-weight: 600;
        letter-spacing: 0.02vh;
        width: max-content;
    }

    .btn-icon {
        width: 2vh;
        height: 2vh;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-icon svg {
        width: 1.1vh;
        height: 1.1vh;
        stroke-width: 2.5;
    }

    .btn-white-purple {
        background: white;
        color: #471EA0;
    }

    .btn-white-purple .btn-icon {
        background: #471EA0;
        color: white;
    }

    .btn-white-gold {
        background: white;
        color: #B28A4A;
        border: 1px solid rgba(178, 138, 74, 0.2);
    }

    .btn-white-gold .btn-icon {
        background: #B28A4A;
        color: white;
    }

    .btn-purple-white {
        background: #471EA0;
        color: white;
    }

    .btn-purple-white .btn-icon {
        background: white;
        color: #471EA0;
    }

    .card-image {
        position: absolute;
        z-index: 1;
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
    }

    .quiz-image {
        height: 18vh;
        right: 0.5vw;
        bottom: 1vh;
    }

    .details-image {
        height: 18vh;
        right: 1vw;
        top: 50%;
        transform: translateY(-50%);
        bottom: auto;
    }

    .calendar-image {
        height: 18vh;
        right: 0.5vw;
        bottom: 1vh;
    }

    .card-image img {
        height: 100%;
        width: auto;
        object-fit: contain;
    }

    /* Footer */
    .footer-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .footer-brand {
        display: flex;
        align-items: center;
        gap: 1.5vw;
    }

    .footer-brand img {
        height: 7vh;
    }

    .footer-divider {
        width: 1px;
        height: 4vh;
        background-color: rgba(255, 255, 255, 0.15);
    }

    .footer-assoc {
        font-family: var(--font-secondary);
        font-size: 1.5vh;
        line-height: 1.4;
        color: rgba(255, 255, 255, 0.8);
    }

    .footer-copy {
        font-family: var(--font-secondary);
        font-size: 1.5vh;
        color: rgba(255, 255, 255, 0.6);
    }

    .footer-socials {
        display: flex;
        gap: 1vw;
    }

    .social-icon {
        width: 4.5vh;
        height: 4.5vh;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }

    .social-icon svg {
        width: 2vh;
        height: 2vh;
    }
}

@keyframes floatLantern {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-1.5vh) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* ==========================================================================
   TABLET & MOBILE VIEW (NON-RESTRICTED SCROLLING)
   ========================================================================== */
@media (max-width: 992px) {
    .cards-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .card {
        min-height: auto;
        padding: 30px;
        flex-direction: row;
        align-items: center;
        border-radius: 20px;
    }

    .card-content {
        max-width: 50%;
        margin-bottom: 0;
    }

    .card-image {
        position: relative;
        width: 40% !important;
        right: 0;
        bottom: 0;
        display: flex;
        justify-content: center;
    }

    .hero-container {
        flex-direction: column;
    }

    .hero-right {
        position: relative;
        width: 100%;
        top: 0;
        right: 0;
        margin-top: 30px;
        display: flex;
        justify-content: center;
    }

    .lantern {
        max-width: 400px;
        width: 100%;
        height: auto;
    }

    .footer {
        padding: 30px 0;
        background-color: var(--footer-bg);
        border-top: 4px solid var(--text-gold);
        color: white;
    }

    .footer-container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
        gap: 12px;
    }

    .footer-divider {
        width: 60px;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.15);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .desktop-nav {
        display: none;
    }

    .header {
        padding: 30px 0 20px;
    }

    .logo img {
        height: 60px;
        object-fit: contain;
    }

    .notification-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: white;
        border: none;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .notification-btn svg {
        width: 24px;
        height: 24px;
    }

    .notification-dot {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 8px;
        height: 8px;
    }

    .hero {
        padding: 10px 0 60px;
        overflow: hidden;
        position: relative;
    }

    .title-wrapper {
        display: flex;
        gap: 12px;
        margin-bottom: 20px;
        align-items: center;
    }

    .hero-title {
        font-size: 46px;
        line-height: 1.05;
        font-weight: 700;
        letter-spacing: -1px;
    }

    .hero-title span {
        display: block;
    }

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

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

    .vertical-date {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        transform: rotate(180deg);
        margin-top: 10px;
    }

    .date-text {
        font-family: var(--font-primary);
        font-size: 14px;
        font-weight: 500;
        color: var(--text-gold);
    }

    .cross-icon {
        transform: rotate(90deg);
        width: 16px;
        height: 16px;
    }

    .hero-container {
        position: relative;
    }

    .hero-right {
        display: none !important;
    }

    .lantern {
        width: 100%;
        height: auto;
        filter: drop-shadow(0 20px 30px rgba(178, 138, 74, 0.4));
    }

    .hero-left {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 100%;
    }

    .categories {
        padding-right: 0;
        line-height: 2.2;
        font-size: 11px;
        font-weight: 600;
        margin-bottom: 24px;
        width: 100%;
        text-align: left;
    }

    .event-logos {
        margin-bottom: 24px;
        text-align: center;
        width: 100%;
    }

    .event-logos img {
        max-width: 100%;
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .sabic-text {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 40px;
        text-align: left;
    }

    .feature-cards {
        padding: 0 0 60px;
        position: relative;
        z-index: 20;
    }

    .cards-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .card {
        display: flex;
        flex-direction: column;
        padding: 24px 16px;
        min-height: 300px;
        border-radius: 20px;
        align-items: flex-start;
        position: relative;
        overflow: hidden;
    }

    .card-purple {
        background: var(--card-quiz);
        color: white;
    }

    .card-cream {
        background: var(--card-details);
        color: var(--text-dark);
    }

    .card-lavender {
        background: var(--card-calendar);
        color: var(--text-dark);
        grid-column: span 2;
        min-height: 240px;
    }

    .card-content {
        max-width: 100%;
        margin-bottom: 0;
        z-index: 2;
        display: flex;
        flex-direction: column;
        height: 100%;
        flex: 1;
    }

    .card-lavender .card-content {
        max-width: 60%;
    }

    .card h2 {
        font-size: 16px;
        font-weight: 800;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .card-lavender h2 {
        font-size: 22px;
    }

    .card p {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 20px;
        opacity: 0.9;
    }

    .card-lavender p {
        font-size: 14px;
    }

    .btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        border-radius: 30px;
        font-size: 11px;
        font-weight: 600;
        margin-top: auto;
        width: max-content;
    }

    .card-lavender .btn {
        padding: 10px 20px;
        font-size: 14px;
        gap: 12px;
    }

    .btn-icon {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .card-lavender .btn-icon {
        width: 22px;
        height: 22px;
    }
    
    .btn-icon svg {
        width: 10px;
        height: 10px;
    }

    .card-lavender .btn-icon svg {
        width: 12px;
        height: 12px;
    }

    .btn-white-purple {
        background: white;
        color: #471EA0;
    }

    .btn-white-purple .btn-icon {
        background: #471EA0;
        color: white;
    }

    .btn-white-gold {
        background: white;
        color: #B28A4A;
        border: 1px solid rgba(178, 138, 74, 0.2);
    }

    .btn-white-gold .btn-icon {
        background: #B28A4A;
        color: white;
    }

    .btn-purple-white {
        background: #471EA0;
        color: white;
    }

    .btn-purple-white .btn-icon {
        background: white;
        color: #471EA0;
    }

    .card-image {
        position: absolute;
        display: block;
        z-index: 1;
        opacity: 1;
    }

    .quiz-image {
        width: 160px !important;
        right: -10px !important;
        bottom: -10px !important;
    }

    .details-image {
        width: 130px !important;
        right: -10px !important;
        bottom: -10px !important;
    }

    .calendar-image {
        width: 280px !important;
        right: -10px !important;
        bottom: -20px !important;
    }

    .card-image img {
        width: 100%;
        height: auto;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

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

    .footer-socials {
        display: flex;
        justify-content: center;
        gap: 16px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 38px;
    }

    .hero-right {
        display: none !important;
    }

    .card {
        min-height: 280px;
        padding: 20px 12px;
    }

    .card-lavender {
        min-height: 220px;
        padding: 24px 16px;
    }

    .quiz-image {
        width: 140px !important;
        right: -10px !important;
    }

    .details-image {
        width: 110px !important;
        right: -10px !important;
    }

    .calendar-image {
        width: 220px !important;
        right: -10px !important;
    }
}

/* ==========================================================================
   QUIZ REGISTRATION PAGE
   ========================================================================== */

.quiz-reg-page main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 4vh 0;
}

.quiz-reg-wrapper {
    display: flex;
    gap: 4vw;
    align-items: center;
    width: 100%;
}

.quiz-reg-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: clamp(40px, 5vw, 80px);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4vh;
    font-weight: 600;
    color: var(--text-gold);
    margin-bottom: 2vh;
}

.back-link svg {
    width: 1.6vh;
    height: 1.6vh;
}

.quiz-badge {
    background: #FFF4E5;
    color: var(--text-gold);
    font-size: 1.2vh;
    font-weight: 700;
    padding: 0.6vh 1.2vh;
    border-radius: 2vh;
    display: inline-block;
    width: max-content;
    margin-bottom: 1.5vh;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quiz-reg-title {
    font-size: 5vh;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5vh;
}

.quiz-reg-title span {
    display: block;
}

.quiz-reg-desc {
    font-family: var(--font-secondary);
    font-size: 1.5vh;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 3vh;
    opacity: 0.8;
}

.quiz-info-card {
    background: white;
    border-radius: 1.5vh;
    padding: 2.5vh;
    box-shadow: var(--shadow-soft);
    margin-bottom: 2vh;
    margin-top: 2vh;
    border-left: 4px solid var(--text-gold);
    max-width: 400px;
}

.quiz-info-card h4 {
    font-size: 1.2vh;
    color: var(--text-dark);
    margin-bottom: 0.5vh;
    opacity: 0.6;
    text-transform: uppercase;
    font-weight: 600;
}

.quiz-info-card p {
    font-size: 1.6vh;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5vh;
}

.quiz-info-card p:last-child {
    margin-bottom: 0;
}

.quiz-footer-note {
    font-family: var(--font-secondary);
    font-size: 1.3vh;
    color: var(--text-dark);
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 1vh;
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5vh;
    border-radius: 1vh;
    max-width: 400px;
}

.quiz-reg-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding-right: clamp(40px, 5vw, 80px);
}

.registration-card {
    background: white;
    border-radius: 2.5vh;
    padding: 4vh;
    box-shadow: var(--shadow-card);
    width: 100%;
    max-width: 500px;
    position: relative;
    z-index: 10;
}

.reg-header {
    text-align: center;
    margin-bottom: 3vh;
}

.reg-icon {
    width: 6vh;
    height: 6vh;
    background: #F2F0F9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5vh;
    color: #471EA0;
}

.reg-icon svg {
    width: 3vh;
    height: 3vh;
}

.reg-header h2 {
    font-size: 3vh;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5vh;
}

.reg-header p {
    font-family: var(--font-secondary);
    font-size: 1.4vh;
    color: var(--text-dark);
    opacity: 0.6;
}

.required-note {
    color: #D32F2F;
    font-size: 1.2vh;
    font-weight: 500;
    text-align: center;
    margin-top: 1vh;
}

.form-group {
    margin-bottom: 2vh;
}

.form-row {
    display: flex;
    gap: 1.5vw;
}

.form-row .form-group {
    flex: 1;
}

.form-label {
    display: block;
    font-size: 1.3vh;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8vh;
}

.form-label span {
    color: #D32F2F;
}

.form-control {
    width: 100%;
    padding: 1.2vh 1.5vh;
    border: 1px solid #E0E0E0;
    border-radius: 1vh;
    font-family: var(--font-secondary);
    font-size: 1.4vh;
    color: var(--text-dark);
    background-color: white;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #471EA0;
    box-shadow: 0 0 0 3px rgba(71, 30, 160, 0.1);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1.5vh;
    top: 50%;
    transform: translateY(-50%);
    color: #9E9E9E;
    width: 2vh;
    height: 2vh;
    pointer-events: none;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239E9E9E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.5vh center;
    background-size: 1.5vh;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #471EA0, #6C35DE);
    color: white;
    border: none;
    padding: 1.5vh;
    border-radius: 1vh;
    font-family: var(--font-primary);
    font-size: 1.6vh;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1vh;
    margin-top: 1vh;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(71, 30, 160, 0.2);
}

.btn-submit svg {
    width: 2vh;
    height: 2vh;
}

.secure-note {
    text-align: center;
    font-size: 1.2vh;
    color: #9E9E9E;
    margin-top: 2vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5vh;
}

/* Tablet & Mobile tweaks for Registration */
@media (max-width: 992px) {
    .quiz-reg-page main {
        min-height: auto;
    }

    .quiz-reg-wrapper {
        flex-direction: column;
        padding: 40px 20px;
    }

    .quiz-reg-left,
    .quiz-reg-right {
        padding: 0;
        width: 100%;
    }

    .quiz-reg-right {
        margin-top: 40px;
        justify-content: center;
        display: flex;
    }

    .quiz-reg-title {
        font-size: 32px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .quiz-info-card,
    .quiz-footer-note {
        max-width: 100%;
    }

    .registration-card {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   QUIZ PAGE REDESIGN ELEMENTS
   ========================================================================== */

/* Overriding strict scrolling for Quiz Page */
body.quiz-reg-page {
    height: auto !important;
    overflow-y: auto !important;
}

/* Language Toggle */
.lang-toggle-wrapper {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    padding: 4px;
    margin-bottom: 2vh;
    box-shadow: var(--shadow-soft);
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: var(--font-primary);
    font-size: 1.3vh;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active-lang {
    background: white;
    color: #471EA0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Info Grid */
.quiz-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5vh;
    margin-top: 3vh;
}

.info-block {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.5vh;
    padding: 1.5vh;
    display: flex;
    align-items: flex-start;
    gap: 1vh;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}

.info-block:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.8);
}

.info-block.full-width {
    grid-column: span 2;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5vh;
    height: 3.5vh;
    background: white;
    border-radius: 50%;
    color: #B28A4A;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(178, 138, 74, 0.15);
}

.info-icon svg {
    width: 1.6vh;
    height: 1.6vh;
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 1.1vh;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2vh;
}

.info-value {
    font-size: 1.4vh;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

/* Hide Malayalam by default */
.lang-content {
    display: none;
}
.lang-content.active {
    display: block;
}

@media (max-width: 768px) {
    .quiz-details-grid {
        grid-template-columns: 1fr;
    }
    .info-block.full-width {
        grid-column: span 1;
    }
    .lang-toggle-wrapper {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .lang-btn {
        font-size: 14px;
        padding: 8px 20px;
    }
    .info-icon {
        width: 36px;
        height: 36px;
    }
    .info-icon svg {
        width: 18px;
        height: 18px;
    }
    .info-label {
        font-size: 11px;
    }
    .info-value {
        font-size: 14px;
    }
}