@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders:opsz,wght@10..72,100..900&family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Host+Grotesk:ital,wght@0,300..800;1,300..800&family=Schoolbell&family=Space+Grotesk:wght@300..700&family=Unbounded:wght@400..800&display=swap');


:root {
    --cream: #f2ede4;
    --cream2: #ede7dc;
    --white: #ffffff;
    --yellow: #ffd02b;
    --yellow2: #ffdf16;
    --black: #1a1a1a;
    --gray: #6b6b6b;
    --gray2: #9a9a9a;
    --border: #e0d9ce;
    --border2: #cfc8bc;
    --red: #e63946;
    --green: #2a9d5c;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow2: rgba(0, 0, 0, 0.15);
}

/* hindrance */
  #ned-banner {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--cream, #f2ede4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
  }

  #ned-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: var(--yellow, #ffd02b);
  }

  .ned-banner-inner {
    max-width: 520px;
    width: 100%;
    text-align: center;
    background: var(--white, #fff);
    border: 1.5px solid var(--border, #e0d9ce);
    border-radius: 24px;
    padding: 44px 32px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  }

  .ned-banner-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 14px;
  }

  .ned-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--yellow, #ffd02b);
    color: var(--black, #1a1a1a);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 18px;
    font-family: 'Google Sans', sans-serif;
  }

  .ned-banner-title {
    font-family: 'CFCrayons', sans-serif;
    font-size: 42px;
    color: var(--black, #1a1a1a);
    letter-spacing: -0.01em;
    margin-bottom: 14px;
  }

  .ned-banner-msg {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--black, #1a1a1a);
    line-height: 1.55;
    margin-bottom: 10px;
  }

  .ned-banner-sub {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray, #6b6b6b);
    line-height: 1.5;
    margin-bottom: 22px;
  }

  .ned-banner-dots {
    display: flex;
    gap: 8px;
  }

  .ned-banner-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow, #ffd02b);
    animation: ned-banner-pulse 1.2s ease-in-out infinite;
  }

  .ned-banner-dots span:nth-child(2) { animation-delay: 0.2s; }
  .ned-banner-dots span:nth-child(3) { animation-delay: 0.4s; }

  @keyframes ned-banner-pulse {
    0%, 80%, 100% { opacity: 0.25; transform: scale(0.85); }
    40% { opacity: 1; transform: scale(1.1); }
  }

  @media (max-width: 479px) {
    .ned-banner-inner { padding: 32px 20px 28px; border-radius: 18px; }
    .ned-banner-title { font-size: 32px; }
    .ned-banner-msg { font-size: 15px; }
    .ned-banner-logo { width: 48px; height: 48px; }
  }
/* hindrance end */

@font-face {
    font-family: 'CFCrayons';
    src: url('CFCrayons-Regular.ttf');
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #ffd02b;
    border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffdf16;
}

body {
    min-height: 100dvh;
    background: var(--cream);
    font-family: big shoulders;
    color: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url(img/image.jpg);
    background-size: cover;

    overflow-x: hidden;
}

.topbar {
    width: 100%;
    background: var(--white);
    padding: 8px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 10;
    animation: fadeDown 0.4s ease both;
    justify-content: center;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 0;
    /* let the wave handle the bottom */
}

.topbar::after {
    content: '';
    position: absolute;
    bottom: -28px; 
    /* pulls wave just below the bar */
    left: 0;
    width: 100%;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30' preserveAspectRatio='none'%3E%3Cpath d='M0,15 C100,30 200,0 300,15 C400,30 500,0 600,15 C700,30 800,0 900,15 C1000,30 1100,0 1200,15 L1200,0 L0,0 Z' fill='white'/%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -1;
}

.topbar img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    margin-top: 8px;
}

.topbar-text h1 {
    font-size: 35px;
    font-weight: 900;
    color: var(--black);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-family: "CFCrayons";
}

.topbar-text span {
    justify-content: center;
    font-size: 11px;
    color: var(--gray2);
    font-weight: 600;
    letter-spacing: 0.04em;
    font-family: 'CFCrayons';
    text-align: center;
    display: flex;
    align-items: center;
}

.topbar-text span:hover{
    text-transform: uppercase
;
}

.topbar-right {
    margin-left: auto;
}

.topbar-right a {
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    background: var(--black);
    color: white;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 100px;
    /* transition: transform 0.15s, box-shadow 0.15s; */
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); */
}


.topbar-right svg {
    fill: white;
}

