/* =========================================================
   PUBLIC SPEAKING PROGRAMME
   MASTER STYLESHEET
   ========================================================= */


/* =========================================================
   01 — FONTS
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+Bengali:wght@400;500;600;700&display=swap');


/* =========================================================
   02 — DESIGN SYSTEM
   ========================================================= */

:root {

    /* Brand */
    --primary: #00d9ff;
    --primary-dark: #00a9bf;
    --primary-light: #e7fbff;

    /* Text */
    --black: #11181c;
    --text: #1b252a;
    --muted: #69767c;

    /* Background */
    --white: #ffffff;
    --off-white: #f7fafb;

    /* Borders */
    --border: #e4eaed;
    --border-dark: #cfd8dc;

    /* States */
    --success: #16805f;
    --danger: #b42318;

    /* Shadows */
    --shadow-sm:
        0 6px 20px rgba(17, 24, 28, 0.05);

    --shadow-md:
        0 14px 40px rgba(17, 24, 28, 0.08);

    --shadow-lg:
        0 24px 65px rgba(17, 24, 28, 0.12);

    /* Radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 30px;

    /* Layout */
    --max-width: 1120px;

    /* Motion */
    --transition: 180ms ease;
}


/* =========================================================
   03 — RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: var(--white);
    color: var(--text);

    font-family:
        "Inter",
        "Noto Sans Bengali",
        sans-serif;

    font-size: 16px;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--black);
    line-height: 1.15;
}

::selection {
    background: var(--primary-light);
    color: var(--black);
}


/* =========================================================
   04 — GENERAL LAYOUT
   ========================================================= */

.container {
    width: min(var(--max-width),
            calc(100% - 32px));

    margin-inline: auto;
}

.section {
    padding: 64px 0;
}

.section-small {
    padding: 40px 0;
}

.bn {
    font-family:
        "Noto Sans Bengali",
        "Inter",
        sans-serif;
}


/* =========================================================
   05 — FLOATING NAVIGATION
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    padding: 14px 0 10px;

    background: rgba(255, 255, 255, 0.88);

    border: none;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}


/* Navigation card */

.nav {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    padding: 6px 10px 6px 8px;

    background:
        rgba(255, 255, 255, 0.96);

    border:
        1px solid rgba(228, 234, 237, 0.95);

    border-radius: 100px;

    box-shadow:
        0 14px 35px rgba(17, 24, 28, 0.08),
        0 4px 10px rgba(17, 24, 28, 0.04);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}


/* Brand */

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

    min-width: 0;

    flex: 1;
}

/* KCYF logo */

.brand>img:first-child {
    width: 52px;
    height: 52px;

    flex: 0 0 52px;

    padding: 7px;

    object-fit: contain;

    border-radius: 50%;

    background: var(--white);

    border:
        1px solid rgba(228, 234, 237, 0.95);

    box-shadow:
        0 8px 20px rgba(17, 24, 28, 0.08),
        0 2px 6px rgba(17, 24, 28, 0.04);

    position: relative;

    z-index: 2;
}


/* All brand images */

.brand img {
    width: auto;
}


/* Divider */

.brand .divider {
    width: 1px;
    height: 26px;

    flex: 0 0 1px;

    background: var(--border);
}


/* Event text logo */

.brand .event-logo {
    height: 65px;
    width: auto;
    max-width: 320px;

    flex-shrink: 0;
}

/* Navigation button */

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 0 18px;

    border:
        1px solid var(--border);

    border-radius: 999px;

    background: var(--white);

    color: var(--black);

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.nav-link:hover {
    background: var(--black);

    color: var(--white);

    border-color: var(--black);

    transform: translateY(-1px);
}


/* =========================================================
   06 — BUTTONS
   ========================================================= */

.btn {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 18px;

    border:
        1px solid transparent;

    border-radius: 14px;

    font-size: 14px;
    font-weight: 800;

    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.btn-primary {
    background: var(--primary);

    color: var(--black);

    box-shadow:
        0 8px 20px rgba(0, 217, 255, 0.18);
}

.btn-primary:hover {
    background: var(--black);

    color: var(--white);

    transform: translateY(-2px);

    box-shadow:
        0 12px 26px rgba(17, 24, 28, 0.16);
}

.btn-secondary {
    background: var(--white);

    color: var(--black);

    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--off-white);

    border-color: var(--border-dark);

    transform: translateY(-1px);
}

.btn-gmail {
    background: rgb(224, 3, 3);
    color: var(--white);
}

.btn-gmail:hover {
    background: rgb(0, 0, 0);
    color: var(--off-white);
}


/* =========================================================
   07 — HERO
   ========================================================= */

.hero {
    padding: 34px 0 50px;
}


