
/* =========================================================
   SARAFAND DIRECTORY
   Main Stylesheet
   Compatible with Bluehost Code Editor
   ========================================================= */


/* ---------------------------------------------------------
   1. GLOBAL STYLES
   --------------------------------------------------------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
    color: #172638;
    background: #ffffff;
    line-height: 1.65;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
}

::selection {
    background: #1e806e;
    color: #ffffff;
}


/* ---------------------------------------------------------
   2. BUTTONS
   --------------------------------------------------------- */

.btn-primary {
    background: #1e806e;
    border-color: #1e806e;
    color: #ffffff;
    font-weight: 700;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #176957;
    border-color: #176957;
    color: #ffffff;
}

.btn-primary:active {
    background: #125746;
    border-color: #125746;
}


/* ---------------------------------------------------------
   3. NAVIGATION
   --------------------------------------------------------- */

.navbar {
    background: #ffffff;
    border-bottom: 1px solid #e7eeeb;
    padding-top: 12px;
    padding-bottom: 12px;
}

.navbar-brand {
    color: #102b46;
    font-weight: 800;
}

.navbar-brand:hover {
    color: #1e806e;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-right: 7px;
    border-radius: 11px;
    background: #102b46;
    color: #ffffff;
}

.navbar .nav-link {
    color: #435465;
    font-weight: 600;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #1e806e;
}

.navbar-toggler {
    border-color: #dce5e0;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(30, 128, 110, 0.15);
}


/* ---------------------------------------------------------
   4. HOMEPAGE HERO
   --------------------------------------------------------- */

.home-hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 100px;
    background: linear-gradient(120deg, #f2f7f5 0%, #ffffff 72%);
}

.home-hero:before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: -240px;
    left: -160px;
    border-radius: 50%;
    background: rgba(30, 128, 110, 0.06);
}

.home-hero-content {
    position: relative;
    z-index: 2;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: #1e806e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.home-eyebrow-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #c6a45b;
    box-shadow: 0 0 0 5px rgba(198, 164, 91, 0.13);
}

.home-hero h1 {
    max-width: 720px;
    margin: 0 0 22px;
    color: #102b46;
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.home-hero-description {
    max-width: 620px;
    margin-bottom: 30px;
    color: #687887;
    font-size: 17px;
    line-height: 1.9;
}


/* ---------------------------------------------------------
   5. HERO SEARCH
   --------------------------------------------------------- */

.home-search {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 650px;
    padding: 9px 10px 9px 18px;
    background: #ffffff;
    border: 1px solid #e2eae5;
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(16, 43, 70, 0.08);
}

.home-search-icon {
    flex-shrink: 0;
    color: #1e806e;
    font-size: 20px;
}

.home-search .form-control {
    min-width: 0;
    height: 48px;
    padding: 8px;
    border: none;
    background: transparent;
    box-shadow: none;
    color: #172638;
}

.home-search .form-control:focus {
    outline: none;
    box-shadow: none;
}

.home-search .form-control::placeholder {
    color: #9aa7ad;
}

.home-search .btn {
    flex-shrink: 0;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 11px;
    font-weight: 700;
}

.home-search .btn i {
    margin-left: 7px;
}


/* ---------------------------------------------------------
   6. HERO LINKS
   --------------------------------------------------------- */

.home-hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 25px;
}

.home-hero-links a {
    color: #526675;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.home-hero-links a:hover {
    color: #1e806e;
}

.home-hero-links i {
    margin-right: 6px;
    color: #1e806e;
}


/* ---------------------------------------------------------
   7. HERO VISUAL
   --------------------------------------------------------- */

.home-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 390px;
}

.hero-visual-circle {
    position: absolute;
    border-radius: 50%;
}

.hero-circle-one {
    width: 340px;
    height: 340px;
    background: #dcebe3;
}

.hero-circle-two {
    width: 260px;
    height: 260px;
    border: 1px solid rgba(30, 128, 110, 0.18);
    background: rgba(255, 255, 255, 0.25);
}

.hero-map-card {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 310px;
    height: 300px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96), rgba(242,248,244,0.95));
    box-shadow: 0 25px 60px rgba(16, 43, 70, 0.14);
    transform: rotate(-4deg);
}

.hero-map-card:before,
.hero-map-card:after {
    content: "";
    position: absolute;
    border: 1px solid rgba(30, 128, 110, 0.13);
    border-radius: 50%;
}

.hero-map-card:before {
    width: 230px;
    height: 230px;
    top: 45px;
    left: 35px;
}

.hero-map-card:after {
    width: 170px;
    height: 170px;
    top: 75px;
    left: 65px;
}

.hero-map-top,
.hero-map-bottom {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #687887;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.hero-map-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1e806e;
}

.hero-map-center {
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero-map-pin {
    display: grid;
    place-items: center;
    width: 75px;
    height: 75px;
    margin: 0 auto 14px;
    border: 8px solid rgba(30, 128, 110, 0.1);
    border-radius: 50%;
    background: #1e806e;
    color: #ffffff;
    font-size: 29px;
    box-shadow: 0 10px 25px rgba(30, 128, 110, 0.25);
}

.hero-map-name {
    color: #102b46;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 3px;
}

.hero-map-subtitle {
    margin-top: 5px;
    color: #1e806e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-map-bottom {
    justify-content: center;
    padding-top: 13px;
    border-top: 1px solid #e5eee8;
    font-size: 11px;
    letter-spacing: 0;
}

.hero-map-bottom i {
    color: #c6a45b;
    font-size: 17px;
}

.hero-floating-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 205px;
    padding: 13px 16px;
    border: 1px solid #edf1ee;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(16, 43, 70, 0.11);
}