/* ── arno navbar ad chip ── */
.arno-chip {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--cream);
    border: 1.5px solid var(--border2);
    border-radius: 100px;
    padding: 6px 12px 6px 6px;
    text-decoration: none;
    z-index: 5;
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.arno-chip:hover {
    border-color: var(--black);
    background: var(--white);
    transform: translateY(-50%) translateY(-1px);
}

.arno-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.arno-copy,
.arno-copy-short {
    font-family: 'Google Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.arno-copy-short {
    display: none;
}

.arno-brand {
    font-family: 'Unbounded', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 0.01em;
}

.arno-arrow {
    font-size: 13px;
    color: var(--gray2);
    transition: color 0.15s, transform 0.15s;
    flex-shrink: 0;
}

.arno-chip:hover .arno-arrow {
    color: var(--black);
    transform: translate(1px, -1px);
}

/* ── Hero section ── */
.hero {
    width: 100%;
    text-align: center;
    padding: 52px 24px 36px;
    animation: fadeUp 0.5s 0.1s ease both;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 72px);
}


.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--yellow);
    color: var(--black);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 18px;
    font-family: google sans;
    letter-spacing: 1.6px;

}

.hero h2 {
    /* font-family: 'Fraunces', serif; */
    font-size: 5rem;
    line-height: 82px;
    letter-spacing: -0.03em;
    color: #222222;
    margin-bottom: 12px;
    text-align: left;
    padding: 0px 30px;
}

.hero h2 span {
    color: #717171;
    position: relative;
}


.box1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero p {
    color: var(--gray);
    font-size: 22px;
    line-height: 1.6;
    font-weight: 500;
    max-width: 500px;
    margin: 0 auto;
    font-family: 'CFCrayons';
}

/* ── Card ── */
.card {
    width: 90%;
    max-width: 460px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 24px;
    padding: 20px 28px 18px;
    animation: fadeUp 0.5s 0.2s ease both;
    background-image: url(img/MaqsadBG.jpg);
    background-size: cover;
    margin: 20px;
}

.section-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--gray2);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
    /* ← was 18px */
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1.5px;
    background: var(--border);
    border-radius: 2px;
}

/* ── CAPTCHA ── */
.captcha-wrap {
    margin-bottom: 12px;
    /* ← was 22px */
}

.captcha-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.captcha-top label {
    font-size: 13px;
    font-weight: 800;
    color: var(--black);
    text-transform: none;
    letter-spacing: 0;
}

.captcha-top button {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    cursor: pointer;
    padding: 3px 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.15s, color 0.15s;
}

.captcha-top button:hover {
    background: var(--cream2);
    color: var(--black);
}

.captcha-box {
    border-radius: 14px;
    border: 1.5px solid var(--border2);
    background: var(--cream);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    min-height: 72px;
    cursor: pointer;
    /* transition: border-color 0.2s, box-shadow 0.2s; */
    position: relative;
    overflow: hidden;
}

.captcha-box:hover {
    border-color: var(--black);
    /* box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06); */
}

.captcha-box img {
    display: block;
    border-radius: 8px;
    max-width: 100%;
    height: 48px;
}

.captcha-msg {
    color: var(--gray2);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.captcha-msg.error {
    color: var(--red);
}

/* ── Fields ── */
.field {
    margin-bottom: 10px;
    /* ← was 16px */
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 7px;
}

.input-wrap {
    position: relative;
}

.input-wrap input {
    width: 100%;
    padding: 10px 44px 10px 16px;
    /* ← was 13px top/bottom */
    background: var(--cream);
    border: 1.5px solid var(--border2);
    border-radius: 12px;
    font-size: 15px;
    font-family: space grotesk;
    font-weight: 600;
    color: var(--black);
    outline: none;
}

.input-wrap input::placeholder {
    color: var(--gray2);
    font-weight: 500;
}

.input-wrap input:focus {
    border-color: var(--black);
    background: var(--white);
    /* box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.07); */
}

/* eye toggle */
.eye-btn {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--gray2);
    display: flex;
    align-items: center;
    transition: color 0.15s;
    border-radius: 6px;
}

.eye-btn:hover {
    color: var(--black);
}

/* captcha text input — no right icon needed */
.input-wrap.no-icon input {
    padding-right: 16px;
}

