:root {
    --bg-light: #ffffff;
    --text-dark: #223970;
    --accent-green: #223970;
    --accent-green-dark: #1a2a4a;
    --accent-green-light: #2e7d5e;
    --accent-green-dark-footer: #1a4a3a;
    --accent-navy: #1a2a4a;
    --accent-navy-light: #2a4068;
    --footer-bg: #2e7d5e;
    --footer-icon-color: #1a4a3a;
    --topbar-gradient: linear-gradient(90deg, #1a2a4a 0%, #223970 100%);
    --highlight-color: #2e7d5e;
    --button-color: #2e7d5e;
    --button-hover: #1f5a47;
    --mobile-bg-color: #224084;
    --icon-bg-color: #223970;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Almarai', sans-serif; background-color: var(--bg-light); color: var(--text-dark); overscroll-behavior: none; }

.site-header-wrapper {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    background-color: var(--bg-light);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--topbar-gradient);
    color: #ffffff;
    padding: 4px 30px;
    font-size: 0.7rem;
    font-family: 'Rubik', sans-serif;
    display: flex;
    justify-content: center;
}

.top-bar-content {
    display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center;
}

.top-bar-content span {
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.2px;
    color: #ffffff;
}
.top-bar-content i {
    font-size: 0.7rem;
    color: #ffffff !important;
}

/* ===== TOP SOCIALS ===== */
.top-socials {
    display: flex;
    align-items: center;
    gap: 3px;
    padding-right: 8px;
    margin-right: 4px;
}

[dir="ltr"] .top-socials {
    padding-right: 0;
    padding-left: 8px;
    margin-right: 0;
    margin-left: 4px;
    border-right: none;
    border-left: 1px solid rgba(255,255,255,0.15);
}

[dir="rtl"] .top-socials {
    border-right: 1px solid rgba(255,255,255,0.15);
    border-left: none;
}

.top-socials a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}

.top-socials a:hover {
    background: rgba(255,255,255,0.18);
    color: var(--accent-green-light);
    transform: translateY(-2px);
}

.social-handle {
    font-weight: 600;
    background: rgba(255,255,255,0.08);
    padding: 1px 8px;
    border-radius: 20px;
    font-size: 0.6rem;
    border: 1px solid rgba(255,255,255,0.1);
    letter-spacing: 0.2px;
    color: #ffffff;
}

[dir="rtl"] .social-handle {
    margin-left: 2px;
    margin-right: 0;
}

[dir="ltr"] .social-handle {
    margin-right: 2px;
    margin-left: 0;
}

/* ===== MAIN HEADER ===== */
.main-header {
    display: flex;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    padding: 2px 30px !important;
    gap: 8px;
    background: #ffffff;
    flex-wrap: nowrap !important;
    min-height: 50px !important;
}

.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: auto;
    gap: 10px;
}

/* ===== LOGO ===== */
.logo-link {
    display: inline-block;
    text-decoration: none;
    flex-shrink: 0;
}
.site-logo {
    width: 160px !important;
    height: auto;
    image-rendering: crisp-edges;
    transition: 0.3s;
}
.logo-link:hover .site-logo { transform: scale(1.03); }

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: none !important;
    flex-direction: column;
    gap: 3px;
    padding: 6px 5px;
    flex-shrink: 0;
    background: rgba(46, 125, 94, 0.06);
    border-radius: 10px;
    transition: 0.3s;
}

.menu-toggle:hover { background: rgba(46, 125, 94, 0.12); }

.dot {
    width: 5px;
    height: 5px;
    background-color: var(--highlight-color);
    border-radius: 50%;
    transition: 0.3s;
}

.menu-toggle:hover .dot { background-color: var(--button-hover); }

