/* ==========================================================================
   Front header — mirrors home.css header styles, scoped under .front-header
   ========================================================================== */

.front-header,
.front-header * {
    box-sizing: border-box;
    font-family: "Cairo", sans-serif;
}

/* Logo image: same behaviour as the global `img { max-width:100% }` in home.css */
.front-header img {
    max-width: 100%;
    height: auto;
    display: block;
}

.front-header {
    position: relative;
    width: 100%;
    max-width: 95%;
    margin: 0 auto;
    padding: 20px 16px 0;
}

.front-header a {
    color: inherit;
    text-decoration: none;
}

.front-header button {
    cursor: pointer;
    border: 0;
    font-family: inherit;
}

.front-header .navbar {
    position: fixed;
    top: 15px;
    left: 50%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 95%;
    padding: 12px 28px;
    transform: translateX(-50%);
    border: 1px solid #f0f1f4;
    border-radius: 116px;
    background-color: #fff;
    box-shadow: 1px 5px 33.3px 0 #00000026;
}

.front-header .logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.front-header .nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #4a4a4a;
    font-size: 14px;
    font-weight: 700;
}

.front-header .nav-links a {
    position: relative;
    transition: color 0.2s ease;
}

.front-header .nav-links a:hover,
.front-header .nav-links a.active {
    color: #ff6a35;
}

.front-header .nav-links a.active::after {
    position: absolute;
    right: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    border-radius: 99px;
    background-color: #ff6a35;
    content: "";
}

.front-header .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.front-header .btn-secondary,
.front-header .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 700;
}

.front-header .btn-secondary {
    padding: 10px 20px;
    border: 1px solid #e2e8f0;
    background-color: #fff;
    color: #334155;
    transition: all 0.2s ease;
}

.front-header .btn-secondary:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

.front-header .btn-primary {
    justify-content: center;
    padding: 10px 24px;
    background-color: #ff6a35;
    color: #fff;
}

.front-header .btn-primary:hover {
    transform: translateY(-1px);
    background-color: #e64a19;
}

.front-header .btn-primary:active {
    transform: scale(0.97);
}

.front-header .mobile-menu-toggle {
    display: none;
    padding: 8px;
    border-radius: 50%;
    background: none;
    color: #1e293b;
    font-size: 18px;
}

.front-header .mobile-menu {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
    padding: 16px;
    border-radius: 20px;
    background-color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.front-header .mobile-menu.open {
    position: fixed;
    top: 77px;
    z-index: 999999;
    display: flex;
    width: 88%;
}

.front-header .mobile-menu a {
    padding: 10px 14px;
    border-radius: 12px;
    transition: background-color 0.2s ease;
}

.front-header .mobile-menu a:hover {
    background-color: #f8fafc;
}

.front-header .mobile-menu a.active {
    background-color: #fff3ed;
    color: #ff6a35;
}

/* Account dropdown */
.front-header .account-menu {
    position: relative;
}

.front-header .mobile-account-menu {
    display: none;
}

.front-header .account-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border: 1px solid #ff6a35;
    border-radius: 9999px;
    background: #ff6a35;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.front-header .account-menu-toggle:hover,
.front-header .account-menu-toggle[aria-expanded="true"] {
    background: #e64a19;
}

.front-header .account-menu-chevron {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.front-header .account-menu-toggle[aria-expanded="true"] .account-menu-chevron {
    transform: rotate(180deg);
}

.front-header .account-menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    z-index: 1000000;
    display: none;
    min-width: 210px;
    padding: 8px 0;
    border: 1px solid #f0f1f4;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgb(0 0 0 / 14%);
}

.front-header .account-menu-panel.is-open {
    display: block;
}

.front-header .account-menu-panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 16px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.front-header .account-menu-panel a:hover {
    background: #fff3ed;
    color: #e64a19;
}

.front-header .account-menu-panel .account-menu-logout {
    margin-top: 5px;
    border-top: 1px solid #eee;
    color: #b42318;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .front-header .nav-links,
    .front-header .desktop-buttons {
        display: none;
    }

    .front-header .mobile-menu-toggle {
        display: block;
    }

    .front-header .mobile-account-menu {
        display: block;
    }

    .front-header .mobile-account-menu-toggle {
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        font-size: 17px;
              background-color: transparent;
        border: none;
        color: black;

    }
    .account-menu-toggle:hover{
        background-color: transparent !important;
    }
}

@media (max-width: 640px) {
    .front-header {
        padding-top: 12px;
    }

    .front-header .navbar {
        top: 15px;
        width: 88%;
        padding: 10px 18px;
    }

    .front-header .btn-secondary {
        justify-content: center;
        padding: 8px 12px;
    }

    .front-header .mobile-menu .account-menu {
        width: 100%;
    }

    .front-header .mobile-menu .account-menu-toggle {
        justify-content: center;
        width: 100%;
    }

    .front-header .mobile-menu .account-menu-panel {
        position: static;
        width: 100%;
        margin-top: 8px;
        box-shadow: none;
    }
}
/* ==========================================================
   FOOTER (scoped) — mirrors footer2.blade.php + home.css
   Loaded via app.blade.php → style.css
   ========================================================== */

.footer.footer-wasity {
    background-color: #18161d !important;
    color: #ffffff;
    padding: 60px 20px 40px;
    direction: rtl;
    font-family: "Cairo", sans-serif;
    text-align: right;
}

.footer-wasity * {
    box-sizing: border-box;
    font-family: "Cairo", sans-serif;
}

/* Logo image max-width (home.css ships this globally; we scope it here) */
.footer-wasity img {
    max-width: 100%;
    height: auto;
    display: block;
}

.footer-wasity .footer-container {
    max-width: 95%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-wasity .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-wasity .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-wasity .footer-desc {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    text-align: start;
    max-width: 70%;
}

/* Social buttons */
.footer-wasity .social-links {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.footer-wasity .social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #fc8604;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-wasity .social-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
    color: #ffffff;
}

/* Link columns */
.footer-wasity .footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-wasity .footer-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px;
    position: relative;
}

.footer-wasity .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.footer-wasity .footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.footer-wasity .footer-links a:hover {
    color: #fc8604;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-wasity .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    .footer-wasity .footer-desc {
        max-width: unset;
    }
}

@media (max-width: 576px) {
    .footer-wasity .social-links {
        display: none;
    }

    .footer-wasity .footer-links {
        gap: 10px;
    }

    .footer-wasity .footer-links a {
        font-size: 14px;
    }
}