*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand */
    --primary: #374255;
    --primary-hover: #2D3748;
    --secondary: #A8937D;
    --accent: #C79A4B;

    /* Background */
    --background: #F8F8F7;
    --surface: #FFFFFF;

    /* Text */
    --text: #1F2937;
    --text-light: #6B7280;

    /* UI */
    --border: #E5E7EB;

    /* Status */
    --success: #22C55E;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;

    /* Mapping system variables for theme application */
    --color-red: var(--accent);
    --color-red-hover: var(--primary-hover);
    --color-dark: var(--text);
    --color-white: var(--surface);
    --color-gray-light: var(--background);
    --color-gray-text: var(--text-light);
    --color-border: var(--border);
    --color-red-soft: rgba(199, 154, 75, 0.15);

    --font-bold: 'Montserrat', sans-serif;
    --font-medium: 'Montserrat', sans-serif;
    --font-semibold: 'Montserrat', sans-serif;

    --header-height: 90px;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-medium);
    font-weight: 500;
    color: var(--color-dark);
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    height: var(--header-height);
    background-color: transparent;
    transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.sticky {
    background-color: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.site-header.slide2-header {
    background-color: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
    max-width: 95%;
    margin: 0 auto;
    height: 100%;
    padding: 0 1rem;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1.5rem;
}

/* --- Logo --- */
.header-logo a {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 88px;
    width: auto;
    display: block;
}

.header-logo-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-left: 10px;
    letter-spacing: 0.3px;
}

.site-header.sticky .logo-text,
.site-header.slide2-header .logo-text {
    color: var(--color-dark);
}

/* --- Navigation --- */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 10px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-white);
    white-space: nowrap;
    position: relative;
    transition: color var(--transition-base);
}

/* Underline hover effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.nav-item:hover .nav-link::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-item:hover .nav-link,
.nav-link.active {
    color: var(--color-red);
}

/* Sticky / Slide2 nav text color */
.site-header.sticky .nav-link,
.site-header.slide2-header .nav-link {
    color: var(--color-dark);
}

.site-header.sticky .nav-item:hover .nav-link,
.site-header.slide2-header .nav-item:hover .nav-link {
    color: var(--color-red);
}

/* Chevron icon */
.chevron-icon {
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.nav-item.has-dropdown:hover .chevron-icon {
    transform: rotate(180deg);
}

/* --- Dropdown Menu --- */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 9999;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 9px 14px;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid rgba(27, 27, 27, 0.08);
    border-left: 4px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    line-height: 1.4;
}

.dropdown-menu li:first-child a {
    border-radius: 5px 5px 0 0;
}

.dropdown-menu li:last-child a {
    border-radius: 0 0 5px 5px;
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background-color: #fceaea;
    border-left-color: var(--color-red);
    color: #333;
}

/* --- Language + Search in nav (mobile only) --- */
.lang-item {
    display: none;
}

/* --- Header Actions (search, lang, hamburger) --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.search-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: color var(--transition-base);
    padding: 4px;
}

.site-header.sticky .search-toggle-btn,
.site-header.slide2-header .search-toggle-btn {
    color: var(--color-dark);
}

.search-toggle-btn:hover {
    color: var(--color-red);
}

.header-separator {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.4);
    transition: background var(--transition-base);
}

.site-header.sticky .header-separator,
.site-header.slide2-header .header-separator {
    background: rgba(54, 54, 54, 0.3);
}

.lang-link-desktop {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-white);
    transition: color var(--transition-base);
}

.site-header.sticky .lang-link-desktop,
.site-header.slide2-header .lang-link-desktop {
    color: var(--color-dark);
}

.lang-link-desktop:hover {
    color: var(--color-red);
}

/* Hamburger */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 4px;
}

.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.site-header.sticky .hamburger-btn span,
.site-header.slide2-header .hamburger-btn span {
    background: var(--color-dark);
}

.hamburger-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   3b. MOBILE SIDEBAR
============================================= */
body.sidebar-open {
    overflow: hidden;
}

/* =============================================
   4. SEARCH OVERLAY
============================================= */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(20, 20, 20, 0.92);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 600px;
    padding: 2rem;
}

