/* =====================================================================
   DALI THEME v18 - "Find Your Model" (white version)
   Loaded AFTER styles.css so it overrides it. Delete this file to go
   back to the old look.

   To change a color, edit it in the :root block just below.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Barlow:wght@400;500;600;700&family=Barlow+Semi+Condensed:wght@600;700&family=Cairo:wght@400;600;700&display=swap');

:root {
    --dali-red: #e8312f;
    --dali-red-dark: #b81f1d;
    --dali-ink: #111111;          /* headings */
    --dali-text: #555555;         /* body text */
    --dali-line: #e6e6e6;         /* thin borders */
    --dali-soft: #f6f6f6;         /* light grey panels */
    --dali-black: #0b0b0b;        /* footer, logo block */
    --dali-error: #c4201e;
}

/* ---------- Base ---------- */
html body {
    background: #ffffff;
    color: #555555;
    font-family: 'Barlow', 'Nunito', sans-serif;
    font-size: 17px;
    line-height: 1.7;
}

html[lang^="ar"] body {
    font-family: 'Cairo', 'Al-Jazeera-Arabic', sans-serif;
}

::selection {
    background: var(--dali-red);
    color: #ffffff;
}

/* ---------- Headings ---------- */
main h1, main h2, main h3, main h4, main h5, main h6 {
    font-family: 'Barlow Condensed', 'Futura', sans-serif;
    font-weight: 700;
    color: var(--dali-ink);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.12;
}

main h1 {
    font-size: clamp(28px, 3.4vw, 46px) !important;
}

main h2,
main h3 {
    font-size: clamp(26px, 3vw, 36px) !important;
}

/* The line under the page title: lighter, normal font */
main h1 + h2,
main h1 ~ h2 {
    font-family: 'Barlow', 'Nunito', sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(18px, 1.8vw, 24px) !important;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
    line-height: 1.5 !important;
}

/* Arabic */
html[lang^="ar"] main h1,
html[lang^="ar"] main h2,
html[lang^="ar"] main h3,
html[lang^="ar"] main h4,
html[lang^="ar"] main h5,
html[lang^="ar"] main h6,
html[lang^="ar"] main h1 + h2 {
    font-family: 'Cairo', 'Al-Jazeera-Arabic', sans-serif !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    line-height: 1.35;
}

main p {
    font-size: 18px;
    line-height: 1.75;
}

main p a {
    color: var(--dali-red);
}

/* ---------- Buttons: red gradient, sharp corners ---------- */
main :is(.btn, a[class*="btn"], button[class*="btn"]):not(.btn-close):not(.btn-danger) {
    display: inline-block;
    background: linear-gradient(180deg, #f24545 0%, #d92b2b 100%) !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #ffffff !important;
    font-family: 'Barlow Semi Condensed', 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    line-height: 1.2;
    padding: 18px 38px;
    text-decoration: none;
    box-shadow: 0 10px 24px -10px rgba(217, 43, 43, 0.65);
    transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

main :is(.btn, a[class*="btn"], button[class*="btn"]):not(.btn-close):not(.btn-danger):hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    color: #ffffff !important;
    box-shadow: 0 16px 30px -10px rgba(217, 43, 43, 0.75);
}

html[lang^="ar"] main :is(.btn, a[class*="btn"], button[class*="btn"]) {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
}

/* ---------- Header: dark and see-through ---------- */
html body #navbar_main,
html body .navbar2 {
    background: rgba(10, 10, 10, 0.97) !important;
    box-shadow: none;
}

html body #navbar_main.shadow {
    background: rgba(10, 10, 10, 0.9) !important;
}

html body #navbar_main .nav-link {
    font-family: 'Barlow Semi Condensed', 'Barlow', sans-serif !important;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffffff !important;
    padding: 36px 18px !important;
}

html[lang^="ar"] body #navbar_main .nav-link {
    font-family: 'Cairo', sans-serif !important;
    letter-spacing: 0;
    font-size: 16px;
}

html body #navbar_main .nav-link:hover,
html body #navbar_main .nav-link.active,
html body #navbar_main .nav-link.show {
    color: var(--dali-red) !important;
}

/* "Register as a Model" is the red button in the menu */
html body #navbar_main a.nav-link[href*="registermodel"] {
    background: linear-gradient(180deg, #f24545 0%, #d92b2b 100%);
    border-radius: 0;
    padding: 14px 24px !important;
    color: #ffffff !important;
}

html body #navbar_main a.nav-link[href*="registermodel"]:hover,
html body #navbar_main a.nav-link[href*="registermodel"].active {
    color: #ffffff !important;
    filter: brightness(1.1);
}

/* Drop-down menus: white panel, grey text, thin lines */
html body #navbar_main .dropdown-menu {
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    min-width: 300px;
    padding: 8px 0;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

html body #navbar_main .dropdown-item {
    display: block;
    width: auto;
    margin: 0 24px;
    padding: 14px 0;
    background: transparent !important;
    border-bottom: 1px solid #e6e6e6;
    color: #4a4a4a !important;
    font-family: 'Barlow', 'Nunito', sans-serif;
    font-size: 17px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
}

html[lang^="ar"] body #navbar_main .dropdown-item {
    font-family: 'Cairo', sans-serif;
}

html body #navbar_main .dropdown-menu li:last-child .dropdown-item {
    border-bottom: 0;
}

html body #navbar_main .dropdown-item:hover,
html body #navbar_main .dropdown-item.active {
    background: transparent !important;
    color: var(--dali-red) !important;
}

/* Language switcher: white */
html body #navbar_main #navbarDropdownLang,
html body #navbar_main #navbarDropdownLang span,
html body #navbar_main #navbarDropdownLang i,
html body #navbar_main #navbarDropdownLang svg,
html body #navbar_main .lang-mobile .nav-link {
    color: #ffffff !important;
    fill: #ffffff;
    opacity: 1 !important;
    visibility: visible !important;
}

html body #navbar_main #navbarDropdownLang:hover,
html body #navbar_main #navbarDropdownLang:hover span,
html body #navbar_main #navbarDropdownLang:hover i,
html body #navbar_main #navbarDropdownLang.show,
html body #navbar_main #navbarDropdownLang.show span,
html body #navbar_main #navbarDropdownLang.show i {
    color: var(--dali-red) !important;
}

html body #navbar_main .lang-dropdown {
    min-width: 170px;
}