/*
   IMPORTANT:
   This is an OPEN hero.
   No card.
*/

.hero-open {
    position: relative;

    padding: 24px 0 30px;

    background: transparent;

    border: none;

    border-radius: 0;

    box-shadow: none;
}


.hero-grid {
    display: grid;

    gap: 34px;

    align-items: center;
}


/* Hero text */

.hero-content {
    position: relative;

    z-index: 2;
}


/* Small recruitment badge */

.eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 7px 11px;

    border:
        1px solid var(--primary);

    border-radius: 999px;

    background: var(--white);

    color: var(--primary-dark);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--primary);
}


/* Main heading */

.hero h1 {
    max-width: 780px;

    margin: 18px 0 0;

    color: var(--black);

    font-size:
        clamp(42px,
            11vw,
            76px);

    line-height: 1.04;

    letter-spacing: -0.055em;
}


/* Hero description */

.hero-subtitle {
    max-width: 700px;

    margin: 18px 0 0;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.7;
}


/* Hero buttons */

.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 24px;
}


.hero-note {
    margin-top: 13px;

    color: var(--muted);

    font-size: 12px;
}


/* =========================================================
   08 — HERO FLOATING EVENT LOGO
   ========================================================= */

.hero-visual {
    min-height: 360px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: transparent;

    border: none;

    box-shadow: none;
}


/*
   Large standalone white circle.

   No surrounding box.
   No card.
*/

.hero-logo-circle {

    width: 330px;
    height: 330px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    border-radius: 50%;

    background: var(--white);

    border:
        1px solid rgba(228, 234, 237, 0.95);

    box-shadow:
        0 30px 70px rgba(17, 24, 28, 0.12),
        0 10px 26px rgba(17, 24, 28, 0.06);

    animation:
        logoFloat 4s ease-in-out infinite;
}


/* Inner premium ring */

.hero-logo-circle::before {
    content: "";

    position: absolute;

    inset: 11px;

    border-radius: 50%;

    border:
        1px solid rgba(0, 174, 190, 0.12);

    pointer-events: none;
}


/* Event logo */

.hero-logo-circle img {

    width: 74%;
    height: 74%;

    object-fit: contain;

    margin: 0;
}


/* Floating animation */

@keyframes logoFloat {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }

}


/* =========================================================
   09 — SECTION HEADINGS
   ========================================================= */

.section-head {
    max-width: 760px;

    margin-bottom: 28px;
}

.section-kicker {
    margin-bottom: 8px;

    color: var(--primary-dark);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.08em;
}

.section-head h2 {
    margin-bottom: 12px;

    color: var(--black);

    font-size:
        clamp(30px,
            7vw,
            46px);

    letter-spacing: -0.035em;
}

.section-head p {
    margin-bottom: 10px;

    color: var(--muted);

    font-size: 15px;
}


/* =========================================================
   10 — CARDS
   ========================================================= */

.grid-3 {
    display: grid;

    gap: 14px;
}

.card {
    padding: 22px;

    border:
        1px solid var(--border);

    border-radius: var(--radius-lg);

    background: var(--white);
}

.card-soft {
    background: var(--off-white);
}

.card-icon {
    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    margin-bottom: 16px;

    border-radius: 12px;

    background: var(--primary-light);

    color: var(--primary-dark);

    font-size: 12px;

    font-weight: 800;
}

.card h3 {
    margin-bottom: 8px;

    color: var(--black);

    font-size: 19px;
}

.card p {
    margin-bottom: 8px;

    color: var(--muted);

    font-size: 14px;
}


/* Pills */

.pill-row {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 20px;
}

.pill {
    padding: 7px 11px;

    border:
        1px solid var(--border);

    border-radius: 999px;

    background: var(--white);

    color: var(--muted);

    font-size: 12px;

    font-weight: 600;
}


/* =========================================================
   11 — DARK CTA
   ========================================================= */