.search-overlay-inner label {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.search-input-group {
    display: flex;
    width: 100%;
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
}

.search-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0.75rem 0.5rem;
    font-size: 1.1rem;
    color: var(--color-white);
    font-family: inherit;
}

.search-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-red);
    padding: 0.6rem 0.9rem;
    border-radius: 4px;
    transition: background var(--transition-base);
}

.search-submit-btn:hover {
    background: var(--color-red-hover);
}

.search-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 1.5rem;
    color: var(--color-white);
    opacity: 0.7;
    transition: opacity var(--transition-base);
}

.search-close-btn:hover {
    opacity: 1;
}

/* ── SEARCH RESULTS ────────────────────── */

.search-results {
    width: 100%;
    max-height: 50vh;
    overflow-y: auto;
    margin-top: 0.5rem;
}

.search-results::-webkit-scrollbar {
    width: 4px;
}

.search-results::-webkit-scrollbar-track {
    background: transparent;
}

.search-results::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.search-no-results {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    text-align: center;
    padding: 1.5rem 0;
}

.search-group {
    margin-bottom: 1.25rem;
}

.search-group h4 {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 0.6rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    transition: background 0.2s ease, color 0.2s ease;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.search-result-item img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.search-result-item span {
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.4;
}

/* =============================================
   5. HERO — SLIDE 1 (Full-screen Video)
============================================= */
.hero-slide {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: #111;
}

/* Slide 1 specific */
.hero-slide-1 {
    background: var(--color-gray-text);
    /* fallback */
}

/* Dark video overlay */
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.25) 0%,
            rgba(0, 0, 0, 0.35) 60%,
            rgba(0, 0, 0, 0.55) 100%);
    z-index: 2;
}

/* Video iframe container */
.hero-video-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
    object-fit: cover;
}

/* Tagline */
.hero-tagline {
    position: absolute;
    bottom: 9%;
    left: 5%;
    z-index: 10;
    font-family: var(--font-bold);
    font-weight: 700;
    font-size: clamp(1.1rem, 2.5vw, 1.8rem);
    color: var(--color-white);
    letter-spacing: 6px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Mute button */
.video-mute-btn {
    position: absolute;
    bottom: 150px;
    left: 15px;
    z-index: 8999;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--color-red);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.55;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.video-mute-btn:hover {
    opacity: 0.55;
    transform: none;
}

.video-mute-btn .icon-unmuted {
    display: none;
}

.video-mute-btn.muted .icon-muted {
    display: flex;
}

.video-mute-btn.muted .icon-unmuted {
    display: none;
}

.video-mute-btn:not(.muted) .icon-muted {
    display: none;
}

.video-mute-btn:not(.muted) .icon-unmuted {
    display: flex;
}

/* About / Stats */
.hero-slide-2 {
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

.slide2-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--header-height) 0 2rem;
    position: relative;
    z-index: 1;
}

.slide2-inner {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 2rem 1rem;
}

.slide2-left {
    flex: 1;
    max-width: 55%;
}

.slide2-sub {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.slide2-sub::before {
    content: '';
    display: inline-block;
    width: 36px;
    height: 2px;
    background: var(--accent);
    flex-shrink: 0;
}

.slide2-heading {
    font-family: var(--font-bold);
    font-weight: 800;
    font-size: clamp(1.1rem, 2.2vw, 1.7rem);
    color: var(--primary);
    line-height: 1.3;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    position: relative;
}

.slide2-desc {
    font-size: 0.82rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    max-width: 95%;
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
}

.slide2-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1.5rem;
    margin-bottom: 1.5rem;
}

.slide2-check-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    background: rgba(55, 66, 85, 0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    transition: background 0.2s, border-color 0.2s;
}

.slide2-check-item:hover {
    background: rgba(199, 154, 75, 0.08);
    border-color: var(--accent);
}

.check-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-white);
}

.slide2-right {
    flex: 1;
    max-width: 42%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.slide2-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.slide2-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
}

.slide2-stat-num {
    font-family: var(--font-bold);
    font-weight: 800;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    color: var(--accent);
    line-height: 1;
    white-space: nowrap;
}