.hero-floating-top {
    top: 35px;
    right: -5px;
}

.hero-floating-bottom {
    bottom: 25px;
    left: -10px;
}

.floating-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #e8f3ed;
    color: #1e806e;
    font-size: 20px;
}

.floating-icon-gold {
    background: #f8f1e2;
    color: #b18d43;
}

.hero-floating-card strong,
.hero-floating-card small {
    display: block;
}

.hero-floating-card strong {
    color: #102b46;
    font-size: 12px;
    font-weight: 800;
}

.hero-floating-card small {
    margin-top: 2px;
    color: #89969e;
    font-size: 11px;
}


/* ---------------------------------------------------------
   8. GENERAL HOMEPAGE SECTIONS
   --------------------------------------------------------- */

.home-section {
    padding: 85px 0;
}

.home-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 35px;
}

.home-section-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: #1e806e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.home-section-heading h2 {
    margin: 0;
    color: #102b46;
    font-size: 34px;
    font-weight: 850;
    line-height: 1.3;
}

.home-section-heading p {
    max-width: 600px;
    margin: 12px 0 0;
    color: #788791;
    font-size: 14px;
    line-height: 1.8;
}

.home-section-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: #1e806e;
    font-size: 13px;
    font-weight: 800;
}

.home-section-link:hover {
    color: #102b46;
}

.home-section-link i {
    font-size: 16px;
}


/* ---------------------------------------------------------
   9. CATEGORIES SECTION
   --------------------------------------------------------- */

.home-categories-section {
    background: #ffffff;
}

.home-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 180px;
    height: 100%;
    padding: 23px;
    overflow: hidden;
    border: 1px solid #e7eeeb;
    border-radius: 17px;
    background: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-category-card:hover {
    transform: translateY(-5px);
    border-color: #c6ddd1;
    box-shadow: 0 16px 35px rgba(16, 43, 70, 0.08);
}

.home-category-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: #eaf4ee;
    color: #1e806e;
    font-size: 23px;
    transition: background 0.2s ease, color 0.2s ease;
}

.home-category-card:hover .home-category-icon {
    background: #1e806e;
    color: #ffffff;
}

.home-category-name {
    display: block;
    padding-right: 15px;
    color: #102b46;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.5;
}

.home-category-count {
    display: block;
    margin-top: 6px;
    color: #89969e;
    font-size: 11px;
}

.home-category-arrow {
    position: absolute;
    right: 21px;
    bottom: 22px;
    color: #c6a45b;
    font-size: 17px;
    transition: transform 0.2s ease;
}

.home-category-card:hover .home-category-arrow {
    transform: translate(-4px, -4px);
}


/* ---------------------------------------------------------
   10. FEATURED BUSINESSES
   --------------------------------------------------------- */

.home-featured-section {
    background: #f5f8f6;
}


/* ---------------------------------------------------------
   11. LATEST BUSINESSES
   --------------------------------------------------------- */

.home-latest-section {
    background: #ffffff;
}


/* ---------------------------------------------------------
   12. BUSINESS CARDS
   --------------------------------------------------------- */

.home-business-card {
    overflow: hidden;
    border: 1px solid #e7eeeb;
    border-radius: 18px;
    background: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(16, 43, 70, 0.1);
}

.home-business-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    padding: 20px;
    overflow: hidden;
    background: #f1f6f3;
}

.home-business-image:after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -80px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(30, 128, 110, 0.05);
}

.home-business-image img {
    position: relative;
    z-index: 1;
    max-width: 80%;
    max-height: 145px;
    object-fit: contain;
}

.home-business-placeholder {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 75px;
    height: 75px;
    border-radius: 20px;
    background: #ffffff;
    color: #1e806e;
    font-size: 35px;
    font-weight: 900;
    box-shadow: 0 8px 25px rgba(16, 43, 70, 0.08);
}

.home-featured-label {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 7px;
    background: #c6a45b;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
}

.home-featured-label i {
    font-size: 10px;
}

.home-business-body {
    display: flex;
    flex-direction: column;
    min-height: 245px;
    padding: 21px;
}

.home-business-badges {
    min-height: 22px;
}

.home-verified-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #1e806e;
    font-size: 11px;
    font-weight: 800;
}

.home-business-category {
    margin-top: 8px;
    margin-bottom: 7px;
    color: #a18448;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.home-business-body h3 {
    margin: 0 0 10px;
    color: #102b46;
    font-size: 19px;
    font-weight: 850;
    line-height: 1.4;
}

.home-business-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 11px;
    font-size: 12px;
}

.home-stars {
    color: #c6a45b;
    font-size: 15px;
    letter-spacing: 1px;
}

.home-business-rating strong {
    color: #102b46;
    font-size: 12px;
}

.home-business-rating span:last-child {
    color: #89969e;
}

.home-business-no-rating {
    margin-bottom: 11px;
    color: #89969e;
    font-size: 12px;
}

.home-business-body p {
    display: -webkit-box;
    min-height: 45px;
    margin: 0 0 17px;
    overflow: hidden;
    color: #77858f;
    font-size: 13px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-business-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #1e806e;
    font-size: 12px;
    font-weight: 800;
}

.home-business-link:hover {
    color: #102b46;
}


/* ---------------------------------------------------------
   13. EMPTY STATES
   --------------------------------------------------------- */

.home-empty-state {
    padding: 55px 20px;
    border: 1px dashed #cbd9d2;
    border-radius: 18px;
    background: #fbfdfc;
    text-align: center;
}

.home-empty-state > i {
    color: #1e806e;
    font-size: 38px;
}

.home-empty-state p {
    margin: 15px 0 0;
    color: #77858f;
    font-size: 14px;
}