.cta-card {
    padding: 30px 22px;

    border-radius: var(--radius-xl);

    background:
        linear-gradient(135deg,
            #11181c,
            #1e2a2f);

    color: var(--white);
}

.cta-card .section-kicker {
    color: var(--primary);
}

.cta-card h2 {
    color: var(--white);

    font-size:
        clamp(30px,
            7vw,
            44px);

    letter-spacing: -0.035em;
}

.cta-card p {
    max-width: 650px;

    color:
        rgba(255, 255, 255, 0.70);
}

.cta-card .btn-secondary {
    background: transparent;

    color: var(--white);

    border-color:
        rgba(255, 255, 255, 0.22);
}

.cta-card .btn-secondary:hover {
    background:
        rgba(255, 255, 255, 0.07);

    border-color:
        rgba(255, 255, 255, 0.32);
}


/* =========================================================
   12 — FORM PAGE
   ========================================================= */

.form-wrap {
    padding: 32px 0 64px;
}

.form-card {
    padding: 24px;

    border:
        1px solid var(--border);

    border-radius: var(--radius-xl);

    background: var(--white);

    box-shadow: var(--shadow-md);
}

.form-intro {
    margin-bottom: 28px;
}

.form-intro h1 {
    margin-bottom: 10px;

    color: var(--black);

    font-size:
        clamp(36px,
            9vw,
            58px);

    letter-spacing: -0.045em;
}

.form-intro p {
    margin-bottom: 7px;

    color: var(--muted);

    font-size: 14px;
}

.form-grid {
    display: grid;

    gap: 18px;
}

.field {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.field label {
    color: var(--black);

    font-size: 13px;

    font-weight: 800;
}

.required {
    color: var(--primary-dark);
}

.help {
    color: var(--muted);

    font-size: 11px;
}

.error {
    display: none;

    color: var(--danger);

    font-size: 11px;
}

.field.invalid .error {
    display: block;
}


/* =========================================================
   13 — FORM INPUTS
   ========================================================= */

input,
select,
textarea {
    width: 100%;

    padding: 13px 14px;

    border:
        1px solid var(--border-dark);

    border-radius: 13px;

    outline: none;

    background: var(--white);

    color: var(--text);

    font-size: 14px;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

input::placeholder,
textarea::placeholder {
    color: #a1adb2;
}

input:focus,
select:focus,
textarea:focus {

    border-color: var(--primary);

    box-shadow:
        0 0 0 4px rgba(0, 217, 255, 0.10);
}

textarea {
    min-height: 130px;

    resize: vertical;
}


/* =========================================================
   14 — EXPERIENCE CHECKBOXES
   ========================================================= */

.experience-options {
    display: grid;

    gap: 9px;
}

.experience-option {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px 14px;

    border:
        1px solid var(--border);

    border-radius: 13px;

    background: var(--white);

    cursor: pointer;

    transition:
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.experience-option:hover {

    border-color: var(--primary);

    background: var(--primary-light);
}

.experience-option input {

    width: 18px;
    height: 18px;

    flex: 0 0 auto;

    margin: 0;

    accent-color: var(--primary);
}

.experience-option span {

    display: flex;

    flex-direction: column;

    color: var(--text);

    font-size: 13px;

    font-weight: 700;
}

.experience-option small {

    margin-top: 2px;

    color: var(--muted);

    font-size: 11px;

    font-weight: 400;
}

.experience-option:has(input:checked) {

    border-color: var(--primary);

    background: var(--primary-light);

    box-shadow:
        0 0 0 3px rgba(0, 217, 255, 0.08);
}

.experience-option:has(input:disabled) {

    opacity: 0.45;

    cursor: not-allowed;
}

.experience-option:has(input:disabled):hover {

    border-color: var(--border);

    background: var(--white);
}

.experience-option input:disabled {

    cursor: not-allowed;
}


/* =========================================================
   15 — PHOTO UPLOAD
   ========================================================= */

.file-box {

    padding: 15px;

    border:
        1px dashed #b9d8dd;

    border-radius: var(--radius-md);

    background: var(--off-white);
}

.file-box input[type="file"] {

    background: var(--white);
}

.photo-preview {

    display: none;

    align-items: center;

    gap: 12px;

    margin-top: 12px;
}

.photo-preview.visible {

    display: flex;
}

.photo-preview img {

    width: 64px;
    height: 64px;

    object-fit: cover;

    border:
        1px solid var(--border);

    border-radius: 12px;
}


/* =========================================================
   16 — PRIVACY CONSENT
   ========================================================= */

.checkbox-row {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-top: 20px;
}

.checkbox-row input[type="checkbox"] {

    width: 18px;
    height: 18px;

    flex: 0 0 auto;

    margin-top: 4px;

    padding: 0;
}

.checkbox-row label {

    color: var(--muted);

    font-size: 12px;

    line-height: 1.7;
}

.privacy-consent {

    align-items: flex-start;

    padding: 16px;

    border:
        1px solid var(--border);

    border-radius: var(--radius-md);

    background: var(--off-white);
}

.privacy-consent>input[type="checkbox"] {

    margin-top: 4px;
}

.privacy-consent label {

    color: var(--muted);

    font-size: 12px;

    line-height: 1.7;
}

.privacy-consent a {

    color: var(--primary-dark);

    font-weight: 800;

    text-decoration: underline;

    text-decoration-thickness: 1px;

    text-underline-offset: 2px;
}

.privacy-consent a:hover {

    color: var(--primary);
}

.consent-details {

    color: var(--muted);

    font-size: 11px;

    line-height: 1.65;
}


/* =========================================================
   17 — FORM ACTIONS
   ========================================================= */

.form-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 24px;
}

.status {

    display: none;

    margin-top: 16px;

    padding: 12px 14px;

    border-radius: 12px;

    font-size: 12px;
}

.status.show {

    display: block;
}

.status.error {

    background: #fef3f2;

    color: var(--danger);
}

.status.success {

    background: #ecfdf3;

    color: var(--success);
}


/* =========================================================
   18 — THANK YOU PAGE
   ========================================================= */

.thankyou {
    min-height:
        calc(100vh - 72px);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 32px 0;
}

.thank-card {
    width: 100%;
    max-width: 650px;

    margin-left: auto;
    margin-right: auto;

    padding: 32px 22px;

    text-align: center;

    border:
        1px solid var(--border);

    border-radius: var(--radius-xl);

    background: var(--white);

    box-shadow: var(--shadow-md);
}

.success-icon {

    width: 66px;
    height: 66px;

    display: grid;

    place-items: center;

    margin: 0 auto 18px;

    border-radius: 50%;

    background: var(--primary-light);

    color: var(--primary-dark);

    font-size: 28px;

    font-weight: 800;
}

.thank-card h1 {

    margin-bottom: 12px;

    color: var(--black);

    font-size:
        clamp(38px,
            9vw,
            58px);

    letter-spacing: -0.045em;
}

.thank-card p {

    max-width: 520px;

    margin:
        0 auto 8px;

    color: var(--muted);

    font-size: 14px;
}

.spam-note {

    font-size: 12.5px !important;

    color: var(--muted);

    opacity: 0.8;

    margin-top: -2px !important;
}

.gmail-cta {

    margin-top: 18px;
}

.thank-actions {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 24px;
}


/* =========================================================
   19 — FOOTER
   ========================================================= */

.site-footer {

    padding: 28px 0;

    border-top:
        1px solid var(--border);

    color: var(--muted);

    font-size: 11px;
}

.footer-row {

    display: flex;

    flex-wrap: wrap;

    justify-content: space-between;

    gap: 10px;
}


/* =========================================================
   20 — PREMIUM FOOTER
   ========================================================= */

.premium-footer {

    margin-top: 20px;

    background:

        radial-gradient(circle at 12% 10%,
            rgba(0, 217, 255, 0.10),
            transparent 28%),

        linear-gradient(145deg,
            #10181c 0%,
            #162328 100%);

    color:
        rgba(255, 255, 255, 0.72);
}

.footer-main {

    display: grid;

    gap: 42px;

    padding:
        54px 0 42px;
}


/* Footer brand */

.footer-brand {

    max-width: 500px;
}

.footer-logos {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 24px;
}

.footer-logo-card {

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 9px;

    border-radius: 17px;

    background: #ffffff;

    border:
        1px solid rgba(255, 255, 255, 0.12);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.18);
}

.footer-logo-card img {

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.debate-logo-card {

    width: 58px;
    height: 58px;
}

.footer-brand h3 {

    margin-bottom: 12px;

    color: #ffffff;

    font-size: 27px;

    line-height: 1.12;

    letter-spacing: -0.025em;
}

.footer-brand p {

    max-width: 440px;

    margin-bottom: 8px;

    color:
        rgba(255, 255, 255, 0.62);

    font-size: 13px;
}

.footer-brand p.bn {

    color:
        rgba(255, 255, 255, 0.48);
}


/* Footer contact */

.footer-contact {

    max-width: 420px;
}

.footer-label {

    margin-bottom: 7px;

    color: var(--primary);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.12em;
}

.footer-contact h4 {

    margin-bottom: 10px;

    color: #ffffff;

    font-size: 24px;

    letter-spacing: -0.02em;
}

.footer-contact-text {

    max-width: 360px;

    margin-bottom: 20px;

    color:
        rgba(255, 255, 255, 0.54);

    font-size: 13px;
}


/* Social buttons */

.social-buttons {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 9px;

    max-width: 390px;
}

.social-button {

    min-height: 50px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 8px 12px;

    border:
        1px solid rgba(255, 255, 255, 0.09);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.045);

    color:
        rgba(255, 255, 255, 0.80);

    font-size: 12px;

    font-weight: 700;

    transition:
        background var(--transition),
        border-color var(--transition),
        color var(--transition),
        transform var(--transition);
}

.social-button:hover {

    background:
        rgba(255, 255, 255, 0.09);

    border-color:
        rgba(0, 217, 255, 0.45);

    color: #ffffff;

    transform: translateY(-2px);
}

.social-icon {

    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background:
        rgba(0, 217, 255, 0.12);

    color: var(--primary);

    font-size: 14px;

    font-weight: 800;
}


/* Footer bottom */

.footer-bottom {

    display: flex;

    flex-wrap: wrap;

    justify-content: space-between;

    gap: 10px;

    padding:
        18px 0 22px;

    border-top:
        1px solid rgba(255, 255, 255, 0.09);

    color:
        rgba(255, 255, 255, 0.36);

    font-size: 10px;
}


/* =========================================================
   21 — TABLET / DESKTOP
   ========================================================= */

@media (min-width: 720px) {

    .container {

        width:
            min(var(--max-width),
                calc(100% - 48px));
    }


    /* Navigation */

    .nav {

        min-height: 72px;

        padding:
            7px 12px 7px 9px;
    }


    /* Hero */

    .hero {

        padding:
            44px 0 60px;
    }

    .hero-open {

        padding:
            25px 0 60px;
    }

    .hero-grid {

        grid-template-columns:
            minmax(0, 1.05fr) minmax(350px, 0.95fr);
    }


    /* Logo */

    .hero-logo-circle {

        width: 330px;
        height: 330px;
    }


    /* Cards */

    .grid-3 {

        grid-template-columns:
            repeat(3, 1fr);
    }


    /* Form */

    .form-card {

        padding: 36px;
    }

    .form-grid.two {

        grid-template-columns:
            repeat(2, 1fr);
    }


    /* CTA */

    .cta-card {

        padding: 44px;
    }


    /* Footer */

    .footer-main {

        grid-template-columns:
            minmax(0, 1.3fr) minmax(280px, 0.7fr);

        align-items: start;

        padding:
            68px 0 52px;
    }


    /* Thank you */

    .thank-card {

        padding:
            46px 36px;
    }
}


/* =========================================================
   22 — LARGE DESKTOP
   ========================================================= */

@media (min-width: 1000px) {

    .hero h1 {

        max-width: 820px;
    }

    .section {

        padding:
            82px 0;
    }
}


/* =========================================================
   23 — MOBILE
   ========================================================= */

@media (max-width: 719px) {

    .hero {

        padding:
            28px 0 40px;
    }

    .hero-open {

        padding:
            18px 0 35px;
    }

    .hero-visual {

        min-height: 310px;

        margin-top: 8px;
    }

    .hero-logo-circle {

        width: 245px;
        height: 245px;
    }
}


/* =========================================================
   24 — SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .container {

        width:
            min(var(--max-width),
                calc(100% - 24px));
    }


    /* Navigation */

    .site-header {

        padding-top: 10px;
    }

    .nav {

        min-height: 62px;

        padding:
            6px 8px 6px 7px;

        border-radius: 50px;
    }

    .brand {

        gap: 8px;
    }

    .brand>img:first-child {

        width: 46px;
        height: 46px;

        flex-basis: 46px;

        padding: 6px;
    }

    .brand .divider {

        height: 22px;
    }

    .brand .event-logo {
        height: 42px;
        max-width: 210px;

        flex-shrink: 0;
    }

    .nav-link {
        min-height: 38px;

        padding: 0 11px;

        font-size: 11px;

        flex-shrink: 0;
    }


    /* Hero */

    .hero-logo-circle {

        width: 220px;
        height: 220px;
    }


    /* Buttons */

    .hero-actions .btn,
    .form-actions .btn {

        width: 100%;
    }


    /* Form */

    .form-card {

        padding:
            20px 16px;

        border-radius: 22px;
    }


    /* Social buttons */

    .social-buttons {

        max-width: none;
    }
}


@media (max-width: 360px) {

    .brand .event-logo {
        height: 38px;
        max-width: 150px;
    }

    .nav-link {
        padding: 0 9px;
        font-size: 10px;
    }
}


/* =========================================================
   PHONE — COUNTRY CODE + NUMBER
   ========================================================= */

.phone-field {

    display: flex;

    border: 1px solid var(--border-dark);
    border-radius: 13px;

    background: var(--white);

    overflow: hidden;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);

}

.phone-field:focus-within {

    border-color: var(--primary);

    box-shadow:
        0 0 0 4px rgba(0, 217, 255, 0.10);

}

.phone-field .phone-code {

    width: auto;
    flex: 0 0 auto;

    border: none;
    border-right: 1px solid var(--border-dark);

    border-radius: 0;

    background: var(--off-white);

    font-weight: 700;

    padding: 13px 10px;

    cursor: pointer;

}

.phone-field .phone-code:focus {

    box-shadow: none;
    outline: none;

}

.phone-field .phone-number {

    flex: 1 1 auto;

    border: none;
    border-radius: 0;

}

.phone-field .phone-number:focus {

    box-shadow: none;
    outline: none;

}

.field.invalid .phone-field {

    border-color: var(--danger);

}


/* =========================================================
   SUBMIT LOADING OVERLAY
   ========================================================= */

.loading-overlay {

    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    background: rgba(17, 24, 28, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    opacity: 0;
    transition: opacity 0.25s ease;

}

.loading-overlay.visible {

    display: flex;
    opacity: 1;

}

.loading-card {

    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);

    padding: 40px 48px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;

    text-align: center;

    max-width: 320px;

    animation: loadingPop 0.3s ease;

}

@keyframes loadingPop {

    from {
        opacity: 0;
        transform: scale(0.92) translateY(8px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

}

.loading-spinner {

    width: 46px;
    height: 46px;

    border-radius: 50%;

    border: 4px solid var(--primary-light);
    border-top-color: var(--primary);

    animation: loadingSpin 0.8s linear infinite;

}

@keyframes loadingSpin {

    to {
        transform: rotate(360deg);
    }

}

.loading-text {

    font-size: 17px;
    font-weight: 700;
    color: var(--black);

    letter-spacing: 0.2px;

}

.loading-subtext {

    font-size: 13.5px;
    font-weight: 500;
    color: var(--muted);

}

/* =========================================================
   PROGRAMME BANNER 01
   ========================================================= */

.programme-banner {

    padding: 0 0 52px;

}


/* clickable banner */

.programme-banner-link {

    position: relative;

    display: block;

    overflow: hidden;

    border-radius: 22px;

    background: var(--black);

    box-shadow:
        0 18px 45px rgba(17, 24, 28, 0.10);

}


/* banner image */

.programme-banner-image {

    width: 100%;

    height: auto;

    display: block;

    object-fit: cover;

    transition:
        transform 500ms cubic-bezier(0.22,
            1,
            0.36,
            1);
}


/* dark gradient over the image */

.programme-banner-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    padding: 18px;

    background:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.42),
            rgba(0, 0, 0, 0.02) 55%,
            transparent);

    pointer-events: none;
}


