@import "rtl.css";

@font-face {
    font-family: 'syriaceast';
    src: url('../fonts/eastM.woff2') format('woff2'),
         url('../fonts/eastM.woff') format('woff'),
         url('../fonts/eastM.ttf') format('truetype'),
         url('../fonts/eastM.otf') format('opentype');
}

@font-face {
    font-family: 'syriacwest';
    src: url('../fonts/Estrangelo.woff2') format('woff2'),
         url('../fonts/Estrangelo.woff') format('woff'),
         url('../fonts/Estrangelo.ttf') format('truetype'),
         url('../fonts/Estrangelo.otf') format('opentype');
}

/* Base Syriac styling - Maps to Western Syriac by default (original fallback style) */
.Surit,
.Surit-West,
.Surit.west,
#western .Surit,
.western .Surit {
    font-family: 'syriacwest' !important;
    direction: rtl;
    font-size: inherit !important;
    --font-serif: 'syriacwest', 'Segoe UI Historic', 'Estrangelo Edessa', sans-serif !important;
    --font-sans: 'syriacwest', 'Segoe UI Historic', 'Estrangelo Edessa', sans-serif !important;
    --serif: 'syriacwest', 'Segoe UI Historic', 'Estrangelo Edessa', sans-serif !important;
    --sans: 'syriacwest', 'Segoe UI Historic', 'Estrangelo Edessa', sans-serif !important;
}

.Surit body, 
.Surit button, 
.Surit input, 
.Surit select, 
.Surit textarea, 
.Surit .btn,
.Surit p,
.Surit h1,
.Surit h2,
.Surit h3,
.Surit h4,
.Surit h5,
.Surit span,
.Surit div,
.Surit-West body, 
.Surit-West button, 
.Surit-West input, 
.Surit-West select, 
.Surit-West textarea, 
.Surit-West .btn,
.Surit-West p,
.Surit-West h1,
.Surit-West h2,
.Surit-West h3,
.Surit-West h4,
.Surit-West h5,
.Surit-West span,
.Surit-West div,
.Surit.west body,
.Surit.west button,
.Surit.west input,
.Surit.west select,
.Surit.west textarea,
.Surit.west .btn,
.Surit.west p,
.Surit.west h1,
.Surit.west h2,
.Surit.west h3,
.Surit.west h4,
.Surit.west h5,
.Surit.west span,
.Surit.west div,
#western .Surit body,
#western .Surit button,
#western .Surit input,
#western .Surit select,
#western .Surit textarea,
#western .Surit .btn,
#western .Surit p,
#western .Surit h1,
#western .Surit h2,
#western .Surit h3,
#western .Surit h4,
#western .Surit h5,
#western .Surit span,
#western .Surit div {
    font-family: 'syriacwest', 'Segoe UI Historic', 'Estrangelo Edessa', sans-serif !important;
}

.Surit-East,
.Surit.east,
#eastern .Surit,
.eastern .Surit {
    font-family: 'syriaceast' !important;
    direction: rtl;
    font-size: 1.32em !important; /* Scale up root size because Eastern Syriac font renders smaller and thinner */
    --font-serif: 'syriaceast', 'Segoe UI Historic', 'Estrangelo Edessa', sans-serif !important;
    --font-sans: 'syriaceast', 'Segoe UI Historic', 'Estrangelo Edessa', sans-serif !important;
    --serif: 'syriaceast', 'Segoe UI Historic', 'Estrangelo Edessa', sans-serif !important;
    --sans: 'syriaceast', 'Segoe UI Historic', 'Estrangelo Edessa', sans-serif !important;
}

.Surit-East body,
.Surit.east body,
#eastern .Surit body,
.eastern .Surit body {
    font-size: 1.10rem !important; /* Scale up base body size to compensate for thin glyphs */
}

/* Eastern Syriac Language Dropdown overrides */
    .Surit-East .rr-lang-item-text,
    .Surit.east .rr-lang-item-text,
    #eastern .Surit .rr-lang-item-text,
    .eastern .Surit .rr-lang-item-text {
        font-size: 20px !important;
        letter-spacing: 1px;
        font-weight: 400;
    }

    .Surit-East .rr-action-primary,
    .Surit.east .rr-action-primary,
    #eastern .Surit .rr-action-primary,
    .eastern .Surit .rr-action-primary {
        font-size: 1.18rem !important;
        letter-spacing: 2px;
    }

.Surit-East body, 
.Surit-East button, 
.Surit-East input, 
.Surit-East select, 
.Surit-East textarea, 
.Surit-East .btn,
.Surit-East p,
.Surit-East h1,
.Surit-East h2,
.Surit-East h3,
.Surit-East h4,
.Surit-East h5,
.Surit-East span,
.Surit-East div,
.Surit.east body,
.Surit.east button,
.Surit.east input,
.Surit.east select,
.Surit.east textarea,
.Surit.east .btn,
.Surit.east p,
.Surit.east h1,
.Surit.east h2,
.Surit.east h3,
.Surit.east h4,
.Surit.east h5,
.Surit.east span,
.Surit.east div,
#eastern .Surit body,
#eastern .Surit button,
#eastern .Surit input,
#eastern .Surit select,
#eastern .Surit textarea,
#eastern .Surit .btn,
#eastern .Surit p,
#eastern .Surit h1,
#eastern .Surit h2,
#eastern .Surit h3,
#eastern .Surit h4,
#eastern .Surit h5,
#eastern .Surit span,
#eastern .Surit div {
    font-family: 'syriaceast', 'Segoe UI Historic', 'Estrangelo Edessa', sans-serif !important;
}

html,
body {
    height: 100%;
}

html {
    font-size: 17px;
}

@media (min-width: 768px) {
    html {
        font-size: 19px;
    }
}

:root {
    --bg: #FFFDF5;
    --text: #2b2b2b;
    --muted: #5a4a3a;
    --border: #d9c8b4;
    --Primary: #D97706;
    --secondary: #7A431D;
    --gray: #6B7280;
    --white-gray: #D1D5DB;
    --white-primary: #C8851E;
    --border: 1px solid #d9c8b4;
    --Deep-Navy: #0F263E;
    /* ✅ Fonts */
    --font-serif: 'Merriweather', serif;
    --font-sans: 'Merriweather', serif;
    --rtl-neg: 1;
    /* ✅ Accessibility */
    --font-size-base: 1.05rem;
    --bs-nav-font-size: 0.9rem;
    --btn-height-base: 56px;
    --btn-radius: 12px;
    --background: #fdfbf7;
    --c-primary: #D97706;
    --c-text: #453227;
    --c-text-muted: #7C6658;
}

/* Custom Global Container Overrides (Wider for desktop screens) */
@media (min-width: 1200px) {
    .container {
        max-width: 1260px;
    }
}
@media (min-width: 1400px) {
    .container {
        max-width: 1480px;
    }
}


body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-serif);
}

button, input, select, textarea, .btn {
    font-family: var(--font-serif) !important;
}