.slide2-stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.slide2-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.slide2-img {
    width: 100%;
    max-height: 300px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 12px 12px 0px var(--accent);
    border: 3px solid var(--primary);
}

.slide2-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.slide2-img:hover img {
    transform: scale(1.04);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-slide-2.active .animate-fadeInLeft {
    animation: fadeInLeft 0.9s ease 0.3s both;
}

.hero-slide-2.active .animate-fadeInRight {
    animation: fadeInRight 0.9s ease 0.5s both;
}

@media screen and (min-width: 1200px) {
    .mobile-sidebar-overlay {
        display: none !important;
    }

    body.sidebar-open {
        overflow: auto;
    }
}

@media screen and (max-width: 1199.98px) {

    .hero-video {
        top: 0;
        height: 100%;
    }

    .video-mute-btn {
        bottom: 10px;
    }

    .hero-tagline {
        font-size: 1rem;
        letter-spacing: 3px;
        bottom: 15%;
    }

    .header-nav {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    .slide2-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .slide2-left,
    .slide2-right {
        max-width: 100%;
        width: 100%;
    }
}

/* MOBILE (max 767px) */
@media screen and (max-width: 767.98px) {

    :root {
        --header-height: 75px;
    }

    .header-nav {
        display: none;
    }

    .header-logo img {
        height: 68px;
    }

    .hero-slide {
        min-height: auto;
        height: 75vw;
    }

    .hero-slide-2 {
        height: auto;
        min-height: auto;
        overflow: visible;
        background: transparent;
    }

    .slide2-container {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-video {
        top: 0;
        height: 100%;
    }

    .hero-video-container {
        top: var(--header-height);
        height: calc(100% - var(--header-height));
    }

    .hero-tagline {
        bottom: 25%;
        font-size: 0.85rem;
        letter-spacing: 2px;
        left: 4%;
    }

    .slide2-heading {
        font-size: 1.1rem;
    }

    .slide2-checklist {
        grid-template-columns: 1fr;
    }

    .slide2-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }

    .slide2-stat-num {
        font-size: 1.3rem;
    }

    .slide2-stat-label {
        font-size: 0.7rem;
    }

    .slide2-stat-divider {
        display: none;
    }

    .slide2-img {
        max-height: none;
    }

    .stat-box h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 575.98px) {

    .hero-tagline {
        bottom: 25%;
        font-size: 0.75rem;
        white-space: normal;
        max-width: 70%;
        line-height: 1.8;
    }

    .header-logo img {
        height: 56px;
    }
}

@media screen and (min-width: 1600px) {
    .slide2-inner {
        max-width: 1520px;
    }

    .slide2-desc {
        font-size: 0.88rem;
    }

    .slide2-heading {
        font-size: 1.9rem;
    }
}

.page-slide {
    width: 100%;
    min-height: 100vh;
    position: relative;
}


.slide-3 {
    background-color: var(--background);
}

.slide-4 {
    background-color: var(--surface);
}

.slide-5 {
    background-color: var(--background);
}

.slide3-inner {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--header-height);
    padding-bottom: 3rem;
}

.slide3-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.slide3-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin: 0.75rem auto 0;
}

.slide3-header h3 {
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.slide3-header p {
    font-size: 0.95rem;
    color: var(--text-light);
    font-family: var(--font-semibold);
}

.slide3-header .slide3-sub,
.aboutUsProjects--header .slide3-sub {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 700;
    margin-top: 1rem;
}

.slide3-header .slide3-desc {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.6);
    max-width: 600px;
    margin: 0.5rem auto 0;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-height: 55vh;
        overflow-y: auto;
        padding-right: 0.5rem;
    }
}

.service-box {
    position: relative;
    height: 16rem;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(55, 66, 85, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(55, 66, 85, 0.18);
}

.service-box>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-box:hover>img {
    transform: scale(1.06);
}

.service-box-content {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
    transition: transform 0.3s ease;
}

.service-box--icon {
    width: 3.2rem;
    height: 3.2rem;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(199, 154, 75, 0.4);
}

.service-box--icon img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

.service-box-content p {
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

.box-dark-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 28, 42, 0.75) 0%, rgba(20, 28, 42, 0.15) 60%, transparent 100%);
    z-index: 2;
    transition: opacity 0.3s ease;
}