/* ---------------------------------------------------------
   14. BUSINESS OWNER CTA
   --------------------------------------------------------- */

.home-join-section {
    padding: 55px 0 90px;
    background: #ffffff;
}

.home-join-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 310px;
    padding: 55px 60px;
    overflow: hidden;
    border-radius: 25px;
    background: linear-gradient(120deg, #102b46 0%, #173e5d 100%);
    color: #ffffff;
}

.home-join-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.home-join-eyebrow {
    display: block;
    margin-bottom: 13px;
    color: #d4b66e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.home-join-content h2 {
    max-width: 620px;
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 32px;
    font-weight: 850;
    line-height: 1.35;
}

.home-join-content p {
    max-width: 600px;
    margin: 0 0 25px;
    color: #d0dbe1;
    font-size: 14px;
    line-height: 1.9;
}

.home-join-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.home-join-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    background: #c6a45b;
    color: #102b46;
    font-size: 13px;
    font-weight: 850;
}

.home-join-button:hover {
    background: #d7b96f;
    color: #102b46;
}

.home-join-secondary {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.home-join-secondary:hover {
    color: #d4b66e;
}

.home-join-decoration {
    position: absolute;
    top: 50%;
    right: 80px;
    display: grid;
    place-items: center;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.16);
    font-size: 115px;
    transform: translateY(-50%);
}

.join-decoration-circle {
    position: absolute;
    width: 165px;
    height: 165px;
    border: 1px solid rgba(198, 164, 91, 0.35);
    border-radius: 50%;
}


/* ---------------------------------------------------------
   15. FOOTER
   --------------------------------------------------------- */

.site-footer {
    margin-top: 30px;
    padding: 45px 0 25px;
    background: #102b46;
    color: #dce6e9;
    font-size: 13px;
}

.site-footer a {
    color: #dce6e9;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #d4b66e;
}

.site-footer h5,
.site-footer h6 {
    color: #ffffff;
    font-weight: 800;
}

.site-footer p {
    color: #b8c7d0;
}


/* ---------------------------------------------------------
   16. GENERAL FORMS AND CONTENT
   --------------------------------------------------------- */

.form-control,
.form-select {
    border-color: #dfe7e3;
    border-radius: 9px;
}

.form-control:focus,
.form-select:focus {
    border-color: #1e806e;
    box-shadow: 0 0 0 3px rgba(30, 128, 110, 0.12);
}

.card {
    border-color: #e7eeeb;
    border-radius: 14px;
}

.alert {
    border-radius: 10px;
}


/* ---------------------------------------------------------
   17. RTL SUPPORT
   --------------------------------------------------------- */

[dir="rtl"] body {
    text-align: right;
}

[dir="rtl"] .home-hero h1 {
    letter-spacing: 0;
}

[dir="rtl"] .home-eyebrow {
    letter-spacing: 0;
}

[dir="rtl"] .home-search {
    padding: 9px 18px 9px 10px;
}

[dir="rtl"] .home-search .btn i {
    margin-right: 7px;
    margin-left: 0;
}

[dir="rtl"] .home-hero-links i {
    margin-right: 0;
    margin-left: 6px;
}

[dir="rtl"] .home-category-name {
    padding-right: 0;
    padding-left: 15px;
}

[dir="rtl"] .home-category-arrow {
    right: auto;
    left: 21px;
}

[dir="rtl"] .home-category-card:hover .home-category-arrow {
    transform: translate(4px, -4px);
}

[dir="rtl"] .home-featured-label {
    right: 14px;
    left: auto;
}

[dir="rtl"] .home-join-decoration {
    right: auto;
    left: 80px;
}

[dir="rtl"] .hero-floating-top {
    right: auto;
    left: -5px;
}

[dir="rtl"] .hero-floating-bottom {
    right: -10px;
    left: auto;
}