/* ===== DESKTOP NAV ===== */
.desktop-nav {
    display: flex !important;
    gap: 2px;
    position: relative;
    align-items: center;
    padding: 3px 4px;
    background: #f8fafc;
    border-radius: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 18px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    font-family: 'Almarai', sans-serif;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.nav-link:hover { color: #ffffff; }

.nav-highlight {
    position: absolute;
    top: 3px;
    bottom: 3px;
    background: var(--highlight-color);
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    width: 0;
    opacity: 0;
    box-shadow: 0 4px 15px rgba(46, 125, 94, 0.3);
}

.nav-highlight.active { opacity: 1; }
.nav-link.active-link { color: #ffffff; }

/* ===== HEADER CONTROLS ===== */
.header-controls {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
    flex-direction: row !important;
    width: auto !important;
    justify-content: flex-end !important;
}

/* ===== BUTTONS ===== */
.btn-green {
    background-color: var(--highlight-color);
    color: #fff;
    padding: 8px 22px !important;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem !important;
    transition: 0.3s;
    border: none;
    box-shadow: 0 4px 12px rgba(46, 125, 94, 0.2);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto !important;
}

.btn-green:hover {
    background-color: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 94, 0.35);
}

/* ===== زر اتصل بنا ===== */
.btn-contact-nav {
    background-color: transparent;
    color: var(--highlight-color);
    padding: 8px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: 0.3s;
    border: 2px solid var(--highlight-color);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto !important;
}

.btn-contact-nav:hover {
    background-color: var(--highlight-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 94, 0.25);
}

.btn-login {
    background: transparent;
    color: var(--highlight-color);
    padding: 8px 18px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: 0.3s;
    border: 2px solid var(--highlight-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex: 0 0 auto !important;
}

.btn-login:hover {
    background: var(--highlight-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 94, 0.25);
}

.btn-login i { font-size: 0.9rem; }

.lang-switch {
    font-weight: 700;
    color: var(--highlight-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
    padding: 5px 12px;
    border-radius: 30px;
    border: 2px solid var(--highlight-color);
    white-space: nowrap;
    flex: 0 0 auto !important;
}

.lang-switch:hover {
    background: var(--highlight-color);
    color: #fff;
}

/* ===== SIDE MENU ===== */
.side-menu {
    position: fixed; top: 0; right: -100%; width: 380px; max-width: 100%; height: 100vh;
    background-color: var(--footer-bg);
    color: #fff;
    z-index: 999;
    padding: 45px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}
.side-menu.open { right: 0; }
.close-btn { position: absolute; top: 12px; left: 18px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; transition: 0.3s; }
.close-btn:hover { color: var(--highlight-color); }
.side-nav { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.menu-link {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: 0.3s;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.menu-link i {
    width: 24px;
    font-size: 1rem;
    color: #ffffff;
    opacity: 0.7;
}
.menu-link:hover { color: #fff; border-color: var(--highlight-color); }
.menu-link:hover i { opacity: 1; }

.menu-link.login-link {
    border-bottom: 2px solid var(--highlight-color);
    margin-top: 4px;
    padding-top: 8px;
}

.menu-link.login-link i {
    color: var(--highlight-color);
}

.menu-link.login-link:hover {
    border-color: #ffffff;
}

.side-socials { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.06); }
.side-socials p { font-size: 0.8rem; opacity: 0.6; margin-bottom: 8px; }
.social-icons { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.social-icons a {
    color: #fff; text-decoration: none; font-size: 1rem;
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}
.social-icons a:hover { background: rgba(255,255,255,0.15); color: var(--highlight-color); transform: translateY(-2px); }
.social-icons span {
    background: rgba(255,255,255,0.06); padding: 2px 12px; border-radius: 20px;
    font-size: 0.7rem; border: 1px solid rgba(255,255,255,0.06);
}

/* ===== PANELS ===== */
.panel {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 10% 50px;
}

.panel-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.panel:nth-child(even) .panel-content {
    align-items: flex-start;
    margin-right: auto;
    margin-left: 0;
}

.panel:nth-child(odd) .panel-content {
    align-items: flex-end;
    margin-right: 0;
    margin-left: auto;
}

[dir="rtl"] .panel-content { text-align: right; }
[dir="rtl"] .panel:nth-child(odd) .panel-content { text-align: right; }
[dir="rtl"] .panel:nth-child(even) .panel-content { text-align: right; }

.panel:nth-child(even) .section-icon-wrapper { align-self: flex-start; }
.panel:nth-child(odd) .section-icon-wrapper { align-self: flex-end; }
.panel:nth-child(even) .action-buttons { align-self: flex-start; }
.panel:nth-child(odd) .action-buttons { align-self: flex-end; }

.slider-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background: #000;
}

.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    will-change: opacity;
}

.bg-layer.active { opacity: 1; }

.bg-layer-inner {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
}

.bg-layer.move-type-1 .bg-layer-inner {
    animation: techMove1 14s ease-in-out infinite alternate;
}

.bg-layer.move-type-2 .bg-layer-inner {
    animation: techMove2 14s ease-in-out infinite alternate;
}

html[dir="ltr"] .bg-layer.move-type-1 .bg-layer-inner {
    animation: techMove1LTR 14s ease-in-out infinite alternate !important;
}

html[dir="ltr"] .bg-layer.move-type-2 .bg-layer-inner {
    animation: techMove2LTR 14s ease-in-out infinite alternate !important;
}

@keyframes techMove1 {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.08) translate(2%, 2%); }
}

@keyframes techMove2 {
    0% { transform: scale(1.08) translate(2%, 0); }
    100% { transform: scale(1) translate(-2%, -2%); }
}

@keyframes techMove1LTR {
    0% { transform: scaleX(-1) scale(1) translate(0, 0); }
    100% { transform: scaleX(-1) scale(1.08) translate(-2%, 2%); }
}

@keyframes techMove2LTR {
    0% { transform: scaleX(-1) scale(1.08) translate(-2%, 0); }
    100% { transform: scaleX(-1) scale(1) translate(2%, -2%); }
}

.panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 60%);
    z-index: 2;
}

.mask-wrap { overflow: hidden; margin-bottom: 12px; width: 100%; }

.panel-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: none !important;
    transform: translateY(110%);
    width: 100%;
}