.hovered-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--primary) 0%, #1a2233 100%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 0;
    opacity: 0;
    transition: height 0.35s ease, opacity 0.35s ease;
    overflow: hidden;
}

.hovered-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
}

.service-box:hover .hovered-content {
    height: 100%;
    opacity: 1;
}

.hovered-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.hovered-icon {
    width: 2.8rem;
    height: 2.8rem;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
}

.hovered-icon img {
    width: 1.8rem;
    height: 1.8rem;
    object-fit: contain;
}

.hovered-title p {
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 700;
}

.hovered-bottom {
    padding: 0 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hovered-brief {
    color: #a4a4a4;
    font-size: 0.8rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hovered-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.8rem;
    transition: color 0.25s ease;
}

.hovered-btn svg {
    color: var(--color-white);
    transition: transform 0.25s ease;
}

.hovered-btn:hover {
    color: var(--accent);
}

.hovered-btn:hover svg {
    color: var(--accent);
    transform: translateX(4px);
}

.slide3-cta {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.slide3-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.75rem 2.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.slide3-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    transform: translateX(-101%);
    transition: transform 0.35s ease;
    z-index: 0;
}

.slide3-cta-btn:hover::before {
    transform: translateX(0);
}

.slide3-cta-btn span,
.slide3-cta-btn svg {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.slide3-cta-btn:hover span,
.slide3-cta-btn:hover svg {
    color: var(--color-white);
    stroke: var(--color-white);
}

.slide3-cta-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}


.slide4-inner {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--header-height);
}

.aboutUsProjects {
    padding: 3rem 0;
}

.aboutUsProjects--header {
    text-align: center;
    padding: 0 0 3rem 0;
    position: relative;
}

.aboutUsProjects--header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin: 0.75rem auto 0;
}

.aboutUsProjects--header h3 {
    font-size: 1.7rem;
    font-family: var(--font-bold);
    color: var(--primary);
    margin-bottom: 0.4rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.aboutUsProjects--header h5 {
    font-size: 0.95rem;
    font-family: var(--font-semibold);
    color: var(--text-light);
}

.projects-slider-wrap {
    position: relative;
    width: 100%;
    padding: 1rem 0 0;
}

.our-projects-box {
    min-height: 460px;
    display: flex;
    flex-direction: column;
}

.our-projects-box-pics {
    max-height: 250px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(55, 66, 85, 0.12);
    transition: box-shadow 0.3s ease;
}

.our-projects-box:hover .our-projects-box-pics {
    box-shadow: 0 12px 32px rgba(55, 66, 85, 0.2);
}

.our-projects-box-pics img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.our-projects-box:hover .our-projects-box-pics img {
    transform: scale(1.05);
}

.our-projects-box-content {
    display: flex;
    flex-direction: column;
    flex-grow: 2;
}

.our-projects-box-name {
    display: flex;
    font-size: 1.1rem;
    gap: 0.7rem;
    padding: 0.9rem 0 0.6rem;
    font-family: var(--font-semibold);
    align-items: center;
    color: var(--primary);
    border-top: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.our-projects-box:hover .our-projects-box-name {
    border-top-color: var(--accent);
}

.our-projects-box-name span {
    font-weight: 700;
}

.our-projects-box-location {
    flex-direction: column;
    display: flex;
    gap: 0.6rem;
    font-size: 1.2rem;
    font-family: var(--font-semibold);
    color: var(--color-dark);
    padding: 0.15rem 0 0.6rem 0;
}

.our-projects-box-location>div {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

.our-projects-box-location span {
    font-weight: 600;
    color: var(--color-gray-text);
    font-size: 0.95rem;
}

.our-projects-box-content img {
    width: 1.2rem;
    object-fit: contain;
    height: 1.2rem;
    filter: brightness(0) saturate(100%) invert(22%) sepia(10%) saturate(500%) hue-rotate(200deg);
}

.latest-news--card__button {
    align-self: start;
    border: 2px solid var(--primary);
    outline: none;
    background: transparent;
    transition: all 0.3s ease-out;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
}

.latest-news--card__button span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-semibold);
    transition: color 0.3s ease-out;
}

.latest-news--card__button svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    transition: stroke 0.3s ease-out, transform 0.3s ease-out;
}