/* ---------------------------------------------------------
   18. TABLET RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 991px) {

    .home-hero {
        padding: 70px 0 75px;
    }

    .home-hero-visual {
        min-height: 350px;
        margin-top: 15px;
    }

    .home-section {
        padding: 65px 0;
    }

    .home-join-card {
        padding: 45px;
    }

    .home-join-decoration {
        right: 35px;
        opacity: 0.55;
    }

    [dir="rtl"] .home-join-decoration {
        right: auto;
        left: 35px;
    }

}


/* ---------------------------------------------------------
   19. MOBILE RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .home-hero {
        padding: 55px 0 60px;
    }

    .home-hero h1 {
        font-size: 38px;
        letter-spacing: -0.8px;
    }

    .home-hero-description {
        font-size: 15px;
    }

    .home-hero-visual {
        min-height: 330px;
        margin-top: 15px;
    }

    .hero-circle-one {
        width: 290px;
        height: 290px;
    }

    .hero-circle-two {
        width: 225px;
        height: 225px;
    }

    .hero-map-card {
        width: 270px;
        height: 265px;
    }

    .hero-floating-card {
        min-width: 175px;
        padding: 10px 12px;
    }

    .hero-floating-top {
        top: 12px;
        right: 0;
    }

    .hero-floating-bottom {
        bottom: 5px;
        left: 0;
    }

    [dir="rtl"] .hero-floating-top {
        right: auto;
        left: 0;
    }

    [dir="rtl"] .hero-floating-bottom {
        right: 0;
        left: auto;
    }

    .home-section {
        padding: 55px 0;
    }

    .home-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
    }

    .home-section-heading h2 {
        font-size: 28px;
    }

    .home-category-card {
        min-height: 165px;
        padding: 18px;
    }

    .home-business-image {
        height: 175px;
    }

    .home-join-section {
        padding: 35px 0 65px;
    }

    .home-join-card {
        min-height: 0;
        padding: 35px 25px;
    }

    .home-join-content h2 {
        font-size: 26px;
    }

    .home-join-decoration {
        right: -65px;
        opacity: 0.25;
    }

    [dir="rtl"] .home-join-decoration {
        right: auto;
        left: -65px;
    }

}


/* ---------------------------------------------------------
   20. SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 575px) {

    .home-hero {
        padding: 45px 0 50px;
    }

    .home-hero h1 {
        font-size: 32px;
        line-height: 1.3;
    }

    .home-eyebrow {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .home-search {
        align-items: stretch;
        flex-wrap: wrap;
        padding: 12px;
        gap: 8px;
    }

    .home-search-icon {
        align-self: center;
    }

    .home-search .form-control {
        flex: 1;
        width: calc(100% - 40px);
    }

    .home-search .btn {
        width: 100%;
    }

    .home-hero-links {
        gap: 15px;
    }

    .home-hero-links a {
        font-size: 12px;
    }

    .home-hero-visual {
        min-height: 290px;
    }

    .hero-circle-one {
        width: 250px;
        height: 250px;
    }

    .hero-circle-two {
        width: 195px;
        height: 195px;
    }

    .hero-map-card {
        width: 240px;
        height: 235px;
        padding: 17px;
    }

    .hero-map-pin {
        width: 60px;
        height: 60px;
        font-size: 23px;
    }

    .hero-map-name {
        font-size: 20px;
    }

    .hero-map-card:before {
        width: 185px;
        height: 185px;
        top: 35px;
        left: 27px;
    }

    .hero-map-card:after {
        width: 135px;
        height: 135px;
        top: 60px;
        left: 52px;
    }

    .hero-floating-card {
        min-width: 155px;
        gap: 8px;
        padding: 9px;
    }

    .floating-icon {
        width: 35px;
        height: 35px;
        font-size: 17px;
    }

    .hero-floating-card strong {
        font-size: 10px;
    }

    .hero-floating-card small {
        font-size: 9px;
    }

    .home-section-heading h2 {
        font-size: 25px;
    }

    .home-category-card {
        min-height: 155px;
        padding: 15px;
    }

    .home-category-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .home-category-name {
        font-size: 13px;
    }

    .home-category-count {
        font-size: 10px;
    }

    .home-category-arrow {
        right: 14px;
        bottom: 15px;
        font-size: 14px;
    }

    [dir="rtl"] .home-category-arrow {
        right: auto;
        left: 14px;
    }

    .home-join-card {
        padding: 30px 22px;
        border-radius: 18px;
    }

    .home-join-content h2 {
        font-size: 23px;
    }

    .home-join-content p {
        font-size: 13px;
    }

    .home-join-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

}


/* =========================================================
   HOMEPAGE UI REFINEMENT - NAVBAR & HERO
   ========================================================= */

/* NAVBAR */
.navbar {
    padding-top: 9px;
    padding-bottom: 9px;
    min-height: 72px;
    position: relative;
    z-index: 1000;
}

.navbar-brand {
    font-size: 19px;
    letter-spacing: 0;
}

.brand-mark {
    width: 38px;
    height: 38px;
    margin: 0 8px;
    border-radius: 12px;
}

.navbar .nav-link {
    padding: 10px 14px;
    font-size: 14px;
    transition: color 0.2s ease;
}

.navbar .nav-link:hover {
    color: #1e806e;
}

/* HERO SECTION */
.home-hero {
    padding: 55px 0 65px;
    background: linear-gradient(
        135deg,
        #f1f7f4 0%,
        #ffffff 55%,
        #f8fbf9 100%
    );
}

.home-hero h1 {
    max-width: 680px;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.35;
    letter-spacing: 0;
    margin-bottom: 18px;
}

.home-eyebrow {
    margin-bottom: 15px;
    font-size: 12px;
    letter-spacing: 0;
}

.home-hero-description {
    max-width: 580px;
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 25px;
}

/* SEARCH */
.home-search {
    max-width: 620px;
    border-radius: 14px;
    padding: 8px;
}

.home-search .form-control {
    font-size: 15px;
}

.home-search .btn {
    border-radius: 10px;
}

/* HERO ILLUSTRATION */
.home-hero-visual {
    min-height: 340px;
}

.hero-circle-one {
    width: 310px;
    height: 310px;
}

.hero-circle-two {
    width: 235px;
    height: 235px;
}

.hero-map-card {
    width: 285px;
    height: 275px;
    border-radius: 22px;
}

.hero-floating-card {
    border-radius: 13px;
}

/* TABLETS */
@media (max-width: 991px) {
    .home-hero {
        padding: 45px 0 55px;
    }

    .home-hero h1 {
        max-width: 100%;
        font-size: clamp(34px, 5vw, 46px);
    }

    .home-hero-visual {
        min-height: 320px;
    }
}

/* MOBILE */
@media (max-width: 767px) {
    .navbar {
        min-height: 64px;
    }

    .home-hero {
        padding: 40px 0 45px;
    }

    .home-hero h1 {
        font-size: 34px;
        line-height: 1.4;
    }

    .home-eyebrow {
        font-size: 11px;
    }

    .home-hero-description {
        font-size: 14px;
    }

    .home-hero-visual {
        min-height: 300px;
    }
}

/* SMALL MOBILE */
@media (max-width: 575px) {
    .home-hero h1 {
        font-size: 29px;
        line-height: 1.45;
    }

    .home-hero {
        padding-top: 32px;
        padding-bottom: 35px;
    }
}

/* ==========================================
   SARAFAND DIRECTORY - GLOBAL DESIGN SYSTEM
   ========================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    color: #172638;
    background-color: #ffffff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #102b46;
    font-weight: 700;
    line-height: 1.35;
}

p {
    color: #526474;
}

a {
    color: #1e806e;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #176957;
}

img {
    max-width: 100%;
    height: auto;
}

/* Buttons */

.btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 10px 22px;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #1e806e;
    border-color: #1e806e;
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #176957;
    border-color: #176957;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: #1e806e;
    border-color: #1e806e;
}

.btn-outline-primary:hover {
    background-color: #1e806e;
    border-color: #1e806e;
    color: #ffffff;
}

/* Form controls */

.form-control,
.form-select {
    border: 1px solid #dce5e8;
    border-radius: 10px;
    padding: 11px 14px;
    color: #172638;
    background-color: #ffffff;
}

.form-control:focus,
.form-select:focus {
    border-color: #1e806e;
    box-shadow: 0 0 0 3px rgba(30, 128, 110, 0.12);
}

/* Cards */

.card {
    border: 1px solid #e7eeeb;
    border-radius: 16px;
    background-color: #ffffff;
}

.card:not(.no-hover) {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:not(.no-hover):hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(16, 43, 70, 0.08);
}

/* Badges */

.badge {
    border-radius: 7px;
    font-weight: 600;
    padding: 6px 10px;
}

/* Section spacing */

section {
    padding-top: 55px;
    padding-bottom: 55px;
}

/* Selection */

::selection {
    background-color: #d5ebe5;
    color: #102b46;
}

/* Mobile adjustments */

@media (max-width: 767px) {
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.65rem;
    }

    .btn {
        padding: 10px 17px;
    }

    section {
        padding-top: 38px;
        padding-bottom: 38px;
    }
}

/* ==========================================
   HOMEPAGE HERO - VISUAL UPGRADE
   ========================================== */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(30, 128, 110, 0.12),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #edf7f4 0%,
            #f7faf9 50%,
            #e8f2f0 100%
        );
}

/* Decorative background circle */

.hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(30, 128, 110, 0.055);
    top: -190px;
    right: -100px;
    pointer-events: none;
}

/* Secondary decorative circle */

.hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1px solid rgba(198, 164, 91, 0.15);
    bottom: -150px;
    left: -80px;
    pointer-events: none;
}

/* Keep homepage content above decorations */

.hero .container {
    position: relative;
    z-index: 1;
}

/* Hero heading */

.hero h1 {
    color: #102b46;
    font-weight: 800;
}

/* Hero description */

.hero p {
    color: #526879;
}

/* Search panel */

.search-panel {
    background: #ffffff;
    border: 1px solid rgba(30, 128, 110, 0.12);
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(16, 43, 70, 0.07);
}

/* Navbar refinement */

.navbar {
    background: #ffffff !important;
    border-bottom: 1px solid #e5eeeb !important;
    box-shadow: 0 2px 12px rgba(16, 43, 70, 0.035);
}

/* Hero illustration */

.hero-art {
    filter: drop-shadow(0 15px 25px rgba(16, 43, 70, 0.05));
}

/* ==========================================
   HOMEPAGE HERO - ACTUAL PHP SELECTORS
   ========================================== */

/* Main hero background */
.home-hero {
    background:
        radial-gradient(
            circle at 15% 35%,
            rgba(30, 128, 110, 0.14),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #eaf5f1 0%,
            #f5faf8 55%,
            #e5f1ed 100%
        ) !important;

    position: relative;
    overflow: hidden;
}

/* Hero eyebrow */
.home-eyebrow {
    color: #1e806e !important;
    font-weight: 700;
}

/* Hero heading */
.home-hero h1 {
    color: #102b46 !important;
    font-weight: 800;
}

/* Hero description */
.home-hero-description {
    color: #526879 !important;
}

/* Search form */
.home-search {
    background-color: #ffffff !important;
    border: 1px solid #dce9e4 !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 35px rgba(16, 43, 70, 0.08) !important;
}

/* Search input */
.home-search .form-control {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #172638 !important;
}

/* Search icon */
.home-search-icon {
    color: #1e806e !important;
}

/* Search button */
.home-search .btn-primary {
    background-color: #1e806e !important;
    border-color: #1e806e !important;
    color: #ffffff !important;
}

/* Hero navigation links */
.home-hero-links a {
    color: #176957 !important;
    font-weight: 600;
}

/* Hero illustration background */
.home-hero-visual {
    position: relative;
}

/* Decorative circles */
.hero-visual-circle {
    background-color: rgba(30, 128, 110, 0.09) !important;
}

.hero-circle-one {
    border-color: rgba(30, 128, 110, 0.12) !important;
}

.hero-circle-two {
    border-color: rgba(198, 164, 91, 0.25) !important;
}

/* Map card */
.hero-map-card {
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(30, 128, 110, 0.12) !important;
    box-shadow: 0 20px 50px rgba(16, 43, 70, 0.08) !important;
}

/* Map pin */
.hero-map-pin {
    background-color: #1e806e !important;
    color: #ffffff !important;
}

/* Map title */
.hero-map-name {
    color: #102b46 !important;
}

/* Map subtitle */
.hero-map-subtitle {
    color: #1e806e !important;
}

/* Floating cards */
.hero-floating-card {
    background-color: #ffffff !important;
    border: 1px solid #e5eeeb !important;
    box-shadow: 0 12px 30px rgba(16, 43, 70, 0.08) !important;
}

/* Floating card icons */
.hero-floating-card .floating-icon {
    background-color: #e7f3ef !important;
    color: #1e806e !important;
}

/* Gold icon */
.hero-floating-card .floating-icon-gold {
    background-color: #f8f1e2 !important;
    color: #b18b3e !important;
}

/* ==========================================
   SARAFAND DIRECTORY - DARK SEARCH HERO
   ========================================== */