/* small programme label */

.programme-banner-tag {

    padding: 7px 11px;

    border:
        1px solid rgba(255, 255, 255, 0.24);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.10);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    color: #ffffff;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.10em;

    text-transform: uppercase;
}


/* arrow */

.programme-banner-arrow {

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: #ffffff;

    color: var(--black);

    font-size: 18px;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.15);
}


/* hover */

.programme-banner-link:hover .programme-banner-image {

    transform: scale(1.025);

}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 720px) {

    .programme-banner {

        padding:
            0 0 70px;

    }

    .programme-banner-link {

        border-radius: 26px;

    }

    .programme-banner-overlay {

        padding: 24px;

    }

    .programme-banner-arrow {

        width: 48px;
        height: 48px;

        font-size: 20px;

    }

}

/* =========================================================
   COMPACT NOTICE BAR
   ========================================================= */

.notice-bar {
    padding: 8px 0 18px;
}


.notice-box {
    min-height: 66px;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 8px 10px 8px 14px;

    border:
        1px solid var(--border);

    border-radius: 16px;

    background:
        var(--white);

    box-shadow:
        0 7px 22px rgba(17, 24, 28, 0.045);
}


/* ---------- LABEL ---------- */

.notice-label {
    flex: 0 0 auto;

    padding: 6px 8px;

    border-radius: 8px;

    background:
        var(--primary-light);

    color:
        var(--primary-dark);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.08em;

    writing-mode: vertical-rl;

    transform: rotate(180deg);
}