.panel-title span { color: var(--highlight-color); }

.panel-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 400;
    color: #f8fafc;
    text-shadow: none !important;
    opacity: 0;
    transform: translateY(30px);
    margin-bottom: 20px;
    width: 100%;
}

.section-icon-wrapper {
    margin-bottom: 20px;
    display: flex;
    position: relative;
    width: 100%;
}

.section-icon {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 57, 112, 0.80);
    border-radius: 20px;
    backdrop-filter: blur(6px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.5s ease;
}

.section-icon-img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.icon-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: radial-gradient(circle at center, rgba(46, 125, 94, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.panel:hover .section-icon {
    border-color: var(--highlight-color);
    box-shadow: 0 12px 40px rgba(46, 125, 94, 0.2);
    transform: translateY(-5px);
}

.panel:hover .icon-glow { opacity: 1; }
.panel:hover .section-icon-img { transform: scale(1.08) rotate(-3deg); }

.action-buttons {
    display: flex;
    gap: 12px;
    opacity: 0;
    transform: translateY(30px);
    width: 100%;
    margin-top: 0;
}

.btn-discover {
    background: var(--highlight-color);
    color: #fff;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.4s;
    border: 2px solid var(--highlight-color);
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(46, 125, 94, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-discover:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.btn-contact {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.4s;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-contact:hover {
    background: #fff;
    color: var(--text-dark);
    transform: translateY(-3px);
}

/* ===== MAIN FOOTER ===== */
.main-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: linear-gradient(135deg, #2e7d5e 0%, #1f5a47 100%);
    color: #ffffff;
    padding: 30px 8% 15px;
    border-top: 2px solid var(--highlight-color);
    opacity: 0;
    transform: translateY(50px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 0.8fr;
    gap: 25px;
    margin-bottom: 15px;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 100%;
}

.footer-logo {
    width: 150px !important;
    height: auto;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.footer-brand-text {
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.85;
    margin: 0;
    max-width: 320px;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 6px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 2px;
    background: var(--highlight-color);
    border-radius: 2px;
}

[dir="ltr"] .footer-col h4::after {
    right: auto;
    left: 0;
}

.footer-col p {
    margin-bottom: 4px;
    font-size: 0.8rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
}

.footer-col p i {
    font-size: 0.8rem;
    color: var(--footer-icon-color);
    width: 18px;
}

.footer-col a.footer-link {
    display: block;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    margin-bottom: 4px;
    transition: 0.3s;
    font-size: 0.8rem;
}

.footer-col a.footer-link:hover {
    color: var(--highlight-color);
    padding-right: 6px;
}

[dir="ltr"] .footer-col a.footer-link:hover {
    padding-right: 0;
    padding-left: 6px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom-socials {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-bottom-socials a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.footer-bottom-socials a:hover {
    color: var(--highlight-color);
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* ===== PAGE FOOTER ===== */
.page-footer {
    background: linear-gradient(135deg, #2e7d5e 0%, #1f5a47 100%);
    color: #ffffff;
    padding: 35px 5% 18px;
    border-top: 2px solid var(--highlight-color);
    margin-top: 0;
}

.page-footer .footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 0.8fr;
    gap: 25px;
    margin-bottom: 15px;
    align-items: center;
}

.page-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 100%;
}

.page-footer .footer-brand .footer-logo {
    width: 150px !important;
    height: auto;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.page-footer .footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.85;
    margin: 0;
    max-width: 320px;
}

.page-footer .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.page-footer .footer-links h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
    position: relative;
    padding-bottom: 6px;
}

.page-footer .footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 2px;
    background: var(--highlight-color);
    border-radius: 2px;
}

[dir="ltr"] .page-footer .footer-links h4::after {
    right: auto;
    left: 0;
}

.page-footer .footer-links a {
    display: block;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.8rem;
    padding: 3px 0;
    transition: 0.3s;
}

.page-footer .footer-links a:hover {
    color: var(--highlight-color);
    padding-right: 6px;
}

[dir="ltr"] .page-footer .footer-links a:hover {
    padding-right: 0;
    padding-left: 6px;
}

.page-footer .footer-links p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 0;
}

.page-footer .footer-links p i {
    color: var(--footer-icon-color);
    width: 18px;
    font-size: 0.8rem;
}

.page-footer .footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-footer .footer-bottom-socials {
    display: flex;
    gap: 10px;
    align-items: center;
}

.page-footer .footer-bottom-socials a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.page-footer .footer-bottom-socials a:hover {
    color: var(--highlight-color);
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.nav-link.active-link { color: #ffffff !important; }
.nav-link { cursor: pointer; }
.services-page .site-header-wrapper { background: #ffffff; }
.services-page .top-bar { background: var(--topbar-gradient); }

/* =========================================
   استجابة للشاشات الصغيرة
   ========================================= */
@media (max-width: 768px) {
    .top-bar { display: none; }

    .main-header {
        display: flex !important;
        flex-direction: column !important;
        padding: 2px 12px !important;
        gap: 4px !important;
        background: #ffffff !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
        flex-wrap: nowrap !important;
        border-bottom: 1px solid rgba(0,0,0,0.04);
        min-height: 44px !important;
    }

    .header-top-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        gap: 0 !important;
    }

    .site-logo {
        width: 160px !important;
        height: auto;
        flex-shrink: 0;
    }

    .menu-toggle {
        display: flex !important;
        padding: 6px 6px !important;
        gap: 4px !important;
        width: 36px !important;
        height: 36px !important;
        background: rgba(46, 125, 94, 0.08) !important;
        border-radius: 50% !important;
        align-items: center !important;
        justify-content: center !important;
        border: none !important;
        cursor: pointer !important;
        transition: 0.3s !important;
    }

    .menu-toggle:hover { background: rgba(46, 125, 94, 0.15) !important; }

    .dot {
        width: 6px !important;
        height: 6px !important;
        background-color: var(--highlight-color);
        border-radius: 50%;
        transition: 0.3s;
    }

    .menu-toggle:hover .dot { background-color: var(--button-hover); }

    .desktop-nav { display: none !important; }

    .header-controls {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        width: 100% !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }

    .btn-green {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
        flex: 1 !important;
        min-width: 0 !important;
        justify-content: center !important;
        text-align: center !important;
        border-radius: 30px !important;
        font-weight: 700 !important;
        letter-spacing: 0.2px !important;
        white-space: normal !important;
        line-height: 1.3 !important;
    }

    .btn-contact-nav {
        padding: 6px 14px !important;
        font-size: 0.75rem !important;
        flex: 0 0 auto !important;
        border-radius: 30px !important;
        justify-content: center !important;
        gap: 4px !important;
    }

    .btn-login {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
        gap: 4px !important;
        flex: 0 0 auto !important;
        border-radius: 30px !important;
        justify-content: center !important;
    }

    .btn-login span { display: inline !important; font-size: 0.75rem !important; }
    .btn-login i { font-size: 0.8rem !important; }

    .lang-switch {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
        flex: 0 0 auto !important;
        min-width: 30px !important;
        text-align: center !important;
        border-radius: 30px !important;
        justify-content: center !important;
    }

    .page-main {
        padding-top: 100px !important;
    }

    .page-hero,
    .services-hero {
        padding: 110px 5% 50px !important;
        min-height: 300px !important;
        margin-top: 0 !important;
    }

    .page-hero-content h1,
    .services-hero-content h1 {
        font-size: 2rem !important;
    }

    .page-hero-content p,
    .services-hero-content p {
        font-size: 0.95rem !important;
        padding: 0 5px !important;
    }

    .hero-breadcrumb {
        flex-wrap: wrap !important;
        font-size: 0.75rem !important;
        gap: 5px !important;
    }

    .panel {
        padding-top: 90px !important;
        height: 100vh;
        min-height: 100vh;
        overflow: hidden;
    }

    .panel-title { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 18px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .side-menu { padding: 35px 20px; }
    .footer-brand { flex-direction: column; align-items: center; text-align: center; }
    .footer-brand-text { max-width: 100%; text-align: center; }

    .panel .panel-content {
        margin-right: auto !important;
        margin-left: auto !important;
        align-items: center !important;
        text-align: center !important;
        max-width: 100%;
        padding: 0 10px;
    }

    .panel .section-icon-wrapper {
        align-self: center !important;
        justify-content: center !important;
        display: flex !important;
    }

    .panel .action-buttons {
        align-self: center !important;
        justify-content: center !important;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .btn-discover,
    .btn-contact {
        text-align: center;
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .slider-bg-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        overflow: hidden;
        background: var(--mobile-bg-color);
    }

    .bg-layer {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        opacity: 0;
        transition: opacity 0.8s ease-in-out;
        will-change: opacity;
    }

    .bg-layer .bg-layer-inner { display: none !important; }

    .bg-layer.active {
        opacity: 1;
        animation: none !important;
        transform: translate(-50%, -50%) !important;
    }

    .bg-layer.move-type-1.active,
    .bg-layer.move-type-2.active,
    html[dir="ltr"] .bg-layer.move-type-1.active,
    html[dir="ltr"] .bg-layer.move-type-2.active {
        animation: none !important;
        transform: translate(-50%, -50%) !important;
        opacity: 1;
    }

    .panel-overlay {
        background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%);
    }

    .section-icon { width: 75px; height: 75px; }
    .section-icon-img { width: 48px; height: 48px; }

    .panel-title {
        font-size: 2rem;
        text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }

    .panel-desc {
        font-size: 0.95rem;
        text-shadow: 0 1px 8px rgba(0,0,0,0.3);
    }

    .main-footer {
        padding: 25px 5% 12px;
        position: relative;
        margin-top: 20px;
        opacity: 1 !important;
        transform: none !important;
    }

    .panel:last-child .panel-content { margin-bottom: 0 !important; }
    .panel:last-child { height: auto; min-height: 100vh; padding-bottom: 0; }

    .page-footer .footer-content { grid-template-columns: 1fr; gap: 18px; }
    .page-footer .footer-brand { flex-direction: column; align-items: center; text-align: center; }
    .page-footer .footer-brand p { max-width: 100%; text-align: center; }
    .page-footer .footer-links { grid-template-columns: 1fr 1fr; gap: 15px; }
    .page-footer .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

    .page-footer .footer-brand .footer-logo {
        width: 150px !important;
    }

    .footer-logo {
        width: 150px !important;
    }
}

@media (max-width: 480px) {
    .main-header { padding: 2px 8px !important; gap: 3px !important; min-height: 38px !important; }

    .site-logo {
        width: 150px !important;
        height: auto;
    }

    .menu-toggle { width: 32px !important; height: 32px !important; padding: 5px 5px !important; }
    .dot { width: 5px !important; height: 5px !important; }

    .btn-green {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
        flex: 1.2 !important;
        white-space: normal !important;
        line-height: 1.2 !important;
    }

    .btn-contact-nav {
        padding: 5px 10px !important;
        font-size: 0.7rem !important;
    }

    .btn-login {
        padding: 5px 10px !important;
        font-size: 0.7rem !important;
    }
    .btn-login span { font-size: 0.7rem !important; }
    .btn-login i { font-size: 0.75rem !important; }

    .lang-switch {
        padding: 5px 8px !important;
        font-size: 0.7rem !important;
        min-width: 26px !important;
    }

    .page-main {
        padding-top: 90px !important;
    }

    .page-hero,
    .services-hero {
        padding: 95px 5% 35px !important;
        min-height: 240px !important;
    }

    .page-hero-content h1,
    .services-hero-content h1 {
        font-size: 1.6rem !important;
    }

    .page-hero-content p,
    .services-hero-content p {
        font-size: 0.85rem !important;
    }

    .hero-breadcrumb {
        font-size: 0.7rem !important;
        gap: 4px !important;
    }

    .panel {
        padding-top: 80px !important;
    }

    .section-icon { width: 60px; height: 60px; border-radius: 16px; }
    .section-icon-img { width: 38px; height: 38px; }
    .panel-title { font-size: 1.6rem; }
    .page-footer .footer-links { grid-template-columns: 1fr; gap: 12px; }

    .page-footer .footer-brand .footer-logo {
        width: 140px !important;
        height: auto;
    }

    .footer-logo {
        width: 140px !important;
        height: auto;
    }
}
