/*=============== RESPONSIVE MASTER - COMPREHENSIVE RESPONSIVE DESIGN ===============*/
/* Prime Developments - Modern Mobile-First Responsive Styles */
/* Last Updated: 2026-02-06 */

/*=============== CSS VARIABLES FOR RESPONSIVE DESIGN ===============*/
:root {
    --header-height: 4.5rem;
    --nav-padding-mobile: 1rem;
    --nav-padding-tablet: 1.5rem;
    --nav-padding-desktop: 2rem;
    --container-padding-mobile: 1rem;
    --container-padding-tablet: 2rem;
    --container-padding-desktop: 3rem;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/*=============== BASE RESPONSIVE FIXES ===============*/
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
}

/* Prevent horizontal scroll on all screen sizes */
html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/*=============== CONTAINER RESPONSIVE ===============*/
.container {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding-mobile);
    padding-right: var(--container-padding-mobile);
}

/*=============== HEADER & NAVBAR RESPONSIVE ===============*/

/* Base Header - Fixed at top */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--body-color, #fff);
    box-shadow: 0 2px 16px hsla(228, 66%, 45%, 0.1);
    transition: all 0.3s var(--transition-smooth);
}

/* Main Navigation */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem var(--nav-padding-desktop);
    position: relative;
    height: var(--header-height);
}

/* Logo Container */
.nav__left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 1002;
}