.home-hero-centered {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 50% 100%,
            rgba(30, 128, 110, 0.22),
            transparent 55%
        ),
        linear-gradient(
            135deg,
            #0b2035 0%,
            #102b46 50%,
            #173e5d 100%
        ) !important;

    padding: 100px 0 90px !important;
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* Background decoration */

.home-hero-centered::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.045);
    border-radius: 50%;
    top: -270px;
    left: -160px;
    pointer-events: none;
}

.home-hero-centered::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(198, 164, 91, 0.09);
    border-radius: 50%;
    bottom: -250px;
    right: -100px;
    pointer-events: none;
}

/* Main centered content */

.home-hero-centered-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Eyebrow */

.home-hero-centered .home-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #d5b56f !important;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
}

.home-hero-centered .home-eyebrow-dot {
    width: 8px;
    height: 8px;
    background: #c6a45b;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(198, 164, 91, 0.5);
}

/* Main title */

.home-hero-centered h1 {
    color: #ffffff !important;
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.4;
    max-width: 850px;
    margin: 0 auto 20px;
}

/* Description */

.home-hero-centered .home-hero-description {
    color: #cbd8e3 !important;
    font-size: 17px;
    line-height: 1.9;
    max-width: 720px;
    margin: 0 auto 35px;
}

/* Search bar */

.home-hero-centered .home-search {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 760px;
    margin: 0 auto;
    padding: 10px;
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2) !important;
}

/* Search icon */

.home-hero-centered .home-search-icon {
    color: #1e806e !important;
    font-size: 21px;
    padding: 0 8px;
}

/* Input */

.home-hero-centered .home-search .form-control {
    min-width: 0;
    height: 55px;
    padding: 10px;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 16px;
}

/* Search button */

.home-hero-centered .home-search .btn {
    height: 55px;
    white-space: nowrap;
    border-radius: 11px;
    padding: 0 28px;
    background: #1e806e !important;
    border-color: #1e806e !important;
    color: #ffffff !important;
}

.home-hero-centered .home-search .btn:hover {
    background: #176957 !important;
    border-color: #176957 !important;
}

/* Links below search */

.home-hero-centered .home-hero-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
}

.home-hero-centered .home-hero-links a {
    color: #dbe6ee !important;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.home-hero-centered .home-hero-links a:hover {
    color: #d5b56f !important;
}

.home-hero-centered .home-hero-links i {
    margin-inline-end: 6px;
}

.home-hero-link-divider {
    color: #c6a45b;
}

/* Bottom gold accent */

.home-hero-bottom-accent {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 3px;
    background: #c6a45b;
    border-radius: 5px 5px 0 0;
}

/* Mobile */

@media (max-width: 767px) {

    .home-hero-centered {
        min-height: auto;
        padding: 70px 0 65px !important;
    }

    .home-hero-centered h1 {
        font-size: 34px;
        line-height: 1.45;
    }

    .home-hero-centered .home-hero-description {
        font-size: 15px;
        margin-bottom: 26px;
    }

    .home-hero-centered .home-search {
        gap: 5px;
        padding: 7px;
        border-radius: 13px !important;
    }

    .home-hero-centered .home-search .form-control {
        font-size: 14px;
        height: 48px;
    }

    .home-hero-centered .home-search .btn {
        height: 48px;
        padding: 0 14px;
        font-size: 13px;
    }

    .home-hero-centered .home-search-icon {
        font-size: 18px;
        padding: 0 3px;
    }

    .home-hero-centered .home-hero-links {
        gap: 12px;
        flex-wrap: wrap;
    }

    .home-hero-centered .home-hero-links a {
        font-size: 13px;
    }
}

/* =========================================
   SITE NAVIGATION
========================================= */

.site-navbar {
    background: #ffffff;
    border-bottom: 1px solid #e8edf1;
    padding: 12px 0;
    z-index: 1030;
    box-shadow: 0 3px 15px rgba(16, 43, 70, 0.035);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #102b46 !important;
    font-weight: 800;
    font-size: 1.12rem;
    text-decoration: none;
}

.site-brand:hover {
    color: #1e806e !important;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #102b46;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(16, 43, 70, 0.15);
}

.brand-text {
    white-space: nowrap;
}


/* NAV LINKS */

.site-nav-links {
    align-items: center;
}

.site-nav-links .nav-link {
    position: relative;
    color: #526477;
    font-weight: 600;
    font-size: 0.93rem;
    padding: 10px 12px !important;
    transition: color 0.2s ease;
}

.site-nav-links .nav-link:hover {
    color: #1e806e;
}

.site-nav-links .nav-link::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 12px;
    right: 12px;
    height: 2px;
    border-radius: 10px;
    background: #1e806e;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.site-nav-links .nav-link:hover::after {
    transform: scaleX(1);
}


/* NAV ACTIONS */

.site-nav-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-left: 18px;
}

[dir="rtl"] .site-nav-actions {
    margin-left: 0;
    margin-right: 18px;
}


/* LANGUAGE BUTTON */

.site-language-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 7px 12px;
    border: 1px solid #dce4ea;
    border-radius: 9px;
    color: #526477;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.2s ease;
}

.site-language-button:hover {
    background: #f4f8f7;
    border-color: #1e806e;
    color: #1e806e;
}


/* LOGIN BUTTON */

.site-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 15px;
    border: 1px solid #dce4ea;
    border-radius: 9px;
    color: #102b46;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

.site-login-button:hover {
    background: #f4f7fa;
    color: #1e806e;
    border-color: #1e806e;
}


/* REGISTER BUTTON */

.site-register-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 15px;
    border-radius: 9px;
    background: #1e806e;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #1e806e;
    transition: 0.2s ease;
}