header {
    border-bottom: var(--border);
}
.static-page-bg {
    background: var(--background) !important;
    min-height: 100vh;
}
.review-page {
    background: var(--background);
    min-height: 100vh;
}
.rr-navbar {
    background: var(--bg) !important;
}

.rr-brand {
    color: var(--Primary) !important;
    font-size: 1.6rem;
    letter-spacing: .2px;
}

.rr-brand-icon {
    width: 40px;
}

.rr-navlinks .nav-item {
    font-size: var(--bs-nav-font-size);
}

.rr-navlinks .nav-link {
    font-size: var(--bs-nav-font-size);
    color: #1f2a37;
    font-weight: 500;
    padding: .55rem .75rem;
    border-radius: .75rem;
}

.Btn-Primary {
    font-weight: 600;
    color: #f9fafb;
    background: var(--Primary);
    border-color: var(--Primary);
}

.Btn-Primary:hover {
    filter: brightness(.95);
    color: #f9fafb;
}

.Btn-Secondary {
    font-weight: 600;
    border-color: var(--Primary);
    color: var(--Primary);
}

.Btn-Secondary:hover {
    background: rgba(208, 122, 0, .08);
    border-color: var(--Primary);
    color: var(--Primary);
}

.rr-lang {
    border-radius: .85rem;
    font-weight: 600;
}

@media (max-width: 1199.98px) {
    .rr-navlinks .nav-link {
        padding: .7rem .9rem;
    }

    .rr-lang-menu {
        min-width: 100%;
    }
}

/* == Navbar hover + active */

.rr-navlinks .nav-link {
    position: relative;
    color: #1f2a37;
    font-weight: 500;
    padding: .55rem .75rem;
    transition: color .2s ease;
}
.rr-navlinks .lp-btn-primary {
    color: #f9fafb;
}

    .rr-navlinks .nav-link::after {
        content: "";
        position: absolute;
        left: 12%;
        right: 12%;
        bottom: -4px;
        height: 2px;
        background: var(--Primary);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform .25s ease;
    }



.rr-navlinks .nav-link:hover::after {
    transform: scaleX(1);
}

.rr-navlinks .nav-link.active::after,
.rr-navlinks .nav-link[aria-current="page"]::after {
    transform: scaleX(1);
}

/* Custom Hamburger Menu Animation */
.rr-navbar .navbar-toggler {
    padding: 0;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6.5px;
    width: 32px;
    height: 32px;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

@media (min-width: 1200px) {
    .rr-navbar .navbar-toggler {
        display: none !important;
    }
}

.rr-navbar .navbar-toggler:focus {
    box-shadow: none !important;
}

.toggler-icon-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--Primary);
    border-radius: 5px;
    transition: all 0.35s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

/* Transform to X when not collapsed */
.navbar-toggler:not(.collapsed) .top-bar {
    transform: translateY(8.5px) rotate(45deg);
}

.navbar-toggler:not(.collapsed) .middle-bar {
    opacity: 0;
    transform: translateX(-5px);
}

.navbar-toggler:not(.collapsed) .bottom-bar {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* ===== Language switcher - match site navbar style ===== */
.rr-lang .rr-lang-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid rgba(217, 200, 180, .9);
    background: rgba(255, 255, 255, .55);
    border-radius: 0.25rem;
    font-weight: 700;
    color: var(--text);
    box-shadow: 0 10px 22px rgba(122, 67, 29, .06);
}

.rr-lang .rr-lang-btn:hover {
    border-color: rgba(200, 133, 30, .55);
    background: rgba(255, 255, 255, .80);
}

/* remove bootstrap caret and use clean look like screenshot */
.rr-lang .rr-lang-btn.dropdown-toggle::after {
    margin-left: 6px;
    opacity: .65;
}

.rr-lang-flag {
    width: 22px;
    height: 16px;
    border-radius: 3px;
    object-fit: cover;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.rr-lang-text {
    font-size: 14px;
    white-space: nowrap;
}

/* dropdown panel */
.rr-lang-menu {
    padding: 8px;
    border-radius: 14px;
    border: 1px solid rgba(217, 200, 180, .85);
    background: #fff;
    box-shadow: 0 18px 40px rgba(16, 24, 40, .10);
}

.rr-lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    padding: 10px 10px;
    font-weight: 700;
}

.rr-lang-item:hover {
    background: rgba(200, 133, 30, .10);
}

.rr-lang-item-text {
    font-size: 14px;
    color: #1f2a37;
}


/*Footer*/
.rr-footer {
    background: var(--Deep-Navy);
    color: rgba(255, 255, 255, .85);
    padding: 26px 0 22px;
    width: 100%;
}

.rr-footer a {
    text-decoration: none;
    color: rgba(255, 255, 255, .85);
}

.rr-footer a:hover {
    color: #fff;
}

.rr-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rr-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rr-footer-brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--Primary);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
    flex: 0 0 auto;
}

.rr-footer-brand-text {
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: .2px;
}

.rr-footer-text-container {
    max-width: 580px;
    color: rgba(255, 255, 255, .9);
}

.rr-footer-text-line1 {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45;
}

.rr-footer-text-line2 {
    font-size: 0.92rem;
    opacity: 0.78;
    line-height: 1.45;
}

[dir="rtl"] .rr-footer-text-container {
    text-align: left;
}

.rr-footer-link {
    font-size: 18px;
    font-weight: 500;
    opacity: .92;
}

.rr-footer-desc {
    max-width: 760px;
    margin: 44px auto 0;
    text-align: center;
    line-height: 1.9;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, .75);
}

.rr-footer-divider {
    margin: 28px 0 18px;
    height: 1px;
    background: rgba(255, 255, 255, .08);
}

.rr-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rr-footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.rr-footer-divider-pipe {
    color: rgba(255, 255, 255, .3);
    user-select: none;
}