/* ---------- VIEWPORT ---------- */

.notice-window {
    position: relative;

    flex: 1;

    min-width: 0;

    overflow: hidden;
}


/* ---------- NOTICE ---------- */

.notice-item {
    display: none;

    align-items: center;

    gap: 12px;

    min-width: 0;
}


.notice-item.active {
    display: flex;
}


.notice-item time {
    flex: 0 0 auto;

    color: var(--primary-dark);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.04em;

    white-space: nowrap;
}


.notice-content {
    min-width: 0;
}


.notice-content h3 {
    margin: 0;

    overflow: hidden;

    color: var(--black);

    font-size: 12px;

    font-weight: 800;

    line-height: 1.35;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.notice-content h3 .bn {
    color: var(--muted);

    font-size: 0.9em;

    font-weight: 500;
}


.notice-content p {
    margin: 1px 0 0;

    overflow: hidden;

    color: var(--muted);

    font-size: 10px;

    line-height: 1.35;

    text-overflow: ellipsis;

    white-space: nowrap;
}


/* ---------- CONTROLS ---------- */

.notice-controls {
    flex: 0 0 auto;

    display: flex;

    gap: 5px;
}


.notice-control {
    width: 30px;
    height: 30px;

    display: grid;

    place-items: center;

    padding: 0;

    border:
        1px solid var(--border);

    border-radius: 9px;

    background: var(--white);

    color: var(--black);

    font-size: 12px;

    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
}


.notice-control:hover {
    background: var(--black);

    color: var(--white);

    border-color: var(--black);
}


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

@media (max-width: 420px) {

    .notice-bar {
        padding:
            4px 0 14px;
    }

    .notice-box {
        min-height: 60px;

        gap: 9px;

        padding:
            7px 7px 7px 10px;

        border-radius: 14px;
    }

    .notice-label {
        padding:
            5px 6px;

        font-size: 8px;
    }

    .notice-item {
        gap: 8px;
    }

    .notice-content h3 {
        font-size: 11px;
    }

    .notice-content p {
        font-size: 9px;
    }

    .notice-control {
        width: 26px;
        height: 26px;

        font-size: 11px;
    }

}

.notice-bar[hidden] {
    display: none;
}




/* =========================================================
   EMAIL NOTIFICATION MARQUEE (thank-you.html only)
   ========================================================= */

.sr-only {

    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}

.notice-strip {

    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: 1100;

    height: 32px;

    display: flex;
    align-items: center;

    background: #fdf5f5;

    border-bottom: 1px solid rgba(178, 58, 58, 0.12);

    overflow: hidden;

    white-space: nowrap;
}

.notice-strip__track {

    display: flex;
    align-items: center;

    flex-shrink: 0;

    white-space: nowrap;

    animation: noticeStripScroll 26s linear infinite;

    will-change: transform;
}

.notice-strip__item {

    display: inline-flex;
    align-items: center;
    flex-shrink: 0;

    padding-right: 4px;

    white-space: nowrap;

    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.1px;

    color: #a3403d;
}

@keyframes noticeStripScroll {

    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }

}