.latest-news--card__button:hover {
    background: var(--primary);
}

.latest-news--card__button:hover span {
    color: var(--color-white) !important;
}

.latest-news--card__button:hover svg {
    stroke: var(--color-white) !important;
    transform: translateX(4px);
}

.latest-news--card__button.active-red-btn {
    background: var(--accent);
    border-color: var(--accent);
}

.latest-news--card__button.active-red-btn span {
    color: var(--color-white);
}

.latest-news--card__button.active-red-btn svg {
    stroke: var(--color-white);
}

.latest-news--card__button.active-red-btn:hover {
    background: transparent;
    border-color: var(--accent);
}

.latest-news--card__button.active-red-btn:hover span {
    color: var(--accent) !important;
}

.latest-news--card__button.active-red-btn:hover svg {
    stroke: var(--accent) !important;
}


.slide4-view-all {
    display: flex;
    justify-content: center;
    margin-top: 0;
}


.slide5-inner {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--header-height);
    padding-bottom: 3rem;
}

.slide5-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.slide5-header h3 {
    font-size: 1.7rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.slide5-header p {
    font-size: 1rem;
    color: var(--color-gray-text);
    font-family: var(--font-semibold);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 991px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

.news-card {
    background: var(--color-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.news-card-img {
    height: 200px;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.news-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: var(--color-gray-text);
}

.news-meta-item svg {
    color: var(--color-red);
}

.news-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-dark);
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.7rem;
}

.news-read-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-red);
    font-weight: 600;
    font-size: 0.8rem;
    margin-top: auto;
    border: 1px solid var(--color-red);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    align-self: flex-start;
    transition: background 0.25s, color 0.25s;
}

.news-read-btn:hover {
    background: var(--color-red);
    color: var(--color-white);
}

.slide5-cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}


.slide6-inner {
    display: flex;
    flex-direction: column;
}

.saudi-vision {
    background-color: #000;
    background-image: url("../imgs/banner1.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    align-items: center;
    gap: 2rem;
    padding: 3rem 1.5rem;
}

.saudi-vision::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13, 59, 102, 0.45);
    z-index: 0;
}

.saudi-vision>* {
    position: relative;
    z-index: 1;
}

.saudi-vision-content {
    text-align: center;
    max-width: 750px;
}

.saudi-vision-title {
    color: var(--color-white);
    font-size: 1.8rem;
    text-align: center;
    font-family: var(--font-bold);
    max-width: 800px;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.saudi-vision-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.saudi-vision-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.sv-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-family: var(--font-semibold);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sv-btn:hover {
    transform: translateY(-2px);
}

.sv-btn--whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.sv-btn--whatsapp:hover {
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.cta-call-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-family: var(--font-semibold);
    text-decoration: none;
    background: transparent !important;
    color: #fff !important;
    border: 1.5px solid #fff !important;
    transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.cta-call-btn svg {
    flex-shrink: 0;
}

.cta-call-btn:hover {
    background: #fff !important;
    color: #0d3b66 !important;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.sv-btn-arrow {
    font-size: 1.1rem;
}

[dir="rtl"] .sv-btn-arrow {
    transform: scaleX(-1);
}

.saudi-vision-logo img {
    max-width: 100%;
    height: 100px;
}

/* projects hero */
.projects-hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #111;
}

.projects-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.projects-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.5);
}

.projects-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.projects-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top,
            rgba(55, 66, 85, 0.92) 0%,
            rgba(55, 66, 85, 0.6) 50%,
            rgba(55, 66, 85, 0.25) 100%);
}

.projects-hero-content {
    position: relative;
    z-index: 3;
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    transform: translateY(-40px);
    direction: ltr;
}