/* Logo: no white box or border around it */
html body .navbar-brand,
html body .navbar2 .navbar-brand,
html body #navbar_main .navbar-brand,
html body .navbar-brand.mobile-nav-down {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html body .navbar-brand img,
html body .brand-img {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    outline: 0 !important;
}

/* Desktop: logo on a black block, menu next to it */
@media (min-width: 993px) {
    html body #navbar_main {
        padding: 0 !important;
    }

    html body #navbar_main > .container {
        max-width: 100%;
        padding: 0 32px 0 0;
        align-items: stretch;
    }

    html body #navbar_main .navbar-brand {
        display: flex !important;
        align-items: center;
        background: transparent !important;
        margin: 0 !important;
        padding: 14px 28px !important;
    }

    html body #navbar_main .navbar-brand .brand-img {
        width: 120px !important;
        max-width: 120px;
        height: auto;
    }

    html body #navbar_main .nav-content {
        justify-content: center !important;
    }

    html body #navbar_main .navbar-nav {
        flex-direction: row;
        align-items: center;
        gap: 4px;
    }
}

/* Mobile header */
@media (max-width: 992px) {
    html body .navbar2 {
        background: rgba(10, 10, 10, 0.94) !important;
    }

    html body #navbar_main {
        background: rgba(10, 10, 10, 0.98) !important;
    }

    html body #navbar_main .nav-link {
        padding: 12px 15px !important;
    }

    html body .navbar2 .navbar-toggler,
    html body .navbar2 .navbar-toggler i {
        color: #ffffff;
    }
}

/* ---------- Models page ---------- */
main .models-filters {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    margin-bottom: 48px;
}

main .models-search-wrap {
    width: 100%;
    max-width: 460px;
}

/* Search box: white, black text */
main input.models-search,
main .models-search {
    background-color: #ffffff !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    border: 1px solid #d5d5d5 !important;
    border-radius: 0 !important;
    padding: 14px 18px;
    font-size: 17px;
    box-shadow: 0 6px 20px -12px rgba(0, 0, 0, 0.25);
}

main input.models-search::placeholder,
main .models-search::placeholder {
    color: #8a8a8a !important;
    -webkit-text-fill-color: #8a8a8a !important;
    opacity: 1;
}

main input.models-search:focus,
main .models-search:focus {
    border-color: var(--dali-red) !important;
    box-shadow: 0 0 0 3px rgba(232, 49, 47, 0.18) !important;
}

/* Category filter buttons */
main .models-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

main .models-tag {
    background: #ffffff;
    border: 1px solid #d5d5d5;
    border-radius: 0;
    color: #111111 !important;
    font-family: 'Barlow Semi Condensed', 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 10px 22px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

html[lang^="ar"] main .models-tag {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
}

main .models-tag:hover,
main .models-tag.active {
    background: var(--dali-red);
    border-color: var(--dali-red);
    color: #ffffff !important;
}

/* Square model cards with a red top line */
main .models-grid {
    --bs-gutter-x: 2.5rem;
}

main .models-grid > [class*="col-"] {
    margin-bottom: 2.5rem !important;
}

@media (min-width: 992px) {
    main .models-grid > [class*="col-"] {
        flex: 0 0 auto !important;
        width: 33.3333% !important;
        max-width: 33.3333% !important;
    }
}

main .model-card {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    padding: 0 !important;
    border: 0 !important;
    border-top: 3px solid var(--dali-red) !important;
    border-radius: 0 !important;
    background: #000000 !important;
    cursor: pointer;
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

main .model-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 34px 50px -24px rgba(0, 0, 0, 0.55);
}

main .model-card-image-link {
    position: absolute;
    inset: 0;
    display: block;
    height: 100%;
}

main .model-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

main .model-card:hover .model-card-image {
    transform: scale(1.07);
}

main .model-card-no-image {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    background: #1a1a1a;
    color: #8a8a8a;
}

/* dark fade at the bottom so the name is easy to read */
main .model-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.82) 100%);
    pointer-events: none;
    z-index: 1;
}

main .model-card-contet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 22px 18px;
    text-align: center;
}

main .model-card-name {
    margin: 0;
    font-size: 28px !important;
    letter-spacing: 0.05em;
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* details slide up on hover */
main .model-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
}

main .model-card-info small {
    display: block;
    font-size: 15px;
    line-height: 1.4;
    color: #e9e9e9 !important;
}

main .model-card:hover .model-card-info {
    max-height: 160px;
    opacity: 1;
    margin-top: 12px;
}

/* Model details pop-up */
.modal-content,
.models-modal-content {
    background: #ffffff;
    color: #333333;
    border: 0;
    border-top: 3px solid var(--dali-red);
    border-radius: 0;
}

.modal-header,
.modal-footer {
    border-color: var(--dali-line);
}

.modal-title {
    font-family: 'Barlow Condensed', 'Futura', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dali-ink);
}

/* ---------- Forms (Register as a Model) ---------- */
main form label,
main form .form-label {
    color: #111111;
    font-weight: 600;
    margin-bottom: 6px;
}

main form .form-check-label,
main form .form-check label {
    color: #111111;
    font-weight: 400;
}

main form .form-text,
main form small {
    color: #666666;
}

main form .text-danger,
main form .invalid-feedback {
    color: var(--dali-error);
}

.form-control,
.form-select,
textarea.form-control {
    background-color: #ffffff;
    border: 1px solid #d5d5d5;
    border-radius: 0;
    color: #111111;
    padding: 0.8rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control::placeholder,
textarea.form-control::placeholder {
    color: #9a9a9a;
}

.form-control:focus,
.form-select:focus {
    background-color: #ffffff;
    border-color: var(--dali-red);
    box-shadow: 0 0 0 3px rgba(232, 49, 47, 0.16);
    color: #111111;
}

.form-check-input {
    border: 1px solid #8a8a8a;
}

.form-check-input:checked {
    background-color: var(--dali-red);
    border-color: var(--dali-red);
}

/* ---------- Footer ---------- */
.dali-footer {
    background: #050505;
    color: #b9b9b9;
    border-top: 4px solid var(--dali-red);
    padding: 64px 0 0;
    font-family: 'Barlow', 'Nunito', sans-serif;
}

html[lang^="ar"] .dali-footer {
    font-family: 'Cairo', 'Al-Jazeera-Arabic', sans-serif;
}

.dali-footer a {
    color: #b9b9b9;
    text-decoration: none;
    transition: color 0.15s ease;
}

.dali-footer a:hover {
    color: #ffffff;
}

.dali-footer-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 18px;
    background: transparent;
    border: 0;
    padding: 0;
}

.dali-footer-text {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #b9b9b9;
}

.dali-footer-title {
    font-family: 'Barlow Condensed', 'Futura', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

html[lang^="ar"] .dali-footer-title {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
}

.dali-footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 36px;
    height: 3px;
    background: var(--dali-red);
}