/* ── Submit button ── */
#submitBtn {
    width: 100%;
    padding: 12px;
    /* ← was 15px */
    background: var(--yellow);
    color: var(--black);
    border: none;
    border-radius: 100px;
    font-size: 20px;
    font-weight: 1000;
    cursor: pointer;
    letter-spacing: 0.01em;
    margin-top: 6px;
    /* ← was 8px */
    font-family: google sans;
}

#submitBtn:hover:not(:disabled) {
    background: var(--yellow2);
}

#submitBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    /* box-shadow: none; */
}

/* ── Status ── */
.status {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    display: none;
    animation: fadeUp 0.2s ease;
}

.status.show {
    display: block;
}

.status.loading {
    background: #fffbea;
    color: #92620a;
    border: 1.5px solid #fde68a;
}

.status.error {
    background: #fff1f2;
    color: #be123c;
    border: 1.5px solid #fecdd3;
}

.status.success {
    background: #f0fdf4;
    color: #166534;
    border: 1.5px solid #bbf7d0;
}

/* ── PDF viewer ── */
#pdfViewer {
    display: none;
    width: 90%;
    max-width: 900px;
    margin-top: 20px;
    border-radius: 20px;
    overflow: hidden;
    border: 1.5px solid var(--border2);
    /* box-shadow: 0 8px 32px var(--shadow2); */
    animation: fadeUp 0.4s ease both;
}

#pdfViewer iframe {
    width: 100%;
    height: 80dvh;
    border: none;
    display: block;
}

.pdf-bar {
    background: var(--black);
    padding: 13px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pdf-bar span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 600;
}

.pdf-bar a {
    color: var(--black);
    background: var(--yellow);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    padding: 7px 16px;
    border-radius: 100px;
    transition: background 0.15s, transform 0.1s;
}

.pdf-bar a:hover {
    background: var(--yellow2);
}

/* ── Spinner ── */
.spin {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-top-color: var(--black);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    flex-shrink: 0;
}

.spin-btn {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: var(--black);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 7px;
}

/* ── Animations ── */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ── Remember Me ── */
.remember-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2px 0 10px;
    /* ← was 4px 0 14px */
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    color: var(--black);
    user-select: none;
}

.remember-label input[type="checkbox"] {
    display: none;
    /* hide native checkbox */
}

.remember-box {
    width: 19px;
    height: 19px;
    border: 2px solid var(--border2);
    border-radius: 6px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    flex-shrink: 0;
}

.remember-label input:checked+.remember-box {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
}

.remember-note {
    font-size: 11px;
    color: #6f6f6f;
    font-weight: 600;
}

/* ══════════════════════════════════════════════
   RESPONSIVE SYSTEM
══════════════════════════════════════════════ */

/* Fix topbar so the wave doesn't get clipped */
.topbar {
    overflow: visible;
    position: sticky;
    /* keep this, just make overflow visible */
}

/* Anchor the underline image to .box1 instead of floating freely */
.box1 {
    position: relative;
}

.hero h2 span {
    position: relative;
    display: inline-block;
}

.und {
    position: absolute;
    left: 0;
    top: 80%;
    width: 100%;
    height: auto;
    pointer-events: none;
}

/* ── Large desktops (1280px+) ── */
@media (min-width: 1280px) {
    .wrap {
        padding: 0 60px;
        gap: 40px;
    }

    .hero h2 {
        font-size: 5.5rem;
        line-height: 90px;
    }

    .hero h2 span {
        position: relative;
        display: inline-block;
    }

    .und {
        position: absolute;
        left: 0;
        top: 80%;
        width: 100%;
        height: auto;
        pointer-events: none;
    }
}

/* ── Standard desktop (1024px – 1279px) ── */
@media (min-width: 1024px) and (max-width: 1279px) {
    .wrap {
        padding: 0 32px;
        gap: 24px;
        width: 105%;
    }

    .hero h2 {
        font-size: 4rem;
        line-height: 72px;
    }

    .hero h2 span {
        position: relative;
        display: inline-block;
    }

    .und {
        position: absolute;
        left: 0;
        top: 80%;
        width: 100%;
        height: auto;
        pointer-events: none;
    }
}

