:root {
    --black: #050505;
    --white: #F4F4F5;
    --grey: #8A8A93;
    --gold: #D4AF37;
    --border: rgba(255, 255, 255, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.4;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.is-loading {
    overflow: hidden;
}

/* --- PREMIUM SCROLLBAR, SELECTION & FOCUS STATES --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
::selection { background: var(--gold); color: var(--black); }
*:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    transform: translateY(-160%);
    z-index: 10001;
    padding: 10px 14px;
    border: 1px solid var(--gold);
    border-radius: 8px;
    background: var(--black);
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.skip-link:focus {
    transform: translateY(0);
}

/* --- BRANDED PAGE LOADER --- */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 10002;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 45%, rgba(212, 175, 55, 0.14), transparent 34%),
        var(--black);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    display: grid;
    place-items: center;
    gap: 18px;
    width: min(280px, 76vw);
    text-align: center;
}

.loader-inner img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.28));
}

.loader-inner p {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.loader-bar {
    width: 100%;
    height: 2px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.14);
}

.loader-bar span {
    display: block;
    width: 42%;
    height: 100%;
    background: var(--gold);
    animation: loader-sweep 1.05s ease-in-out infinite;
}

@keyframes loader-sweep {
    0% { transform: translateX(-110%); }
    100% { transform: translateX(260%); }
}

/* --- PREMIUM NOISE TEXTURE --- */
.noise {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* --- CUSTOM CURSOR --- */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
}
.cursor-dot {
    width: 8px; height: 8px;
    background-color: var(--gold);
}
.cursor-outline {
    width: 40px; height: 40px;
    border: 1px solid var(--border);
    transition: width 0.2s, height 0.2s, border-color 0.2s;
}

/* --- TYPOGRAPHY & GRIDS --- */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 max(20px, 4vw);
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

/* --- NAVBAR --- */
nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    min-height: 92px;
    padding: 16px max(20px, 4vw);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
}

.nav-logo {
    display: block;
    height: clamp(50px, 8vw, 75px);
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.2));
    transition: transform 0.4s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(8px, 1.5vw, 20px);
    min-width: 0;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--gold);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--white);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--white);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.btn:hover {
    color: var(--black);
    border-color: var(--white);
}

.btn:hover::before {
    transform: translateY(0);
}

/* --- HERO SECTION --- */
.hero {
    padding: calc(92px + 12vh) 0 10vh 0;
    min-height: 100vh;
    border-bottom: 1px solid var(--border);
}

.hero h1 {
    grid-column: 1 / 13;
    font-size: clamp(3.5rem, 11vw, 14rem);
    line-height: 0.85;
    margin-bottom: 40px;
}

.hero h1 span {
    display: block;
}

.hero-noor {
    color: var(--white);
}

.hero-hayat {
    color: var(--gold);
}

.hero-sub {
    grid-column: 8 / 13;
    font-size: 1.2rem;
    color: var(--grey);
    font-weight: 300;
}

.hero-sub strong {
    color: var(--white);
    font-weight: 500;
}

.pillar-hero {
    min-height: 60vh;
    padding: calc(92px + 10vh) 0 10vh 0;
}

.pillar-hero h1 {
    font-size: clamp(3rem, 8vw, 8rem);
}

/* --- ANSWER-FIRST SEO BLOCKS --- */
.answer-block {
    padding-top: clamp(58px, 8vw, 110px);
    padding-bottom: clamp(58px, 8vw, 110px);
    border-bottom: 1px solid var(--border);
}

.eyebrow {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.answer-block h2 {
    max-width: 980px;
    font-size: clamp(2rem, 5vw, 4.6rem);
    line-height: 1;
    margin-bottom: 24px;
}

.answer-block p:not(.eyebrow) {
    max-width: 980px;
    color: var(--grey);
    font-size: clamp(1.08rem, 2vw, 1.38rem);
    font-weight: 300;
    line-height: 1.65;
}

.answer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
}

.text-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.82rem;
}

.text-link:hover,
.text-link:focus-visible {
    color: var(--white);
}

.quick-facts,
.program-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 34px;
    border: 1px solid var(--border);
    background: var(--border);
}

.quick-facts div,
.program-summary div {
    min-width: 0;
    padding: 22px;
    background: var(--black);
}

.quick-facts strong,
.program-summary strong {
    display: block;
    color: var(--white);
    font-size: 0.78rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.quick-facts span,
.program-summary span {
    display: block;
    color: var(--grey);
    font-size: 1rem;
    line-height: 1.5;
}

/* --- STATS SECTION --- */
.stats {
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-block {
    padding: 60px max(20px, 4vw);
    border-right: 1px solid var(--border);
    position: relative;
}

.stat-block:last-child {
    border-right: none;
}

.stat-block .number {
    font-size: clamp(2rem, 4vw, 5rem);
    font-weight: 300;
    letter-spacing: 0;
    color: var(--gold);
    margin-bottom: 10px;
}

.stat-block .label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--grey);
}