.dali-footer-links,
.dali-footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dali-footer-links li {
    margin-bottom: 10px;
}

.dali-footer-links a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

html[lang^="ar"] .dali-footer-links a {
    letter-spacing: 0;
}

.dali-footer-contact {
    font-size: 14px;
}

.dali-footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    line-height: 1.6;
}

.dali-footer-contact i,
.dali-footer-contact svg {
    color: var(--dali-red);
    width: 18px;
    margin-top: 4px;
    flex-shrink: 0;
    text-align: center;
}

.dali-footer-contact a[href^="tel"] {
    direction: ltr;
    unicode-bidi: embed;
    display: inline-block;
}

.dali-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dali-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.dali-social a:hover {
    background: var(--dali-red);
    border-color: var(--dali-red);
}

.dali-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 48px;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #b9b9b9;
}

/* ---------- Carousel arrows and dots (Owl carousel) ---------- */
main .owl-carousel {
    position: relative;
}

main .owl-carousel .owl-nav button.owl-prev,
main .owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    border: 0 !important;
    color: #111111 !important;
    font-size: 54px !important;
    line-height: 1 !important;
    padding: 0 8px !important;
    opacity: 0.85;
    transition: opacity 0.2s ease, color 0.2s ease;
}

main .owl-carousel .owl-nav button.owl-prev { left: 4px; }
main .owl-carousel .owl-nav button.owl-next { right: 4px; }

main .owl-carousel .owl-nav button.owl-prev:hover,
main .owl-carousel .owl-nav button.owl-next:hover {
    opacity: 1;
    color: var(--dali-red) !important;
}

main .owl-carousel .owl-dots {
    text-align: center;
    margin-top: 28px;
}

main .owl-carousel .owl-dots .owl-dot span {
    display: block;
    width: 9px;
    height: 9px;
    margin: 0 6px;
    border-radius: 50%;
    background: #cfcfcf;
    transition: background 0.2s ease, transform 0.2s ease;
}

main .owl-carousel .owl-dots .owl-dot.active span,
main .owl-carousel .owl-dots .owl-dot:hover span {
    background: var(--dali-red);
    transform: scale(1.2);
}


/* =====================================================================
   LANDING PAGE (home.blade.php) - everything starts with .fym
   ===================================================================== */