/* ── Tablet landscape + small laptops (768px – 1023px) ── */
@media (min-width: 768px) and (max-width: 1023px) {
    .wrap {
        flex-direction: column;
        align-items: center;
        padding: 24px 32px 48px;
        gap: 32px;
    }

    .hero {
        height: auto;
        padding: 36px 16px 8px;
        width: 100%;
        max-width: 680px;
        text-align: center;
    }

    .box1 {
        align-items: center;
    }

    .hero h2 {
        font-size: 3.2rem;
        line-height: 1.2;
        text-align: center;
        padding: 0 8px;
    }

    .hero p {
        font-size: 19px;
        text-align: center;
    }

    .hero h2 span {
        position: relative;
        display: inline-block;
    }

    .und {
        position: absolute;
        left: 0;
        top: 80%;
        width: 100%;
        height: auto;
        pointer-events: none;
    }

    .card {
        width: 100%;
        max-width: 520px;
    }

    .arno-copy {
        display: none;
    }

    .arno-copy-short {
        display: inline;
    }
}

/* ── Tablet portrait (480px – 767px) ── */
@media (min-width: 480px) and (max-width: 767px) {
    .wrap {
        flex-direction: column;
        align-items: center;
        padding: 20px 20px 48px;
        gap: 28px;
    }

    .hero {
        height: auto;
        padding: 28px 8px 8px;
        width: 100%;
        text-align: center;
    }

    .box1 {
        align-items: center;
    }

    .hero h2 {
        font-size: 2.6rem;
        line-height: 1.2;
        text-align: center;
        padding: 0 4px;
    }

    .hero-badge {
        font-size: 13px;
        padding: 5px 12px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero h2 span {
        position: relative;
        display: inline-block;
    }

    .und {
        position: absolute;
        left: 0;
        top: 80%;
        width: 100%;
        height: auto;
        pointer-events: none;
    }

    .card {
        width: 100%;
        max-width: 460px;
        padding: 28px 20px 24px;
    }

    .topbar-text h1 {
        font-size: 28px;
    }

    .arno-chip {
        right: 12px;
        padding: 5px 10px 5px 5px;
    }

    .arno-copy {
        display: none;
    }

    .arno-copy-short {
        display: inline;
        font-size: 11px;
    }

    .arno-icon {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }
}

/* ── Mobile (< 480px) ── */
@media (max-width: 479px) {
    .wrap {
        flex-direction: column;
        align-items: center;
        padding: 16px 14px 48px;
        gap: 24px;
    }

    .hero {
        height: auto;
        padding: 20px 4px 4px;
        width: 100%;
        text-align: center;
    }

    .box1 {
        align-items: center;
    }

    .hero h2 {
        font-size: 2rem;
        line-height: 1.25;
        text-align: center;
        padding: 0;
        letter-spacing: -0.02em;
    }

    .hero-badge {
        font-size: 11px;
        padding: 4px 10px;
        letter-spacing: 1px;
    }

    .hero p {
        font-size: 15px;
        max-width: 100%;
        padding: 0 4px;
    }

    .hero h2 span {
        position: relative;
        display: inline-block;
    }

    .und {
        position: absolute;
        left: 0;
        top: 80%;
        width: 100%;
        height: auto;
        pointer-events: none;
    }

    .card {
        width: 100%;
        max-width: 100%;
        padding: 24px 16px 20px;
        border-radius: 18px;
        margin: 0;
    }

    .topbar {
        padding: 10px 16px 0;
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .topbar-text h1 {
        font-size: 24px;
    }

    .topbar::after {
        height: 24px;
        bottom: -22px;
    }

    #submitBtn {
        font-size: 17px;
        padding: 13px;
    }

    .captcha-box {
        min-height: 60px;
    }

    .input-wrap input {
        font-size: 14px;
        padding: 11px 40px 11px 14px;
    }

    .remember-wrap {
        flex-wrap: wrap;
        gap: 4px;
    }

    #pdfViewer {
        width: 100%;
        border-radius: 14px;
        margin-top: 12px;
    }

    #pdfViewer iframe {
        height: 70dvh;
    }

    .pdf-bar {
        padding: 10px 14px;
    }

    .pdf-bar span {
        font-size: 12px;
    }

    .pdf-bar a {
        font-size: 12px;
        padding: 6px 12px;
    }

    .arno-chip {
        position: static;
        transform: none;
        margin: 8px auto 0;
        width: max-content;
    }

    .arno-copy {
        display: none;
    }

    .arno-copy-short {
        display: inline;
        font-size: 11px;
    }
}

/* ── Very small phones (< 360px) ── */
@media (max-width: 359px) {
    .hero h2 {
        font-size: 1.7rem;
    }

    .card {
        padding: 20px 12px 16px;
    }

    .topbar-text h1 {
        font-size: 21px;
    }
}

#pdfContainer {
    background: #525659;
    padding: 12px;
}

#pdfContainer canvas {
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