/* --- STORY SECTION --- */
.story {
    padding: 150px 0;
    border-bottom: 1px solid var(--border);
}

.story-title {
    grid-column: 1 / 6;
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1;
}

.story-content {
    grid-column: 7 / 12;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--grey);
}

.story-quote {
    font-size: clamp(1.4rem, 4vw, 2rem);
    color: var(--white);
    margin-bottom: 40px;
    border-left: 2px solid var(--gold);
    padding-left: 30px;
    font-style: italic;
}

.pillar-content {
    padding: 100px 0;
}

.pillar-content .story-title {
    font-size: clamp(2rem, 5vw, 4rem);
}

.story-content h3 {
    color: var(--gold);
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.content-list {
    list-style-type: disc;
    margin: 0 0 30px 20px;
    font-size: 1.2rem;
    color: var(--grey);
}

.content-list li {
    margin-bottom: 12px;
}

/* --- OPERATIONS (LIST VIEW) --- */
.ops {
    padding: 150px 0;
}

.section-header {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 60px;
}

.op-row {
    display: grid;
    grid-template-columns: 1fr 4fr 7fr;
    padding: 60px 0;
    border-top: 1px solid var(--border);
    transition: background 0.4s ease;
}

.op-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.op-num {
    font-size: 1rem;
    color: var(--grey);
}

.op-title {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 500;
    letter-spacing: 0;
    transition: color 0.4s ease;
}

.op-row:hover .op-title {
    color: var(--gold);
}

.op-details {
    list-style: none;
    color: var(--grey);
    font-size: 1.1rem;
    font-weight: 300;
}

.op-details li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.op-details li svg {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    stroke: var(--white);
}

/* --- FAQ SECTION --- */
.faq {
    padding: 100px max(20px, 5%);
    background: var(--black);
    border-top: 1px solid var(--border);
}
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 30px 0;
}
.faq-q {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 500;
}
.faq-a {
    font-size: 1.1rem;
    color: var(--grey);
    line-height: 1.6;
}

/* --- FOOTER CTA --- */
.footer {
    padding: 200px max(20px, 4vw);
    text-align: center;
    border-top: 1px solid var(--border);
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, var(--black) 60%);
}

.footer h2 {
    font-size: clamp(3.2rem, 10vw, 12rem);
    line-height: 0.9;
    margin-bottom: 40px;
}

.footer-links {
    margin-top: 60px;
    font-size: 0.9rem;
    color: var(--grey);
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.footer-links a {
    color: var(--grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--gold);
}

.developed-by {
    margin-top: 120px;
    font-size: 0.85rem;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 2px;
}
.developed-by a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}
.developed-by a:hover {
    color: var(--white);
}

/* --- ANIMATIONS (SLIDE UP MASK) --- */
.mask-text {
    overflow: hidden;
    display: block;
}