.fym { --red:#c92424; --ink:#0d0d0d; --txt:#4d4d4d; --mist:#f5f5f3; --line:#e4e4e1; background:#fff; color:var(--txt); overflow-x:hidden; }
.fym * { box-sizing:border-box; }
.fym a { text-decoration:none; }
.fym-wrap { width:100%; max-width:1180px; margin:0 auto; padding:0 24px; }
.fym-eyebrow { display:inline-block; font-family:'Barlow Semi Condensed','Barlow',sans-serif; font-weight:700; font-size:14px; letter-spacing:.22em; text-transform:uppercase; color:var(--red); margin-bottom:16px; }
.fym-eyebrow::before { content:""; display:inline-block; width:34px; height:2px; background:var(--red); vertical-align:middle; margin-inline-end:12px; }
.fym h1, .fym h2, .fym h3 { margin:0; }
.fym-h2 { font-size:clamp(30px,4vw,50px) !important; color:var(--ink); margin-bottom:20px !important; }
.fym-sec { padding:96px 0; }
.fym-sec p { font-size:18px; line-height:1.8; margin:0 0 18px; }

/* buttons */
.fym-btn { display:inline-flex; align-items:center; gap:12px; padding:18px 34px; font-family:'Barlow Semi Condensed','Barlow',sans-serif; font-weight:700; font-size:15px; letter-spacing:.14em; text-transform:uppercase; line-height:1.2; border-radius:0; transition:transform .2s ease, filter .2s ease, background .2s ease, color .2s ease; }
.fym-btn-red { background:linear-gradient(180deg,#f24545,#d92b2b); color:#fff !important; box-shadow:0 12px 26px -10px rgba(217,43,43,.7); }
.fym-btn-red:hover { transform:translateY(-3px); filter:brightness(1.07); }
.fym-btn-line { border:2px solid #fff; color:#fff !important; }
.fym-btn-line:hover { background:#fff; color:#0d0d0d !important; transform:translateY(-3px); }
.fym-btn-white { background:#fff; color:#0d0d0d !important; }
.fym-btn-white:hover { transform:translateY(-3px); background:#0d0d0d; color:#fff !important; }

/* hero */
.fym-hero { position:relative; min-height:100vh; display:flex; align-items:center; padding:170px 0 190px; background:#ffffff center/cover no-repeat; color:#fff; }
.fym-hero::before { content:""; position:absolute; inset:0; background:linear-gradient(100deg,rgba(8,8,8,.92) 0%,rgba(8,8,8,.7) 45%,rgba(8,8,8,.35) 100%); }
.fym[dir="rtl"] .fym-hero::before { background:linear-gradient(260deg,rgba(8,8,8,.92) 0%,rgba(8,8,8,.7) 45%,rgba(8,8,8,.35) 100%); }
.fym-hero .fym-wrap { position:relative; z-index:2; }
.fym-hero .fym-eyebrow { color:#ff6b68; }
.fym-hero .fym-eyebrow::before { background:#ff6b68; }
.fym-hero h1 { color:#fff !important; font-size:clamp(34px,4.6vw,60px) !important; max-width:760px; margin-bottom:22px !important; }
.fym-lead { font-size:clamp(19px,2vw,23px) !important; color:#fff !important; font-weight:500; max-width:640px; margin-bottom:14px !important; }
.fym-hero p { color:#d4d4d4; font-size:18px; max-width:620px; margin-bottom:38px; }
.fym-cta { display:flex; flex-wrap:wrap; gap:16px; }

/* facts bar */
.fym-facts { position:relative; z-index:5; margin-top:-96px; }
.fym-facts-grid { display:grid; grid-template-columns:repeat(3,1fr); background:#fff; box-shadow:0 30px 60px -28px rgba(0,0,0,.45); border-top:4px solid var(--red); }
.fym-fact { padding:36px 32px; text-align:center; border-inline-end:1px solid var(--line); }
.fym-fact:last-child { border-inline-end:0; }
.fym-fact b { display:block; font-family:'Barlow Condensed',sans-serif; font-size:clamp(40px,5vw,64px); line-height:1; color:var(--ink); }
.fym-fact span { display:block; margin-top:10px; font-family:'Barlow Semi Condensed','Barlow',sans-serif; font-weight:600; font-size:14px; letter-spacing:.16em; text-transform:uppercase; color:var(--txt); }

/* about */
.fym-about-grid { display:grid; grid-template-columns:1fr 1.15fr; gap:72px; align-items:start; }
.fym-about-grid p:last-child { margin-bottom:0; }
.fym-quote { border-inline-start:4px solid var(--red); padding:6px 0 6px 26px; font-family:'Barlow Condensed',sans-serif; font-size:clamp(26px,3vw,38px); line-height:1.2; color:var(--ink); text-transform:uppercase; font-weight:700; }
.fym[dir="rtl"] .fym-quote { padding:6px 26px 6px 0; }

/* categories index */
.fym-cats { background:var(--mist); }
.fym-cats-head { display:flex; justify-content:space-between; align-items:end; gap:24px; flex-wrap:wrap; margin-bottom:40px; }
.fym-cats-head .fym-h2 { margin-bottom:0 !important; }
.fym-rows { border-top:1px solid #cfcfcb; }
.fym-row { display:flex; align-items:center; gap:24px; padding:26px 8px; border-bottom:1px solid #cfcfcb; color:var(--ink) !important; transition:background .25s ease, padding .25s ease, color .25s ease; }
.fym-row-n { font-family:'Barlow Semi Condensed',sans-serif; font-weight:600; font-size:15px; letter-spacing:.14em; color:var(--red); min-width:34px; }
.fym-row-t { flex:1; font-family:'Barlow Condensed',sans-serif; font-weight:700; font-size:clamp(26px,3.4vw,44px); text-transform:uppercase; line-height:1.1; }
.fym-row-a { font-size:28px; color:var(--red); transition:transform .25s ease; }
.fym-row:hover { background:var(--ink); color:#fff !important; padding-inline:28px; }
.fym-row:hover .fym-row-a { color:#fff; transform:translateX(8px); }
.fym[dir="rtl"] .fym-row:hover .fym-row-a { transform:translateX(-8px); }
.fym-row-all .fym-row-t { color:var(--red); }
.fym-row-all:hover .fym-row-t { color:#fff; }

/* how to join */
.fym-join { background:#0d0d0d; color:#cfcfcf; }
.fym-join .fym-h2 { color:#fff !important; }
.fym-join .fym-eyebrow { color:#ff6b68; }
.fym-join .fym-eyebrow::before { background:#ff6b68; }
.fym-join-intro { max-width:640px; color:#bdbdbd !important; margin-bottom:56px !important; }
.fym-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-bottom:56px; }
.fym-step { border-top:3px solid var(--red); background:#151515; padding:36px 30px 40px; }
.fym-step i.n { display:block; font-style:normal; font-family:'Barlow Condensed',sans-serif; font-weight:700; font-size:72px; line-height:1; color:#ff4d4a; margin-bottom:16px; }
.fym-step h3 { color:#fff !important; font-size:28px !important; margin-bottom:12px !important; }
.fym-step p { color:#bdbdbd; font-size:17px; margin:0; }

/* direct deals */
.fym-deals-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:64px; align-items:center; }
.fym-zero { font-family:'Barlow Condensed',sans-serif; font-weight:700; font-size:clamp(130px,20vw,260px); line-height:.85; color:var(--red); text-align:center; }
.fym-deals-grid p:last-child { margin-bottom:0; }

/* perks */
.fym-perks { background:var(--mist); }
.fym-perks-head { max-width:640px; margin-bottom:48px; }
.fym-perk-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.fym-perk { background:#fff; border-top:3px solid var(--red); padding:36px 30px; transition:transform .3s ease, box-shadow .3s ease; }
.fym-perk:hover { transform:translateY(-6px); box-shadow:0 26px 44px -26px rgba(0,0,0,.4); }
.fym-perk .ic { width:54px; height:54px; display:flex; align-items:center; justify-content:center; background:#0d0d0d; color:#fff; font-size:22px; margin-bottom:22px; }
.fym-perk h3 { font-size:26px !important; color:var(--ink) !important; margin-bottom:10px !important; }
.fym-perk p { font-size:17px; margin:0; }
.fym-perk-cta { background:linear-gradient(160deg,#e03a37,#a81c1c); border-top-color:#0d0d0d; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; }
.fym-perk-cta h3 { color:#fff !important; font-size:32px !important; margin-bottom:22px !important; }

/* arabic */
.fym[dir="rtl"], .fym[dir="rtl"] :not(i):not(.fa):not(.fas):not(.fab):not(.far) { font-family:'Cairo','Al-Jazeera-Arabic',sans-serif; }
.fym[dir="rtl"] * { letter-spacing:0 !important; text-transform:none !important; }
.fym[dir="rtl"] i, .fym[dir="rtl"] .fas, .fym[dir="rtl"] .fab { font-family:'Font Awesome 5 Free','Font Awesome 6 Free'; }
.fym[dir="rtl"] .fab { font-family:'Font Awesome 5 Brands','Font Awesome 6 Brands'; }

/* responsive */
@media (max-width:991px) {
  .fym-sec { padding:64px 0; }
  .fym-hero { min-height:0; padding:130px 0 150px; }
  .fym-about-grid, .fym-deals-grid { grid-template-columns:1fr; gap:36px; }
  .fym-steps, .fym-perk-grid { grid-template-columns:1fr; }
}
@media (max-width:640px) {
  .fym-wrap { padding:0 18px; }
  .fym-facts { margin-top:-70px; }
  .fym-facts-grid { grid-template-columns:1fr; }
  .fym-fact { border-inline-end:0; border-bottom:1px solid var(--line); padding:24px; }
  .fym-fact:last-child { border-bottom:0; }
  .fym-btn { width:100%; justify-content:center; }
  .fym-row { gap:14px; padding:20px 4px; }
  .fym-zero { font-size:120px; }
}
@media (prefers-reduced-motion:reduce) {
  .fym *, .fym *::before { transition:none !important; animation:none !important; }
}


/* =====================================================================
   v8 - WHITE NAVBAR
   ===================================================================== */
html body #navbar_main,
html body .navbar2,
html body #navbar_main.shadow {
    background: #ffffff !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 1px solid #e6e6e3;
    box-shadow: 0 6px 24px -16px rgba(0, 0, 0, 0.35);
}
html body #navbar_main .nav-link { color: #111111 !important; }
html body #navbar_main .nav-link:hover,
html body #navbar_main .nav-link.active,
html body #navbar_main .nav-link.show { color: #c92424 !important; }
html body #navbar_main a.nav-link[href*="registermodel"],
html body #navbar_main a.nav-link[href*="registermodel"]:hover,
html body #navbar_main a.nav-link[href*="registermodel"].active { color: #ffffff !important; }
html body #navbar_main #navbarDropdownLang,
html body #navbar_main #navbarDropdownLang span,
html body #navbar_main #navbarDropdownLang i,
html body #navbar_main #navbarDropdownLang svg,
html body #navbar_main .lang-mobile .nav-link { color: #111111 !important; fill: #111111; }
html body #navbar_main #navbarDropdownLang:hover,
html body #navbar_main #navbarDropdownLang:hover span,
html body #navbar_main #navbarDropdownLang:hover i,
html body #navbar_main #navbarDropdownLang.show,
html body #navbar_main #navbarDropdownLang.show span,
html body #navbar_main #navbarDropdownLang.show i { color: #c92424 !important; }
html body #navbar_main .dropdown-menu { border-top: 3px solid #c92424 !important; box-shadow: 0 22px 44px -18px rgba(0,0,0,.35); }
html body .navbar2 .navbar-toggler,
html body .navbar2 .navbar-toggler i,
html body .navbar2 .navbar-toggler span { color: #111111 !important; }
html body .navbar-brand { background: transparent !important; }
@media (max-width: 992px) {
    html body .navbar2, html body #navbar_main { background: #ffffff !important; }
    html body .navbar-brand { display: inline-flex !important; padding: 6px 10px !important; }
    html body #navbar_main .nav-link { border-bottom: 1px solid #eeeeec; }
}

/* =====================================================================
   v8 - "FIND THE RIGHT FACE" TILES
   ===================================================================== */
.fym-cats-head { align-items: flex-end; }
.fym-cats-sub { max-width: 560px; margin: 0 !important; font-size: 18px; }
.fym-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fym-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 250px; padding: 28px; background: #ffffff; border: 1px solid #e4e4e1; border-top: 3px solid #c92424; color: #0d0d0d !important; transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease; }
.fym-tile-n { position: absolute; top: 8px; inset-inline-end: 20px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 110px; line-height: 1; color: #efefec; transition: color .3s ease; }
.fym-tile-t { position: relative; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; text-transform: uppercase; }
.fym-tile-go { position: relative; display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid #e4e4e1; font-family: 'Barlow Semi Condensed', 'Barlow', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: #c92424; transition: color .3s ease, border-color .3s ease; }
.fym-tile-ar { font-size: 24px; transition: transform .3s ease; }
.fym-tile:hover { transform: translateY(-6px); background: #0d0d0d; color: #ffffff !important; box-shadow: 0 28px 44px -26px rgba(0,0,0,.55); }
.fym-tile:hover .fym-tile-n { color: #262626; }
.fym-tile:hover .fym-tile-go { color: #ff6b68; border-color: #333333; }
.fym-tile:hover .fym-tile-ar { transform: translateX(6px); }
.fym[dir="rtl"] .fym-tile:hover .fym-tile-ar { transform: translateX(-6px); }
.fym-tile-all { background: linear-gradient(160deg, #e03a37, #a81c1c); border-color: #a81c1c; border-top-color: #0d0d0d; color: #ffffff !important; }
.fym-tile-all .fym-tile-n { color: rgba(255,255,255,.18); }
.fym-tile-all .fym-tile-go { color: #ffffff; border-color: rgba(255,255,255,.4); }
.fym-tile-all:hover .fym-tile-go { color: #ffffff; border-color: rgba(255,255,255,.4); }
.fym-tile-all:hover { background: #0d0d0d; }
@media (max-width: 991px) { .fym-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .fym-tiles { grid-template-columns: 1fr; } .fym-tile { min-height: 190px; } .fym-tile-n { font-size: 84px; } }

/* =====================================================================
   v8 - FOOTER
   ===================================================================== */
.dali-footer { border-top: 0; padding: 0; }
.dali-footer-cta { background: linear-gradient(100deg, #d92b2b, #a81c1c); padding: 44px 0; }
.dali-footer-cta-in { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.dali-footer-cta h3 { margin: 0 0 6px; color: #ffffff; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; }
.dali-footer-cta p { margin: 0; color: #ffffff; font-size: 17px; }
.dali-footer-cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.dali-cta-btn { display: inline-block; padding: 16px 30px; font-family: 'Barlow Semi Condensed', 'Barlow', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
.dali-footer .dali-cta-white { background: #ffffff; color: #0d0d0d; }
.dali-footer .dali-cta-dark { background: #0d0d0d; color: #ffffff; }
.dali-footer .dali-cta-btn:hover { transform: translateY(-3px); color: #ffffff; background: #000000; }
.dali-footer .dali-cta-dark:hover { background: #ffffff; color: #0d0d0d; }
.dali-footer-main { padding-top: 64px; }
.dali-footer-bottom { margin-top: 56px; }
.dali-footer-bottom-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
html[lang^="ar"] .dali-cta-btn, html[lang^="ar"] .dali-footer-cta h3 { font-family: 'Cairo', sans-serif; letter-spacing: 0; text-transform: none; }
@media (max-width: 640px) { .dali-footer-bottom-in { justify-content: center; text-align: center; } .dali-cta-btn { width: 100%; text-align: center; } .dali-footer-cta-btns { width: 100%; } }

/* =====================================================================
   v8 - MODEL PROFILE POP-UP
   ===================================================================== */
.models-modal-content { overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.models-modal-content .modal-header { padding: 22px 30px; border-bottom: 1px solid #e4e4e1; background: #ffffff; }
.models-modal-content .modal-title { font-size: 34px; line-height: 1.1; }
.models-modal-content .modal-body { padding: 28px 30px 34px; background: #ffffff; }
.models-modal-image-wrap { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.models-modal-image-wrap:has(img:nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
.models-modal-image-wrap:has(img:only-child) { grid-template-columns: minmax(0, 340px); justify-content: center; }
.models-modal-image { width: 100% !important; height: auto !important; max-height: none !important; aspect-ratio: 3 / 4; object-fit: cover; border: 0 !important; border-radius: 0 !important; cursor: zoom-in; transition: transform .3s ease, box-shadow .3s ease; }
.models-modal-image:hover { transform: translateY(-4px); box-shadow: 0 20px 30px -18px rgba(0,0,0,.5); }
.models-modal-info { --bs-gutter-x: 0; --bs-gutter-y: 0; margin: 0; }
.models-modal-info > * { padding-inline: 0; }
.models-modal-info .info-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px !important; }
.models-modal-info .info-group small { position: relative; display: block; padding: 12px 14px; padding-inline-start: 44px; background: #f5f5f3; font-size: 15px; line-height: 1.5; color: #4d4d4d !important; overflow-wrap: anywhere; }
.models-modal-info .info-group small i { position: absolute; inset-inline-start: 15px; top: 15px; width: 18px; text-align: center; color: #c92424; }
.models-modal-info b { color: #0d0d0d; font-weight: 700; }
.models-modal-info .info-group-c { margin-bottom: 12px !important; }
.models-modal-info .info-group-c small { display: block; padding: 14px 18px; background: #ffffff; border: 1px solid #e4e4e1; border-inline-start: 3px solid #c92424; font-size: 16px; line-height: 1.7; color: #4d4d4d !important; overflow-wrap: anywhere; }
.models-modal-info .info-group-c b { display: block; margin-bottom: 4px; font-family: 'Barlow Semi Condensed', 'Barlow', sans-serif; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #c92424; }
.models-modal-info a { color: #c92424; text-decoration: underline; overflow-wrap: anywhere; }
html[lang^="ar"] .models-modal-info .info-group-c b { font-family: 'Cairo', sans-serif; letter-spacing: 0; text-transform: none; font-size: 15px; }
@media (max-width: 640px) {
    .models-modal-content .modal-header, .models-modal-content .modal-body { padding-inline: 18px; }
    .models-modal-content .modal-title { font-size: 26px; }
    .models-modal-image-wrap { gap: 8px; }
    .models-modal-info .info-group { grid-template-columns: 1fr; }
}


/* =====================================================================
   v9
   ===================================================================== */
/* hero: white veil over the photo, dark text */
.fym-hero { padding: 170px 0 130px; color: #0d0d0d; background-color: #ffffff; background-size: cover; background-position: center; }
.fym-hero::before { background: linear-gradient(100deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.84) 55%, rgba(255,255,255,.5) 100%); }
.fym[dir="rtl"] .fym-hero::before { background: linear-gradient(260deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.84) 55%, rgba(255,255,255,.5) 100%); }
.fym-hero .fym-eyebrow { color: #c92424; }
.fym-hero .fym-eyebrow::before { background: #c92424; }
.fym-hero h1 { color: #0d0d0d !important; }
.fym-hero .fym-lead { color: #0d0d0d !important; }
.fym-hero p { color: #4d4d4d; }
.fym-hero .fym-btn-line { border-color: #0d0d0d; color: #0d0d0d !important; }
.fym-hero .fym-btn-line:hover { background: #0d0d0d; color: #ffffff !important; }
@media (max-width: 991px) { .fym-hero { padding: 120px 0 80px; } }

/* images */
.fym-photo img, .fym-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fym-photo { border-top: 4px solid #c92424; box-shadow: 0 30px 50px -30px rgba(0,0,0,.5); min-height: 340px; }
.fym-banner { height: 360px; margin-bottom: 40px; border-top: 4px solid #c92424; }
.fym-about-p { margin-top: 26px !important; }
.fym-about-grid { align-items: center; }
.fym-about-grid .fym-btn { margin-top: 8px; }
.fym-perks-top { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 56px; }
.fym-perks-top .fym-perks-head { margin-bottom: 0; }
@media (max-width: 991px) { .fym-perks-top { grid-template-columns: 1fr; gap: 28px; } .fym-banner { height: 220px; } }

/* find the right face: category pills + model photos */
.fym-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.fym-pills a { padding: 10px 22px; background: #ffffff; border: 1px solid #d5d5d2; font-family: 'Barlow Semi Condensed', 'Barlow', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: #0d0d0d; transition: all .2s ease; }
.fym-pills a:hover { background: #c92424; border-color: #c92424; color: #ffffff; }
.fym-faces { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.fym-face { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #0d0d0d; border-top: 3px solid #c92424; }
.fym-face img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.fym-face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.8) 100%); }
.fym-face-name { position: absolute; z-index: 2; inset-inline: 0; bottom: 0; padding: 18px 14px; text-align: center; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: .04em; color: #ffffff; }
.fym-face:hover img { transform: scale(1.07); }
@media (max-width: 991px) { .fym-faces { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .fym-faces { grid-template-columns: repeat(2, 1fr); gap: 10px; } .fym-face-name { font-size: 20px; } }


/* =====================================================================
   v10
   ===================================================================== */
/* about image fits its box */
.fym-about-grid { grid-template-columns: 1.1fr .9fr; }
.fym-about-grid .fym-photo { min-height: 0; height: auto; align-self: center; }
.fym-about-grid .fym-photo img { height: auto; aspect-ratio: 4 / 5; max-height: 560px; }

/* how to join: portrait photo on one side, steps stacked on the other */
.fym-join-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.fym-join-img { border-top: 4px solid #c92424; }
.fym-join-img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 640px; object-fit: cover; object-position: top center; }
.fym-join .fym-join-intro { margin-bottom: 32px !important; }
.fym-join .fym-steps { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.fym-join .fym-step { display: flex; align-items: flex-start; gap: 24px; padding: 24px 28px; }
.fym-join .fym-step i.n { margin: 0; font-size: 52px; min-width: 70px; }
.fym-join .fym-step h3 { font-size: 26px !important; margin-bottom: 6px !important; }
@media (max-width: 991px) {
    .fym-about-grid { grid-template-columns: 1fr; }
    .fym-about-grid .fym-photo img { max-height: 460px; }
    .fym-join-grid { grid-template-columns: 1fr; gap: 36px; }
    .fym-join-img img { max-height: 420px; }
}
@media (max-width: 640px) { .fym-join .fym-step { padding: 20px; gap: 16px; } .fym-join .fym-step i.n { font-size: 40px; min-width: 54px; } }

/* why join: tighter spacing */
.fym-perks { padding: 72px 0; }
.fym-perks-head { margin-bottom: 36px; }
.fym-perks-head p { margin: 0 !important; }

/* models page: no pagination */
main .pagination,
main nav[role="navigation"],
main nav[aria-label*="agination"],
main .models-pagination { display: none !important; }


/* v11 - more room around the "Ready to work with the best talent?" band */
.dali-footer { margin-top: 64px; }
.dali-footer-cta { padding: 72px 0; }
.dali-footer-main { padding-top: 80px; }
@media (max-width: 640px) {
    .dali-footer { margin-top: 40px; }
    .dali-footer-cta { padding: 52px 0; }
    .dali-footer-main { padding-top: 56px; }
}


/* v12 - CTA is its own white section, separate from the black footer */
.dali-cta-wrap { background: #ffffff; padding: 64px 0 72px; }
.dali-cta-wrap .dali-footer-cta { padding: 48px 56px; margin: 0; }
.dali-cta-wrap .dali-footer-cta .container { padding: 0; }
.dali-cta-wrap .dali-cta-white { background: #ffffff; color: #0d0d0d; }
.dali-cta-wrap .dali-cta-dark { background: #0d0d0d; color: #ffffff; }
.dali-cta-wrap .dali-cta-btn:hover { transform: translateY(-3px); background: #000000; color: #ffffff; }
.dali-cta-wrap .dali-cta-dark:hover { background: #ffffff; color: #0d0d0d; }
.dali-footer { margin-top: 0; border-top: 4px solid #c92424; }
.dali-footer-main { padding-top: 64px; }
@media (max-width: 640px) {
    .dali-cta-wrap { padding: 40px 0 48px; }
    .dali-cta-wrap .dali-footer-cta { padding: 32px 22px; }
    .dali-footer-main { padding-top: 48px; }
}


/* =====================================================================
   v13 - RESPONSIVE: tablet (641-991px) and mobile (up to 640px)
   ===================================================================== */
html, body { max-width: 100%; overflow-x: hidden; }
main img { max-width: 100%; }
.fym-wrap, .container { padding-left: 20px; padding-right: 20px; }

/* ---------- tablet ---------- */
@media (min-width: 641px) and (max-width: 991px) {
    .fym-hero { padding: 130px 0 90px; }
    .fym-hero h1 { max-width: 620px; }
    .fym-cats-head { flex-direction: column; align-items: flex-start; }
    .fym-perk-grid { grid-template-columns: repeat(2, 1fr); }
    .fym-perk-cta { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
    .fym-perk-cta h3 { margin-bottom: 0 !important; }
    .fym-faces { grid-template-columns: repeat(3, 1fr); }
    .fym-about-grid .fym-photo { max-width: 520px; }
    .fym-join-img { max-width: 520px; }
    main .models-grid > [class*="col-"] { flex: 0 0 auto !important; width: 50% !important; max-width: 50% !important; }
    .dali-footer-cta-in { flex-direction: column; align-items: flex-start; }
}

/* ---------- mobile ---------- */
@media (max-width: 640px) {
    body { font-size: 16px; }
    main p, .fym-sec p { font-size: 16px; line-height: 1.7; }
    .fym-sec { padding: 52px 0; }
    .fym-hero { padding: 104px 0 64px; }
    .fym-hero h1 { font-size: clamp(30px, 8.5vw, 40px) !important; }
    .fym-lead { font-size: 18px !important; }
    .fym-cta { flex-direction: column; }
    .fym-cta .fym-btn, .fym-about-grid .fym-btn, .fym-join .fym-btn, .fym-cats-head .fym-btn { width: 100%; justify-content: center; }
    .fym-h2 { font-size: clamp(28px, 8vw, 36px) !important; }
    .fym-quote { font-size: 26px; }
    .fym-about-grid { gap: 28px; }
    .fym-about-grid .fym-photo img { max-height: 380px; }
    .fym-cats-head { flex-direction: column; align-items: stretch; gap: 20px; margin-bottom: 28px; }
    .fym-pills { gap: 8px; margin-bottom: 24px; }
    .fym-pills a { padding: 9px 16px; font-size: 13px; }
    .fym-faces { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .fym-face:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
    .fym-face-name { font-size: 19px; padding: 14px 8px; }
    .fym-join-img img { max-height: 340px; }
    .fym-perks { padding: 52px 0; }
    .fym-perk-grid { grid-template-columns: 1fr; gap: 16px; }
    .fym-perk { padding: 28px 22px; }
    .fym-perk-cta .fym-btn { width: 100%; justify-content: center; }

    /* models page */
    main .models-grid > [class*="col-"] { flex: 0 0 auto !important; width: 50% !important; max-width: 50% !important; }
    main .models-grid { --bs-gutter-x: 1rem; }
    main .models-grid > [class*="col-"] { margin-bottom: 1rem !important; }
    main .model-card-name { font-size: 20px !important; }
    main .model-card-contet { padding: 14px 8px; }
    main .models-tags { gap: 8px; }
    main .models-tag { padding: 8px 14px; font-size: 13px; }
    main .models-search-wrap { max-width: 100%; }

    /* footer */
    .dali-footer-cta-in { flex-direction: column; align-items: flex-start; }
    .dali-footer-cta-btns { flex-direction: column; width: 100%; }
    .dali-footer-main .row { --bs-gutter-y: 2rem; }
    .dali-footer-logo { max-width: 130px; }
}

@media (max-width: 380px) {
    main .models-grid > [class*="col-"] { width: 100% !important; max-width: 100% !important; }
    .fym-face-name { font-size: 17px; }
}

/* mobile / tablet menu */
@media (max-width: 992px) {
    html body .navbar2 { padding: 8px 14px; }
    html body #navbar_main .dropdown-menu { min-width: 0; width: 100%; box-shadow: none; border-top: 0 !important; background: #f7f7f5 !important; }
    html body #navbar_main .dropdown-item { margin: 0 16px; font-size: 16px; }
    html body #navbar_main a.nav-link[href*="registermodel"] { display: inline-block; margin: 10px 15px; }
    html body #navbar_main .btn-close, html body #navbar_main .close { filter: none; color: #111111 !important; opacity: 1; }
    html body #navbar_main .navbar-brand img, html body .navbar2 .navbar-brand img { max-height: 44px; width: auto; }
}

/* model pop-up on small screens */
@media (max-width: 640px) {
    .modal-dialog { margin: 10px; }
    .models-modal-image-wrap:has(img:only-child) { grid-template-columns: minmax(0, 100%); }
}


/* =====================================================================
   v14 - mobile fixes
   ===================================================================== */
@media (max-width: 992px) {
    /* top bar: logo right next to the hamburger */
    html body .navbar2,
    html body .navbar2 > .container,
    html body .navbar2 > .container-fluid {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start !important;
        gap: 14px;
    }
    html body .navbar2 .navbar-brand { margin: 0 !important; order: 0; }
    html body .navbar2 .navbar-toggler { margin: 0 !important; order: 0; }

    /* inside the opened menu: no second logo, items centred */
    html body #navbar_main .navbar-brand,
    html body #navbar_main .mobile-nav-down { display: none !important; }
    html body #navbar_main .nav-content,
    html body #navbar_main .navbar-nav {
        width: 100%;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    html body #navbar_main .navbar-nav { flex-direction: column; }
    html body #navbar_main .nav-item { width: 100%; text-align: center; }
    html body #navbar_main .nav-link,
    html body #navbar_main .dropdown-item {
        display: block;
        text-align: center !important;
        justify-content: center;
    }
    html body #navbar_main .dropdown-menu { text-align: center; }
    html body #navbar_main .dropdown-item { margin: 0 auto; max-width: 320px; }
    html body #navbar_main a.nav-link[href*="registermodel"] { display: inline-block; margin: 12px auto; }
}

@media (max-width: 640px) {
    /* hero: only a smaller Register button */
    .fym-hero .fym-cta { align-items: flex-start; }
    .fym-hero .fym-cta .fym-btn-red { display: none; }
    .fym-hero .fym-cta .fym-btn { width: auto; padding: 14px 26px; font-size: 14px; }

    /* hide the "Ready to get started? / Join us now" card */
    .fym-perk-cta { display: none; }
}


/* =====================================================================
   v15 - clear hero photo, text sits in a white card
   ===================================================================== */
.fym-hero::before,
.fym[dir="rtl"] .fym-hero::before { background: linear-gradient(180deg, rgba(0,0,0,0) 70%, rgba(0,0,0,.12) 100%); }
.fym-hero { min-height: 92vh; padding: 150px 0 80px; }
.fym-hero-card { max-width: 600px; padding: 44px 44px 48px; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-top: 4px solid #c92424; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.fym-hero-card h1 { font-size: clamp(30px, 3.6vw, 46px) !important; margin-bottom: 18px !important; }
.fym-hero-card .fym-lead { font-size: 20px !important; }
.fym-hero-card p:not(.fym-lead) { margin-bottom: 30px; }
@media (max-width: 991px) {
    .fym-hero { min-height: 0; padding: 300px 0 36px; background-position: center top; }
    .fym-hero-card { max-width: none; padding: 30px 26px 34px; }
}
@media (max-width: 640px) {
    .fym-hero { padding: 210px 0 24px; }
    .fym-hero-card { padding: 26px 20px 28px; }
    .fym-hero-card h1 { font-size: clamp(27px, 7.6vw, 34px) !important; }
    .fym-hero-card .fym-lead { font-size: 17px !important; }
    .fym-hero-card p:not(.fym-lead) { font-size: 15px; margin-bottom: 20px; }
}


/* =====================================================================
   v16 - hero: text on clean white (left), photo on the right
   ===================================================================== */
.fym-hero { background: #ffffff !important; min-height: 92vh; padding: 140px 0 90px; overflow: hidden; }
.fym-hero::before,
.fym[dir="rtl"] .fym-hero::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: 42%; right: 0;
    background: var(--hero-img) center / cover no-repeat;
}
.fym-hero::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: 42%; width: 22%;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,.92) 25%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}
.fym[dir="rtl"] .fym-hero::before { left: 0; right: 42%; }
.fym[dir="rtl"] .fym-hero::after { left: auto; right: 42%; width: 22%; background: linear-gradient(270deg, #ffffff 0%, rgba(255,255,255,.92) 25%, rgba(255,255,255,0) 100%); }
.fym-hero-card { max-width: min(560px, 48vw); padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

@media (max-width: 991px) {
    .fym-hero { min-height: 0; padding: 360px 0 44px; }
    .fym-hero::before,
    .fym[dir="rtl"] .fym-hero::before { left: 0; right: 0; bottom: auto; height: 340px; background-position: center top; }
    .fym-hero::after,
    .fym[dir="rtl"] .fym-hero::after { left: 0; right: 0; top: 240px; bottom: auto; width: auto; height: 100px; background: linear-gradient(180deg, rgba(255,255,255,0), #ffffff); }
    .fym-hero-card { max-width: none; }
}
@media (max-width: 640px) {
    .fym-hero { padding: 330px 0 32px; }
    .fym-hero::before, .fym[dir="rtl"] .fym-hero::before { height: 320px; }
    .fym-hero::after, .fym[dir="rtl"] .fym-hero::after { top: 230px; }
}


/* =====================================================================
   v17 - hero: full pink clapperboard photo, text in its empty left area
   ===================================================================== */
.fym-hero { background: #f7648c !important; min-height: 720px; padding: 150px 0 90px; }
.fym-hero::before,
.fym[dir="rtl"] .fym-hero::before { left: 0; right: 0; top: 0; bottom: 0; height: auto; background: var(--hero-img) right center / cover no-repeat; }
.fym[dir="rtl"] .fym-hero::before { transform: scaleX(-1); }
.fym-hero::after, .fym[dir="rtl"] .fym-hero::after { display: none; }
.fym-hero-card { max-width: min(500px, 36vw); }
.fym-hero-card h1 { font-size: clamp(30px, 3vw, 44px) !important; }
.fym-hero .fym-eyebrow { color: #0d0d0d; }
.fym-hero .fym-eyebrow::before { background: #0d0d0d; }
.fym-hero .fym-lead { color: #0d0d0d !important; }
.fym-hero-card p:not(.fym-lead) { color: #1f1f1f; }
.fym-hero .fym-btn-red { background: #0d0d0d; box-shadow: none; }
.fym-hero .fym-btn-red:hover { background: #000000; filter: none; }
.fym-hero .fym-btn-line { border-color: #0d0d0d; }

/* stacked layout up to 1199px: photo on top, text on white below */
@media (max-width: 1199px) {
    .fym-hero { background: #ffffff !important; min-height: 0; padding: 380px 0 44px; }
    .fym-hero::before,
    .fym[dir="rtl"] .fym-hero::before { bottom: auto; height: 360px; background-position: right center; }
    .fym-hero-card { max-width: none; }
    .fym-hero .fym-eyebrow { color: #c92424; }
    .fym-hero .fym-eyebrow::before { background: #c92424; }
    .fym-hero .fym-btn-red { background: linear-gradient(180deg, #f24545, #d92b2b); box-shadow: 0 12px 26px -10px rgba(217,43,43,.7); }
}
@media (max-width: 640px) {
    .fym-hero { padding: 330px 0 32px; }
    .fym-hero::before, .fym[dir="rtl"] .fym-hero::before { height: 310px; }
}


/* v18 - desktop hero: photo shifted right, white fade on its left so text is clear */
@media (min-width: 1200px) {
    .fym-hero { background: #ffffff !important; }
    .fym-hero::before { left: 14%; right: 0; }
    .fym-hero::after {
        display: block; content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: auto; width: 62%; height: auto;
        background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 35%, rgba(255,255,255,.55) 70%, rgba(255,255,255,0) 100%);
        pointer-events: none;
    }
    .fym[dir="rtl"] .fym-hero::before { left: 0; right: 14%; }
    .fym[dir="rtl"] .fym-hero::after {
        display: block; left: auto; right: 0; width: 62%;
        background: linear-gradient(270deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 35%, rgba(255,255,255,.55) 70%, rgba(255,255,255,0) 100%);
    }
    .fym-hero .fym-wrap { z-index: 3; }
}