@media (max-width: 1199.98px) {
    .rr-footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .rr-footer-text-container {
        text-align: left;
        margin-top: 18px;
        max-width: 100%;
    }

    [dir="rtl"] .rr-footer-text-container {
        text-align: right;
    }

    .rr-footer-desc {
        margin-top: 26px;
        text-align: left;
    }

    .rr-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* --- SHARED HERO & AUTH STYLES --- */
.hero {
    background: linear-gradient(135deg, var(--background) 0%, #f5efe7 100%);
    min-height: 60vh;
    max-height: 75vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
    padding: 60px 0;
}

@media (max-width: 1199.98px) {
    .hero {
        padding: 100px 0 60px; /* Increased top padding for mobile to avoid navbar */
        max-height: none;
        min-height: auto;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-media-side {
        order: -1;
    }
    .hero-content-side {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-actions {
        justify-content: center;
    }
}

.hero .container {
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

/* Image Side */
.hero-media-side {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s ease-out forwards;
}

.hero-media-side::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.12) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-img-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;

}

.hero-img-wrap img {
    width: 100%;
    height: auto;
    max-height: 350px;
    display: block;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    background: #fff;
    transition: all 0.6s ease;
}

.hero-img-wrap:hover img {
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.2);
}

.hero-caption {
    margin-top: 14px;
    font-size: 13px;
    color: var(--muted);
    font-style: italic;
    opacity: 0.8;
}

/* Text Side */
.hero-content-side {
    max-width: 480px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s ease-out 0.25s forwards;
}

.hero-decorator {
    width: 30px;
    height: 3px;
    background: var(--Primary);
    margin-bottom: 10px;
    border-radius: 2px;
}

.hero-content-side h1 {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: clamp(32px, 3.5vw, 48px);
    line-height: 1.15;
    margin: 0 0 12px;
    background: linear-gradient(to right, var(--secondary), var(--Primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content-side p {
    font-size: clamp(16px, 1.1vw, 18px);
    line-height: 1.6;
    color: #5a5a5a;
    margin-bottom: 22px;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--secondary);
    opacity: 0.6;
    animation: heroBounce 2s infinite;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

@keyframes heroBounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}

/* Actions */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-primary-cta {
    background: var(--Primary);
    color: #fff;
    border-radius: 8px;
    padding: 14px 28px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.2);
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-primary-cta:hover {
    background: var(--white-primary);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(217, 119, 6, 0.25);
    color: #fff;
}

.btn-outline-cta {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--border-color, #d9c8b4);
    border-radius: 8px;
    padding: 12px 26px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-outline-cta:hover {
    background: rgba(122, 67, 29, 0.04);
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1199.98px) {
    .hero-grid {
        gap: 40px;
    }
}

@media (max-width: 1199.98px) {
    .hero {
        padding: 40px 0;
        min-height: auto;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .hero-media-side {
        max-width: 600px;
        margin: 0 auto;
    }
    .hero-content-side {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-img-wrap {
        transform: rotate(0deg);
    }
    .hero-decorator {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .hero {
        padding: 30px 16px;
    }
    .hero-content-side h1 {
        font-size: 32px;
    }
    .hero-img-wrap {
        border-radius: 12px;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn-primary-cta, .btn-outline-cta {
        width: 100%;
        justify-content: center;
    }
}

/* FORM AREA */
.auth-wrap {
    padding: 40px 0 60px;
}

.auth-box {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.auth-box h2 {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 44px;
    margin-bottom: 28px;
}

/* Role toggle like your screenshot */
.role-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.role-btn {
    border: 1px solid #c9b29a;
    background: transparent;
    color: #1f2937;
    padding: 10px 12px;
    font-weight: 600;
    font-size: 13px;
    transition: .15s ease;
}

.role-btn:hover {
    transform: translateY(-1px);
}

.role-btn.is-active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

.org-fields {
    margin-top: 6px;
}

.org-fields.is-hidden {
    display: none;
}

/* Upload box style like screenshot */
.upload-box {
    position: relative;
    border: 2px dashed #e1caa7;
    border-radius: 8px;
    background: rgba(255, 255, 255, .45);
    padding: 18px 16px;
    text-align: center;
}

.upload-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-inner .upload-icon {
    font-size: 20px;
    margin-bottom: 6px;
}

.upload-inner .upload-title {
    font-weight: 700;
    font-size: 12px;
    color: var(--secondary);
}

.upload-inner .upload-sub {
    font-size: 11px;
    color: #8b7b6a;
    margin-top: 3px;
}

.upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.upload-preview img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, .08);
}

label {
    display: block;
    text-align: left;
    color: var(--muted);
    margin-bottom: 8px;
    font-family: var(--font-serif);
    font-size: 18px;
}

.form-control {
    border: var(--border);
    border-radius: 2px;
    padding: 12px 14px;
    background: #fff;
}

.or-divider {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 26px 0 18px;
    color: #8f8173;
}

.or-divider::before,
.or-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #dfd2c4;
}

.pass-wrap {
    position: relative;
}

.toggle-eye {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border: 0;
    background: transparent;
    color: #9a8a78;
    padding: 6px 8px;
    line-height: 1;
    cursor: pointer;
}

.toggle-eye:hover {
    color: #6d5f52;
}

.toggle-eye i {
    display: inline-block;
    transition: transform 0.3s ease;
    transform-origin: center center;
}

.toggle-eye i.rotated {
    transform: rotate(180deg);
}

.btn-google {
    border: 1px solid #d8d8d8;
    background: #fff;
    border-radius: 2px;
    padding: 12px 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

/* bottom logo */
.brand-logo {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.brand-logo img {
    width: 150px;
    height: auto;
    opacity: .95;
}

@media (max-width: 768px) {
    .hero-text {
        top: 80px;
        padding-right: 20px;
    }

    .hero-text h1 {
        font-family: var(--font-serif);
        font-weight: 700;
        font-size: 29px;
        line-height: 1.05;
        margin: 0 0 10px;
    }

    .auth-box h2 {
        font-size: 38px;
    }

    .main-gap-md-1 {
        gap: 0.25rem !important;
    }
}

@media (max-width: 576px) {
    .hero-text {
        left: 20px;
        top: 33px;
        padding-right: 20px;
    }

    .hero-text h1,
    .hero-text p {
        font-size: 14px;
    }

    .auth-box h2 {
        font-size: 38px;
    }
}

.pass-wrap {
    position: relative;
}


.toggle-eye {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    pointer-events: auto;
}

/* Landing Page  */
.lp {
    padding-bottom: 0;
}

.lp-section {
    padding: 46px 0;
}

.lp-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 34px;
    text-align: center;
    margin: 0 0 10px;
    color: #1f2a37;
}

.lp-sub {
    text-align: center;
    margin: 0 auto;
    max-width: 760px;
    color: var(--muted);
    line-height: 1.9;
    font-size: 20px;
}

/* Buttons */
.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: .2s ease;
}

.lp-btn-icon {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .18);
}

.lp-btn-primary {
    background: var(--Primary);
    color: #fff;
    box-shadow: 0 14px 24px rgba(200, 133, 30, .20);
}

.lp-btn-primary:hover {
    filter: brightness(.95);
    color: #fff;
    transform: translateY(-1px);
}

.lp-btn-outline {
    background: transparent;
    color: var(--Primary);
    border: 1px solid var(--Primary);
}

.lp-btn-outline:hover {
    background: rgba(217, 119, 6, 0.05);
    color: var(--Primary);
    transform: translateY(-1px);
}

.lp-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* home view  */
.lp-hero {
    padding: 56px 0 28px;
}

.lp-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
    align-items: center;
}

.lp-hero-grid-v3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    align-items: center;
}

@media (max-width: 1199.98px) {
    .lp-hero-grid-v3 {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .lp-hero-grid-v3 .lp-hero-media:last-child {
        display: none;
    }
}

.lp-hero-copy h1 {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(34px, 4vw, 44px);
    line-height: 1.05;
    margin: 0 0 18px;
    color: var(--secondary);
}

.lp-hero-media {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
}

.lp-hero-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/10;
    object-fit: fill;
}

.lp-play {
    position: absolute;
    inset: 0;
    border: 0;
    background: transparent;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.lp-play-circle {
    width: 74px;
    height: 74px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 14px 30px rgba(16, 24, 40, .18);
    display: grid;
    place-items: center;
}

.lp-play-tri {
    width: 0;
    height: 0;
    border-left: 15px solid var(--Primary);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 4px;
}

/* WHY */
.lp-why {
    padding-top: 22px;
    background-color: white;
}

.lp-why-grid {
    margin-top: 44px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: stretch;
}

.lp-why-img {
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(217, 200, 180, .9);
    box-shadow: 0 14px 30px rgba(16, 24, 40, .10);
    background: linear-gradient(#fff, #fff), linear-gradient(180deg, rgba(0, 0, 0, .03), transparent);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
}

    .lp-why-img img {
        height: 100%;
        width: 100%;
        display: block;
        border-radius: 16px;
        object-fit: cover;
    }


.lp-why-list {
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}


.lp-why-item {
    display: grid;
    grid-template-columns: 10px 1fr;
    gap: 14px;
    padding: 14px 0;
}

.lp-why-item+.lp-why-item {
    border-top: 1px solid rgba(200, 133, 30, .18);
}

.lp-why-bar {
    width: 3px;
    border-radius: 999px;
    background: var(--Primary);
    margin-top: 6px;
    height: calc(100% - 12px);
    opacity: .9;
}

.lp-why-item h4 {
    margin: 0 0 6px;
    font-weight: 700;
    font-size: 14px;
    color: #1f2a37;
}

.lp-why-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
    font-size: 16px;
}

.lp-what {
    background-color: white;
}

/* WHAT */
.lp-cards {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.lp-card {
    background: #fff;
    border: 1px solid #ECECEC;
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.lp-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    color: #8B5E3C;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-card-content {
    display: flex;
    flex-direction: column;
}

.lp-card h3 {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 700;
    color: #8B5E3C;
    font-size: 17px;
    margin-bottom: 8px;
}

.lp-card p {
    margin: 0;
    color: #64748B;
    line-height: 1.6;
    font-size: 13px;
}

/* ORGS */
.lp-orgs-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 26px;
    color: var(--secondary);
    margin: 0 0 16px;
}

.lp-org-grid {
    display: grid;             
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.lp-org {
    background: #fff;
    border: var(--border);
    border-radius: 14px;
    flex: 0 0 calc((100% - 48px) / 4);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(16, 24, 40, .06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    isolation: isolate;
}

.lp-org:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(122, 67, 29, 0.1);
    border-color: var(--Primary);
}

.lp-org-top {
    height: 140px;
    padding: 0;
    border-bottom: 1px solid #ECECEC;
    background: none;
    overflow: hidden;
    position: relative;
    border-radius: 14px 14px 0 0;
}

.lp-org-top img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: none;
    transition: transform 0.6s ease;
}

.lp-org:hover .lp-org-top img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(69, 50, 39, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(2px);
    z-index: 2;
}

.lp-org:hover .card-overlay,
.org-card:hover .card-overlay {
    opacity: 1;
}

.view-btn {
    background: white;
    color: var(--secondary);
    padding: 8px 20px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 13px;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.lp-org:hover .view-btn,
.org-card:hover .view-btn {
    transform: translateY(0);
}


.lp-org-yellow {
    background: #f7c400;
}

.lp-org-navy {
    background: var(--Deep-Navy);
}

.lp-org-meta {
    padding: 12px 14px 14px;
}

.lp-org-name {
    margin: 0 0 4px;
    font-weight: 800;
    font-size: 12px;
    color: #1f2a37;
}

.lp-org-loc {
    margin: 0;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* Responsive */
@media (max-width: 1199.98px) {
    .lp-hero-grid {
        grid-template-columns: 1fr;
    }

    .lp-why-grid {
        grid-template-columns: 1fr;
    }

    .lp-cards {
        grid-template-columns: 1fr;
    }

    .lp-org-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .lp-org-grid {
        grid-template-columns: 1fr;
    }

    .lp-title {
        font-size: 30px;
    }
}

/* ===== ORG CAROUSEL ===== */
.lp-orgs-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.lp-org-carousel {
    overflow: hidden;
    position: relative;
}

.lp-org-track {
    display: flex;
    gap: 16px;
    transition: transform .4s ease;
}

.lp-org {
    flex: 0 0 calc((100% - 48px) / 4);
}

/* Arrows */
.lp-org-arrows {
    display: flex;
    gap: 8px;
}

.lp-arrow {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .1);
    background: #fff;
    font-size: 22px;
    cursor: pointer;
    color: var(--secondary);
    transition: .2s;
}

.lp-arrow:hover {
    background: var(--Primary);
    color: #fff;
}

.lp-arrow:disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: default;
}

@media (max-width: 1199.98px) {
    .lp-org {
        flex: 0 0 calc((100% - 16px) / 2);
    }
}

@media (max-width: 576px) {
    .lp-org {
        flex: 0 0 100%;
    }
}

.lp-carousel {
    overflow: hidden;
    padding: 20px 0;
    margin: -20px 0;
}

.lp-track {
    display: flex;
    gap: 16px;
    transition: transform .4s ease;
}


.org-content {
    background: var(--bg);
    padding: 42px 0 50px;
}

.org-title {
    font-family: var(--font-serif) !important;
    font-weight: 800 !important;
    font-style: italic !important;
    font-size: clamp(2.2rem, 5.5vw, 3rem) !important;
    background: linear-gradient(135deg, #D97706 0%, #B45309 50%, #78350F 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0px 4px 15px rgba(217, 119, 6, 0.2) !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
    line-height: 1.6 !important;
    padding-top: 0.45em !important;
    padding-bottom: 0.25em !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    animation: orgTitleFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                text-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: default;
    will-change: transform, text-shadow;
}

.org-title:hover {
    transform: translateY(-2px) scale(1.01) !important;
    text-shadow: 0px 8px 25px rgba(217, 119, 6, 0.35) !important;
}

[dir="rtl"] .org-title {
    font-style: normal !important;
}

@keyframes orgTitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.org-subtitle {
    color: var(--muted);
    line-height: 1.6;
    font-size: .98rem;
}

.filters-bar {
    background: rgba(255, 255, 255, .75);
    border: 1px solid rgba(217, 200, 180, .65);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 12px 26px rgba(122, 67, 29, .06);
}

.search-wrap {
    position: relative;
}

.search-wrap .form-control {
    border-radius: 14px;
    border: 1px solid rgba(217, 200, 180, .85);
    padding: .9rem 2.6rem .9rem 1rem;
    background: #fff;
    color: var(--text);
}

.search-wrap .form-control:focus {
    border-color: rgba(200, 133, 30, .65);
    box-shadow: 0 0 0 .2rem rgba(200, 133, 30, .14);
}

.search-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white-primary);
    pointer-events: none;
    font-size: 1.05rem;
}

.filters-bar .form-select {
    border-radius: 14px;
    border: 1px solid rgba(217, 200, 180, .85);
    padding: .9rem 1rem;
    background-color: #fff;
    color: var(--text);
}

.filters-bar .form-select:focus {
    border-color: rgba(200, 133, 30, .65);
    box-shadow: 0 0 0 .2rem rgba(200, 133, 30, .14);
}

.btn-filter {
    border-radius: 14px;
    border: 1px solid rgba(200, 133, 30, .55);
    background: var(--white-primary);
    color: #fff;
    font-weight: 700;
    padding: .85rem 1rem;
    transition: .15s ease;
}

.btn-filter:hover {
    filter: brightness(.96);
    transform: translateY(-1px);
}

.meta-row {
    margin-top: 16px;
    color: var(--muted);
    font-size: .92rem;
}

.meta-row strong {
    color: var(--secondary);
}

.sort-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(217, 200, 180, .75);
    background: rgba(255, 255, 255, .6);
}

.sort-pill label {
    color: var(--muted);
    white-space: nowrap;
    font-size: .85rem;
    margin: 0;
}

.sort-pill .form-select {
    border-radius: 999px;
    padding: .35rem 2.1rem .35rem .9rem;
    font-size: .85rem;
    border: 1px solid rgba(217, 200, 180, .85);
    background-color: #fff;
}

.org-card {
    height: 100%;
    background: #fff;
    border: 1px solid rgba(217, 200, 180, .55);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(122, 67, 29, .06);
    transition: .15s ease;
}

.org-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(122, 67, 29, .10);
    border-color: rgba(200, 133, 30, .45);
}

.org-thumb {
    height: 150px;
    background: #fff;
    border-bottom: 1px solid rgba(217, 200, 180, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.org-thumb img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    display: block;
}


.org-logo-box {
    width: 70%;
    max-width: 220px;
    aspect-ratio: 16/9;
    border-radius: 14px;
    border: 1px solid rgba(217, 200, 180, .65);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: .5px;
}

.org-body {
    padding: 14px 14px 12px;
}

.org-name {
    font-weight: 800;
    color: var(--secondary);
    font-size: .98rem;
    margin: 0 0 8px;
}

.org-loc {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: .86rem;
    margin-bottom: 10px;
}

.pin {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white-primary);
    box-shadow: 0 0 0 3px rgba(200, 133, 30, .14);
}

.org-type {
    display: inline-flex;
    align-items: center;
    padding: .30rem .60rem;
    border-radius: 999px;
    border: 1px solid rgba(200, 133, 30, .30);
    background: rgba(200, 133, 30, .10);
    color: var(--secondary);
    font-size: .55rem;
    font-weight: 700;
}
.main-title {
    font-family: var(--font-serif);
    font-weight: 800;
    color: var(--c-text);
    font-size: clamp(2.2rem, 5vw, 3rem);
    letter-spacing: -0.02em;
    display: inline-block;
    padding: 6px 24px;
    border-radius: 4px;
    margin-bottom: 0;
}

/* Pagination */
.org-pagination .page-link {
    border-radius: 10px !important;
    border-color: rgba(217, 200, 180, .75);
    color: var(--secondary);
    background: rgba(255, 255, 255, .75);
    padding: .42rem .72rem;
    margin: 0 4px;
}

.org-pagination .page-link:hover {
    border-color: rgba(200, 133, 30, .55);
    background: rgba(200, 133, 30, .10);
}

.org-pagination .page-item.active .page-link {
    background: var(--white-primary);
    border-color: var(--white-primary);
    color: #fff;
}

.org-pagination .page-item.disabled .page-link {
    color: var(--gray);
    background: rgba(255, 255, 255, .55);
}

@media (max-width: 575.98px) {
    .org-thumb {
        height: 140px;
    }

    .org-logo-box {
        width: 82%;
    }
}

/*Org Detail view */
.orgd-page {
    background: var(--bg);
    padding: 40px 0 60px;
}

.orgd-card {
    background: transparent;
    border: 0;
}

.orgd-logo {
    background: #fff;
    border: 1px solid rgba(217, 200, 180, .75);
    border-radius: 14px;
    box-shadow: 0 14px 28px rgba(122, 67, 29, .07);
    height: 340px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.orgd-logo img {
    height: 320px;
    width: 100%;
    padding: 14px;
    display: block;
    border-radius: 16px;
    object-fit: contain;
}

.orgd-title {
    font-family: var(--font-serif);
    color: var(--secondary);
    font-weight: 800;
    letter-spacing: .2px;
    line-height: 1.1;
}

.orgd-years {
    margin-top: 8px;
    color: var(--secondary);
    font-weight: 700;
    font-family: var(--font-serif);
    font-size: .98rem;
}

.orgd-text {
    margin-top: 18px;
    color: var(--muted);
    line-height: 1.85;
    font-size: .98rem;
}

.section-gap {
    margin-top: 52px;
}

.rel-title {
    font-family: var(--font-serif);
    color: var(--secondary);
    font-weight: 800;
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.rel-underline {
    height: 2px;
    width: 170px;
    background: rgba(217, 200, 180, .9);
    border-radius: 999px;
    margin-bottom: 22px;
}

.person-card {
    background: transparent;
    border: 0;
    height: 100%;
}

.person-img {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(217, 200, 180, .75);
    box-shadow: 0 14px 26px rgba(122, 67, 29, .07);
    background: #fff;
}

.person-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .18s ease;
}

.person-link {
    text-decoration: none;
    display: block;
}

.person-link:hover .person-img img {
    transform: scale(1.03);
}

.person-name {
    margin-top: 10px;
    color: var(--secondary);
    font-weight: 800;
    font-family: var(--font-serif);
    font-size: .98rem;
}

.person-country {
    margin-top: 2px;
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gray);
    font-weight: 700;
}

.person-years {
    margin-top: 6px;
    color: var(--muted);
    font-size: .9rem;
}

.cta-row {
    margin-top: 18px;
}

.btn-orgd {
    background: var(--white-primary);
    border: 1px solid rgba(200, 133, 30, .55);
    color: #fff;
    font-weight: 800;
    border-radius: 12px;
    padding: .85rem 1.15rem;
    box-shadow: 0 12px 24px rgba(200, 133, 30, .18);
    transition: .15s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: lowercase;
    letter-spacing: .02em;
}

.btn-orgd:hover {
    filter: brightness(.96);
    transform: translateY(-1px);
}

.btn-orgd .arrow {
    font-size: 1.1rem;
    line-height: 1;
}

@media (max-width: 1199.98px) {
    .orgd-logo {
        height: 280px;
    }

    .section-gap {
        margin-top: 36px;
    }
}



@media (max-width: 575.98px) {
    .ft-page {
        padding: 32px 0 56px;
    }

    .ft-cta {
        padding: 44px 0 52px;
    }
}

/*profile Page view*/
.pp-page {
    padding: 42px 0 60px;
    background: var(--bg);
}

/* Top profile block */
.pp-photo {
    background: #fff;
    border: 1px solid rgba(217, 200, 180, .85);
    border-radius: 14px;
    box-shadow: 0 16px 34px rgba(122, 67, 29, .08);
    overflow: hidden;
    height: 360px;
}

.pp-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pp-name {
    font-family: var(--font-serif);
    color: var(--secondary);
    font-weight: 900;
    letter-spacing: .2px;
    margin: 0;
    line-height: 1.05;
}

.pp-years {
    display: inline-flex;
    align-items: center;
    padding: .35rem .65rem;
    border-radius: 8px;
    border: 1px solid rgba(217, 200, 180, .9);
    background: rgba(255, 255, 255, .65);
    color: var(--secondary);
    font-weight: 800;
    font-size: .85rem;
    margin-top: 10px;
}

.pp-desc {
    margin-top: 16px;
    color: var(--muted);
    line-height: 1.85;
    font-size: .98rem;
    max-width: 640px;
}

.pp-actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-pp {
    border-radius: 12px;
    padding: .85rem 1.5rem;
    font-weight: 900;
    font-size: 1.05rem;
    border: 1px solid rgba(217, 200, 180, .9);
    background: rgba(255, 255, 255, .7);
    color: var(--secondary);
    box-shadow: 0 12px 24px rgba(122, 67, 29, .06);
    transition: .15s ease;
}

.btn-pp:hover {
    transform: translateY(-1px);
    filter: brightness(.99);
}

.btn-pp-primary {
    background: var(--white-primary);
    border-color: rgba(200, 133, 30, .65);
    color: #fff;
    box-shadow: 0 14px 26px rgba(200, 133, 30, .18);
}

.btn-pp-outline {
    background: rgba(255, 255, 255, .55);
    border-color: rgba(200, 133, 30, .55);
    color: var(--white-primary);
}

.btn-pp-primary .arr {
    font-size: 1.05rem;
    line-height: 1;
}

.pp-h2 {
    font-family: var(--font-serif);
    color: var(--secondary);
    font-weight: 900;
    margin: 0 0 12px;
    letter-spacing: .2px;
}

/* Biography block */
.pp-bio {
    background: #f7f1e6;
    border: 1px solid rgba(217, 200, 180, .65);
    border-radius: 12px;
    padding: 18px;
    color: var(--muted);
    line-height: 1.85;
    box-shadow: 0 10px 22px rgba(122, 67, 29, .05);
}

/* Info grid */
.pp-box {
    background: #f7f1e6;
    border: 1px solid rgba(217, 200, 180, .65);
    border-radius: 12px;
    padding: 18px;
    color: var(--muted);
    line-height: 1.85;
    height: 100%;
    box-shadow: 0 10px 22px rgba(122, 67, 29, .05);
}

.pp-box h5 {
    font-family: var(--font-serif);
    color: var(--secondary);
    font-weight: 900;
    margin-bottom: 10px;
}

/* Families created by ... */
.pp-center-title {
    text-align: center;
    font-family: var(--font-serif);
    color: var(--secondary);
    font-weight: 900;
    letter-spacing: .2px;
    margin: 26px 0 16px;
}

.mini-card {
    text-decoration: none;
    display: block;
}

.mini-img {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(217, 200, 180, .85);
    box-shadow: 0 14px 26px rgba(122, 67, 29, .07);
    background: #fff;
}

.mini-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .18s ease;
    display: block;
}

.mini-card:hover .mini-img img {
    transform: scale(1.03);
}

.mini-name {
    margin-top: 10px;
    font-family: var(--font-serif);
    font-weight: 900;
    color: var(--secondary);
    font-size: .98rem;
}

.mini-sub {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--gray);
    font-weight: 800;
    margin-top: 2px;
}