.mask-text span {
    display: block;
    transform: translateY(110%);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.in-view span {
    transform: translateY(0);
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.footer-cta {
    padding: 20px 40px;
    font-size: 1.2rem;
    border-color: var(--gold);
    color: var(--gold);
}

/* --- RESPONSIVE FIXES FOR MOBILE & TABLET --- */
@media (max-width: 1024px) {
    .hero-sub { grid-column: 1 / 13; margin-top: 40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-block { border-bottom: 1px solid var(--border); }
    .stat-block:nth-child(2) { border-right: none; }
    .stat-block:nth-last-child(-n+2) { border-bottom: none; }
    .quick-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .program-summary { grid-template-columns: 1fr; }
    .story-title { grid-column: 1 / 13; margin-bottom: 40px; }
    .story-content { grid-column: 1 / 13; }
    .op-row { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
}

@media (pointer: fine) {
    * { cursor: none; }
}

@media (max-width: 768px) {
    /* Navbar */
    nav {
        min-height: 72px;
        padding: 10px max(20px, 4vw);
        gap: 10px;
    }
    .nav-actions { gap: 8px; }
    .nav-link {
        display: inline-flex;
        align-items: center;
        padding: 10px 16px;
        border: 1px solid var(--gold);
        border-radius: 100px;
        color: var(--gold);
        font-size: 0.7rem;
        font-weight: 500;
        text-transform: uppercase;
        text-decoration: none;
        letter-spacing: 0.5px;
        white-space: nowrap;
        transition: all 0.3s ease;
    }
    .nav-link:hover {
        background: var(--gold);
        color: var(--black);
    }
    .nav-cta { display: none !important; }

    /* Hero */
    .hero { padding: calc(72px + 10vh) 0 8vh 0; min-height: 80vh; }
    .hero h1 { margin-bottom: 20px; }
    .hero-sub { margin-top: 20px; font-size: 1.1rem; }
    .pillar-hero { padding: calc(72px + 9vh) 0 8vh 0; }
    .answer-block { padding-top: 60px; padding-bottom: 60px; }
    .answer-actions { flex-direction: column; gap: 12px; }
    .quick-facts { grid-template-columns: 1fr; }

    /* Stats */
    .stats-grid { grid-template-columns: 1fr; }
    .stat-block { 
        border-right: none; 
        border-bottom: 1px solid var(--border); 
        padding: 40px max(20px, 4vw); 
    }
    .stat-block:last-child { border-bottom: none; }

    /* Spacing Reductions */
    .story { padding: 80px 0; }
    .story-content { font-size: 1.2rem; }
    .pillar-content { padding: 80px 0; }
    
    .ops { padding: 80px 0; }
    .section-header { margin-bottom: 30px; }
    .op-row { gap: 15px; padding: 35px 0; }
    
    .footer { padding: 100px 0; }
    .footer h2 { margin-bottom: 30px; }
    .footer-links { margin-top: 42px; }

    /* Disable Custom Cursor on Touch Devices */
    .cursor-dot, .cursor-outline { display: none !important; } 
    * { cursor: auto !important; }
}

@media (max-width: 480px) {
    nav {
        padding: 9px 20px;
        gap: 8px;
    }
    .nav-logo { height: 45px; }
    .nav-link {
        padding: 8px 12px;
        font-size: 0.66rem;
    }
    .hero { padding-top: calc(72px + 8vh); }
    .footer-links { padding: 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
    .loader-bar span {
        animation: none;
        width: 100%;
    }
}

/* --- AMBASSADOR FORM SPECIFIC STYLES --- */
.form-section {
    padding: calc(92px + 10vh) 0 10vh 0;
    min-height: 100vh;
}
.header-text {
    text-align: center;
    margin-bottom: 60px;
}
.header-text h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1;
    margin-bottom: 20px;
}
.header-text h1 span {
    color: var(--gold);
}
.header-text p {
    color: var(--grey);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.program-summary {
    max-width: 1000px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto 40px;
}

@media (max-width: 1024px) {
    .program-summary {
        grid-template-columns: 1fr;
    }
}
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 50px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}
.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}
.form-row .form-group {
    margin-bottom: 0;
}
label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--grey);
    margin-bottom: 8px;
}
.required {
    color: var(--gold);
}
input, textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
input:focus, textarea:focus {
    outline: none;
    border-bottom-color: var(--gold);
}
textarea {
    resize: vertical;
    min-height: 100px;
}
.submit-wrap {
    text-align: center;
    margin-top: 40px;
}
.btn-submit {
    background: transparent;
}

/* --- THANK YOU PAGE --- */
.thank-you-section {
    min-height: 100vh;
    padding: calc(92px + 12vh) 0 12vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(circle at 50% 42%, rgba(212, 175, 55, 0.09) 0%, rgba(212, 175, 55, 0.02) 32%, transparent 60%),
        var(--black);
}
.thank-you-panel {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: clamp(34px, 6vw, 76px);
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}
.thank-you-mark {
    width: clamp(72px, 12vw, 104px);
    height: clamp(72px, 12vw, 104px);
    margin: 0 auto 28px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 50%;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.06);
    box-shadow: 0 0 45px rgba(212, 175, 55, 0.08);
}
.thank-you-mark svg {
    width: 54%;
    height: 54%;
}
.thank-you-mark path {
    fill: none;
    stroke: currentColor;
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.thank-you-label {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.thank-you-panel h1 {
    font-size: clamp(2.7rem, 8vw, 6.8rem);
    line-height: 0.95;
    max-width: 820px;
    margin: 0 auto 26px;
}
.thank-you-copy {
    max-width: 670px;
    margin: 0 auto;
    color: var(--grey);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 300;
}
.thank-you-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 42px;
}
.btn-secondary {
    color: var(--gold);
    border-color: rgba(212, 175, 55, 0.45);
}
.compact-footer {
    padding-top: 70px;
    padding-bottom: 70px;
}
.compact-footer .developed-by {
    margin-top: 0;
}
@media (max-width: 768px) {
    .form-container { padding: 30px 20px; }
    .form-row { flex-direction: column; gap: 25px; }
    .thank-you-section {
        min-height: auto;
        padding: calc(72px + 9vh) 0 9vh;
        align-items: flex-start;
    }
    .thank-you-panel {
        padding: 34px 20px 38px;
    }
    .thank-you-label {
        font-size: 0.74rem;
        letter-spacing: 1.6px;
    }
    .thank-you-panel h1 {
        font-size: clamp(2.25rem, 13vw, 3.6rem);
    }
    .thank-you-copy {
        font-size: 1rem;
        line-height: 1.55;
    }
    .thank-you-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 34px;
    }
    .thank-you-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 18px;
        font-size: 0.76rem;
    }
    .compact-footer {
        padding: 54px 20px;
    }
}
