@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap");
@import url("../css/about.css");
:root {
    --ar-font: "Tajawal", sans-serif;
    --base-100: #2e2e2e;
    --base-200: #909090;
    --base-300: #f5f5f5;
    --accent: #D47328;
}
body {
    font-family: var(--ar-font);
    direction: rtl;
    text-align: right;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
a,
span,
label,
input,
textarea,
button,
.logo-text,
.menu-brand,
.banner-headline,
.banner-headline span,
.story-headline,
.vm-title,
.vm-subtitle,
.bento-card h3,
.bento-card p,
.timeline-date,
.timeline-content p,
.card-num,
.card-title,
.card-desc,
.why-massive-title,
.why-advanced-desc,
.why-small-text,
.menu-link-item a,
.btn-label span,
.apart-list li,
.hero-badge span,
.small-label,
.hero-actions a,
.hero-actions button,
em, i, cite, q, address {
    font-family: var(--ar-font) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    font-style: normal !important;
}
.banner-headline,
.story-headline,
.vm-title,
.bento-card h3,
.card-title,
.why-massive-title {
    font-weight: 800;
    letter-spacing: 0;
    line-height: 7.5rem;
}


.timeline-date,
.card-num {
    font-family: var(--ar-font) !;
    letter-spacing: 0;
    text-transform: none;
    font-style: normal;
}
.top-logo {
    left: auto;
    right: 3.2rem;
}
@media (max-width: 1200px) {
    .top-logo {
        right: 0 !important;
        left: 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
    .banner-headline,
.story-headline,
.vm-title,
.bento-card h3,
.card-title,
.why-massive-title{
    line-height: 5.5rem;
    }

}

@media (max-width: 750px) {
    .banner-headline,
.story-headline,
.vm-title,
.bento-card h3,
.card-title,
.why-massive-title{
    line-height: 3.5rem;
    }

}
.banner-section {
    height: 100vh !important;
    min-height: 100vh;
    max-height: 100vh;
    margin: 1rem !important;
    border-radius: 3.5rem !important;
    padding: 2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden;
}
.banner-headline {
    font-size: clamp(2.2rem, 6vw, 4.8rem) !important;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    max-width: 1000px;
}
.banner-desc {
    font-size: clamp(0.95rem, 1.4vw, 1.15rem) !important;
    max-width: 650px !important;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
@media (max-width: 640px) {
    .banner-section {
        min-height: 98.5vh ;
        margin: 0.5rem !important;
        padding: 1.5rem !important;
        border-radius: 2rem !important;
    }
    .banner-headline {
        font-size: clamp(1.8rem, 10vw, 2.5rem) !important;
    }
    .banner-desc {
        font-size: 0.95rem !important;
    }
}
.hero-badge {
    flex-direction: row-reverse;
}
.hero-actions {
    flex-direction: row-reverse;
}
.btn-premium {
    padding: 0.5rem 2.5rem 0.5rem 0.5rem;
    flex-direction: row-reverse;
}
.btn-premium .btn-icon ion-icon {
    transform: scaleX(-1);
}
@media (max-width: 640px) {
    .hero-actions {
        flex-direction: column;
    }
    .btn-premium {
        flex-direction: row-reverse;
        justify-content: center;
    }
}
.btn {
    padding: 0.4rem 0.4rem 0.4rem 1.8rem;
}
.menu-btn {
    position: fixed;
    bottom: clamp(1.5rem, 5vw, 2.5rem); 
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index: 20000 !important;
    transition: opacity 0.4s ease;
    transform: none !important;
    will-change: bottom;
}
.menu-btn .btn {
    pointer-events: auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem; 
    padding: 0.5rem 2rem 0.5rem 0.5rem; 
    border-radius: 4rem;
    background-color: #f5f5f5;
    color: #181717;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: none;
    width: max-content;
    text-decoration: none;
}
.btn-icon {
    width: 3rem; 
    height: 3rem;
    background-color: #D47328;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    border-radius: 50%;
    transition: transform 0.4s ease;
}
.menu-btn.active .btn {
    background-color: #f5f5f5;
    color: #181717;
}
.btn:hover {
    background-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.btn:hover .btn-icon {
    transform: scale(1.1); 
}
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    background-color: var(--base-200); 
    z-index: 10000;
    display: flex;
    padding: 0;
    gap: 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); 
    pointer-events: none;
}
.menu-left {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 3.5rem; 
    padding: 2.5rem 1.5rem 2.5rem 0;
    color: #ffffff;
}
.menu-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
}
.menu-link-item {
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); 
}
.menu-link-item:first-child { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.menu-link-item a {
    display: flex;
    align-items: center;
    justify-content: center; 
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(1.2rem, 4vw, 4rem); 
    font-weight: 400;
    line-height: 1;
    padding: 0.35em 0;
    transform: translateY(110%);
    transition: color 0.3s ease;
    position: relative; 
}
.menu-link-item a:hover { color: #D47328; }
.menu-link-item a sup {
    position: absolute;
    right: 0; 
    left: auto;
    font-size: clamp(1rem, 2.2vw, 2rem);
    opacity: 0.6;
    font-family: "Host Grotesk", sans-serif;
}
.menu-brand {
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4); 
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.menu-footer {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.social-links { display: flex; gap: 0.6rem; }
.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem; 
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.5); 
    font-size: 1.2rem;
    transition: all 0.4s ease;
}
.social-icon:hover {
    border-color: #D47328;
    color: #D47328;
    transform: translateY(-5px); 
}
.menu-right {
    flex: 0.75;
    border-radius: 3rem;
    overflow: hidden;
    background: #222;
}
@media (max-width: 900px) {
    .menu-right { flex: 0.5; border-radius: 2rem; }
    .menu-left { gap: 3rem; }
}
@media (max-width: 640px) {
    .menu-right { display: none; }
    .menu-left { 
        flex: 1; 
        padding: 3rem 1.5rem 8rem; 
        justify-content: space-between; 
        height: 100%;
    }
    .menu-links { flex: 1; display: flex; flex-direction: column; justify-content: center; }
    .menu-link-item a { font-size: clamp(1.4rem, 8vw, 2.5rem); padding: 0.8em 0; } 
}
.timeline-line {
    right: 0.65rem;
    left: auto;
}
.timeline-item {
    padding-right: 4rem;
    padding-left: 0;
}
.timeline-node {
    right: -0.1rem;
    left: auto;
}
.timeline-date {
    letter-spacing: 0;
}
.timeline-content p {
    font-size: 1.2rem;
    line-height: 1.9;
}
@media (max-width: 640px) {
    .timeline-line {
        right: 0.5rem;
        left: auto;
    }
    .timeline-node {
        right: -0.25rem;
        left: auto;
    }
    .timeline-item {
        padding-right: 2.5rem;
        padding-left: 0;
    }
}
@media (max-width: 640px) {
    .timeline-item {
        padding-left: 0 !important;
        padding-right: 2.5rem !important;
    }
    .timeline-line {
        left: auto !important;
        right: 0.5rem !important;
    }
    .timeline-node {
        left: auto !important;
        right: -0.2rem !important;
    }
}
.bento-card p {
    line-height: 1.85;
    font-size: 1rem;
}
.apart-list li {
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.apart-list li ion-icon {
    margin-left: 0;
    margin-right: 0;
}
.card-inner {
    flex-direction: row-reverse;
}
.card-reversed {
    flex-direction: row;
}
.card-desc {
    line-height: 1.9;
    font-size: 1.1rem;
}
.card-title {
    letter-spacing: 0;
    font-size: 2.4rem;
    line-height: 1.3;
}
.card-num {
    letter-spacing: 0;
    font-family: var(--ar-font);
}
p,
li,
.footer-about {
    line-height: 1.85;
    font-size: 1.05rem;
}
.hero-badge {
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.9rem;
}
.why-small-text {
    text-transform: none;
    letter-spacing: 0;
}
.why-advanced-desc {
    font-size: 1.5rem !important;
    opacity: 1 !important;
    line-height: 1.7 !important;
    color: #ffffffae !important;
    font-weight: 500;
    max-width: 850px;
}
.vm-subtitle {
    text-transform: none;
    letter-spacing: 0;
}
.story-left {
    padding-left: 0;
    padding-right: 0;
}
.story-sticky {
    position: relative; 
    top: auto;
    width: 100%;
    padding-left: 3rem; 
}
.timeline-wrapper {
    padding-right: 2rem;
    padding-left: 0;
}
.timeline-line {
    left: auto;
    right: 0.65rem;
}
.timeline-item {
    padding-left: 0;
    padding-right: 4rem;
    text-align: right;
}
.timeline-node {
    left: auto;
    right: -0.1rem;
}
@media (max-width: 1024px) {
    .story-sticky {
        padding-left: 0;
        margin-bottom: 3rem;
    }
    .timeline-item {
        padding-right: 3rem;
    }
    .timeline-line {
        right: 0.5rem;
    }
    .timeline-node {
        right: -0.2rem;
    }
}
@media (max-width: 640px) {
    .timeline-item {
        padding-right: 2.5rem;
    }
}
.cards-stack-container {
    padding-top: 5rem;
    padding-bottom: 20vh; 
}
.stack-card {
    margin-bottom: 0; 
}
.stack-card {
    height: 70vh; 
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-inner {
    width: 100%;
    height: auto;
    min-height: 50vh;
}
.card-reversed {
    flex-direction: row !important; 
}
.card-left {
    text-align: right;
    padding: 4rem 3rem 4rem 5rem;
}
.card-media {
    position: relative;
    overflow: hidden;
    flex: 0.9;
    min-height: 400px;
    max-height: 500px;
    height: 100%;
    display: flex;
    align-items: stretch;
}
.card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
@media (max-width: 1024px) {
    .why-massive-title {
        font-size: clamp(2.5rem, 8vw, 4rem) !important;
    }
    .cards-stack-container {
        gap: 4vh !important;
    }
    .stack-card {
        height: auto !important;
        position: relative !important;
        top: 0 !important;
        margin-bottom: 2rem;
    }
    .card-inner {
        flex-direction: column !important;
        border-radius: 2.5rem !important;
    }
    .card-left {
        padding: 2.5rem 1.5rem 2rem !important;
        flex: none !important;
        text-align: right !important;
    }
    .card-num {
        font-size: 3.5rem !important;
        margin-bottom: 1rem;
    }
    .card-title {
        font-size: 1.8rem !important;
    }
    .card-media {
        min-height: 300px !important;
        flex: none !important;
    }
}
@media (max-width: 640px) {
    .why-advanced-section {
        padding: 4rem 1.25rem !important;
    }
    .why-advanced-header {
        margin-bottom: 3rem !important;
        position: relative !important;
        top: 0 !important;
    }
    .why-massive-title {
        font-size: 2.2rem !important;
    }
    .why-advanced-desc {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
    }
    .cards-stack-container {
        gap: 2rem !important;
        padding-bottom: 3rem !important;
    }
    .card-inner {
        border-radius: 2rem !important;
    }
    .card-left {
        padding: 2rem 1.25rem 1.5rem !important;
    }
    .card-media {
        min-height: 220px !important;
    }
    .card-num {
        font-size: 2.8rem !important;
    }
    .card-title {
        font-size: 1.5rem !important;
    }
}
html, body {
    font-family: var(--ar-font);
    background-color: var(--base-300);
    color: var(--base-100);
    direction: rtl;
}


.menu-btn .btn-label {
    height: clamp(1.4rem, 2.5vw, 1.8rem) !important;
    display: flex !important;
    align-items: center !important;
}

.menu-btn .btn-label span {
    font-family: 'Tajawal', sans-serif !important;
    line-height: normal !important;
}