.mini-years {
    margin-top: 6px;
    color: var(--muted);
    font-size: .9rem;
}

/* Media section (orange bar) */
.pp-media-wrap {
    margin-top: 22px;
    background: var(--white-primary);
    padding: 26px 0 34px;
}

.pp-media-title {
    font-family: var(--font-serif);
    font-weight: 900;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: .2px;
}

.media-card {
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .12);
}

.media-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

@media (max-width: 1199.98px) {
    .pp-photo {
        height: 300px;
    }
}


/*Family Tree View */

.ftv-page {
    padding: 26px 0 60px;
    background: var(--bg);
}

.btn-ftv {
    border-radius: 14px;
    border: 1px solid rgba(200, 133, 30, .55);
    background: var(--white-primary);
    color: #fff;
    font-weight: 800;
    padding: .85rem 1rem;
    transition: .15s ease;
}

.btn-ftv:hover {
    filter: brightness(.96);
    transform: translateY(-1px);
}

/* Tree canvas */
.ftv-tree {
    position: relative;
    padding: 26px 0 10px;
    min-height: 560px;
}

/* Tree rows */
.ftv-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 90px;
    margin-bottom: 36px;
    position: relative;
}

.ftv-row.tight {
    gap: 60px;
}

.ftv-row.wide {
    gap: 120px;
}