body.has-notice-strip {

    padding-top: 32px;
}

body.has-notice-strip .site-header {

    top: 32px;
}


@media (max-width: 640px) {

    .notice-strip {
        height: 29px;
    }

    .notice-strip__item {
        font-size: 11px;
    }

    body.has-notice-strip {
        padding-top: 29px;
    }

    body.has-notice-strip .site-header {
        top: 29px;
    }

}


@media (prefers-reduced-motion: reduce) {

    .notice-strip__track {
        animation-duration: 60s;
    }

}


/* =========================================================
   INSTRUCTIONS POPUP — PREMIUM MODAL
   register.html
   Class names / IDs preserved for JS compatibility
   ========================================================= */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background:
        radial-gradient(circle at 50% 20%,
            rgba(0, 217, 255, 0.08),
            transparent 38%),
        rgba(12, 18, 21, 0.68);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    opacity: 0;
    transition:
        opacity 0.28s ease,
        backdrop-filter 0.28s ease;
}

.modal-overlay.visible {
    display: flex;
    opacity: 1;
}


/* =========================================================
   MODAL CONTAINER
   ========================================================= */

.modal-box {
    position: relative;

    width: min(100%, 500px);
    max-height: min(86vh, 720px);

    padding: 38px 30px 28px;

    background:
        linear-gradient(180deg,
            #ffffff 0%,
            #fcfdfd 100%);

    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 24px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.20),
        0 8px 24px rgba(0, 0, 0, 0.08);

    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.18) transparent;

    animation: modalPop 0.32s cubic-bezier(0.22, 1, 0.36, 1);

    isolation: isolate;
}