.projects-hero-content h1 {
    font-family: var(--font-bold);
    font-weight: 800;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.projects-hero-content h1::after {
    display: none;
}

.projects-hero-content p {
    font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    color: var(--primary);
    font-family: var(--font-semibold);
    margin-top: 0.5rem;
}

/* Projects Page  */
.projects-page-section {
    background-color: var(--surface);
    padding: 4rem 0 5rem;
}

.projects-page-container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.projects-grid .our-projects-box {
    flex: none;
    min-height: auto;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

@media (max-width: 1199px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-hero {
        height: 50vh;
        min-height: 320px;
        margin-top: var(--header-height);
    }
}

@media (max-width: 575px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .projects-hero {
        height: 45vh;
        min-height: 280px;
    }

    .projects-hero-content {
        padding-bottom: 2.5rem;
    }
}

/* Inner Pages Header */
.inner-page .site-header {
    background-color: transparent;
}

.inner-page .site-header .nav-link {
    color: var(--primary);
}

.inner-page .site-header .nav-item:hover .nav-link,
.inner-page .site-header .nav-link.active {
    color: var(--accent);
}

.inner-page .site-header .search-toggle-btn {
    color: var(--primary);
}

.inner-page .site-header .lang-link-desktop {
    color: var(--primary);
}

.inner-page .site-header .header-separator {
    background: rgba(54, 54, 54, 0.3);
}

.inner-page .site-header .hamburger-btn span {
    background: var(--primary);
}

.inner-page .site-header.sticky {
    background-color: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    position: relative;
    background-color: var(--color-dark);
    padding: 2rem 2rem 1.5rem;
    color: var(--color-white);
    overflow: hidden;
}

.footerPattern {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 280px;
    opacity: 0.08;
    pointer-events: none;
}

.footerContainer {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footerLinks--container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 991px) {
    .footerLinks--container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 575px) {
    .footerLinks--container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footerLinks {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footerLinks h3 {
    font-size: 1.15rem;
    font-family: var(--font-bold);
    color: var(--color-white);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

.footerLinks h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent);
}

.footerLinks a {
    color: #a0aec0;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
    width: fit-content;
}

.footerLinks a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-service-link {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 20ch;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    max-width: 150px;
    height: auto;
}

.footer-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-brief {
    color: #a0aec0;
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0.5rem;
}

.footer-social-icons .social-icon-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: transform 0.25s ease, filter 0.25s ease;
    text-decoration: none;
    transform: none !important;
}

.footer-social-icons .social-icon-btn:hover {
    transform: translateY(-4px) !important;
    filter: brightness(1.15);
}

.footer-social-icons .social-icon-btn i {
    line-height: 1;
    display: block;
}

.footer-social-icons .social-icon-btn.facebook {
    background: #1877F2;
}

.footer-social-icons .social-icon-btn.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.footer-social-icons .social-icon-btn.x-twitter {
    background: #000000;
}

.footer-social-icons .social-icon-btn.tiktok {
    background: #010101;
}

.footer-social-icons .social-icon-btn.youtube {
    background: #FF0000;
}

.footer-social-icons .social-icon-btn.snapchat {
    background: #FFFC00;
    color: #000;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: #a0aec0;
    transition: color 0.4s ease, transform 0.4s ease;
}

.footer-contact-item a {
    color: #a0aec0;
    transition: color 0.4s ease;
}

.footer-contact-item:hover {
    color: var(--accent);
}

.footer-contact-item:hover a {
    color: var(--accent);
}

.footer-contact-item svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
    transition: color 0.4s ease, transform 0.4s ease;
}

.footer-contact-item:hover svg {
    transform: scale(1.15);
}

.footerSeparator {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 1rem 0 0.75rem;
}

.footerCenter {
    text-align: center;
    font-size: 0.85rem;
    color: #718096;
}


/* Saudi Vision CTA  */
@media (max-width: 991px) {
    .saudi-vision-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 575px) {
    .saudi-vision {
        min-height: auto;
        padding: 3rem 1.2rem;
    }

    .saudi-vision-title {
        font-size: 1.3rem;
    }

    .saudi-vision-desc {
        font-size: 0.92rem;
    }

    .saudi-vision-buttons {
        flex-direction: column;
        align-items: center;
    }

    .sv-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}


/* RTL */

html:lang(ar) {
    body {
        direction: rtl;
    }

    .hero-tagline {
        left: auto;
        right: 5%;
        text-align: right;
    }

    .slide2-left {
        text-align: right;
    }

    .footerLinks h3::after {
        left: unset;
        right: 0;
    }

    .footerLinks a:hover {
        transform: translateX(-4px);
    }

    .hovered-btn svg,
    .slide3-cta-btn svg,
    .latest-news--card__button svg,
    .news-read-btn svg {
        transform: scaleX(-1);
    }

    .header-nav {
        flex: 0 0 auto !important;
    }

    .header-logo {
        margin-right: auto !important;
    }

    .slide2-desc {
        border-right: 3px solid var(--accent);
        padding-right: 1rem;
        border-left: unset;
        ;
        padding-left: unset;
    }
}

html:lang(en) .header-inner {
    flex-direction: row !important;
    direction: ltr !important;
    gap: 0 !important;
}

html:lang(en) .header-nav {
    flex: 0 0 auto !important;
    justify-content: flex-start !important;
}

html:lang(en) .header-logo {
    margin-left: auto !important;
}


.mobile-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(85vw, 320px);
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
}