.site-register-button:hover {
    background: #176957;
    border-color: #176957;
    color: #ffffff;
    transform: translateY(-1px);
}


/* MOBILE MENU BUTTON */

.site-navbar-toggler {
    border: 1px solid #dce4ea;
    border-radius: 9px;
    padding: 7px 10px;
}

.site-navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(30, 128, 110, 0.12);
}


/* =========================================
   NOTIFICATIONS
========================================= */

.site-notification-dropdown {
    position: relative;
}

.site-notification-button {
    position: relative;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #526477;
    border: 1px solid #dce4ea;
    border-radius: 10px;
    font-size: 1.05rem;
    transition: 0.2s ease;
}

.site-notification-button:hover {
    background: #f4f8f7;
    color: #1e806e;
    border-color: #1e806e;
}

.notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 19px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid #ffffff;
    border-radius: 20px;
    background: #d94848;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
}

[dir="rtl"] .notification-badge {
    right: auto;
    left: -6px;
}


/* NOTIFICATION MENU */

.site-notification-menu {
    width: 360px;
    max-width: calc(100vw - 24px);
    max-height: 75vh;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #e7edf1;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(16, 43, 70, 0.12);
}

.notification-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 10px;
    border-bottom: 1px solid #edf1f4;
    color: #102b46;
}

.notification-menu-header strong {
    font-size: 0.95rem;
}

.notification-menu-header span {
    color: #758496;
    font-size: 0.75rem;
}


/* EMPTY NOTIFICATIONS */

.notification-empty {
    padding: 28px 15px;
    text-align: center;
    color: #8795a3;
}

.notification-empty i {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.notification-empty p {
    margin: 0;
    font-size: 0.85rem;
}


/* NOTIFICATION ITEM */

.notification-item {
    padding: 12px 10px;
    border-bottom: 1px solid #f0f3f5;
    border-radius: 9px;
    transition: background 0.2s ease;
}

.notification-item:hover {
    background: #f8fafb;
}

.notification-unread {
    background: #f1f7f6;
}

.notification-item-content {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.notification-status-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    margin-top: 6px;
    border-radius: 50%;
    background: #cbd5dd;
}

.notification-status-dot.is-unread {
    background: #1e806e;
}

.notification-item-text {
    min-width: 0;
    flex: 1;
}

.notification-item-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #263b4f;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.notification-item-link:hover {
    color: #1e806e;
}

.notification-item-link strong {
    font-size: 0.83rem;
    line-height: 1.5;
}

.notification-message {
    color: #718091;
    font-size: 0.78rem;
    line-height: 1.5;
}

.notification-date {
    color: #98a4af;
    font-size: 0.7rem;
}


/* NOTIFICATION ACTIONS */

.notification-item-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 9px;
    margin-left: 17px;
}

[dir="rtl"] .notification-item-actions {
    margin-left: 0;
    margin-right: 17px;
}

.notification-item-actions form {
    display: inline-flex;
}

.notification-item-actions button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #1e806e;
    font-size: 0.73rem;
    font-weight: 600;
    cursor: pointer;
}

.notification-item-actions button:hover {
    text-decoration: underline;
}

.notification-item-actions .notification-delete-button {
    color: #c94c4c;
}


/* NOTIFICATION FOOTER */

.notification-menu-footer {
    padding: 10px 5px 4px;
    text-align: center;
}

.notification-menu-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #1e806e;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.notification-menu-footer a:hover {
    color: #176957;
}


/* =========================================
   LOGGED-IN USER
========================================= */

.site-user-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 9px;
    background: #f2f6f8;
    color: #102b46;
    font-size: 0.83rem;
    font-weight: 600;
    max-width: 180px;
}

.site-user-label i {
    color: #1e806e;
    font-size: 1rem;
    flex-shrink: 0;
}

.site-user-label span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* LOGOUT */

.site-logout-form {
    display: inline-flex;
}

.site-logout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 7px 11px;
    border: 1px solid #e5e9ed;
    border-radius: 9px;
    background: #ffffff;
    color: #667788;
    font-size: 0.83rem;
    font-weight: 600;
    transition: 0.2s ease;
}

.site-logout-button:hover {
    background: #fff5f5;
    border-color: #e6bcbc;
    color: #c94c4c;
}


/* =========================================
   RESPONSIVE NAVIGATION
========================================= */

@media (max-width: 991.98px) {

    .site-navbar {
        padding: 10px 0;
    }

    .site-navbar .navbar-collapse {
        padding-top: 15px;
    }

    .site-nav-links {
        align-items: stretch;
        gap: 2px !important;
        padding-bottom: 12px;
        border-bottom: 1px solid #edf1f4;
    }

    .site-nav-links .nav-link {
        padding: 10px 12px !important;
        border-radius: 8px;
    }

    .site-nav-links .nav-link:hover {
        background: #f4f8f7;
    }

    .site-nav-links .nav-link::after {
        display: none;
    }

    .site-nav-actions {
        margin: 12px 0 4px;
        padding-bottom: 5px;
        display: flex;
        flex-wrap: wrap;
        gap: 9px;
    }

    [dir="rtl"] .site-nav-actions {
        margin: 12px 0 4px;
    }

    .site-notification-menu {
        width: 360px;
    }

}

@media (max-width: 575.98px) {

    .brand-mark {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 1.1rem;
    }

    .site-brand {
        gap: 8px;
        font-size: 1rem;
    }

    .site-nav-actions {
        align-items: center;
    }

    .site-user-label {
        max-width: 135px;
    }

    .site-notification-menu {
        width: 340px;
        max-width: calc(100vw - 20px);
    }

}


/* =========================================
   SARAFAND DIRECTORY - NAVBAR
========================================= */