/* subtle cyan accent at the top */

.modal-box::before {
    content: "";

    position: absolute;
    top: 0;
    left: 50%;

    width: 72px;
    height: 4px;

    transform: translateX(-50%);

    background: var(--primary);

    border-radius: 0 0 999px 999px;
}


/* scrollbar */

.modal-box::-webkit-scrollbar {
    width: 5px;
}

.modal-box::-webkit-scrollbar-track {
    background: transparent;
}

.modal-box::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.16);
    border-radius: 999px;
}

.modal-box::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.28);
}


/* =========================================================
   MODAL ANIMATION
   ========================================================= */

@keyframes modalPop {

    0% {
        opacity: 0;
        transform: translateY(16px) scale(0.965);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =========================================================
   CLOSE BUTTON
   ========================================================= */

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.035);

    color: var(--muted);

    font-family: inherit;
    font-size: 21px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.modal-close:hover {
    background: rgba(0, 217, 255, 0.10);
    border-color: rgba(0, 217, 255, 0.22);
    color: var(--black);

    transform: rotate(3deg);
}

.modal-close:active {
    transform: scale(0.92);
}

.modal-close:focus-visible {
    outline: 3px solid rgba(0, 217, 255, 0.28);
    outline-offset: 3px;
}


/* =========================================================
   IMPORTANT TITLE
   ========================================================= */

.modal-important {
    position: relative;

    margin: 2px 42px 26px;

    color: var(--black);

    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;

    letter-spacing: 2.4px;
    text-align: center;
}


/* cyan underline */

.modal-important::after {
    content: "";

    display: block;

    width: 34px;
    height: 3px;

    margin: 10px auto 0;

    background: var(--primary);

    border-radius: 999px;
}


/* =========================================================
   FLOW
   ========================================================= */

.modal-flow {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 5px;
}


/* =========================================================
   STEP CARD
   ========================================================= */

.modal-step {
    position: relative;

    display: flex;
    align-items: flex-start;

    gap: 14px;

    padding: 14px 15px;

    background: #f7f9fa;

    border: 1px solid rgba(0, 0, 0, 0.045);
    border-radius: 14px;

    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.modal-step:hover {
    background: #f3f7f8;
    border-color: rgba(0, 217, 255, 0.14);

    transform: translateX(2px);
}


/* final step */

.modal-step-final {
    background:
        linear-gradient(135deg,
            rgba(0, 217, 255, 0.10),
            rgba(0, 217, 255, 0.045));

    border-color: rgba(0, 217, 255, 0.18);

    box-shadow:
        inset 3px 0 0 var(--primary);
}

.modal-step-final:hover {
    background:
        linear-gradient(135deg,
            rgba(0, 217, 255, 0.14),
            rgba(0, 217, 255, 0.06));
}


/* =========================================================
   NUMBER
   ========================================================= */

.modal-step-num {
    position: relative;

    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 1px;

    border-radius: 50%;

    background: var(--primary);
    color: var(--black);

    font-size: 12px;
    font-weight: 900;
    line-height: 1;

    box-shadow:
        0 3px 8px rgba(0, 217, 255, 0.20);
}


/* final number */

.modal-step-final .modal-step-num {
    background: var(--black);
    color: var(--white);

    box-shadow: none;
}


/* =========================================================
   STEP TEXT
   ========================================================= */

.modal-step-text {
    min-width: 0;
    flex: 1;
}

.modal-step-text p {
    margin: 0;

    color: var(--black);

    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.55;
}

.modal-step-text p:last-child {
    margin-top: 4px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
}


/* email / important inline text */

.modal-step-text strong {
    font-weight: 800;
    overflow-wrap: anywhere;
}


/* Bengali text */

.modal-step-text .bn {
    letter-spacing: 0;
}


/* =========================================================
   ARROWS
   ========================================================= */

.modal-arrow {
    height: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(0, 0, 0, 0.28);

    font-size: 13px;
    font-weight: 700;
    line-height: 1;

    margin: 0;
}


/* =========================================================
   GOT IT BUTTON
   ========================================================= */

.modal-gotit {
    width: 100%;

    margin-top: 22px;

    min-height: 48px;

    border-radius: 12px;

    font-weight: 800;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.modal-gotit:hover {
    transform: translateY(-1px);

    box-shadow:
        0 8px 22px rgba(0, 217, 255, 0.18);
}

.modal-gotit:active {
    transform: translateY(0);
}


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

@media (max-width: 600px) {

    .modal-overlay {
        align-items: flex-end;

        padding: 12px;
    }

    .modal-box {
        width: 100%;
        max-height: 88vh;

        padding: 34px 16px 18px;

        border-radius: 22px;
    }

    .modal-close {
        top: 12px;
        right: 12px;

        width: 34px;
        height: 34px;
    }

    .modal-important {
        margin: 2px 40px 22px;

        font-size: 12px;
        letter-spacing: 2px;
    }

    .modal-flow {
        gap: 4px;
    }

    .modal-step {
        gap: 11px;

        padding: 12px;
        border-radius: 13px;
    }

    .modal-step-num {
        flex-basis: 28px;

        width: 28px;
        height: 28px;
    }

    .modal-step-text p {
        font-size: 12.5px;
        line-height: 1.5;
    }

    .modal-step-text p:last-child {
        font-size: 11.5px;
        line-height: 1.5;
    }

    .modal-arrow {
        height: 13px;
        font-size: 12px;
    }

    .modal-gotit {
        min-height: 46px;

        margin-top: 18px;
    }
}


/* =========================================================
   VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 360px) {

    .modal-overlay {
        padding: 8px;
    }

    .modal-box {
        padding-left: 13px;
        padding-right: 13px;

        border-radius: 19px;
    }

    .modal-step {
        gap: 9px;
        padding: 11px 10px;
    }

    .modal-step-text p {
        font-size: 12px;
    }

    .modal-step-text p:last-child {
        font-size: 11px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .modal-overlay,
    .modal-box,
    .modal-close,
    .modal-step,
    .modal-gotit {
        transition: none;
        animation: none;
    }

}


/* =========================================================
   END
   ========================================================= */