@font-face {
    font-family: 'Penumbra-Flare-Std';
    src: url('../fonts/PenumbraFlareStd-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* -------------------------------------
 * GSAP MENU STYLES
 * ------------------------------------- */

.menu {
    pointer-events: none;
    /* Changed from all to none initially */
    --primary-color: #F2EAE2;
    --secondary-color: #250000;
    --tertiary-color: #250000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    /* Changed from svw */
    height: 100vh;
    /* Changed from svh */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: var(--main-font);
    visibility: hidden;
}

.menu a {
    text-decoration: none;
    color: var(--secondary-color);
}

.menu-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(37, 0, 0, 0.4);
    z-index: -1;
    opacity: 0;
}

.menu-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    z-index: 0;
}

.menu-item-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;
    flex-direction: column;
    font-size: 1rem;
}
.contact-form{
	width:100%;
}
.menu-item-container:nth-child(1) {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.menu-item-container:nth-child(2) {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.menu-links-list {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.menu-link {
    flex: 1;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-link-bg,
.menu-link-line-small,
.menu-link-line-big {
    position: absolute;
    bottom: 0;
    left: 0;
}

.menu-link-bg {
    width: 100%;
    height: 100%;
    background: rgba(37, 0, 0, 0.05);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.menu-link-line-small {
    width: 100%;
    height: 1px;
    background: var(--secondary-color);
    z-index: 1;
    transform-origin: left;
}

.menu-link-line-big {
    width: 100%;
    height: 5px;
    background: var(--tertiary-color);
    z-index: 1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.menu-link-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0px 8px;
}

.menu-link-title {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    transition: all 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.menu-link-title h2 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.menu-link-title span {
    font-size: 0.75rem;
    font-weight: 500;
    display: block;
}

.menu-link:hover .menu-link-bg {
    transform: scaleY(1);
}

.menu-link:hover .menu-link-line-big {
    transform: scaleX(1);
    transition-delay: 0.2s;
}

.menu-link:hover .menu-link-title {
    gap: 32px;
    padding-left: 20px;
}

[dir="rtl"] .menu-link:hover .menu-link-title {
    padding-left: 0;
    padding-right: 20px;
}

[dir="rtl"] .menu-link-line-small,
[dir="rtl"] .menu-link-line-big {
    transform-origin: right;
}

.menu-footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-transform: uppercase;
}

.menu-footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;
    height: calc(100% / 6 * 5);
}

.menu-footer-logo {
    display: none;
    width: 40vw;
    max-width: 500px;
}

.menu-footer-logo img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

.menu-footer-texts {
    padding: 24px 16px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}

.menu-footer-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-footer-text h5 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
    color: var(--primary-color);
    opacity: 0.6;
}

.menu-footer a,
.menu-footer .lang-switcher {
    position: relative;
    width: fit-content;
    font-size: 0.8rem;
    text-decoration: none;
    display: block;
    color: var(--primary-color);
}

.menu-footer a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

[dir="rtl"] .menu-footer a::after {
    transform-origin: left;
}

.menu-footer a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

[dir="rtl"] .menu-footer a:hover::after {
    transform: scaleX(1);
    transform-origin: right;
}

.menu-footer-line {
    transform-origin: left;
    width: 100%;
    height: 1px;
    background: var(--primary-color);
    opacity: 0.2;
}

[dir="rtl"] .menu-footer-line {
    transform-origin: right;
}

.menu-footer-copyright {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: calc(100% / 6);
}

.menu-btn-close {
    z-index: 10000 !important;
    position: absolute !important;
    top: 30px !important;
    right: 30px !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    border: 1px solid var(--primary-color) !important;
    background-color: transparent !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 100px !important;
    min-height: 40px !important;
}

[dir="rtl"] .menu-btn-close {
    right: auto !important;
    left: 30px !important;
}

.menu-btn-close.btn-portfolio {
    border-color: var(--primary-color);
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5) !important;
}

.menu-btn-close.btn-portfolio .button-text {
    color: white !important;
    position: relative;
    z-index: 2;
    font-family: 'Penumbra-Flare-Std', sans-serif;
    font-weight: 400;
    font-size: 15px;
    text-transform: uppercase;
    margin: 0;
    transition: color 0.4s ease;
}

.menu-btn-close.btn-portfolio::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.8s ease;
    z-index: -1;
    border-radius: inherit;
}

.menu-btn-close.btn-portfolio:hover::before {
    transform: scaleY(1);
}

.menu-btn-close.btn-portfolio:hover .button-text {
    color: var(--secondary-color) !important;
}

@media (min-width: 768px) {
    .menu-content {
        grid-template-rows: repeat(1, 1fr);
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-link-content {
        padding: 16px 40px;
    }

    .menu-link-title h2 {
        font-size: 2.5rem;
    }

    .menu-link-title span {
        font-size: 1rem;
    }

    .menu-footer-logo {
        display: block;
    }

    .menu-footer-texts {
        max-width: 40vw;
        gap: 32px;
    }

    .menu-footer a,
    .menu-footer p {
        font-size: 0.9rem;
    }
}

.mask {
    overflow: hidden;
}


@font-face {
    font-family: 'Century-Gothic';
    src: url('../fonts/GOTHIC.TTF') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century-Gothic';
    src: url('./fonts/GOTHICI.TTF') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Century-Gothic';
    src: url('./fonts/GOTHICB.TTF') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century-Gothic';
    src: url('./fonts/GOTHICBI.TTF') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'HT-Journal';
    src: url('./fonts/HTJournalVF.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #ffffff;
    --secondary-color: #000000;
    --accent-color: #d4af37;
    --background: #f2eae2;
    --foreground: #f2eae2;
    --text-color: #F2EAE2;
    --header-bg: #25000056;
    --transition: all 0.3s ease;
    --Link-underlineColor: rgba(25, 118, 210, 0.4);
    --main-font: 'Century-Gothic', 'Sweet Sans Pro', sans-serif;
    --heading-font: 'Century-Gothic', sans-serif;
    --arabic-heading-font: 'HT-Journal', 'Century-Gothic', sans-serif;
}

/* Global heading style — matches the NEW look */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 400;
    letter-spacing: 0.02em;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    width: 100%;
}

*,
::before,
::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
    font-family: inherit;
    /* Ensure all elements inherit the font */
}

body {
    background-color: #fff;
    color: var(--text-color);
    font-family: var(--main-font);
    font-size: 1.125rem;
    /* Increased from 1rem (18px) */
    font-weight: 400;
    line-height: 1.6;
    /* Increased for better readability */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    width: 100%;
    max-width: 100%;
    /* Prevent body from exceeding viewport width */
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Hide content until translations are loaded to prevent FOUC */
body:not(.translations-loaded) {
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.translations-loaded {
    opacity: 1;
}

/* Remove hiding mechanism - show content immediately */
main {
    opacity: 1;
}

/* Hide t('key') placeholders before translations load */
body:not(.translations-loaded) [data-i18n-original-text] {
    visibility: hidden;
}

/* Prevent horizontal scroll on mobile - Global fix */
@media (max-width: 768px) {
    * {
        max-width: 100%;
    }

    /* Fix containers with 80px padding */
    .heritage-container,
    .clients-container,
    .valued-clients-container,
    .mission-container {
        padding: 0 20px !important;
    }
}

main {
    flex: 1;
}

button,
input,
select,
textarea {
    font-family: var(--main-font);
}

/* Portfolio Button Refinement */
.portfolio-link {
    margin: 0;
    font: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: var(--text-color);
    text-decoration: none;
}

/* Header Styles */
.header {
    width: 100%;
    padding: 15px 40px;
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(200px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1200;
    transition: padding 0.3s ease;
}

@media (max-width: 768px) {
    .header {
        padding: 10px 20px;
    }
}

.header-container {
    max-width: none;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .header-left {
        display: none;
        /* Hide portfolio button on mobile header as it's in the drawer */
    }
}

.btn-portfolio {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    background-color: transparent;
    outline: 0;
    border: 1px solid var(--text-color);
    border-color: var(--text-color);
    margin: 0;
    border-radius: 50px;
    padding: 18px 30px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
    -moz-appearance: none;
    -webkit-appearance: none;
    text-decoration: none;
    color: inherit;
    font-family: 'Penumbra-Flare-Std', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    /* line-height: 2; */
    text-transform: uppercase;
    min-width: 64px;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    overflow: hidden;
    z-index: 1;
}

.btn-portfolio::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F2EAE2;
    -webkit-transform: scaleY(0);
    -moz-transform: scaleY(0);
    -ms-transform: scaleY(0);
    transform: scaleY(0);
    transform-origin: bottom;
    -webkit-transition: -webkit-transform 0.8s ease;
    transition: transform 0.8s ease;
    z-index: -1;
    border-radius: inherit;
    /* Ensure fill follows pill shape */
}

.btn-portfolio:hover::before {
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    transform: scaleY(1);
}

.btn-portfolio:hover h1.button-text {
    color: #000000;
    /* Change text color when background fills */
}

.btn-portfolio h1.button-text {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

@media (min-width: 600px) {
    .btn-portfolio {
        /* Already has consistent padding */
    }
}

/* Center Section */
.header-center {
    flex: 2;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .header-center {
        justify-content: flex-start;
        flex: 1;
    }
}

.logo-img {
    height: 35px;
    width: auto;
    transition: height 0.3s ease;
}

@media (max-width: 768px) {
    .logo-img {
        height: 28px;
    }
}

/* Right Section */
.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
    /* Increased from 30px */
}

@media (max-width: 768px) {
    .header-right {
        gap: 15px;
    }
}

.lang-switcher {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 4px;
    /* Increased from 4px */
    gap: 6px;
    /* Increased from 5px */
	margin: 0 20px 0 20px;
}

@media (max-width: 768px) {
    .header-right .lang-switcher {
        display: none;
        /* Hide only the header language switcher on mobile */
    }

    /* Ensure drawer language switcher is visible on mobile */
    .site-drawer-lang .lang-switcher {
        display: flex !important;
    }
}

.lang-option {
    cursor: pointer;
    padding: 10px 24px;
    /* Increased from 6px 12px */
    font-size: 16px;
    /* Increased from 12px */
    font-weight: 500;
    color: #ffffff;
    border-radius: 50px;
    transition: var(--transition);
    white-space: nowrap;
}

.lang-option.active {
    background-color: #ffffff;
    color: #000000;
}

.lang-option a{
	text-decoration: none;
}
.btn-menu {
    background: none;
    border: none;
    cursor: pointer;
    width: 35px;
    /* Increased from 24px */
    height: 35px;
    /* Increased from 24px */
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.menu-icon {
    width: 100%;
    height: 100%;
    /* Removed filter to show original menu icon colors/style */
}

body.drawer-open {
    overflow: hidden;
}

.site-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
    z-index: 1290;
}

.site-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.site-drawer {
    color: #F2EAE2;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100vh;
    /* Ensure full viewport height */
    z-index: 1300;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #250000;
    align-items: center;
    padding: 60px 0 20px;
    /* Reduced bottom padding */
    outline: 0;
    width: min(450px, 85vw);
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Disable transition when changing language direction */
.site-drawer.no-transition {
    transition: none !important;
}

.site-drawer.is-open {
    transform: translateX(0);
    pointer-events: auto;
}

@media (min-width: 600px) {
    .site-drawer {
        width: 25%;
        /* Slightly wider to match image 2 proportions */
        min-width: 350px;
        max-width: 450px;
    }
}

[dir="rtl"] .site-drawer {
    right: auto;
    left: 0;
    transform: translateX(-100%);
}

[dir="rtl"] .site-drawer.is-open {
    transform: translateX(0);
}

.site-drawer-logo {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    margin-bottom: 30px;
}

.logo-frame {
    border: 1px solid rgba(242, 234, 226, 0.8);
    /* Crisp but not overly harsh */
    padding: 25px 25px;
    /* More padding like in image 2 */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    /* Sharper corners */
}

.site-drawer-logo img {
    max-width: 130px;
    /* Slightly larger image */
    width: 100%;
    height: auto;
}

.site-drawer-nav {
    width: 100%;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* Spacing between links */
    align-items: center;
}

.site-drawer-link {
    color: #F2EAE2;
    text-decoration: none;
    font-family: var(--heading-font);
    font-size: 1.4rem;
    /* Smaller, more elegant size */
    letter-spacing: 3px;
    /* More spacing for cinematic look */
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    position: relative;
    padding-bottom: 12px;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.site-drawer-link:hover {
    opacity: 0.8;
}

.site-drawer-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #F2EAE2;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-drawer-link:hover::after,
.site-drawer-link:focus-visible::after {
    transform: scaleX(1);
}

[dir="rtl"] .site-drawer-link::after {
    transform-origin: right;
}

@media (min-width: 600px) {
    .site-drawer-link {
        font-size: 1.5rem;
    }
}

.site-drawer-lang {
    width: 100%;
    margin-top: auto;
    padding: 40px 0 30px;
    /* Adjusted padding */
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    /* Prevent shrinking */
}

/* Match header lang switcher style for drawer */
.site-drawer-lang .lang-switcher {
    transform: scale(1.1);
    /* Slightly larger for the drawer */
}

/* Ensure language switcher is visible on mobile */
@media (max-height: 600px) {
    .site-drawer-lang {
        padding: 20px 0 15px;
    }

    .site-drawer-nav {
        gap: 25px;
        /* Reduce gap on short screens */
    }
}

@media (max-height: 500px) {
    .site-drawer {
        padding: 40px 0 15px;
    }

    .site-drawer-lang {
        padding: 15px 0 10px;
    }

    .site-drawer-nav {
        gap: 20px;
        margin-top: 20px;
    }

    .site-drawer-lang .lang-switcher {
        transform: scale(0.9);
        /* Smaller on very short screens */
    }
}

/* Social Sidebar */
.social-sidebar {
    position: fixed;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    /* Changed to row to show icons side by side */
    gap: 15px;
    z-index: 999;
}

@media (max-width: 1024px) {
    .social-sidebar {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .social-sidebar {
        display: none;
        /* Hide social sidebar on mobile as it's typically in footer/drawer */
    }
}

@media (min-width: 600px) {
    .social-sidebar {
        top: 16vh;
        transform: none;
    }
}

.social-sidebar img {
    cursor: pointer;
    transition: var(--transition);
}

.social-sidebar img:hover {
    opacity: 0.7;
}

/* Hero Section Advanced */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background-color: #250000;
}

@media (min-width: 0px) {
    .hero-section {
        height: 80vh;
        /* Increased from 50vh */
        padding-bottom: 40px;
    }
}

@media (min-width: 600px) {
    .hero-section {
        height: 100vh;
        /* Increased from 60vh */
        min-height: 100vh;
    }
}

.hero-background-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    /* Changed from relative to cover entire section */
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
    /* Slightly stronger bottom gradient */
    display: flex;
    align-items: flex-end;
    padding: clamp(20px, 5vw, 60px) clamp(20px, 5vw, 80px);
}

.hero-content-bottom {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

@media (max-width: 768px) {
    .hero-content-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

.hero-text-container {
    max-width: 600px;
}

.hero-description {
    font-family: var(--main-font);
    font-size: clamp(0.9rem, 2vw, 1.125rem);
    line-height: 1.8;
    color: #F2EAE2;
    margin-bottom: 0;
    /* Removed bottom margin since explore is on the right */
    opacity: 0.9;
    text-align: justify;
}

.hero-explore {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border-bottom: 1px solid;
    width: fit-content;
    padding-bottom: 5px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-explore:hover {
    gap: 25px;
}

.hero-explore:hover .arrow-down {
    transform: translateX(5px);
}

[dir="rtl"] .hero-explore:hover .arrow-down {
    transform: scaleX(-1) translateX(5px);
}

.explore-text {
    font-family: var(--main-font);
    font-size: 1rem;
    letter-spacing: 2px;
    color: #F2EAE2;
}

.arrow-down {
    width: 20px;
    height: auto;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RTL Adjustments for Social Sidebar */
[dir="rtl"] .social-sidebar {
    right: auto;
    left: 80px;
}

/* General Section Content Animations */
.animate-section .hero-text-container,
.animate-section .hero-explore,
.animate-section .clients-content>*,
.animate-section .heritage-content>*,
.animate-section .why-tiraz-content>*,
.animate-section .mission-content>*,
.animate-section .valued-clients-text>*,
.animate-section .portfolio-slider-info>*,
.animate-section .portfolio-slider-subtitle>*,
.animate-section .featured-project-text>*,
.animate-section .featured-project-btn,
.animate-section .inspired-description,
.animate-section .inspired-line,
.animate-section .inspired-cta {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.8s ease;
    will-change: transform, opacity;
}

.animate-section.animate .hero-text-container,
.animate-section.animate .hero-explore,
.animate-section.animate .clients-content>*,
.animate-section.animate .heritage-content>*,
.animate-section.animate .why-tiraz-content>*,
.animate-section.animate .mission-content>*,
.animate-section.animate .valued-clients-text>*,
.animate-section.animate .portfolio-slider-info>*,
.animate-section.animate .portfolio-slider-subtitle>*,
.animate-section.animate .featured-project-text>*,
.animate-section.animate .featured-project-btn,
.animate-section.animate .inspired-description,
.animate-section.animate .inspired-line,
.animate-section.animate .inspired-cta,
.animate-section.animate .about-strategic-title-overlay,
.animate-section.animate .about-strategic-desc-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delays for Children */
.animate-section.animate .hero-text-container {
    transition-delay: 0.3s;
}

.animate-section.animate .hero-explore {
    transition-delay: 0.6s;
}

.animate-section.animate .clients-content>*:nth-child(1) {
    transition-delay: 0.3s;
}

.animate-section.animate .clients-content>*:nth-child(2) {
    transition-delay: 0.6s;
}

.animate-section.animate .about-strategic-title-overlay {
    transition-delay: 0.3s;
}

.animate-section.animate .about-strategic-desc-overlay {
    transition-delay: 0.6s;
}

.animate-section.animate .heritage-content>*:nth-child(1) {
    transition-delay: 0.3s;
}

.animate-section.animate .heritage-content>*:nth-child(2) {
    transition-delay: 0.6s;
}

.animate-section.animate .why-tiraz-content>.why-tiraz-subtitle {
    transition-delay: 0.5s;
}

.animate-section.animate .why-tiraz-content>.why-tiraz-title {
    transition-delay: 1.1s;
}

.animate-section.animate .why-tiraz-content>.why-tiraz-description {
    transition-delay: 1.7s;
}

.animate-section.animate .why-tiraz-content>.why-tiraz-btn {
    transition-delay: 2.3s;
}

.animate-section.animate .mission-content>*:nth-child(1) {
    transition-delay: 0.3s;
}

.animate-section.animate .mission-content>*:nth-child(2) {
    transition-delay: 0.6s;
}

.animate-section.animate .mission-content>*:nth-child(3) {
    transition-delay: 0.9s;
}

.animate-section.animate .valued-clients-text>*:nth-child(1) {
    transition-delay: 0.3s;
}

.animate-section.animate .valued-clients-text>*:nth-child(2) {
    transition-delay: 0.6s;
}

.animate-section.animate .portfolio-slider-info>*:nth-child(2) {
    transition-delay: 0.9s;
}

.animate-section.animate .portfolio-slider-info>*:nth-child(3) {
    transition-delay: 1.2s;
}

.animate-section.animate .portfolio-slider-info>*:nth-child(4) {
    transition-delay: 1.5s;
}

.animate-section.animate .portfolio-slider-subtitle>*:nth-child(1) {
    transition-delay: 0.2s;
}

.animate-section.animate .portfolio-slider-subtitle>*:nth-child(2) {
    transition-delay: 0.4s;
}

.animate-section.animate .portfolio-slider-subtitle>*:nth-child(3) {
    transition-delay: 0.6s;
}

/* Mission Section Styles */
.mission-section {
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #250000;
    color: #F2EAE2;
    padding: 100px 0;
}

.mission-container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 80px;
    text-align: center;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mission-subtitle {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    letter-spacing: 4px;
    opacity: 0.8;
}

.mission-title {
    font-family: var(--heading-font);
    font-size: 4rem;
    line-height: 1.1;
}

.mission-description {
    font-family: var(--main-font);
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.7;
    text-align: justify;
}

@media (max-width: 768px) {
    .mission-title {
        font-size: 2.5rem;
    }
}

/* Why Tiraz Section */
.why-tiraz-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F2EAE2;
    padding: 80px 0;
}

@media (min-width: 600px) {
    .why-tiraz-section {
        height: 100vh;
        /* Increased from 60vh to match full-screen image */
        min-height: 700px;
        padding: 0;
    }
}

.why-tiraz-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 0;
    max-width: none;
    /* Removed 1600px to allow full bleed */
    margin: 0;
    padding: 0;
}

@media (min-width: 600px) {
    .why-tiraz-container {
        flex-direction: row;
    }
}

.why-tiraz-content {
    flex: 0.35;
    /* Takes 35% of the width */
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: clamp(30px, 5vw, 80px);
    padding-left: clamp(30px, 5vw, 80px);
    /* Simplified to prevent negative calc issues */
    gap: clamp(20px, 3vw, 40px);
    color: #250000;
}

@media (min-width: 1600px) {
    .why-tiraz-content {
        padding-left: calc((100vw - 1600px) / 2 + 80px);
    }
}

@media (max-width: 1600px) {
    .why-tiraz-content {
        padding-left: clamp(30px, 5vw, 80px);
    }
}

.why-tiraz-subtitle {
    font-family: var(--heading-font);
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #250000;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.why-tiraz-title {
    font-family: var(--heading-font);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
    color: #250000;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.why-tiraz-description {
    font-family: var(--main-font);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    /* Increased from 1.125rem */
    line-height: 1.6;
    color: #250000;
    opacity: 0.8;
    max-width: 550px;
    /* Constrain width to match image text block */
    text-align: justify;
}

.why-tiraz-btn {
    border-color: #250000;
    width: fit-content;
}

.why-tiraz-btn .button-text {
    color: #250000 !important;
}

.why-tiraz-btn::before {
    background-color: #250000;
}

.why-tiraz-btn:hover .button-text {
    color: #F2EAE2 !important;
}

.why-tiraz-image-container {
    flex: 0.65;
    /* Image takes 65% of the width */
    height: 100%;
    position: relative;
    overflow: hidden;
    /* Changed back to hidden to clip the initial state */
}

@media (min-width: 600px) {
    .why-tiraz-image-container {
        width: 60%;
    }
}

.why-tiraz-image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    min-height: 300px;
    opacity: 0;
    /* تأثير "الفرد": تبدأ من عرض 0 ومن اليمين */
    clip-path: inset(0 0 0 100%);
    transition: clip-path 2.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 2.5s ease;
    /* Increased time for slower reveal */
    will-change: clip-path, opacity;
}

.why-tiraz-image-wrapper.animate {
    opacity: 1;
    /* تتفرد لتغطي المساحة كاملة */
    clip-path: inset(0 0 0 0);
}

[dir="rtl"] .why-tiraz-content {
    padding-left: clamp(30px, 5vw, 80px);
    padding-right: clamp(30px, 5vw, 80px);
}

@media (min-width: 1600px) {
    [dir="rtl"] .why-tiraz-content {
        padding-right: calc((100vw - 1600px) / 2 + 80px);
    }
}

@media (max-width: 1600px) {
    [dir="rtl"] .why-tiraz-content {
        padding-right: 80px;
    }
}

[dir="rtl"] .why-tiraz-image-wrapper {
    right: auto;
    left: 0;
    /* في العربي تبدأ الفرد من اليسار */
    clip-path: inset(0 100% 0 0);
}

[dir="rtl"] .why-tiraz-image-wrapper.animate {
    clip-path: inset(0 0 0 0);
}

.why-tiraz-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RTL Adjustments for Why Tiraz */
[dir="rtl"] .why-tiraz-container {
    flex-direction: column;
}

@media (min-width: 600px) {
    [dir="rtl"] .why-tiraz-container {
        flex-direction: row;
    }
}

/* Heritage Section */
.heritage-section {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #250000;
    padding: 100px 0;
    /* Increased padding */
    overflow: hidden;
}

.heritage-bg-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    background-image: url('https://tiraz.vercel.app/backgrounds/torath.svg');
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.8;
    pointer-events: none;
}

@media (min-width: 0px) {
    .heritage-section {
        min-height: 70vh;
        /* Increased from 50vh */
    }
}

@media (min-width: 600px) {
    .heritage-section {
        min-height: 85vh;
        /* Increased from 60vh */
        height: auto;
    }
}

.heritage-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
    z-index: 1;
}

.heritage-content {
    max-width: 500px;
    /* Reduced to match image text layout */
}

.heritage-title {
    font-family: var(--heading-font);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: #F2EAE2;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.heritage-description {
    font-family: var(--main-font);
    font-size: clamp(0.9rem, 2vw, 1.125rem);
    /* Increased from 1rem */
    line-height: 1.6;
    color: #F2EAE2;
    opacity: 0.8;
    max-width: 450px;
    text-align: justify;
}

@media (max-width: 768px) {
    .heritage-section {
        padding: 60px 0;
    }

    .heritage-container {
        padding: 0 20px;
    }

    .heritage-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .torath-svg-bg {
        height: 80%;
        opacity: 0.4;
    }

    .heritage-bg-overlay {
        width: 100%;
        opacity: 0.3;
    }
}

/* RTL Adjustments for Heritage Section */
[dir="rtl"] .heritage-bg-overlay {
    right: auto;
    left: 0;
    background-position: center left;
}

/* Clients Section */
.clients-section {
    width: 100%;
    min-height: 85vh;
    /* Increased from 60vh */
    background-color: #250000;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0;
    /* Increased padding */
}

.clients-bg-overlay {
    position: absolute;
    top: 0;
    right: 20px;
    width: 85%;
    /* Increased width */
    height: 100%;
    background-image: url('https://tiraz.vercel.app/backgrounds/traz.svg');
    background-size: contain;
    background-position: center right;
    /* Changed from left to right to bring it closer to the right edge */
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.8;
    pointer-events: none;
}

.clients-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
    z-index: 1;
}

.clients-content {
    max-width: 600px;
}

.clients-title {
    font-family: var(--heading-font);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #F2EAE2;
    margin-bottom: 30px;
    letter-spacing: 0.04em;
    font-weight: 400;
}

.clients-description {
    font-family: var(--main-font);
    font-size: clamp(1rem, 2vw, 1.25rem);
    /* Increased from 1.1rem */
    line-height: 1.8;
    color: #F2EAE2;
    opacity: 0.8;
    max-width: 500px;
    text-align: justify;
}

@media (max-width: 768px) {
    .clients-section {
        padding: 60px 20px;
    }

    .clients-container {
        padding: 0 20px;
    }

    .clients-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .traz-svg-bg {
        height: 80%;
        opacity: 0.3;
    }

    .clients-bg-overlay {
        width: 100%;
        opacity: 0.3;
    }
}

/* RTL Adjustments for Clients Section */
[dir="rtl"] .clients-bg-overlay {
    right: auto;
    left: 0;
    background-position: center left;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    .btn-portfolio:not(.menu-btn-close) {
        display: none;
        /* Often hidden on mobile or moved to menu */
    }

    .header-left {
        flex: 0;
    }

    .header-center {
        justify-content: flex-start;
    }

    .logo-img {
        height: 30px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .header-left {
    justify-content: flex-start;
    /* Still Right in RTL */
}

[dir="rtl"] .header-right {
    justify-content: flex-end;
    /* Still Left in RTL */
}

/* Ensure margins/paddings that are side-specific are flipped if not using logical properties */
[dir="rtl"] .hero-explore {
    /* No change needed as it uses gap and border-bottom */
}

[dir="rtl"] .hero-description {
    /* No change needed as it uses margin-bottom: 0 */
}

/* Responsive RTL adjustments */
@media (max-width: 768px) {
    [dir="rtl"] .header-center {
        justify-content: flex-end;
    }
}

[dir="rtl"] .menu-icon,
[dir="rtl"] .arrow-down {
    transform: scaleX(-1);
}

/* Valued Clients Marquee Section */
.valued-clients-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #F2EAE2;
    padding: 80px 0;
}

.valued-clients-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 80px;
}

@media (max-width: 768px) {
    .valued-clients-container {
        padding: 0 20px;
    }
}

@media (min-width: 600px) {
    .valued-clients-section {
        padding: 40px 0;
        gap: 40px;
    }
}

.valued-clients-header {
    width: 100%;
    position: relative;
    z-index: 2;
    text-align: start;
}

@media (min-width: 900px) {
    .valued-clients-header {
        width: 50%;
    }
}

.valued-clients-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.valued-clients-title {
    font-family: var(--heading-font);
    font-size: 3rem;
    color: #250000;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 400;
    margin: 0;
}

.valued-clients-description {
    font-family: var(--main-font);
    font-size: 1.125rem;
    line-height: 1.6;
    color: #250000;
    opacity: 0.8;
    margin: 0;
    text-align: justify;
}

.valued-clients-marquee {
    width: 100%;
    height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.marquee-row {
    width: 100%;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 80px;
    width: max-content;
}

@media (max-width: 768px) {
    .marquee-track {
        gap: 40px;
    }
}

.track-normal {
    animation: scroll-normal 73.26s linear infinite;
}

.track-reverse {
    animation: scroll-reverse 73.26s linear infinite;
}

.marquee-row:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes scroll-normal {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.client-logo {
    flex: 0 0 auto;
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .client-logo {
        width: 120px;
        height: 60px;
    }
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 1;
    transition: all 0.3s ease;
}

.client-logo img:hover {
    opacity: 0.8;
}

/* RTL Support for Valued Clients */
[dir="rtl"] .valued-clients-header {
    text-align: right;
}

/* Portfolio Slider Section */
.portfolio-slider-section {
    width: 100%;
    background-color: #F2EAE2;
    padding: 80px 0;
}

@media (min-width: 900px) {
    .portfolio-slider-section {
        height: 90vh;
        display: flex;
        align-items: center;
        padding: 0;
    }
}

.portfolio-slider-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    align-items: center;
    min-height: 500px;
}

@media (min-width: 600px) {
    .portfolio-slider-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.portfolio-slider-left {
    flex: 0.45;
    /* Slightly more space for text */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Align container to the right of this flex item */
}

.portfolio-text-container {
    width: 100%;
    max-width: 800px;
    /* Constrain text width */
    padding-left: clamp(20px, 5vw, 80px);
    padding-right: clamp(20px, 3vw, 40px);
}

@media (min-width: 1600px) {
    .portfolio-slider-left {
        /* On very large screens, ensure the text starts at the 1600px grid line */
        padding-left: calc((100vw - 1600px) / 2);
    }
}

.portfolio-slider-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Reduced gap to match image */
    width: 100%;
    max-width: 800px;
    /* Increased max-width */
}

.portfolio-slider-subtitle {
    font-family: var(--heading-font);
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    /* Adjusted for better balance */
    color: #250000;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0;
    font-weight: 400;
    margin-bottom: 0;
}

.portfolio-slider-title {
    font-family: var(--heading-font);
    font-size: clamp(3rem, 10vw, 6.5rem);
    color: #250000;
    line-height: 0.9;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}

.portfolio-slider-description {
    font-family: var(--main-font);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.5;
    color: #250000;
    opacity: 0.8;
    max-width: 650px;
    margin-bottom: 10px;
    text-align: justify;
}

.portfolio-slider-btn {
    border-color: #250000;
    width: fit-content;
}

.portfolio-slider-btn .button-text {
    color: #250000 !important;
}

.portfolio-slider-btn::before {
    background-color: #250000;
}

.portfolio-slider-btn:hover .button-text {
    color: #F2EAE2 !important;
}

/* Right Slider Side */
.portfolio-slider-right {
    flex: 0.6;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    direction: ltr;
    /* Keep slider layout LTR regardless of page direction */
}

@media (min-width: 600px) {
    .portfolio-slider-right {
        width: 60%;
    }
}

.portfolio-cards-track {
    width: calc(100% - 110px);
    /* space for buttons on each side */
    height: 100%;
    min-height: 400px;
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
    direction: ltr;
    /* Always LTR so the slider transform works correctly */
}

.portfolio-cards-track::-webkit-scrollbar {
    display: none;
}

/* Inner sliding strip */
.portfolio-cards-inner {
    display: flex;
    gap: 16px;
    height: 100%;
    min-height: 360px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    align-items: stretch;
}

.portfolio-card {
    height: 100%;
    min-height: 360px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .portfolio-card {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .portfolio-card {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
}

.portfolio-card-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(37, 0, 0, 0.8));
    z-index: 1;
}

.portfolio-card-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    color: #F2EAE2;
}

.card-tag {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.8;
}

.card-title {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    margin-bottom: 4px;
}

.card-location {
    font-size: 1rem;
    opacity: 0.7;
}

/* Navigation Buttons */
.slider-nav-btn {
    position: absolute;
    z-index: 10;
    background-color: #fff;
    color: #250000;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
}

.slider-nav-btn:hover {
    background-color: #250000;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.prev-btn {
    left: 5px;
}

.next-btn {
    right: 5px;
}

/* RTL Support for Portfolio */
[dir="rtl"] .portfolio-slider-left {
    text-align: right;
    justify-content: flex-start;
}

[dir="rtl"] .portfolio-text-container {
    padding-left: 40px;
    padding-right: 80px;
}

@media (min-width: 1600px) {
    [dir="rtl"] .portfolio-slider-left {
        padding-left: 0;
        padding-right: calc((100vw - 1600px) / 2);
    }
}

[dir="rtl"] .portfolio-card-content {
    left: auto;
    right: 30px;
}

[dir="rtl"] .prev-btn {
    left: auto;
    right: 20px;
}

[dir="rtl"] .next-btn {
    right: auto;
    left: 20px;
}

/* Featured Projects + Inspired Section */
.featured-projects-wrapper {
    width: 100%;
    background-color: #F2EAE2;
    position: relative;
    overflow: visible;
}

.featured-project-panel {
    width: 100%;
    position: sticky;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    margin: 0;
    height: 100vh;
}

.featured-project-panel-inner {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 0 40px 60px;
}

@media (min-width: 900px) {
    .featured-project-panel-inner {
        padding: 0 80px 80px;
    }
}

.featured-project-text {
    color: #F2EAE2;
}

.featured-project-label {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    opacity: 0.85;
    letter-spacing: 1px;
    margin: 0 0 6px 0;
}

.featured-project-title {
    font-family: var(--heading-font);
    font-size: clamp(2.5rem, 8vw, 6.5rem);
    line-height: 0.9;
    margin: 0;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.04em;
}

@media (max-width: 1400px) {
    .featured-project-title {
        font-size: clamp(2.5rem, 7vw, 5rem);
    }
}

@media (max-width: 768px) {
    .featured-project-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .featured-project-panel-inner {
        padding: 0 20px 40px;
    }
}

.featured-project-btn {
    border-color: #F2EAE2;
    width: fit-content;
    flex: 0 0 auto;
    border-radius: 50px;
    padding: 10px 30px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.featured-project-btn .button-text {
    color: #F2EAE2 !important;
    font-size: 1.1rem;
    font-weight: 700;
}

.featured-project-btn::before {
    background-color: #F2EAE2;
    border-radius: 50px;
}

.featured-project-btn:hover .button-text {
    color: #250000 !important;
}

.panel-1 {
    top: 0;
    height: 100vh;
    background-image: url(https://tiraz.vercel.app/projects/1.svg);
    z-index: 1;
}

.panel-2 {
    top: 60px;
    height: 92vh;
    background-image: url(https://tiraz.vercel.app/projects/2.svg);
    z-index: 2;
}

.panel-3 {
    top: 120px;
    height: 84vh;
    background-image: url(https://tiraz.vercel.app/projects/3.svg);
    z-index: 3;
}

@media (max-width: 768px) {
    .panel-2 {
        top: 40px;
    }

    .panel-3 {
        top: 80px;
    }
}

[dir="rtl"] .featured-project-panel-inner {
    /* flex-direction: row-reverse; */
    /* Removed to allow natural RTL flow */
}

[dir="rtl"] .featured-project-text {
    text-align: right;
}

/* Services Panels Section */
.services-wrapper {
    width: 100%;
    background-color: #250000;
    position: relative;
}

/* Remove panel-scroll-container — not needed, panels are direct siblings */
.panel-scroll-container {
    display: contents;
}

.service-panel {
    width: 100%;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    margin: 0;
    height: 100vh;
}

.service-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(37, 0, 0, 0.9), rgba(37, 0, 0, 0.4));
    z-index: 0;
}

.service-panel-inner {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 0 20px 30px;
    position: relative;
    z-index: 1;
}

@media (min-width: 900px) {
    .service-panel-inner {
        padding: 0 80px 40px;
    }
}

.service-panel-text {
    color: #F2EAE2;
}

.service-panel-number {
    font-family: var(--heading-font);
    font-size: 1rem;
    opacity: 0.85;
    letter-spacing: 1.5px;
    margin: 0 0 4px 0;
}

.service-panel-title {
    font-family: var(--heading-font);
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    line-height: 0.9;
    margin: 0;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.service-panel-desc {
    font-family: var(--main-font);
    font-size: clamp(0.8rem, 1vw, 1rem);
    line-height: 1.4;
    opacity: 0.8;
    margin-top: 8px;
    text-align: justify;
}

@media (max-width: 1400px) {
    .service-panel-title {
        font-size: clamp(1.5rem, 4vw, 2.8rem);
    }

    .service-panel-desc {
        font-size: clamp(0.8rem, 0.9vw, 0.95rem);
    }
}

@media (max-width: 768px) {
    .service-panel-title {
        font-size: clamp(1.2rem, 7vw, 2rem);
    }

    .service-panel-desc {
        font-size: 0.75rem;
    }

    .service-panel-inner {
        padding: 0 20px 25px;
        flex-direction: column;
        align-items: flex-start;
    }
}

.service-panel-btn {
    border-color: #F2EAE2;
    width: fit-content;
    flex: 0 0 auto;
    border-radius: 50px;
    padding: 8px 24px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.service-panel-btn .button-text {
    color: #F2EAE2 !important;
    font-size: 0.95rem;
    font-weight: 700;
}

.service-panel-btn::before {
    background-color: #F2EAE2;
    border-radius: 50px;
}

.service-panel-btn:hover .button-text {
    color: #250000 !important;
}

.service-panel-icon {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.service-panel-icon svg {
    width: 48px;
    height: 48px;
    stroke: #F2EAE2;
    color: #F2EAE2;
    flex-shrink: 0;
    opacity: 0.9;
}

.service-panel-icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .service-panel-icon svg,
    .service-panel-icon img {
        width: 38px;
        height: 38px;
    }
}

.service-card-icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.service-panel-1 {
    top: 0;
    height: 100vh;
    background-image: url(assets/services/images/T-A-17.jpg);
    z-index: 1;
}

.service-panel-2 {
    top: 0;
    height: 100vh;
    background-image: url(assets/services/images/T-A-72.jpg);
    z-index: 2;
}

.service-panel-3 {
    top: 0;
    height: 100vh;
    background-image: url(assets/services/images/000.jpg.jpeg);
    z-index: 3;
}

.service-panel-4 {
    top: 0;
    height: 100vh;
    background-image: url(assets/services/images/T-C-11.jpg);
    z-index: 4;
}

.service-panel-5 {
    top: 0;
    height: 100vh;
    background-image: url(assets/services/images/T-C-47.jpg);
    z-index: 5;
}

.service-panel-6 {
    top: 0;
    height: 100vh;
    background-image: url(assets/services/images/magnific_remove-the-red-rectangle_8vR6jePIrU.png);
    z-index: 6;
}

.service-panel-7 {
    top: 0;
    height: 100vh;
    background-image: url(assets/services/images/2.jpg.jpeg);
    z-index: 7;
}

.service-panel-8 {
    top: 0;
    height: 100vh;
    background-image: url(assets/services/images/7.jpg.jpeg);
    z-index: 8;
}

@media (max-width: 768px) {
    .service-panel-2 { top: 0; }
    .service-panel-3 { top: 0; }
    .service-panel-4 { top: 0; }
    .service-panel-5 { top: 0; }
    .service-panel-6 { top: 0; }
    .service-panel-7 { top: 0; }
    .service-panel-8 { top: 0; }
}

[dir="rtl"] .service-panel-inner {}

[dir="rtl"] .service-panel-text {
    text-align: right;
}

[dir="rtl"] .service-panel-desc {
    text-align: justify;
}

/* Inspired Section */
.inspired-section {
    width: 100%;
    background-color: #250000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    padding: 100px 0 80px 0;
    z-index: 10;
    margin-bottom: 0;
}

@media (min-width: 900px) {
    .inspired-section {
        height: 110vh;
        padding: 0 0 40px 0;
        /* Reduced bottom padding for desktop */
        margin-bottom: 0;
    }
}

.inspired-container {
    width: 100%;
    padding: 0 40px;
}

@media (min-width: 600px) {
    .inspired-container {
        width: 90%;
        max-width: 1600px;
        margin: 0 auto;
        padding: 0;
    }
}

.inspired-content {
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
}

.inspired-line {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.inspired-line-1 {
    justify-content: flex-start;
}

.inspired-line-2 {
    justify-content: flex-start;
    padding-left: clamp(20px, 4vw, 50px);
    /* DESIGN starts more to the left */
}

.inspired-line-3 {
    justify-content: flex-start;
    padding-left: clamp(100px, 20vw, 350px);
    /* TIRAZ is shifted right */
}

.inspired-description {
    font-family: var(--main-font);
    font-size: 1.4rem;
    line-height: 1.4;
    opacity: 0;
    max-width: 280px;
    margin: 0;
    color: #F2EAE2;
    transform: translateY(20px);
    transition: all 1s ease 0.3s;
    text-align: justify;
}

.inspired-word {
    font-family: var(--heading-font);
    font-size: clamp(3rem, 8vw, 9rem);
    line-height: 0.85;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0;
    color: #F2EAE2;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.03em;
}

.inspired-section.animate .inspired-description {
    opacity: 0.6;
    transform: translateY(0);
}

.inspired-section.animate .inspired-word {
    opacity: 1;
    transform: translateY(0);
}

.inspired-line-1 .inspired-word {
    transition-delay: 0.6s;
}

.inspired-image-inspired {
    transition-delay: 0.9s;
}

.inspired-line-2 .inspired-word:first-child {
    transition-delay: 1.2s;
}

.inspired-image-design {
    transition-delay: 1.5s;
}

.inspired-line-2 .inspired-word:last-child {
    transition-delay: 1.8s;
}

.inspired-line-3 .inspired-word {
    transition-delay: 2.1s;
}

.inspired-cta {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.inspired-btn {
    transition-delay: 2.4s;
    opacity: 0;
    transform: translateY(20px);
    transition-property: all;
    transition-duration: 1s;
    background-color: #F2EAE2;
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    height: auto;
    min-width: auto;
    cursor: pointer;
}

.inspired-btn .button-text {
    color: #250000 !important;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 700;
}

.inspired-btn:hover {
    transform: scale(1.05);
    background-color: #fff;
}

.inspired-section.animate .inspired-btn {
    opacity: 1;
    transform: translateY(0);
}

.inspired-image {
    position: relative;
    width: 320px;
    height: 180px;
    flex: 0 0 auto;
}

/* Reveal Animations */
.reveal {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.reveal-inner {
    position: absolute;
    overflow: hidden;
}

.reveal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reveal-x .reveal-inner {
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-y .reveal-inner {
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    transition: height 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-x-right .reveal-inner {
    top: 0;
    right: 0;
    height: 100%;
    width: 0%;
    transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.inspired-image-inspired .reveal-inner {
    transition-delay: 0.9s;
}

.inspired-image-design .reveal-inner {
    transition-delay: 1.5s;
}

.inspired-section.animate .reveal-x .reveal-inner,
.services-hero-section.animate .reveal-x .reveal-inner,
.services-crafting-section.animate .reveal-x-right .reveal-inner {
    width: 100%;
}

.inspired-section.animate .reveal-y .reveal-inner {
    height: 100%;
}

/* RTL Fixes */
[dir="rtl"] .inspired-description {
    text-align: justify;
}

[dir="rtl"] .inspired-word {
    font-family: var(--arabic-heading-font);
    line-height: 1.2;
    padding-bottom: 20px;
    /* Offset the baseline difference in Arabic font */
}

[dir="rtl"] .inspired-line-1 {
    padding-right: clamp(10px, 2vw, 30px);
}

[dir="rtl"] .inspired-line-2 {
    padding-left: 0;
    padding-right: clamp(40px, 8vw, 100px);
}

[dir="rtl"] .inspired-line-3 {
    padding-left: 0;
    padding-right: clamp(120px, 25vw, 400px);
}

[dir="rtl"] .reveal-x .reveal-inner {
    left: auto;
    right: 0;
}

[dir="rtl"] .reveal-x-right .reveal-inner {
    right: auto;
    left: 0;
}

[dir="rtl"] .reveal-y .reveal-inner {
    top: auto;
    bottom: 0;
}

@media (max-width: 1400px) {
    .inspired-word {
        font-size: clamp(4rem, 6vw, 8rem);
    }
}

@media (max-width: 1200px) {
    .inspired-word {
        font-size: clamp(3rem, 5vw, 6rem);
    }

    .inspired-image {
        width: 240px;
        height: 140px;
    }

    .inspired-description {
        max-width: 200px;
        font-size: 1.2rem;
    }
}

@media (max-width: 900px) {
    .inspired-word {
        font-size: clamp(3rem, 12vw, 5rem);
    }

    .inspired-line {
        flex-wrap: wrap;
        gap: 20px;
    }

    .inspired-line-1 {
        flex-direction: column;
        align-items: flex-start;
    }

    .inspired-line-2,
    .inspired-line-3 {
        padding: 0;
    }

    .inspired-image {
        width: 180px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .inspired-word {
        font-size: clamp(2.5rem, 15vw, 4rem);
    }

    .inspired-container {
        padding: 0 20px;
    }
}

/* Featured Projects staggered entry */
.featured-project-text h4,
.featured-project-text h1,
.featured-project-btn {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-project-panel.animate .featured-project-text h4 {
    opacity: 0.85;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.featured-project-panel.animate .featured-project-text h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.featured-project-panel.animate .featured-project-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

/* Footer Styles */
.footer {
    width: 100%;
    background-color: #F2EAE2;
    padding: 0;
    overflow: hidden;
    color: #250000;
    margin-top: 0;
    /* Ensure no overlap */
}

.footer-container {
    width: 100%;
    max-width: none;
    /* Removed 1600px constraint to match header */
    margin: 0;
    padding: 0 40px;
    /* Matched header padding */
}

.footer-main {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 30px 0 30px 0;
    /* تقليل الارتفاع من 40px إلى 30px */
    gap: 30px;
    /* تقليل المسافة */
}

/* Left Nav */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 0 0 30%;
}

.footer-nav-link {
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: clamp(1.2rem, 4vw, 2.2rem);
    /* تصغير أكثر من 1.5rem-3rem إلى 1.2rem-2.2rem */
    color: #250000;
    text-decoration: none;
    line-height: 1;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
}

.footer-nav-link:hover {
    opacity: 0.6;
}

/* Right Content Area */
.footer-content {
    flex: 0 0 65%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 15px;
    /* تقليل المسافة من 20px إلى 15px */
}

@media (max-width: 900px) {
    .footer-content {
        flex: 1;
        width: 100%;
    }
}

.footer-logo-section {
    width: 100%;
    margin-bottom: 20px;
    /* تقليل المسافة من 30px إلى 20px */
    text-align: left;
}

.footer-logo-img {
    max-width: 100%;
    height: clamp(60px, 10vw, 140px);
    /* تقليل حجم اللوجو */
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-info-grid {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
    /* تقليل المسافة */
    flex-wrap: wrap;
}

.footer-info-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
    /* تقليل المسافة */
    flex: 1 1 200px;
}

.footer-info-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* تقليل المسافة */
}

.footer-info-title {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    /* تقليل حجم الخط من 1.4rem إلى 1.1rem */
    color: #250000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    font-weight: 400;
    width: fit-content;
    border-bottom: 1px solid rgba(37, 0, 0, 0.3);
    padding-bottom: 2px;
}

.footer-info-text,
.footer-social-links span,
.footer-email-links span,
.footer-info-link {
    font-family: var(--main-font);
    font-size: 0.95rem;
    /* تقليل حجم الخط من 1.15rem إلى 0.95rem */
    color: #250000;
    opacity: 0.9;
    line-height: 1.3;
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: block;
}

.footer-info-link:hover {
    opacity: 0.6;
    /* Add hover effect */
}

.footer-social-links,
.footer-email-links {
    display: flex;

    flex-direction: column;
    gap: 5px;
}

/* Footer Bottom */
.footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(187, 176, 176, 0.5);
    padding: 15px 0;
    /* تقليل الارتفاع من 20px إلى 15px */
    text-align: center;
}

.footer-copyright {
    font-family: var(--main-font);
    font-size: 0.75rem;
    /* تقليل حجم الخط */
    color: #250000;
    opacity: 0.6;
}

/* RTL Support for Footer */
[dir="rtl"] .footer-nav {
    text-align: right;
}

[dir="rtl"] .footer-logo-section {
    text-align: right;
}

@media (max-width: 900px) {
    .footer-main {
        flex-direction: column;
        align-items: flex-start;
        padding: 60px 0;
        gap: 40px;
    }

    .footer-container {
        padding: 0 24px;
    }

    .footer-nav {
        width: 100%;
        margin-bottom: 20px;
        flex: none;
    }

    .footer-nav-link {
        font-size: clamp(1.2rem, 6vw, 2rem);
        /* تصغير أكثر للموبايل */
    }

    .footer-content {
        width: 100%;
        flex: none;
        align-items: flex-start;
    }

    .footer-logo-section {
        margin-bottom: 30px;
    }

    .footer-info-grid {
        flex-wrap: wrap;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .footer-main {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0 25px 0;
        /* تقليل أكثر من 30px/40px إلى 20px/25px */
        gap: 25px;
        /* تقليل من 35px إلى 25px */
    }

    .footer-container {
        padding: 0 20px;
        /* تقليل من 30px إلى 20px */
    }

    .footer-nav {
        display: none;
    }

    .footer-content {
        align-items: center;
        /* توسيط المحتوى */
        width: 100%;
        gap: 20px;
        /* تقليل من 35px إلى 20px */
    }

    .footer-logo-section {
        margin-bottom: 0;
        text-align: center;
        /* توسيط اللوجو */
        width: 100%;
        display: flex;
        justify-content: center;
        /* توسيط اللوجو */
        padding-bottom: 10px;
        /* تقليل من 15px إلى 10px */
    }

    .footer-info-grid {
        flex-direction: row;
        justify-content: space-between;
        gap: 12px;
        /* تقليل من 20px إلى 12px */
        align-items: flex-start;
        text-align: center;
        /* توسيط النصوص */
        width: 100%;
        flex-wrap: nowrap;
    }

    .footer-info-column {
        align-items: center;
        /* توسيط العناصر */
        flex: 1;
        min-width: 0;
        gap: 20px;
        /* تقليل من 30px إلى 20px */
    }

    .footer-info-group {
        align-items: center;
        /* توسيط العناصر */
        text-align: center;
        /* توسيط النصوص */
        gap: 6px;
        /* تقليل من 12px إلى 6px */
    }

    .footer-info-title {
        text-align: center;
        /* توسيط العناوين */
        font-size: 0.85rem;
        /* تقليل من 1.1rem إلى 0.85rem */
        margin-bottom: 2px;
    }

    .footer-social-links,
    .footer-email-links {
        align-items: center;
        /* توسيط العناصر */
        text-align: center;
        /* توسيط النصوص */
        gap: 6px;
        /* تقليل من 12px إلى 6px */
    }

    .footer-info-text,
    .footer-info-link {
        text-align: center;
        /* توسيط النصوص */
        font-size: 0.75rem;
        /* تقليل من 0.9rem إلى 0.75rem */
        line-height: 1.4;
        word-break: break-word;
        overflow-wrap: break-word;
        direction: ltr;
        /* اتجاه LTR للعناوين الإنجليزية */
        unicode-bidi: plaintext;
        /* يسمح بالاتجاه التلقائي */
        max-width: 100%;
        /* للسماح بالتفاف النص */
        white-space: normal;
        /* للسماح بالتفاف النص */
    }

    /* ضبط اتجاه العنوان والإيميل */
    .footer-info-text,
    .footer-info-link {
        unicode-bidi: plaintext;
        /* يسمح بالاتجاه التلقائي حسب المحتوى */
    }

    .footer-logo-img {
        height: clamp(50px, 15vw, 90px);
        /* تقليل من 70-120px إلى 50-90px */
    }

    .footer-bottom {
        padding: 12px 0;
        /* تقليل من 20px إلى 12px */
    }

    .footer-copyright {
        font-size: 0.65rem;
        /* تقليل حجم الخط */
        text-align: center;
        /* توسيط حقوق النشر */
    }
}

/* Extra small devices - تقليل أكثر للأجهزة الصغيرة جداً */
@media (max-width: 400px) {
    .footer-container {
        padding: 0 15px;
        /* تقليل من 20px إلى 15px */
    }

    .footer-main {
        gap: 20px;
        /* تقليل من 40px إلى 20px */
        padding: 18px 0 22px 0;
        /* تقليل أكثر */
    }

    .footer-content {
        gap: 18px;
        /* تقليل من 40px إلى 18px */
        align-items: center;
        /* توسيط المحتوى */
    }

    .footer-logo-section {
        text-align: center;
        /* توسيط اللوجو */
        justify-content: center;
        /* توسيط اللوجو */
    }

    .footer-info-grid {
        gap: 10px;
        /* تقليل من 15px إلى 10px */
        text-align: center;
        /* توسيط النصوص */
    }

    .footer-info-column {
        gap: 18px;
        /* تقليل من 35px إلى 18px */
        align-items: center;
        /* توسيط العناصر */
    }

    .footer-info-group {
        gap: 5px;
        /* تقليل من 12px إلى 5px */
        align-items: center;
        /* توسيط العناصر */
        text-align: center;
        /* توسيط النصوص */
    }

    .footer-info-title {
        font-size: 0.75rem;
        /* تقليل من 0.95rem إلى 0.75rem */
        font-weight: 500;
        text-align: center;
        /* توسيط العناوين */
    }

    .footer-info-text,
    .footer-info-link {
        font-size: 0.65rem;
        /* تقليل من 0.8rem إلى 0.65rem */
        line-height: 1.4;
        word-break: break-word;
        overflow-wrap: break-word;
        text-align: center;
        /* توسيط النصوص */
        direction: ltr;
        /* اتجاه LTR للعناوين الإنجليزية */
        unicode-bidi: plaintext;
        /* يسمح بالاتجاه التلقائي */
    }

    .footer-social-links,
    .footer-email-links {
        gap: 5px;
        /* تقليل من 10px إلى 5px */
        align-items: center;
        /* توسيط العناصر */
        text-align: center;
        /* توسيط النصوص */
    }

    .footer-logo-img {
        height: clamp(40px, 18vw, 70px);
        /* تقليل من 60-100px إلى 40-70px */
    }

    .footer-copyright {
        font-size: 0.6rem;
        /* تقليل من 0.75rem إلى 0.6rem */
        text-align: center;
        /* توسيط حقوق النشر */
    }

    .footer-bottom {
        padding: 10px 0;
        /* تقليل أكثر */
        text-align: center;
        /* توسيط المحتوى */
    }
}


[dir="rtl"] .prev-btn svg,
[dir="rtl"] .next-btn svg {
    transform: scaleX(-1);
}

/* Contact Us Page Styles */
.contact-section {
    width: 100%;
    min-height: 100vh;
    background-color: #250000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 80px 80px;
    position: relative;
    overflow: hidden;
}

.contact-container {
    width: 100%;
    max-width: 1600px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.contact-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.contact-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.contact-main-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0.15;
    /* Lower opacity to make the SVG text less visible */
}

.contact-title-wrapper {
    margin-top: -800px;
    /* Pull the HTML text up to overlap the SVG text area */
    position: relative;
    z-index: 2;
}

.contact-title {
    font-family: var(--heading-font);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    line-height: 1.1;
    color: #F2EAE2;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-align: left;
}

[dir="rtl"] .contact-title {
    text-align: right;
}

.contact-right {
    flex: 1;
    max-width: 800px;
    /* Increased from 700px */
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 600px;
    /* Constrain form width to match design */
}

.form-group {
    width: 100%;
}

.form-input,
.form-textarea,
.custom-select {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(242, 234, 226, 0.3);
    border-radius: 50px;
    padding: 18px 30px;
    color: #F2EAE2;
    font-family: var(--main-font);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    position: relative;
    cursor: pointer;
}

.custom-select {
    padding: 17px;
    /* Let trigger handle padding */
    border-radius: 50px;
}

select:not(:-internal-list-box) option{
	background-color: #250000;
    color: #ffffff;
}


.select-trigger {
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.select-arrow {
    width: 20px;
    height: 20px;
    fill: #F2EAE2;
    transition: transform 0.3s ease;
}

.custom-select.is-open {
    border-color: #F2EAE2;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.custom-select.is-open .select-arrow {
    transform: rotate(180deg);
}

.select-options {
    position: absolute;
    top: 100%;
    left: -1px;
    right: -1px;
    background-color: #250000;
    border: 1px solid #F2EAE2;
    border-top: none;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    z-index: 100;
    max-height: 400px;
    /* Slightly increased to fit all options */
    overflow-y: auto;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* Hide scrollbar for Chrome, Safari and Opera */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.select-options::-webkit-scrollbar {
    display: none;
}

.custom-select.is-open .select-options {
    display: block;
}

.select-options .option {
    padding: 15px 30px;
    transition: background 0.3s ease, color 0.3s ease;
    font-family: var(--main-font);
    font-size: 0.95rem;
    color: rgba(242, 234, 226, 0.8);
}

.select-options .option:hover {
    background-color: #4a0000 !important;
    /* Premium Dark Red Hover */
    color: #F2EAE2 !important;
}

.select-options .option.selected {
    background-color: #350000;
    color: #F2EAE2;
}

.form-textarea {
    border-radius: 24px;
    min-height: 150px;
    resize: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: #F2EAE2;
    box-shadow: 0 0 0 1px rgba(242, 234, 226, 0.1);
}

.contact-submit-btn {
    width: 100%;
    background-color: transparent;
    /* Match portfolio button style */
    border: 1px solid #F2EAE2;
    border-radius: 50px;
    margin-top: 10px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 60px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}

.contact-submit-btn::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F2EAE2;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.contact-submit-btn:hover::before {
    transform: scaleY(1);
}

.contact-submit-btn h1.button-text {
    color: #F2EAE2 !important;
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0;
    transition: color 0.4s ease;
}

.contact-submit-btn:hover h1.button-text {
    color: #250000 !important;
}

@media (max-width: 1024px) {
    .contact-section {
        padding: 120px 40px 60px;
    }

    .contact-container {
        flex-direction: column;
        gap: 40px;
    }

    .contact-left {
        align-items: center;
        text-align: center;
    }

    .contact-title-wrapper {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 100px 20px 40px;
    }

    .contact-title {
        font-size: 3.5rem;
    }
}

/* About Us Page Layouts */
.about-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-welcome-section,
.about-at-tiraz-section,
.about-values-section,
.about-discover-section,
.about-studio-section {
    width: 100%;
    padding: 150px 80px 100px;
    background-color: #F2EAE2;
}

.about-hero-header {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
    position: relative;
    z-index: 100;
}

[dir="rtl"] .about-hero-header {
    justify-content: flex-start;
}

.about-subtitle-top {
    font-family: var(--heading-font);
    color: #5C0606 !important;
    font-size: clamp(1.2rem, 2.5vw, 2.2rem);
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
    display: block !important;
    text-align: left;
    width: 100%;
}

[dir="rtl"] .about-subtitle-top {
    text-align: right;
}

.about-hero-socials {
    display: flex;
    gap: 12px;
}

.hero-social-link {
    width: 32px;
    height: 32px;
    border: 1px solid #5C0606;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hero-social-link img {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(100%) invert(8%) sepia(58%) saturate(5411%) hue-rotate(352deg) brightness(89%) contrast(106%);
    /* This filter makes it approximately #5C0606 */
}

.hero-social-link:hover {
    background-color: #5C0606;
}

.hero-social-link:hover img {
    filter: brightness(0) invert(1);
}

.about-hero-visual-v2 {
    position: relative;
    width: 100%;
}

.about-title-image-v2 img {
    width: 100%;
    height: auto;
    display: block;
}

.about-huge-title.overlay-corner {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 10;
    color: #ffffff;
    font-size: clamp(2rem, 5vw, 4rem);
    margin: 0;
    pointer-events: none;
    font-family: var(--heading-font);
    font-weight: 400;
}

.about-huge-title.overlay-top-right {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 10;
    color: #ffffff;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin: 0;
    pointer-events: none;
    font-family: var(--heading-font);
    font-weight: 400;
    text-transform: uppercase;
}

[dir="rtl"] .about-huge-title.overlay-top-right {
    right: auto;
    left: 40px;
}

[dir="rtl"] .about-huge-title.overlay-corner {
    left: auto;
    right: 40px;
}

.about-hero-description-row {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
}

.about-description {
    font-family: var(--main-font);
    font-size: clamp(1.1rem, 1.6vw, 1.5rem);
    font-weight: 600;
    line-height: 1.5;
    color: #5C0606;
    width: 100%;
    margin: 0;
    opacity: 1;
    letter-spacing: 0.3px;
    text-align: justify;
    text-justify: inter-word;
    word-break: normal;
}

.about-family-section,
/* CEO Message Section */
.about-ceo-section {
    width: 100%;
    padding: 100px 80px;
    background-color: #250000;
    color: #F2EAE2;
    overflow: hidden;
}

.about-ceo-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 40px;
}

@media (min-width: 900px) {
    .about-ceo-container {
        flex-direction: row;
        align-items: flex-end;
        gap: 60px;
    }
}

.ceo-profile {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ceo-signature {
    font-family: var(--main-font);
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 700;
    color: #F2EAE2;
    margin: 0;
}

.ceo-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.1) !important;
    -webkit-filter: brightness(1.1) contrast(1.1) !important;
}

.ceo-quote {
    font-family: var(--main-font);
    font-size: 1.1rem;
    color: #F2EAE2;
    line-height: 1.8;
    margin: 0;
    opacity: 1;
    text-align: justify;
    text-justify: inter-word;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.ceo-message-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.ceo-message-title {
    font-family: var(--heading-font);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: #F2EAE2;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0;
    font-weight: 400;
}

.ceo-message-desc {
    font-family: var(--main-font);
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: #F2EAE2;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
    text-align: justify;
    text-justify: inter-word;
    max-width: 800px;
}

@media (max-width: 899px) {
    .about-ceo-section {
        padding: 80px 20px;
    }
}

.about-title-image-row {
    display: flex;
    align-items: flex-end;
    gap: 40px;
}

.about-huge-title {
    font-family: var(--heading-font);
    font-size: clamp(4rem, 12vw, 10rem);
    line-height: 0.85;
    color: #250000;
    margin: 0;
    white-space: nowrap;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.about-family-section .about-huge-title,
.about-ceo-section .about-huge-title {
    color: #F2EAE2;
}

.about-description.about-desc-half {
    width: 50%;
}

[dir="rtl"] .about-description.about-desc-half {
    width: 50%;
}

@media (max-width: 768px) {
    .about-description.about-desc-half {
        width: 100%;
    }
}

.about-title-image {
    flex: 1;
}

.about-title-image img {
    width: 100%;
    height: auto;
}

.about-description-wide {
    font-family: var(--main-font);
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    line-height: 1.6;
    max-width: 900px;
    align-self: flex-end;
    margin-top: 40px;
    color: #5C0606;
}

.about-family-section .about-description-wide,
.about-ceo-section .about-description-wide {
    color: #F2EAE2;
    opacity: 0.8;
}

.about-banner-text {
    font-family: var(--heading-font);
    font-size: clamp(2rem, 5vw, 4rem);
    text-align: left;
    margin-bottom: 40px;
    width: 100%;
    padding: 0 80px;
    box-sizing: border-box;
}

[dir="rtl"] .about-banner-text {
    text-align: right;
}

.about-banner-image {
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.about-banner-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

/* Full-Width Unfolding Animation - Absolute Right to Left */
.reveal-scroll-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    /* Anchors the unfolding to the right */
    overflow: hidden;
    background: transparent;
    direction: ltr;
}

.reveal-scroll-content {
    width: 0%;
    /* Starts closed from absolute right */
    overflow: hidden;
    transition: width 2.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    justify-content: flex-end;
    /* Pins image content to the right edge during reveal */
}

.reveal-scroll-wrapper.active .reveal-scroll-content {
    width: calc(100% - 80px);
    /* Leaves a margin/padding of 80px on the left */
}

@media (max-width: 768px) {
    .reveal-scroll-wrapper.active .reveal-scroll-content {
        width: calc(100% - 20px);
        /* Smaller margin for mobile devices */
    }
}

.reveal-scroll-content img {
    width: calc(100vw - 80px);
    /* Keeps image size constant based on reveal width */
    height: clamp(400px, 60vh, 800px);
    display: block;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .reveal-scroll-content img {
        width: calc(100vw - 20px);
    }
}

.about-description-center {
    width: 50%;
    padding: 0 80px;
    box-sizing: border-box;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 700;
    line-height: 1.5;
    color: inherit;
    text-align: justify;
    display: block;
    margin: 40px 0;
}

[dir="rtl"] .about-description-center {
    margin-left: 50%;
    text-align: justify;
}

.about-family-section .about-cta-link {
    display: block;
    width: 100%;
    padding: 0 80px;
    box-sizing: border-box;
    text-align: left;
}

[dir="rtl"] .about-family-section .about-cta-link {
    text-align: right;
}

@media (max-width: 900px) {

    .about-banner-text,
    .about-description-center,
    .about-family-section .about-cta-link {
        padding: 0 20px;
        width: 100%;
        margin-left: 0;
    }
}

.split-layout {
    display: flex;
    flex-direction: row;
    gap: 80px;
    align-items: center;
}

@media (max-width: 768px) {
    .split-layout {
        flex-direction: column;
        gap: 40px;
    }
}

/* Our Values Section V2 */
.about-values-section {
    background-color: #F2EAE2;
    width: 100%;
    overflow: hidden;
}

.about-values-container {
    display: flex;
    flex-direction: column;
}

@media (min-width: 900px) {
    .about-values-container {
        flex-direction: row;
        align-items: stretch;
        gap: 80px;
    }
}

.about-values-left {
    flex: 0.5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 899px) {
    .about-values-left {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

.about-values-description {
    font-family: var(--main-font);
    font-size: clamp(1.1rem, 1.3vw, 1.25rem);
    color: #5C0606;
    line-height: 1.8;
    max-width: 450px;
    margin-bottom: 60px;
    margin-top: 0;
    text-align: justify;
}

.about-values-title {
    font-family: var(--heading-font);
    font-size: clamp(4rem, 8vw, 8.5rem);
    color: #5C0606;
    line-height: 0.95;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 40px;
}

.about-values-right {
    flex: 0.5;
    display: flex;
    flex-direction: column;
}

.about-values-img-wrapper {
    width: 100%;
    flex: 1;
    min-height: 50vh;
}

.about-values-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-values-right-content {
    padding: 40px 0;
    max-width: 600px;
}

.about-values-subtitle {
    font-family: var(--main-font);
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
    color: #5C0606;
    text-transform: uppercase;
    line-height: 1.6;
    margin-bottom: 30px;
}

.about-vertical-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: var(--heading-font);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

/* Strategic Plan Section */
.about-strategic-section {
    background-color: #250000;
    width: 100%;
    padding: 80px 0;
    overflow: hidden;
}

.about-strategic-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (min-width: 900px) {
    .about-strategic-container {
        padding: 0 80px;
    }
}

.about-strategic-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    width: 100%;
}

[dir="rtl"] .about-strategic-header {
    justify-content: flex-start;
}

.about-strategic-socials {
    display: flex;
    gap: 12px;
}

.strategic-social-link {
    width: 32px;
    height: 32px;
    border: 1px solid #F2EAE2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.strategic-social-link img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.strategic-social-link:hover {
    background-color: #F2EAE2;
}

.strategic-social-link:hover img {
    filter: brightness(0) saturate(100%) invert(8%) sepia(58%) saturate(5411%) hue-rotate(352deg) brightness(89%) contrast(106%);
}

.about-strategic-visual {
    position: relative;
    width: 100%;
}

.about-strategic-img {
    width: 100%;
    height: clamp(400px, 70vh, 800px);
    object-fit: cover;
    display: block;
}

.about-strategic-title-overlay {
    position: absolute;
    top: 40px;
    left: 40px;
    font-family: var(--heading-font);
    font-size: clamp(3rem, 6vw, 6.5rem);
    color: #ffffff;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
    z-index: 10;
    font-weight: 400;
}

[dir="rtl"] .about-strategic-title-overlay {
    left: auto;
    right: 40px;
}



.about-strategic-desc-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    font-family: var(--main-font);
    font-size: clamp(1.1rem, 1.3vw, 1.25rem);
    color: #5C0606;
    line-height: 1.6;
    margin: 0;
    max-width: 450px;
    z-index: 10;
    font-weight: 600;
    text-align: justify;
}

[dir="rtl"] .about-strategic-desc-overlay {
    left: auto;
    right: 40px;
}

@media (max-width: 768px) {
    .about-strategic-title-overlay {
        top: 20px;
        left: 20px;
        font-size: clamp(2rem, 8vw, 3rem);
    }

    [dir="rtl"] .about-strategic-title-overlay {
        right: 20px;
    }

    .about-strategic-desc-overlay {
        bottom: 20px;
        left: 20px;
    }

    [dir="rtl"] .about-strategic-desc-overlay {
        right: 20px;
    }
}

/* Discover Section */
.about-discover-section {
    width: 100%;
    overflow: hidden;
}

.about-discover-container {
    display: flex;
    flex-direction: column;
}

@media (min-width: 900px) {
    .about-discover-container {
        flex-direction: row;
        align-items: stretch;
        gap: 80px;
    }
}

.about-discover-left {
    flex: 0.45;
    position: relative;
}

.about-discover-img {
    width: 100%;
    height: 100%;
    min-height: 50vh;
    object-fit: cover;
    display: block;
}

.about-discover-right {
    flex: 0.55;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
    max-width: 800px;
}

.discover-header {
    margin-bottom: 60px;
}

.discover-title {
    font-family: var(--heading-font);
    font-size: clamp(3rem, 5vw, 5rem);
    color: #5C0606;
    line-height: 1;
    margin: 0 0 30px 0;
    text-transform: uppercase;
    font-weight: 400;
}

.discover-desc {
    font-family: var(--main-font);
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    color: #5C0606;
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
    text-align: justify;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--main-font);
    font-size: clamp(3.5rem, 6vw, 5rem);
    font-weight: 700;
    color: #5C0606;
    line-height: 1;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
}

.stat-number span {
    font-family: var(--main-font);
}

.stat-label {
    font-family: var(--main-font);
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    color: #5C0606;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    font-weight: 600;
    letter-spacing: 1px;
}

.stat-desc {
    font-family: var(--main-font);
    font-size: 0.95rem;
    color: #5C0606;
    line-height: 1.6;
    margin: 0;
    opacity: 0.8;
    text-align: justify;
    text-justify: inter-word;
}

@media (max-width: 899px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* About Page Buttons */
.about-btn {
    border-color: currentColor !important;
    margin-top: 20px;
    align-self: flex-start;
}

.about-btn::before {
    background-color: #F2EAE2 !important;
    /* Fill color on hover */
}

.about-btn:hover h1.button-text {
    color: #000000 !important;
    /* Text color on hover */
}

/* Specific button colors for light/dark background sections */
.about-family-section .about-btn,
.about-strategic-section .about-btn,
.about-ceo-section .about-btn {
    border-color: #F2EAE2 !important;
}

.about-family-section .about-btn h1.button-text,
.about-strategic-section .about-btn h1.button-text,
.about-ceo-section .about-btn h1.button-text {
    color: #F2EAE2 !important;
}

.about-family-section .about-btn::before,
.about-strategic-section .about-btn::before,
.about-ceo-section .about-btn::before {
    background-color: #F2EAE2 !important;
}

.about-family-section .about-btn:hover h1.button-text,
.about-strategic-section .about-btn:hover h1.button-text,
.about-ceo-section .about-btn:hover h1.button-text {
    color: #250000 !important;
}

.about-at-tiraz-section .about-btn,
.about-values-section .about-btn {
    border-color: #5C0606 !important;
}

.about-at-tiraz-section .about-btn h1.button-text,
.about-values-section .about-btn h1.button-text {
    color: #5C0606 !important;
}

.about-at-tiraz-section .about-btn::before,
.about-values-section .about-btn::before {
    background-color: #5C0606 !important;
}

.about-at-tiraz-section .about-btn:hover h1.button-text,
.about-values-section .about-btn:hover h1.button-text {
    color: #F2EAE2 !important;
}

[dir="rtl"] .about-btn {
    align-self: flex-end;
}


@media (max-width: 1024px) {

    .about-welcome-section,
    .about-at-tiraz-section,
    .about-values-section,
    .about-studio-section {
        padding: 120px 40px 60px;
    }

    .about-huge-title {
        font-size: 8rem;
    }

    .about-huge-title.overlay-corner {
        font-size: 3rem;
        top: 30px;
        left: 30px;
    }
}

@media (max-width: 768px) {

    .about-welcome-section,
    .about-at-tiraz-section,
    .about-values-section,
    .about-discover-section,
    .about-studio-section {
        padding: 100px 20px 40px;
    }

    .about-hero-header {
        justify-content: flex-end;
        align-items: center;
        margin-bottom: 10px;
    }

    .about-huge-title {
        font-size: 5rem;
    }

    .about-huge-title.overlay-corner {
        font-size: 2rem;
        top: 20px;
        left: 20px;
    }

    [dir="rtl"] .about-huge-title.overlay-corner {
        right: 20px;
    }

    .about-subtitle-top {
        font-size: 1.5rem;
        /* margin-bottom: 20px; */
        color: #4a0000;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .about-hero-description-row {
        justify-content: flex-start;
        margin-top: 15px;
    }
}


.description-studio {
    font-size: 1.1rem;
}

/* =========================================
   SERVICES PAGE STYLES
   ========================================= */

.services-hero-section {
    width: 100%;
    min-height: 100vh;
    background-color: #250000;
    padding-top: 150px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    /* Prevent horizontal scroll from breakout */
}

.services-hero-container {
    width: 100%;
    max-width: 1600px;
    display: flex;
    gap: 80px;
    padding: 0 40px;
    margin: 0 auto;
    align-items: stretch;
}

.services-hero-visual {
    width: 60%;
    position: relative;
    min-height: 75vh;
    /* Break out to the absolute left edge of the screen */
    margin-left: calc((100vw - 100%) / -2 - 40px);
    width: calc(60% + (100vw - 100%) / 2 + 40px);
}

.services-hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.services-hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RTL Layout Breakout */
[dir="rtl"] .services-hero-visual {
    margin-left: 0;
    margin-right: calc((100vw - 100%) / -2 - 40px);
    width: calc(60% + (100vw - 100%) / 2 + 40px);
}

.services-huge-title {
    font-family: var(--heading-font);
    color: #250000;
    margin: 0;
    font-weight: 500;
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 15;
    font-size: clamp(2rem, 5vw, 4rem);
    text-transform: uppercase;
    pointer-events: none;
    font-size: 1.5rem;
}

[dir="rtl"] .services-huge-title {
    right: auto;
    left: 40px;
}

.services-hero-content {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.services-hero-heading {
    font-family: var(--heading-font);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #F2EAE2;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.services-hero-bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.services-hero-subtitle {
    font-family: var(--main-font);
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    color: #F2EAE2;
    font-weight: 400;
    text-transform: uppercase;
    opacity: 0.8;
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.services-hero-btn {
    border-color: #F2EAE2 !important;
    align-self: flex-start;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.9s;
}

.services-hero-btn h1.button-text {
    color: #F2EAE2 !important;
}

.services-hero-btn::before {
    background-color: #F2EAE2 !important;
}

.services-hero-btn:hover h1.button-text {
    color: #250000 !important;
}

/* Reveal Animations for Services */
.services-hero-section.animate .services-hero-heading,
.services-hero-section.animate .services-hero-subtitle,
.services-hero-section.animate .services-hero-btn {
    opacity: 1;
    transform: translateY(0);
}

/* RTL Layout */
[dir="rtl"] .services-hero-container {
    flex-direction: row-reverse !important;
}

[dir="rtl"] .services-hero-content {
    text-align: right !important;
}

[dir="rtl"] .services-hero-btn {
    align-self: flex-end !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-hero-section {
        padding-top: 150px;
        min-height: auto;
    }

    .services-hero-container {
        flex-direction: column;
    }

    .services-hero-visual {
        width: 100%;
        height: 50vh;
    }

    .services-hero-content {
        width: 100%;
        gap: 40px;
    }

    [dir="rtl"] .services-hero-container {
        flex-direction: column;
    }
}

/* =========================================
   SERVICES CRAFTING SECTION
   ========================================= */

.services-crafting-section {
    width: 100%;
    min-height: 100vh;
    background-color: #F2EAE2;
    display: flex;
    position: relative;
    border-bottom: 10px solid #5C0606;
}

.services-crafting-visual {
    width: 65%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.services-crafting-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-crafting-content {
    position: absolute;
    z-index: 2;
    left: 7%;
    top: 10%;
    bottom: 10%;
    max-width: 28%;
    padding-inline: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.services-crafting-title {
    font-family: var(--heading-font);
    font-size: clamp(1.5rem, 3.5vw, 3rem);
    color: #5C0606;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.services-crafting-bottom {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.services-crafting-desc {
    font-family: var(--main-font);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: #5C0606;
    line-height: 1.6;
    font-weight: 500;
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
    width: 100%;
    /* Take full width of parent container */
}

.services-crafting-btn {
    border-color: #5C0606 !important;
    align-self: flex-start;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.9s;
}

.services-crafting-btn h1.button-text {
    color: #5C0606 !important;
}

.services-crafting-btn::before {
    background-color: #5C0606 !important;
}

.services-crafting-btn:hover h1.button-text {
    color: #F2EAE2 !important;
}

/* Animations */
.services-crafting-section.animate .services-crafting-title,
.services-crafting-section.animate .services-crafting-desc,
.services-crafting-section.animate .services-crafting-btn {
    opacity: 1;
    transform: translateY(0);
}

/* RTL Layout */
[dir="rtl"] .services-crafting-visual {
    right: auto;
    left: 0;
}

[dir="rtl"] .services-crafting-content {
    left: auto;
    right: 7%;
}

[dir="rtl"] .services-crafting-desc {
    text-align: justify;
}

[dir="rtl"] .services-crafting-btn {
    align-self: flex-end;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-crafting-section {
        flex-direction: column;
        min-height: auto;
        border-bottom: none;
    }

    .services-crafting-visual {
        position: relative;
        width: 100%;
        height: 50vh;
        order: 1;
    }

    .services-crafting-content {
        position: relative;
        width: 100%;
        max-width: 100%;
        left: 0;
        top: 0;
        bottom: 0;
        padding: 60px 40px;
        order: 2;
        gap: 40px;
    }

    [dir="rtl"] .services-crafting-content {
        right: 0;
    }

    .services-crafting-desc {
        width: 100%;
    }
}

/* =========================================
   DESIGN SERVICES SECTION (GRID)
   ========================================= */

.design-services-section {
    width: 100%;
    background-color: #F2EAE2;
    padding: 100px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.design-services-header {
    width: 100%;
    max-width: 1600px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 40px;
}

.design-services-title {
    font-family: var(--heading-font);
    font-size: clamp(2rem, 4.5vw, 4rem);
    color: #5C0606;
    line-height: 1.1;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
    width: 30%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.design-services-desc {
    font-family: var(--main-font);
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    color: #5C0606;
    line-height: 1.6;
    font-weight: 500;
    margin: 0;
    width: 50%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
    text-align: justify;
}

.design-services-grid {
    width: 100%;
    max-width: 1600px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    row-gap: 60px;
}

/* Card Styling */
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.design-services-section.animate .design-services-title,
.design-services-section.animate .design-services-desc,
.design-services-section.animate .service-card {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger card animations */
.design-services-section.animate .service-card:nth-child(1) {
    transition-delay: 0.3s;
}

.design-services-section.animate .service-card:nth-child(2) {
    transition-delay: 0.4s;
}

.design-services-section.animate .service-card:nth-child(3) {
    transition-delay: 0.5s;
}

.design-services-section.animate .service-card:nth-child(4) {
    transition-delay: 0.6s;
}

.design-services-section.animate .service-card:nth-child(5) {
    transition-delay: 0.7s;
}

.design-services-section.animate .service-card:nth-child(6) {
    transition-delay: 0.8s;
}

.service-card-img-wrapper {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.service-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-card:hover .service-card-img-wrapper img {
    transform: scale(1.05);
}

.service-card-content {
    background-color: #EFE4D8;
    padding: 25px 30px;
    margin-top: -60px;
    /* Overlap the image */
    margin-left: 20px;
    margin-right: 20px;
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
    min-height: 140px;
    display: flex;
    flex-direction: column;
}

.service-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.service-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.service-card-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.service-card-icon svg {
    width: 42px;
    height: 42px;
    color: #5C0606;
    stroke: #5C0606;
    flex-shrink: 0;
}

/* White icons on dark panel backgrounds */
.service-panel .service-card-icon svg {
    stroke: #F2EAE2;
    color: #F2EAE2;
}

.service-card-number {
    font-family: var(--heading-font);
    font-size: 1.6rem;
    color: #5C0606;
}

.service-card-title {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: #5C0606;
    margin: 0;
    text-transform: uppercase;
    font-weight: 400;
}

/* Hover Content - Initially Hidden */
.service-card-hover-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    margin-top: 0;
}

.service-card:hover .service-card-hover-content {
    max-height: 300px;
    opacity: 1;
    margin-top: 20px;
}

.service-card-text {
    font-family: var(--main-font);
    font-size: 1rem;
    color: #5C0606;
    line-height: 1.5;
    margin-bottom: 25px;
    opacity: 0.9;
    text-align: justify;
}

.service-card-btn {
    border-color: #5C0606 !important;
    border-radius: 50px;
    padding: 8px 24px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.service-card-btn h1.button-text {
    color: #5C0606 !important;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

.service-card-btn::before {
    background-color: #5C0606 !important;
    border-radius: 50px;
}

.service-card-btn:hover h1.button-text {
    color: #F2EAE2 !important;
}

/* RTL Layout */
[dir="rtl"] .design-services-header {
    flex-direction: row !important;
}

[dir="rtl"] .design-services-title {
    text-align: right !important;
}

[dir="rtl"] .design-services-desc {
    text-align: justify !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .design-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .design-services-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .design-services-title,
    .design-services-desc {
        width: 100%;
    }

    [dir="rtl"] .design-services-header {
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .design-services-grid {
        grid-template-columns: 1fr;
    }

    .service-card-content {
        margin-left: 10px;
        margin-right: 10px;
    }
}

/* =========================================
   PORTFOLIO HERO SLIDER
   ========================================= */

.portfolio-hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

.portfolio-hero-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.portfolio-hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.portfolio-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 6s ease;
}

.portfolio-hero-slide.active .portfolio-hero-img {
    transform: scale(1);
}

.portfolio-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 2;
}

.portfolio-hero-content {
    position: absolute;
    bottom: 50px;
    left: 40px;
    right: 40px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

[dir="rtl"] .portfolio-hero-content {
    /* flex-direction: row-reverse; */
    /* Removed to allow natural RTL flow */
}

.portfolio-hero-text {
    transform: translateY(30px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
    text-align: left;
}

[dir="rtl"] .portfolio-hero-text {
    text-align: right;
}

.portfolio-hero-slide.active .portfolio-hero-text {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-hero-title {
    font-family: var(--heading-font);
    font-size: clamp(3rem, 6vw, 5rem);
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1;
    text-transform: uppercase;
}

.portfolio-hero-location {
    font-family: var(--main-font);
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    color: #fff;
    margin: 0;
    opacity: 0.8;
}

.portfolio-hero-action {
    transform: translateY(30px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s;
}

.portfolio-hero-slide.active .portfolio-hero-action {
    transform: translateY(0);
    opacity: 1;
}

.view-project-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #fff;
}

[dir="rtl"] .view-project-link {
    /* flex-direction: row-reverse; */
}

.view-project-text {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    text-transform: uppercase;
}

.view-project-arrow {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    transform: rotate(-90deg);
    /* default pointing right */
    transition: transform 0.3s ease;
}

[dir="rtl"] .view-project-arrow {
    transform: rotate(90deg);
    /* pointing left */
}

.view-project-link:hover .view-project-arrow {
    transform: rotate(-90deg) translateX(5px);
}

[dir="rtl"] .view-project-link:hover .view-project-arrow {
    transform: rotate(90deg) translateX(5px);
}

.portfolio-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    /* background-color: rgba(255, 255, 255, 0.8); */
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.portfolio-hero-nav:hover {
    background-color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.portfolio-hero-nav svg {
    width: 24px;
    height: 24px;
    fill: #250000;
}

[dir="rtl"] .portfolio-hero-nav svg {
    transform: rotate(180deg);
}

.portfolio-hero-nav.prev {
    left: 20px;
}

[dir="rtl"] .portfolio-hero-nav.prev {
    left: auto;
    right: 20px;
}

.portfolio-hero-nav.next {
    right: 20px;
}

[dir="rtl"] .portfolio-hero-nav.next {
    right: auto;
    left: 20px;
}

/* =========================================
   PORTFOLIO GRID SECTION
   ========================================= */

.portfolio-grid-section {
    background-color: #F2EAE2;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portfolio-grid-header {
    width: 100%;
    max-width: 1600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 60px;
    gap: 30px;
    padding: 0 40px;
}

.portfolio-grid-title {
    font-family: var(--heading-font);
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: #5C0606;
    margin: 0;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.portfolio-grid-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.portfolio-filter-btn {
    border-color: #5C0606 !important;
}

.portfolio-filter-btn h1.button-text {
    color: #5C0606 !important;
    font-size: 0.9rem;
}

.portfolio-filter-btn::before {
    background-color: #5C0606 !important;
}

.portfolio-filter-btn.active::before {
    transform: translateY(0);
    /* Always filled if active */
}

.portfolio-filter-btn.active h1.button-text,
.portfolio-filter-btn:hover h1.button-text {
    color: #F2EAE2 !important;
}

.portfolio-grid-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 60px;
}

.portfolio-grid-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.portfolio-grid-item.hidden {
    display: none;
}

.portfolio-grid-img-wrapper {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.portfolio-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-grid-item:hover .portfolio-grid-img {
    transform: scale(1.05);
}

.portfolio-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(92, 6, 6, 0.8) 0%, rgba(92, 6, 6, 0) 60%);
    opacity: 0.8;
    /* Made always partially visible for text readability */
    transition: opacity 0.4s ease;
}

.portfolio-grid-item:hover .portfolio-grid-overlay {
    opacity: 1;
}

.portfolio-grid-content {
    position: absolute;
    bottom: 40px;
    left: 60px;
    right: 60px;
    z-index: 2;
    transform: translateY(0);
    /* Always in position */
    opacity: 1;
    /* Always visible */
}

[dir="rtl"] .portfolio-grid-content {
    text-align: right;
}

.portfolio-grid-item-title {
    font-family: var(--heading-font);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #F2EAE2;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.portfolio-grid-item-location {
    font-family: var(--main-font);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: #F2EAE2;
    margin: 0;
    opacity: 0.9;
}

/* Grid item as link */
a.portfolio-grid-item {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

/* Hover CTA label on grid cards */
.portfolio-grid-hover-cta {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(242, 234, 226, 0.12);
    border: 1px solid rgba(242, 234, 226, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #F2EAE2;
    font-family: var(--heading-font);
    font-size: 0.65rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 10px 18px;
    border-radius: 50px;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
    pointer-events: none;
}

[dir="rtl"] .portfolio-grid-hover-cta {
    right: auto;
    left: 30px;
}

.portfolio-grid-item:hover .portfolio-grid-hover-cta {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.portfolio-page-btn {
    width: 40px;
    height: 40px;
    border: none;
    background-color: transparent;
    color: #5C0606;
    font-family: var(--main-font);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.portfolio-page-btn.active,
.portfolio-page-btn:hover:not(:disabled) {
    background-color: #5C0606;
    color: #F2EAE2;
}

.portfolio-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 1024px) {
    .portfolio-grid-container {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .portfolio-grid-container {
        display: flex;
        flex-direction: column;
    }

    .portfolio-hero-nav {
        display: none;
    }

    .portfolio-hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        left: 20px;
        right: 20px;
        bottom: 30px;
    }

    [dir="rtl"] .portfolio-hero-content {
        align-items: flex-end;
    }

    .portfolio-grid-header {
        padding: 0 20px;
    }

    .portfolio-grid-content {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
}

/* =========================================
   SUCCESS MODAL POPUP
   ========================================= */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.success-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-modal-content {
    background: #F2EAE2;
    padding: 40px;
    border-radius: 0;
    /* Keep it sharp and cinematic */
    text-align: center;
    max-width: 450px;
    width: 90%;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(92, 6, 6, 0.2);
}

.success-modal-overlay.active .success-modal-content {
    transform: translateY(0) scale(1);
}

.success-modal-icon {
    width: 80px;
    height: 80px;
    background: #5C0606;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.success-modal-title {
    font-family: var(--heading-font);
    color: #5C0606;
    font-size: 2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.success-modal-text {
    font-family: var(--main-font);
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 35px;
    line-height: 1.6;
    text-align: justify;
}

.success-modal-btn {
    width: 100%;
    justify-content: center;
    border-color: #5C0606 !important;
}

.success-modal-btn .button-text {
    color: #5C0606 !important;
    font-size: 1.1rem;
    font-weight: 700;
}

.success-modal-btn::before {
    background-color: #5C0606 !important;
}

.success-modal-btn:hover .button-text {
    color: #F2EAE2 !important;
}

/* =========================================
   LOADER GSAP REVEAL
   ========================================= */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100svh;
    z-index: 99999;
    display: block;
}

.loader__line {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background: #332820;
    transform: translateX(-50%);
}

.loader__line:nth-child(1) {
    left: 5%;
}

.loader__line:nth-child(2) {
    left: 95%;
}

.loader__line_thick {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: #332820;
    transform: translateX(-50%);
}

.loader__circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 550px;
    height: 350px;
    background: #FBEEDB;
    transform: translate(-50%, -50%);
}

.loader__circle img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    height: 90%;
    transform: translate(-50%, -50%);
    padding: 0px;
}

.curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 50vw;
    height: 100svh;
    background: #FBEEDB;
    z-index: -1;
}

.curtain:last-child {
    left: 50%;
}

/* =============================================
 * HOLDING COMPANY SECTION (About Us page)
 * ============================================= */
.holding-section {
    width: 100%;
    background-color: #250000;
    padding: 80px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.holding-container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.holding-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.holding-title-ar {
    font-family: 'HT-Journal', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #F2EAE2;
    font-weight: 400;
    margin: 0;
    line-height: 1.2;
}

.holding-title-en {
    font-family: var(--heading-font);
    font-size: clamp(1.5rem, 3.5vw, 2.8rem);
    color: #F2EAE2;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin: 0;
    opacity: 0.9;
}

.holding-logo {
    margin-top: 16px;
}

.holding-logo-img {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.holding-divider {
    width: 60px;
    height: 2px;
    background-color: #F2EAE2;
    opacity: 0.3;
}

.holding-subtitle {
    font-family: 'HT-Journal', var(--heading-font), sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: #F2EAE2;
    opacity: 0.85;
    letter-spacing: 0.1em;
    margin: 0;
}

.holding-companies {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: 30px 50px;
    width: 100%;
    padding-top: 10px;
}

.holding-company {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.85;
    transition: opacity 0.3s ease;
    max-width: 200px;
    text-align: center;
}

.holding-company:hover {
    opacity: 1;
}

.holding-company-logo {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: screen;
}

.holding-company-name {
    font-family: var(--main-font);
    font-size: 0.75rem;
    color: #F2EAE2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
}

.holding-company-text-logo {
    font-family: var(--heading-font);
    font-size: clamp(1rem, 1.8vw, 1.5rem);
    color: #F2EAE2;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-align: center;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
}

.holding-company-text-logo small {
    display: block;
    font-size: 0.55em;
    letter-spacing: 0.1em;
    opacity: 0.7;
    font-weight: 400;
    white-space: normal;
    text-align: center;
}

.holding-company-text-logo.cavoya {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    letter-spacing: 0.08em;
}

.holding-company-text-logo.resakh {
    font-family: 'HT-Journal', var(--heading-font), sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.5rem);
    white-space: normal;
}

.holding-company-text-logo.buildboom {
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .holding-section {
        padding: 60px 20px;
    }

    .holding-companies {
        gap: 30px 40px;
    }
}

/* Holding Section — CSS-only animation (no JS observer) */

/* Holding section — simple CSS animation, no JS observer needed */
@keyframes holdingFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.holding-section .holding-header {
    animation: holdingFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.holding-section .holding-divider {
    animation: holdingFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.holding-section .holding-subtitle {
    animation: holdingFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.holding-section .holding-company:nth-child(1) {
    animation: holdingFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.holding-section .holding-company:nth-child(2) {
    animation: holdingFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.0s both;
}

.holding-section .holding-company:nth-child(3) {
    animation: holdingFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.2s both;
}

.holding-section .holding-company:nth-child(4) {
    animation: holdingFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.4s both;
}

/* In about-us page, inspired-section should NOT be sticky
   (sticky only works inside featured-projects-wrapper / services-wrapper) */
.about-studio-section~.inspired-section,
.inspired-section+.holding-section {
    /* ensure holding section is visible */
}

/* Fix: inspired-section outside a sticky wrapper should be position relative */
main>.inspired-section {
    position: relative;
    top: auto;
    z-index: auto;
    height: auto;
}

/* Divider between sections */
.sections-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(242, 234, 226, 0.15);
    background-color: #250000;
    position: relative;
}

.sections-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(242, 234, 226, 0.3), transparent);
}

/* Custom class for blurred transparent navigation arrows */
.hero-nav-glass {
    background-color: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-nav-glass:hover {
    background-color: rgba(255, 255, 255, 0.3) !important;
}