.navbar {
    min-height: 76px;
    padding: 12px 0;
    background: #ffffff !important;
    border-bottom: 1px solid #e8edf1 !important;
    box-shadow: 0 3px 15px rgba(16, 43, 70, 0.035);
    z-index: 1030;
}

.navbar .container {
    gap: 18px;
}

/* BRAND */

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #102b46 !important;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.navbar-brand:hover {
    opacity: 0.85;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #102b46, #1e806e);
    color: #ffffff;
    border-radius: 13px;
    font-size: 1.3rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(16, 43, 70, 0.14);
}

/* NAVIGATION LINKS */

#mainNav .navbar-nav {
    align-items: center;
}

#mainNav .nav-link {
    position: relative;
    color: #526477;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 10px 13px;
    transition: color 0.2s ease;
}

#mainNav .nav-link:hover {
    color: #1e806e;
}

#mainNav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 13px;
    right: 13px;
    height: 2px;
    background: #1e806e;
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

#mainNav .nav-link:hover::after {
    transform: scaleX(1);
}

/* NAVBAR BUTTONS */

.navbar .btn {
    border-radius: 9px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.navbar .btn-sm {
    padding: 8px 13px;
    font-size: 0.84rem;
}

.navbar .btn-outline-dark {
    border-color: #dce4e9;
    color: #102b46;
}

.navbar .btn-outline-dark:hover {
    background: #102b46;
    border-color: #102b46;
    color: #ffffff;
}

.navbar .btn-outline-primary {
    color: #1e806e;
    border-color: #1e806e;
}

.navbar .btn-outline-primary:hover {
    background: #1e806e;
    border-color: #1e806e;
    color: #ffffff;
}

.navbar .btn-primary {
    background: #1e806e;
    border-color: #1e806e;
    color: #ffffff;
}

.navbar .btn-primary:hover {
    background: #176957;
    border-color: #176957;
}

/* USER BUTTON */

.navbar .btn-light {
    background: #f3f7f8;
    border: 1px solid #e7edef;
    color: #102b46;
}

/* LOGOUT */

.navbar form .nav-link {
    color: #687887;
    font-weight: 600;
    padding: 7px 10px !important;
}

.navbar form .nav-link:hover {
    color: #c0392b;
}

/* NOTIFICATIONS */

.navbar .dropdown {
    position: relative;
}

.navbar .dropdown > button {
    width: 38px;
    height: 38px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    font-size: 1rem;
}

.navbar .dropdown-menu {
    border-radius: 14px;
    overflow: hidden;
    margin-top: 10px !important;
    border: 1px solid #e8edf1 !important;
    box-shadow: 0 12px 35px rgba(16, 43, 70, 0.12) !important;
}

.navbar .dropdown-menu .dropdown-item {
    border-radius: 8px;
}

.navbar .dropdown-menu .dropdown-item:hover {
    background: #f3f7f6;
}

/* HAMBURGER */

.navbar-toggler {
    border: 1px solid #e1e8ed;
    border-radius: 10px;
    padding: 8px 10px;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    border-color: #1e806e;
    box-shadow: 0 0 0 3px rgba(30, 128, 110, 0.1) !important;
}

/* =========================================
   MOBILE NAVBAR
========================================= */

@media (max-width: 991.98px) {

    .navbar {
        min-height: 68px;
        padding: 10px 0;
    }

    .navbar .container {
        flex-wrap: wrap;
    }

    .navbar-brand {
        font-size: 1.02rem;
        gap: 9px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        font-size: 1.15rem;
    }

    #mainNav {
        width: 100%;
        padding-top: 14px;
        margin-top: 10px;
        border-top: 1px solid #edf1f4;
    }

    #mainNav .navbar-nav {
        align-items: stretch;
        gap: 2px !important;
    }

    #mainNav .nav-link {
        padding: 11px 13px;
        border-radius: 9px;
    }

    #mainNav .nav-link:hover {
        background: #f3f7f6;
    }

    #mainNav .nav-link::after {
        display: none;
    }

    #mainNav > .d-flex {
        display: flex !important;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px !important;
        padding-top: 13px;
        margin-top: 10px !important;
        border-top: 1px solid #edf1f4;
    }

    #mainNav > .d-flex > .btn {
        min-height: 36px;
    }

    #mainNav > .d-flex > form {
        display: inline-flex;
        align-items: center;
    }

    #mainNav .dropdown-menu {
        margin-top: 8px !important;
    }

}

/* SMALL MOBILE */

@media (max-width: 575.98px) {

    .navbar .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .navbar-brand {
        max-width: calc(100% - 55px);
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #mainNav > .d-flex {
        gap: 7px !important;
    }

    #mainNav > .d-flex .btn-sm {
        padding: 7px 10px;
        font-size: 0.8rem;
    }

    #mainNav .dropdown-menu {
        width: min(360px, calc(100vw - 32px)) !important;
    }

}
/* =========================================
   HEADER BRAND LOGO
========================================= */

.navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
}

.navbar-logo {
    display: block;
    width: auto;
    height: 46px;
    max-width: 230px;
    object-fit: contain;
}

.navbar-brand:hover {
    opacity: 0.9;
}

/* Mobile logo */

@media (max-width: 991.98px) {

    .navbar-logo {
        height: 40px;
        max-width: 190px;
    }

}

@media (max-width: 575.98px) {

    .navbar-logo {
        height: 36px;
        max-width: 165px;
    }

}
/* Directory Hero - White Text */
.directory-hero h1 {
    color: #ffffff !important;
}

.directory-hero p {
    color: rgba(255, 255, 255, 0.85) !important;
}
/* ---------------------------------------------------------
   END OF STYLESHEET
   --------------------------------------------------------- */