/* Node card */
.ftv-node {
    width: 240px;
    background: #7A441F;
    color: #fff;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
    padding: 12px 12px 10px;
    position: relative;
}

.ftv-node::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
    pointer-events: none;
}

.ftv-menu {
    position: absolute;
    top: 10px;
    right: 10px;
    color: rgba(255, 255, 255, .8);
    font-weight: 900;
    letter-spacing: 2px;
}

.ftv-node-top {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.ftv-avatar {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
    flex: 0 0 auto;
}

.ftv-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ftv-name {
    font-weight: 900;
    margin: 0;
    font-size: .95rem;
    line-height: 1.15;
}

.ftv-meta {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: .75rem;
    color: rgba(255, 255, 255, .78);
}

.ftv-meta-line {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ftv-role {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: .22rem .55rem;
    border-radius: 999px;
    background: #f8f9fa;
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: .72rem;
    font-weight: 700;
    color: var(--Primary);
    width: fit-content;
}

/* PLUS circle */
.ftv-plus {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 2px solid rgba(122, 67, 29, .85);
    background: rgba(255, 255, 255, .55);
    display: grid;
    place-items: center;
    color: rgba(122, 67, 29, .95);
    font-weight: 900;
    box-shadow: 0 12px 22px rgba(0, 0, 0, .08);
}

/* Simple lines overlay (static demo like screenshot) */
.ftv-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.ftv-tree .ftv-row,
.ftv-tree .ftv-node,
.ftv-tree .ftv-plus {
    position: relative;
    z-index: 1;
}

.ftv-line-v {
    position: absolute;
    width: 2px;
    background: rgba(122, 67, 29, .55);
    left: 50%;
    transform: translateX(-50%);
    border-radius: 999px;
}

.ftv-line-h {
    position: absolute;
    height: 2px;
    background: rgba(122, 67, 29, .45);
    border-radius: 999px;
}

/* Bottom actions */
.ftv-actions {
    margin-top: 26px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.ftv-approve,
.ftv-reject {
    min-width: 140px;
    border-radius: 10px;
    font-weight: 900;
    padding: .7rem 1rem;
    border: 0;
    box-shadow: 0 14px 26px rgba(0, 0, 0, .10);
}

.ftv-approve {
    background: #62d08a;
    color: #fff;
}

.ftv-reject {
    background: #ff5a5f;
    color: #fff;
}

/* Responsive */
@media (max-width: 991.98px) {
    .ftv-row {
        gap: 18px;
        flex-wrap: wrap;
    }

    .ftv-node {
        width: min(340px, 100%);
    }

    .ftv-tree {
        min-height: auto;
    }

    .ftv-lines {
        display: none;
    }
}

@keyframes pulse-active {
    0% {
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.5);
    }

    70% {
        box-shadow: 0 0 0 5px rgba(5, 150, 105, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
    }
}


/* Required Field Indicator */
.required-field::after {
    content: " *";
    color: #dc3545;
    font-weight: bold;
}

/* Validation States for Inputs */
.form-control.invalid,
.form-select.invalid,
.input-group.invalid .form-control {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.invalid:focus,
.form-select.invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

/* Validation Messages */
.validation-message {
    color: #b91c1c;
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.82rem;
    font-weight: 500;
    margin-top: 0.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: default;
    width: 100%;
    /* Better layout */
}

/* Premium Alerts & Validation */
.alert {
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    border: 1px solid transparent !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.alert-danger {
    background: #FEF2F2 !important;
    color: #991B1B !important;
    border: 1px solid #FECACA !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.08) !important;
    animation: shake-error 0.5s cubic-bezier(.36, .07, .19, .97) both !important;
}

.alert-success {
    background: #ECFDF5 !important;
    color: #065F46 !important;
    border: 1px solid #A7F3D0 !important;
}

.alert-info {
    background: #EFF6FF !important;
    color: #1D4ED8 !important;
    border: 1px solid #BFDBFE !important;
}

.validation-message {
    background: #FEF2F2;
    color: #B91C1C;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #FECACA;
    transition: all 0.3s ease;
    cursor: default;
    width: 100%;
    animation: shake-error 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

.error-highlight {
    animation: shake-error 0.5s cubic-bezier(.36, .07, .19, .97) both;
    border-radius: 4px;
}

@keyframes shake-error {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}
/* Family Tree Loading & Error States */
.tree-loading-state, .tree-error-state { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 100; background: rgba(255, 255, 255, 0.9); padding: 2.5rem; border-radius: 2rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); backdrop-filter: blur(8px); max-width: 400px; width: 90%; }
.loading-spinner { width: 3.5rem; height: 3.5rem; border: 4px solid rgba(139, 69, 19, 0.1); border-left-color: #8b4513; border-radius: 50%; display: inline-block; animation: spin 1s linear infinite; margin-bottom: 1.5rem; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.tree-error-state i { font-size: 3rem; color: #dc3545; margin-bottom: 1.5rem; display: block; }
.tree-error-state h3 { margin-bottom: 1rem; color: #4a342e; font-weight: 700; }
.tree-error-state p { color: #6c757d; font-size: 0.95rem; margin-bottom: 1.5rem; }
.tree-loading-state p { color: #8b4513; font-weight: 600; font-size: 1.1rem; margin: 0; }
/* Empty State Refresh */
.empty-tree-state { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; background: var(--bg); }
.empty-icon-wrapper { width: 80px; height: 80px; background: rgba(139, 69, 19, 0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #8b4513; font-size: 2.5rem; }

/* Logged Out Page Styles - Screenshot Match */
.auth-branded-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/Images/Exit-Page2.png') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 20px;
}

.auth-branded-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.2) 60%, rgba(255,255,255,0.7) 100%);
    pointer-events: none;
}

.auth-branded-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 500px;
}

.auth-branded-logo img {
    height: 180px;
    width: auto;
    margin-bottom: 10px;
}

.auth-branded-message h2 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 24px;
    color: #4a5d23;
    margin-bottom: 8px;
}

.auth-branded-message p {
    font-size: 19px;
    color: #4a5d23;
    line-height: 1.4;
    margin-bottom: 40px;
    font-weight: 500;
}


.auth-branded-btn-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.auth-branded-btn-group .btn {
    min-width: 280px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}


/* LP View All Button */
.lp-view-all-btn {
    display: inline-flex;
    align-items: center;
    color: var(--secondary);
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    padding: 10px 22px;
    border: 1.5px solid #d9c8b4;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(122, 67, 29, 0.05);
    backdrop-filter: blur(4px);
}

.lp-view-all-btn:hover {
    background: var(--Primary);
    color: #fff;
    border-color: var(--Primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.2);
}

.lp-view-all-btn i {
    transition: transform 0.3s ease;
}

.lp-view-all-btn:hover i {
    transform: translateX(4px);
}

/* ── EXPLORE & FAMILY CARDS ─────────────────────────────────────────── */
.explore-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.explore-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: var(--Primary);
}

.explore-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #fafafa;
}

.explore-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.explore-card:hover .explore-card-img img {
    transform: scale(1.1);
}

.explore-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.explore-card:hover .explore-card-overlay {
    opacity: 1;
}

.explore-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.bg-soft-primary {
    background: rgba(217, 119, 6, 0.1);
    color: var(--Primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

.explore-page {
    background: var(--background);
    min-height: 100vh;
}

.explore-hero {
    padding: 80px 0 40px;
    background: linear-gradient(180deg, #fff, var(--background));
}

/* ── PAGINATION ────────────────────────────────────────────────────── */
.pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
}

.btn-page {
    min-width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid #eee;
    background: white;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0 10px;
    text-decoration: none;
}

.btn-page:hover:not(:disabled) {
    border-color: var(--Primary);
    color: var(--Primary);
    transform: translateY(-2px);
    background: #FFFBF7;
}

.btn-page.active {
    background: var(--Primary);
    color: white;
    border-color: var(--Primary);
    box-shadow: 0 8px 16px rgba(217, 119, 6, 0.25);
}

.btn-page:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.page-dots {
    color: #C1B0A3;
    font-weight: 700;
    padding: 0 4px;
}

html[dir="rtl"] .pagination-wrap .bi-chevron-left,
html[dir="rtl"] .pagination-wrap .bi-chevron-right {
    transform: scaleX(-1);
    display: inline-block;
}

/* ==========================================================================
   Community Events Banner (Global)
   ========================================================================== */
.org-events-banner {
    --c-primary: #D97706;
    --c-text: #453227;
    --c-text-muted: #7C6658;
    --c-border: #F3EAE2;
    --serif: 'Merriweather', serif;
    --sans: 'Merriweather', serif;

    background: #FAF6F0;
    border-radius: 16px;
    border: 1px solid var(--c-border);
    border-left: 4px solid var(--c-primary);
    padding: 24px 30px;
    box-shadow: 0 10px 30px rgba(75, 54, 33, 0.04);
    transition: all 0.3s ease;
}

.org-events-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(75, 54, 33, 0.08);
}

[dir="rtl"] .org-events-banner {
    border-left: 1px solid var(--c-border);
    border-right: 4px solid var(--c-primary);
    --serif: 'Segoe UI Historic', 'Estrangelo Edessa', 'Serto Jerusalem', 'Segoe UI', Tahoma, Arial, sans-serif;
    --sans: 'Segoe UI Historic', 'Estrangelo Edessa', 'Serto Jerusalem', 'Segoe UI', Tahoma, Arial, sans-serif;
}

.events-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.events-banner-info-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.events-banner-icon {
    background: rgba(217, 119, 6, 0.1);
    color: #D97706; /* --c-primary */
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.org-events-banner:hover .events-banner-icon {
    transform: scale(1.1) rotate(5deg);
    background: #D97706; /* --c-primary */
    color: white;
}

.events-banner-text {
    flex: 1;
}

.events-banner-title {
    font-family: var(--serif);
    font-weight: 800;
    color: var(--c-text);
    font-size: 1.35rem;
    margin-bottom: 6px;
    line-height: 1.3;
}

.events-banner-desc {
    font-family: var(--sans);
    color: var(--c-text-muted);
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.btn-events-explore {
    background: #D97706; /* --c-primary */
    color: white !important;
    border: none;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 700;
    box-shadow: 0 6px 15px rgba(217, 119, 6, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    text-decoration: none !important;
}

.btn-events-explore:hover {
    background: #B45309;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.3);
}

.btn-events-explore:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .org-events-banner {
        padding: 20px;
    }

    .events-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .events-banner-info-group {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .events-banner-icon {
        margin: 0 auto;
    }

    .btn-events-explore {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }
}

/* ===== Scroll Reveal Shared Animation System ===== */

.lp-custom:not(.lp-js-ready) .lp-scroll-reveal,
.lp-custom:not(.lp-js-ready) .lp-about-block-enter,
.lp-custom:not(.lp-js-ready) .lp-offer-card-enter {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    pointer-events: auto !important;
}

.lp-custom.lp-js-ready .lp-scroll-reveal,
.lp-custom.lp-js-ready .lp-about-block-enter,
.lp-custom.lp-js-ready .lp-offer-card-enter {
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity, filter;
}

.lp-custom.lp-js-ready .lp-scroll-reveal.lp-revealed,
.lp-custom.lp-js-ready .lp-about-block-enter.lp-revealed,
.lp-custom.lp-js-ready .lp-offer-card-enter.lp-revealed {
    opacity: 1;
    pointer-events: auto;
}

.lp-image-reveal:not(.lp-revealed) {
    transform: scale(0.92) translateY(30px);
}

.lp-image-reveal.lp-revealed {
    animation: lpImageReveal 1s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--reveal-i, 0) * 0.15s);
}

@keyframes lpImageReveal {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(30px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-scroll-reveal,
    .lp-about-block-enter,
    .lp-offer-card-enter {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        animation: none !important;
        pointer-events: auto !important;
    }
}

/* ===== Image Lazy Loading & Blur-Up Transition ===== */
img.lazy-blur {
    filter: blur(12px) !important;
    opacity: 0.55 !important;
}

img.lazy-blur-processed {
    transition: opacity 0.4s ease-in-out, filter 0.4s ease-in-out !important;
}

img.lazy-blur-processed.loaded {
    opacity: 1 !important;
    filter: blur(0) !important;
}

/* ===== Global Navigation Page Loader ===== */
#global-page-loader {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #D97706, #7A431D);
    z-index: 99999;
    width: 0%;
    opacity: 0;
    transition: width 0.3s ease-out, opacity 0.2s ease-in-out;
}
#global-page-loader.finished {
    transition: width 0.1s ease-out, opacity 0.2s ease-in-out;
}

/* ===== Smooth Page Fade-In Transition ===== */
.page-fade-in {
    animation: pageFadeIn 0.35s ease-out;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Auth Hero section (Signup/Login Unified) ===== */
.signup-hero-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #FAF7F2 0%, #F5EFE7 100%);
    border-bottom: 1px solid rgba(92, 62, 47, 0.08);
}

.signup-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 991.98px) {
    .signup-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.signup-hero-img-container {
    border: 1px solid rgba(92, 62, 47, 0.12);
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(92, 62, 47, 0.04);
}

.signup-hero-img-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.signup-hero-caption {
    font-family: var(--font-serif), Georgia, serif;
    font-style: italic;
    font-size: 13px;
    color: #8C7E72;
    margin-top: 10px;
    text-align: start;
}

.signup-hero-title {
    font-family: var(--font-serif), Georgia, serif;
    font-weight: 800;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    color: #2C1E16;
    line-height: 1.25;
    margin-bottom: 24px;
}

.signup-hero-subtitle-gold {
    font-family: var(--font-serif), Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(1.2rem, 2.2vw, 1.7rem);
    color: #B45309; /* Warm gold-brown */
    line-height: 1.45;
    margin-bottom: 28px;
}

.signup-hero-subtitle-grey {
    font-family: var(--font-sans), sans-serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    color: #554D45;
    line-height: 1.6;
}

/* ===== Phone Country Dropdown Styles (Global) ===== */
.phone-country-wrap {
    position: relative;
    display: flex;
    gap: 8px;
}

.country-code-btn {
    min-width: 120px;
    border: 1px solid #D9C8B4;
    background: #fff;
    border-radius: 4px;
    color: #5C3E2F;
    font-weight: 700;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.phone-input-with-code {
    flex: 1;
}

.country-dropdown {
    position: absolute;
    top: 48px;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #D9C8B4;
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(92, 62, 47, 0.14);
    z-index: 50;
    padding: 10px;
}

.country-search-input {
    width: 100%;
    border: 1px solid #D9C8B4;
    border-radius: 4px;
    padding: 9px 10px;
    margin-bottom: 8px;
    font-size: 14px;
}

.country-list {
    max-height: 240px;
    overflow-y: auto;
}

.country-item {
    width: 100%;
    border: none;
    background: transparent;
    padding: 9px 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: start;
    border-radius: 4px;
    cursor: pointer;
}

.country-item:hover {
    background: #FAF7F2;
}

.country-flag {
    font-size: 18px;
}

.country-name {
    flex: 1;
    color: #2C1E16;
    font-weight: 600;
}

.country-code {
    color: #B45309;
    font-weight: 700;
}

.country-flag-img {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}

html[dir="rtl"] .country-dropdown {
    left: auto;
    right: 0;
}