html:lang(ar) .mobile-sidebar {
    left: auto;
    right: 0;
    transform: translateX(100%);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}

html:lang(ar) .mobile-sidebar-overlay.active .mobile-sidebar {
    transform: translateX(0);
}

.mobile-sidebar-overlay.active .mobile-sidebar {
    transform: translateX(0);
}

/* Header */
.ms-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.ms-header a img {
    height: 42px;
}

.ms-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.ms-close:hover {
    background: #eee;
}

.ms-nav {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

.ms-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ms-nav ul li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 28px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    border-left: 3px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

html:lang(ar) .ms-nav ul li a {
    border-left: none;
    border-right: 3px solid transparent;
}

.ms-nav ul li a:hover {
    background: #f8f9fc;
    color: #0d3b66;
    border-left-color: #0d3b66;
}

html:lang(ar) .ms-nav ul li a:hover {
    border-left-color: transparent;
    border-right-color: #0d3b66;
}

.ms-nav ul li+li {
    border-top: 1px solid #f5f5f5;
}

.ms-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f0f4f8;
    color: #0d3b66;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.ms-nav ul li a:hover .ms-icon {
    background: #0d3b66;
    color: #fff;
}

.ms-footer {
    border-top: 1px solid #f0f0f0;
    padding: 20px 24px 24px;
}

.ms-lang {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-bottom: 20px;
}

.ms-lang-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 32px;
    border-radius: 50px;
    background: #0d3b66;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.2s;
}

.ms-lang-pill:hover {
    background: #0a2f52;
    transform: scale(1.03);
}

.ms-social {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.ms-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.ms-social a:hover {
    transform: translateY(-2px);
}

.ms-social a.facebook:hover {
    background: #1877f2;
    color: #fff;
}

.ms-social a.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.ms-social a.tiktok:hover {
    background: #010101;
    color: #fff;
}

.ms-social a.youtube:hover {
    background: #ff0000;
    color: #fff;
}

.ms-social a.snapchat:hover {
    background: #fffc00;
    color: #000;
}

@media (max-width: 991px) {
    .hamburger-btn {
        display: flex;
    }

    .site-header,
    .inner-page .site-header {
        background-color: #ffffff !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    }

    .site-header .nav-link,
    .site-header .search-toggle-btn,
    .site-header .lang-link-desktop,
    .site-header .header-separator {
        color: #333 !important;
    }

    .site-header .hamburger-btn span {
        background: #333 !important;
    }
}

.projects-swiper {
    padding: 1rem 0 3rem;
}

.projects-swiper .swiper-button-prev,
.projects-swiper .swiper-button-next {
    color: var(--primary);
    background: var(--surface);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(55, 66, 85, 0.15);
    border: 2px solid var(--border);
}

.projects-swiper .swiper-button-prev::after,
.projects-swiper .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

.projects-swiper .swiper-button-prev:hover,
.projects-swiper .swiper-button-next:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.projects-swiper .swiper-button-prev:hover::after,
.projects-swiper .swiper-button-next:hover::after {
    color: #fff;
}

.projects-swiper .swiper-pagination-bullet-active {
    background: var(--primary);
}