.nav__left .nav__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav__left .nav__logo img {
    height: 50px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

/* Center Navigation Menu */
.nav__center {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.nav__menu {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__item {
    position: relative;
}

.nav__item.mobile-only {
    display: none;
}

.nav__link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color, #333);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s var(--transition-smooth);
    white-space: nowrap;
    font-size: 0.95rem;
}

.nav__link:hover {
    color: var(--first-color, #efc1a9);
    background: rgba(239, 193, 169, 0.1);
}

.nav__link i {
    font-size: 1.1rem;
}

/* Right Side - Theme & Contact */
.nav__right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
    z-index: 1002;
}

.nav__right .change-theme {
    font-size: 1.5rem;
    color: var(--title-color, #1a1a1a);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.nav__right .change-theme:hover {
    color: var(--first-color, #efc1a9);
    background: rgba(239, 193, 169, 0.1);
}

.nav__right .nav__button {
    background: linear-gradient(101deg, var(--first-color, #efc1a9), var(--first-color-alt, #d4a894));
    color: #fff;
    padding: 12px 24px;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s var(--transition-smooth);
    white-space: nowrap;
}

.nav__right .nav__button:hover {
    box-shadow: 0 4px 12px hsla(228, 66%, 45%, 0.25);
    transform: translateY(-2px);
}

/*=============== HAMBURGER TOGGLE BUTTON ===============*/
.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--first-color, #efc1a9);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    z-index: 1003;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.nav__toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text-color, #2c3e50);
    border-radius: 3px;
    transition: all 0.3s var(--transition-smooth);
    margin: 3px 0;
    transform-origin: center;
}

.nav__toggle:hover {
    background: rgba(239, 193, 169, 0.15);
    border-color: var(--first-color-alt, #d4a894);
    transform: scale(1.05);
}

.nav__toggle:active {
    transform: scale(0.95);
}

/* Hamburger Active State (X animation) */
.nav__toggle.active {
    background: var(--first-color, #efc1a9);
    border-color: var(--first-color, #efc1a9);
    box-shadow: 0 8px 30px rgba(239, 193, 169, 0.4);
}

.nav__toggle.active span {
    background: #fff;
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/*=============== OVERLAY ===============*/
.nav__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--transition-smooth);
    pointer-events: none;
}

.nav__overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/*=============== DROPDOWN STYLES ===============*/
.nav__item.dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
    min-width: 180px;
    z-index: 1001;
    border: 1px solid rgba(239, 193, 169, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--transition-smooth);
    list-style: none;
}

.nav__item.dropdown .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

.nav__item.dropdown .dropdown-menu li {
    list-style: none;
}

.nav__item.dropdown .dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 20px;
    color: var(--text-color, #333);
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
    font-weight: 500;
}

.nav__item.dropdown .dropdown-menu li a:hover {
    background: rgba(239, 193, 169, 0.1);
    color: var(--first-color, #efc1a9);
    transform: translateX(5px);
}

.nav__item.dropdown .dropdown-menu li a i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Dropdown Arrow */
.dropdown-arrow {
    margin-left: 0.5rem;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.dropdown-arrow.rotated {
    transform: rotate(180deg);
}

/*=============== FOOTER RESPONSIVE ===============*/
.footer {
    position: relative;
    background: linear-gradient(135deg, #0f1419 0%, #1a1a2e 100%);
    padding: 3rem 1.5rem;
    color: #fff;
    overflow: hidden;
}

.footer__container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer__data {
    display: flex;
    flex-direction: column;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer__logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer__logo h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.footer__description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer__social-link:hover {
    background: var(--first-color, #efc1a9);
    transform: translateY(-5px);
    color: #000;
    box-shadow: 0 8px 20px rgba(239, 193, 169, 0.3);
}

.footer__title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--first-color, #efc1a9);
    border-radius: 2px;
}

.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__links li {
    margin-bottom: 0.6rem;
}

.footer__link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer__link:hover {
    color: var(--first-color, #efc1a9);
    transform: translateX(5px);
}

.footer__info {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

.footer__info i {
    color: var(--first-color, #efc1a9);
    font-size: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.footer__info span {
    line-height: 1.4;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copy {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

.footer__terms {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer__terms span {
    color: rgba(255, 255, 255, 0.3);
}

.footer__terms-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__terms-link:hover {
    color: var(--first-color, #efc1a9);
}

/*=============== DESKTOP (1200px+) ===============*/
@media screen and (min-width: 1200px) {
    .container {
        max-width: 1200px;
        /*      padding-left: var(--container-padding-desktop);
        padding-right: var(--container-padding-desktop);*/
    }

    .nav {
        padding: 0.75rem var(--nav-padding-desktop);
    }

    .nav__list {
        gap: 2rem;
    }

    .nav__left .nav__logo img {
        height: 55px;
        max-width: 180px;
    }

    .footer__info {
        justify-content: center;
        text-align: center;
    }
}

/*=============== DESKTOP (992px+) ===============*/
@media screen and (min-width: 992px) {
    .footer__container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .footer__content {
        grid-template-columns: repeat(5, auto) !important;
        justify-content: center;
        gap: 3rem;
    }

    .footer__data {
        align-items: flex-start;
    }

    .footer__logo {
        justify-content: flex-start;
    }

    .footer__title::after {
        left: 0;
        transform: none;
    }

    [dir="rtl"] .footer__title::after {
        right: 0;
        left: auto;
        transform: none;
    }

    .footer__info {
        justify-content: flex-start;
        text-align: left;
    }

    .footer__description {
        max-width: 280px;
    }

    [dir="rtl"] .footer__info,
    [dir="rtl"] .footer__description,
    [dir="rtl"] .footer__link {
        text-align: right;
    }

    [dir="rtl"] .footer__logo {
        justify-content: flex-start;
    }

    [dir="rtl"] .footer__data {
        align-items: flex-start;
    }
}

/*=============== DESKTOP HOVER DROPDOWNS ===============*/
@media screen and (min-width: 992px) {

    .nav__item.dropdown:hover .dropdown-menu,
    .nav__item.dropdown.hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

/*=============== TABLET & SMALL DESKTOP (992px - 1199px) ===============*/
@media screen and (min-width: 1200px) {

    .container {
        max-width: 1185px;

    }
}

@media screen and (min-width: 900px) {

    .founder-image-wrapper .value__orbe {
        width: 265px;
        height: 316px;
        display: contents;

        max-width: 1300px;
    }
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
    .container {


        /*    padding-left: var(--container-padding-tablet);
        padding-right: var(--container-padding-tablet);
    */
    }

    .nav {
        padding: 0.75rem 1.5rem;
    }

    .nav__list {
        gap: 1.5rem;
    }

    .nav__link {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }

    .nav__right .nav__button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .nav__left .nav__logo img {
        height: 48px;
        max-width: 150px;
    }
}

/*=============== TABLET (768px - 991px) ===============*/
@media screen and (max-width: 991px) {
    .container {
        padding-left: var(--container-padding-mobile);
        padding-right: var(--container-padding-mobile);
    }

    /* Show hamburger menu */
    .nav__toggle {
        display: flex !important;
        position: relative;
    }

    .nav {
        padding: 0.75rem 1rem;
        height: auto;
        min-height: 70px;
    }

    .nav__left .nav__logo img {
        height: 45px;
        max-width: 130px;
    }

    /* Hide desktop contact button */
    .nav__right .nav__button {
        display: none;
    }

    .nav__right {
        gap: 0.75rem;
    }

    /* Mobile Menu Styles */
    .nav__center {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: var(--body-color, #fff);
        z-index: 998;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: calc(var(--header-height) + 2rem);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-100%);
        transition: all 0.4s var(--transition-smooth);
        overflow-y: auto;
    }

    .nav__center.show-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav__menu {
        width: 100%;
        max-width: 400px;
        padding: 0 1.5rem;
    }

    .nav__list {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .nav__item {
        width: 100%;
    }

    .nav__item.mobile-only {
        display: block !important;
    }

    .nav__link {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem 1.25rem;
        width: 100%;
        font-size: 1.1rem;
        border-radius: 0.75rem;
        justify-content: flex-start;
        background: transparent;
        transition: all 0.3s var(--transition-smooth);
    }

    .nav__link:hover {
        background: rgba(239, 193, 169, 0.1);
        transform: translateX(8px);
    }

    .nav__link i {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(239, 193, 169, 0.12);
        border-radius: 0.5rem;
        font-size: 1.25rem;
        color: var(--first-color, #efc1a9);
        flex-shrink: 0;
    }

    /* Mobile dropdown styles */
    .nav__item.dropdown .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(239, 193, 169, 0.05);
        border-radius: 0.75rem;
        margin-top: 0.5rem;
        padding: 0.5rem;
        width: 100%;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s var(--transition-smooth), padding 0.3s var(--transition-smooth);
    }

    .nav__item.dropdown .dropdown-menu::before {
        display: none;
    }

    .nav__item.dropdown.active .dropdown-menu,
    .nav__item.dropdown.active-dropdown .dropdown-menu {
        max-height: 300px;
        padding: 0.5rem;
    }

    .nav__item.dropdown .dropdown-menu li a {
        padding: 0.85rem 1rem;
        border-radius: 0.5rem;
        font-size: 1rem;
    }

    .nav__item.dropdown .dropdown-menu li a:hover {
        transform: translateX(5px);
    }

    /* Dropdown arrow mobile styles */
    .dropdown-arrow {
        margin-left: auto;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(239, 193, 169, 0.1);
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .nav__item.dropdown.active .dropdown-arrow,
    .nav__item.dropdown.active-dropdown .dropdown-arrow {
        transform: rotate(180deg);
        background: rgba(239, 193, 169, 0.2);
    }

    /* Footer Tablet */
    .footer__content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer__data:first-child {
        grid-column: 1 / -1;
    }
}

/*=============== MOBILE (576px - 767px) ===============*/
@media screen and (max-width: 767px) {
    :root {
        --header-height: 4rem;
    }

    .nav {
        padding: 0.5rem 1rem;
        min-height: 60px;
    }

    .nav__left .nav__logo img {
        height: 40px;
        max-width: 120px;
    }

    .nav__toggle {
        width: 46px;
        height: 46px;
        border-radius: 10px;
    }

    .nav__toggle span {
        width: 24px;
        height: 2.5px;
        margin: 2.5px 0;
    }

    .nav__right .change-theme {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .nav__center {
        padding-top: calc(var(--header-height) + 1.5rem);
    }

    .nav__menu {
        padding: 0 1rem;
    }

    .nav__link {
        padding: 0.9rem 1rem;
        font-size: 1rem;
    }

    .nav__link i {
        width: 36px;
        height: 36px;
        font-size: 1.15rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 2rem 1rem;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer__data:first-child {
        grid-column: 1;
    }

    .footer__logo {
        justify-content: center;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__description {
        text-align: center;
    }

    .footer__title {
        text-align: center;
    }

    .footer__title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer__links {
        text-align: center;
    }

    .footer__link:hover {
        transform: none;
    }

    .footer__info {
        justify-content: center;
        /*flex-wrap: wrap;*/
        text-align: center;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer__terms {
        justify-content: center;
    }
}

/*=============== SMALL MOBILE (480px and below) ===============*/
@media screen and (max-width: 480px) {
    :root {
        --header-height: 3.75rem;
    }

    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .nav {
        padding: 0.5rem 0.75rem;
        min-height: 56px;
    }

    .nav__left .nav__logo img {
        height: 36px;
        max-width: 100px;
    }

    .nav__toggle {
        width: 44px;
        height: 44px;
    }

    .nav__toggle span {
        width: 22px;
        height: 2px;
        margin: 2.5px 0;
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav__right .change-theme {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .nav__right {
        gap: 0.5rem;
    }

    .nav__center {
        padding-top: calc(var(--header-height) + 1rem);
    }

    .nav__menu {
        padding: 0 0.75rem;
        max-width: 100%;
    }

    .nav__link {
        padding: 0.85rem 0.9rem;
        font-size: 0.95rem;
        gap: 0.75rem;
    }

    .nav__link i {
        width: 34px;
        height: 34px;
        font-size: 1.1rem;
    }

    /* Footer Small Mobile */
    .footer {
        padding: 1.5rem 0.75rem;
    }

    .footer__content {
        gap: 1.5rem;
    }

    .footer__logo img {
        width: 35px;
        height: 35px;
    }

    .footer__logo h3 {
        font-size: 1.1rem;
    }

    .footer__social-link {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .footer__title {
        font-size: 0.95rem;
    }

    .footer__link,
    .footer__info {
        font-size: 0.85rem;
    }

    .footer__copy,
    .footer__terms-link {
        font-size: 0.8rem;
    }
}

/*=============== EXTRA SMALL MOBILE (320px - 400px) ===============*/
@media screen and (max-width: 400px) {
    :root {
        --header-height: 3.5rem;
    }

    .nav {
        padding: 0.4rem 0.5rem;
        min-height: 52px;
    }

    .nav__left .nav__logo img {
        height: 32px;
        max-width: 90px;
    }

    .nav__toggle {
        width: 42px;
        height: 42px;
        border-radius: 8px;
    }

    .nav__toggle span {
        width: 20px;
        height: 2px;
        margin: 2px 0;
    }

    .nav__right .change-theme {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .nav__link {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .nav__link i {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .nav__item.dropdown .dropdown-menu li a {
        padding: 0.7rem 0.85rem;
        font-size: 0.9rem;
    }
}

/*=============== MINIMUM SCREEN (320px and below) ===============*/
@media screen and (max-width: 320px) {
    .nav {
        padding: 0.35rem 0.4rem;
        min-height: 48px;
    }

    .nav__left .nav__logo img {
        height: 28px;
        max-width: 80px;
    }

    .nav__toggle {
        width: 40px;
        height: 40px;
    }

    .nav__toggle span {
        width: 18px;
        height: 2px;
    }

    .nav__right .change-theme {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .nav__link {
        padding: 0.7rem;
        font-size: 0.85rem;
    }

    .nav__link i {
        width: 30px;
        height: 30px;
        font-size: 0.95rem;
    }

    .footer__social-link {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }
}

/*=============== DARK THEME SUPPORT ===============*/
body.dark-theme .header {
    background-color: var(--body-color, #1a1a2e);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

body.dark-theme .nav__center {
    background: var(--body-color, #1a1a2e);
}

body.dark-theme .nav__toggle {
    background: rgba(30, 30, 30, 0.95);
    border-color: rgba(239, 193, 169, 0.4);
}

body.dark-theme .nav__toggle span {
    background: #fff;
}

body.dark-theme .nav__toggle:hover {
    background: rgba(239, 193, 169, 0.2);
    border-color: rgba(239, 193, 169, 0.6);
}

body.dark-theme .nav__toggle.active {
    background: var(--first-color, #efc1a9);
    border-color: var(--first-color, #efc1a9);
}

body.dark-theme .nav__item.dropdown .dropdown-menu {
    background: var(--body-color, #1a1a2e);
    border-color: rgba(239, 193, 169, 0.2);
}

body.dark-theme .nav__item.dropdown .dropdown-menu li a {
    color: #fff;
}

body.dark-theme .nav__link {
    color: #fff;
}

/*=============== RTL SUPPORT ===============*/
body.rtl .nav {
    direction: rtl;
}

body.rtl .nav__left {
    order: 3;
}

body.rtl .nav__center {
    order: 2;
}

body.rtl .nav__right {
    order: 1;
}

body.rtl .nav__toggle {
    order: 0;
}

body.rtl .nav__link {
    flex-direction: row-reverse;
}

body.rtl .dropdown-arrow {
    margin-left: 0;
    margin-right: auto;
}

body.rtl .footer__title::after {
    left: auto;
    right: 0;
}

body.rtl .footer__link:hover {
    transform: translateX(-5px);
}

@media screen and (max-width: 991px) {
    body.rtl .nav__toggle {
        right: auto;
        left: 1rem;
    }

    body.rtl .nav__link:hover {
        transform: translateX(-8px);
    }

    body.rtl .nav__item.dropdown .dropdown-menu li a:hover {
        transform: translateX(-5px);
    }
}

@media screen and (max-width: 767px) {
    body.rtl .footer__title::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

/*=============== LANDSCAPE MODE FIXES ===============*/
@media screen and (max-width: 991px) and (orientation: landscape) and (max-height: 500px) {
    .nav__center {
        padding-top: calc(var(--header-height) + 0.5rem);
    }

    .nav__list {
        gap: 0.25rem;
    }

    .nav__link {
        padding: 0.5rem 0.75rem;
    }

    .nav__link i {
        width: 30px;
        height: 30px;
    }
}

/*=============== HIGH DPI SCREENS ===============*/
@media screen and (-webkit-min-device-pixel-ratio: 2),
screen and (min-resolution: 192dpi) {
    .nav__toggle {
        border-width: 1.5px;
    }
}

/*=============== PRINT STYLES ===============*/
@media print {

    .header,
    .nav__toggle,
    .nav__overlay,
    .footer__social,
    .whatsapp-button,
    .scrollup {
        display: none !important;
    }

    .footer {
        background: #fff !important;
        color: #000 !important;
    }
}

/*=============== ACCESSIBILITY IMPROVEMENTS ===============*/
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.nav__toggle:focus {
    outline: 3px solid rgba(239, 193, 169, 0.8);
    outline-offset: 2px;
}

.nav__toggle:focus:not(:focus-visible) {
    outline: none;
}

.nav__link:focus,
.footer__link:focus,
.footer__social-link:focus {
    outline: 2px solid var(--first-color, #efc1a9);
    outline-offset: 2px;
}

/*=============== BODY SCROLL LOCK WHEN MENU OPEN ===============*/
body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/*=============== PERFORMANCE OPTIMIZATIONS ===============*/
.nav__toggle,
.nav__link,
.nav__center,
.dropdown-menu {
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}