/* ===== Asal Font - Custom Font Faces ===== */
@font-face {
    font-family: 'Asal Arabic ITF';
    src: url('assets/fonts/Asal Arabic ITF light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Asal Arabic ITF';
    src: url('assets/fonts/Asal Arabic ITF Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Asal Arabic ITF';
    src: url('assets/fonts/Asal Arabic ITF Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Asal Arabic ITF';
    src: url('assets/fonts/Asal Arabic ITF Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Asal Arabic ITF';
    src: url('assets/fonts/Asal Arabic ITF Extra Bold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Asal Arabic ITF';
    src: url('assets/fonts/Asal Arabic ITF Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ===== CSS Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global resets for iframes and videos */
iframe, video {
    outline: none !important;
    border: none !important;
}

:focus, :focus-visible, :active {
    outline: none !important;
}

/* ===== Page Loader ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--main-bg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Hide navbar while loader is visible */
body[style*="overflow: hidden"] .navbar {
    display: none;
}

.page-loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

.lottie-loader {
    width: 50vw;
    max-width: 400px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lottie-loader svg {
    width: 100% !important;
    height: auto !important;
    display: block;
    filter: brightness(0) invert(1);
}

:root {
    /* Colors - White Background */
    --primary-black: #0A0A0A;
    --primary-white: #FFFFFF;
    --dark-gray: #1A1A1A;
    --medium-gray: #666666;
    --light-gray: #F5F5F5;

    /* New Gradient Background */
    --main-bg-gradient: linear-gradient(135deg, #341114 0%, #101010 45%, #341114 100%);

    /* Typography - Asal Font */
    --font-arabic: 'Asal Arabic ITF', sans-serif;

    /* Navbar */
    --navbar-height: 75px;
    --navbar-margin: 60px;
    --navbar-padding: 32px;

    /* Container Padding - Matching Baianat */
    --container-padding: 6vw;
    --container-padding-tablet: 8vw;
    --container-padding-mobile: 10px;

    /* Max Widths - Matching Baianat */
    --max-width-desktop: 1272px;
    --max-width-wide: 1810px;
}

html {
    scroll-behavior: auto; /* Lenis handles smooth scroll */
}

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

body {
    font-family: var(--font-arabic);
    background: var(--main-bg-gradient);
    background-attachment: fixed;
    color: var(--primary-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ===== Logo Pattern Background ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('logo.svg');
    background-size: 100vw auto;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.05;
    filter: invert(1);
    pointer-events: none;
    z-index: 0;
}

/* ===== Navigation Bar ===== */
.navbar {
    position: fixed;
    top: 20px;
    right: calc(var(--container-padding) + var(--navbar-margin));
    left: calc(var(--container-padding) + var(--navbar-margin));
    height: var(--navbar-height);
    z-index: 1000;
    pointer-events: none; /* Let clicks pass through empty space between pills */
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0;
    max-width: var(--max-width-wide);
    margin: 0 auto;
    gap: 16px;
}

/* Split Pills */
.nav-main-pill, .nav-cta-pill {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    pointer-events: auto; /* Re-enable clicks */
    display: flex;
    align-items: center;
}

.nav-main-pill {
    flex: 1; /* Take up remaining space */
    justify-content: space-between;
    padding: 10px 24px;
    height: 100%;
}

.nav-cta-pill {
    height: 100%;
    padding: 10px 24px;
    justify-content: center;
    text-decoration: none;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cta-text {
    font-family: var(--font-arabic);
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-black);
}

.cta-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #341114; /* Brand accent color */
    color: var(--primary-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.nav-cta-pill:hover .cta-icon-btn {
    background-color: #4a181d;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}


/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-family: var(--font-arabic);
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-black);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

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

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: calc(var(--navbar-height) + var(--container-padding) + 40px) var(--container-padding);
}

/* Boxed Video Container - Starts below navbar */
.hero-video-boxed {
    position: absolute;
    top: calc(20px + var(--navbar-height) + 20px);
    left: var(--container-padding);
    right: var(--container-padding);
    bottom: 20px;
    z-index: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

/* Video Wrapper for proper cover */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

/* Vimeo Video Iframe - Fill Box with Cover */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none;
    outline: none;
    box-shadow: none;
}

/* Dark Overlay for text readability - Matches Video Box */
.hero-overlay {
    position: absolute;
    top: calc(20px + var(--navbar-height) + 20px);
    right: var(--container-padding);
    left: var(--container-padding);
    bottom: 20px;
    z-index: 1;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

/* Gradient overlay at bottom of video */
.hero-video-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, #0A0A0A 0%, rgba(10, 10, 10, 0) 100%);
    pointer-events: none;
    z-index: 2;
    border-radius: 0 0 8px 8px;
}

.hero-content {
    position: absolute;
    top: calc(20px + var(--navbar-height) + 20px);
    right: var(--container-padding);
    left: var(--container-padding);
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-arabic);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--primary-white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    color: var(--primary-black);
}

.hero-subtitle {
    font-family: var(--font-arabic);
    font-size: 20px;
    font-weight: 400;
    color: var(--medium-gray);
    margin-bottom: 40px;
}

.hero-cta {
    display: inline-block;
    font-family: var(--font-arabic);
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-black);
    text-decoration: none;
    padding: 16px 32px;
    border: 2px solid var(--primary-black);
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--primary-black);
    transition: right 0.3s ease;
    z-index: -1;
}

.hero-cta:hover {
    color: var(--primary-white);
}

.hero-cta:hover::before {
    right: 0;
}

/* ===== Work Page Styles - Card Gallery (Light Theme) ===== */

/* Work Hero - Light gradient background like newgenre.studio */
.projects-hero {
 min-height: 60vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: flex-start;
 background: transparent;
 padding: calc(var(--navbar-height) + 80px) var(--container-padding) 60px;
 position: relative;
}

.projects-hero::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
 pointer-events: none;
}

.projects-hero-content {
 text-align: right;
 max-width: 800px;
 position: relative;
 z-index: 1;
}

.projects-hero-title {
 font-family: var(--font-arabic);
 font-size: clamp(48px, 10vw, 96px);
 font-weight: 800;
 color: var(--primary-white);
 line-height: 1.1;
 letter-spacing: -2px;
}

.projects-hero-subtitle {
 font-family: var(--font-arabic);
 font-size: clamp(18px, 3vw, 24px);
 color: var(--primary-white);
 font-weight: 400;
}

.hero-word {
 display: inline-block;
}

/* Category Filters */
.projects-filters {
 background: transparent;
 padding: 30px var(--container-padding);
 border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.projects-filters-container {
 max-width: var(--max-width-wide);
 margin: 0 auto;
 display: flex;
 flex-wrap: wrap;
 justify-content: flex-start;
 gap: 16px;
}

.filter-btn {
 font-family: var(--font-arabic);
 font-size: 15px;
 font-weight: 500;
 padding: 12px 28px;
 background: transparent;
 border: 1px solid rgba(255, 255, 255, 0.2);
 color: var(--primary-white);
 cursor: pointer;
 transition: all 0.3s ease;
 border-radius: 50px;
}

.filter-btn:hover {
 border-color: var(--primary-white);
 color: var(--primary-white);
}

.filter-btn.active {
 background: var(--primary-white);
 border-color: var(--primary-white);
 color: var(--primary-black);
}

/* Projects Gallery Grid - Light background */
.projects-gallery {
 background: transparent;
 padding: 60px var(--container-padding) 80px;
 min-height: 100vh;
}

.projects-grid {
 max-width: var(--max-width-wide);
 margin: 0 auto;
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 40px 32px;
}

/* Project item wrapper */
.project-item {
 display: flex;
 flex-direction: column;
}

/* Clickable card link */
.project-card-link {
 display: flex;
 flex-direction: column;
 height: 100%;
 text-decoration: none;
 color: inherit;
}

/* Gallery Card - 4:5 portrait ratio */
.project-card-gallery {
 position: relative;
 aspect-ratio: 4 / 5;
 overflow: hidden;
 background-color: #000;
 border-radius: 20px;
 cursor: pointer;
 transition: all 0.4s ease;
 box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.project-card-gallery:hover {
 box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.project-card-image-wrapper,
.project-card-image {
 width: 100%;
 height: 100%;
}

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

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

.project-card-video {
 width: 100%;
 height: 100%;
 object-fit: cover;
 position: absolute;
 top: 0;
 left: 0;
 opacity: 0;
 transition: opacity 0.4s ease;
}

.project-card-image-wrapper {
 position: relative;
}

.project-card-poster {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
 opacity: 1;
 transition: opacity 0.4s ease;
 z-index: 1;
}

.project-item:hover .project-card-video {
 opacity: 1;
}

.project-item:hover .project-card-poster {
 opacity: 0;
}





.view-project {
 font-family: var(--font-arabic);
 font-size: 15px;
 font-weight: 600;
 color: var(--primary-white);
 text-decoration: none;
 padding: 12px 28px;
 background: rgba(255, 255, 255, 0.2);
 backdrop-filter: blur(10px);
 border: 1px solid rgba(255, 255, 255, 0.3);
 transition: all 0.3s ease;
 border-radius: 50px;
}

.view-project:hover {
 background: var(--color-gold);
 border-color: var(--color-gold);
 color: var(--primary-black);
}

.project-card-info {
 padding: 20px 0 0;
}

.project-card-category {
 font-family: var(--font-arabic);
 font-size: 12px;
 font-weight: 600;
 color: var(--color-gold);
 text-transform: uppercase;
 letter-spacing: 1.5px;
 display: block;
 margin-bottom: 8px;
}

.project-card-title {
 font-family: var(--font-arabic);
 font-size: 22px;
 font-weight: 700;
 color: var(--primary-white);
 margin: 0;
}

.project-card-description {
 font-family: var(--font-arabic);
 font-size: 22px;
 font-weight: 400;
 color: var(--primary-white);
 margin: 6px 0 0;
}

.project-card-description .word {
 display: inline-block;
 opacity: 0;
 transform: translateY(8px);
}

/* Gallery Responsive */
@media (max-width: 1199px) {
 .projects-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
 }
}

@media (max-width: 768px) {
 .projects-hero {
  min-height: 50vh;
  padding: calc(var(--navbar-height) + 60px) var(--container-padding) 40px;
 }

 .projects-filters {
  padding: 20px var(--container-padding);
 }

 .filter-btn {
  font-size: 14px;
  padding: 10px 20px;
 }

 .projects-grid {
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 0 var(--container-padding);
 }

 .project-card-gallery {
  width: 100%;
  max-width: 100%;
 }

 .project-card-info {
  padding: 20px;
 }

 .projects-gallery {
  padding: 40px var(--container-padding) 60px;
 }
}

/* Active nav link */
.nav-link.active {
 color: var(--primary-black);
}

.nav-link.active::after {
 width: 100%;
}

/* ===== Responsive Design - Matching Baianat ===== */
/* Tablet breakpoint (max-width: 47.99em ~ 768px) */
@media (max-width: 47.99em) {
    :root {
        --container-padding: var(--container-padding-tablet);
        --navbar-margin: 30px;
        --navbar-padding: 20px;
    }

    .logo img {
        height: 36px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-link {
        font-size: 14px;
    }

    .nav-cta-pill {
        padding: 8px 8px 8px 16px;
        gap: 8px;
    }

    .cta-text {
        font-size: 13px;
    }

    .cta-icon-btn {
        width: 32px;
        height: 32px;
    }

    .hero {
        padding: calc(var(--navbar-height) + var(--container-padding) + 20px) var(--container-padding);
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        font-size: 16px;
        padding: 14px 28px;
    }

    .partners {
        padding: 20px var(--container-padding) 40px;
    }
}

/* Mobile breakpoint (max-width: 29.99em ~ 480px) */
@media (max-width: 29.99em) {
    :root {
        --container-padding: var(--container-padding-mobile);
        --navbar-margin: 15px;
        --navbar-height: 64px;
        --navbar-padding: 12px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-link {
        display: none;
    }

    .nav-cta-pill {
        padding: 6px 6px 6px 12px;
        gap: 6px;
    }

    .cta-text {
        font-size: 12px;
    }

    .cta-icon-btn {
        width: 28px;
        height: 28px;
    }
    
    .nav-main-pill {
        padding: 8px 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-video-boxed {
        background: rgba(0, 0, 0, 0.6);
    }

    .partners {
        padding: 20px var(--container-padding) 40px;
    }
}

/* Wide screens (min-width: 1920px) - Baianat uses 1810px max-width */
@media (min-width: 120em) {
    :root {
        --max-width-desktop: 1810px;
    }
}

/* ===== Partners Section ===== */
.partners {
    padding: 60px var(--container-padding) 60px;
    background-color: transparent;
    overflow: hidden;
}

.partners-title {
    font-family: var(--font-arabic);
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    color: var(--primary-white);
    margin-bottom: 20px;
}

.partners-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 150px, black calc(100% - 150px), transparent);
    mask-image: linear-gradient(to right, transparent, black 150px, black calc(100% - 150px), transparent);
}

.partners-track {
    display: flex;
    gap: 40px;
    animation: scroll-left 25s linear infinite;
    width: fit-content;
}

.partner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 75px;
    filter: invert(1) grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: none;
    opacity: 1;
}

.partner-logo img {
    height: 100%;
    width: auto;
    max-width: 170px;
    object-fit: contain;
}

/* Scroll Reveal Animation Classes */
.reveal {
    opacity: 1; /* Start visible, GSAP will handle animation */
    will-change: transform, opacity;
}

/* Fade-up animation for all divs - prevents FOUC before animation */
.fade-up {
    opacity: 0;
    will-change: transform, opacity;
}

/* Scroll animation - seamless infinite loop - 2 sets of logos */
/* Logos scroll from left to right, starting visible on screen */
@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(50%);
    }
}

/* Responsive adjustments - Partners */
@media (max-width: 47.99em) {
    .partners-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .partners-track {
        gap: 30px;
    }

    .partner-logo {
        height: 60px;
    }

    .partner-logo img {
        max-width: 140px;
    }
}

@media (max-width: 29.99em) {
    .partners-title {
        font-size: 20px;
    }

    .partners-track {
        gap: 25px;
    }

    .partner-logo {
        height: 50px;
    }

    .partner-logo img {
        max-width: 120px;
    }
}

/* ===== CTA Section ===== */
.cta-section {
    background-color: transparent;
    padding: 80px var(--container-padding);
}

.cta-container {
    max-width: var(--max-width-wide);
    margin: 0 auto;
}

.cta-headline {
    font-family: var(--font-arabic);
    font-size: 48px;
    font-weight: 700;
    text-align: right;
    color: var(--primary-white);
    line-height: 1.3;
    margin-bottom: 0;
}

.typewriter-word {
 display: inline-block;
}

.typewriter-word:last-child {
 margin-right: 0;
}

.cta-divider {
    height: 1px;
    background-color: var(--primary-white);
    margin: 24px 0 32px;
    width: 100%;
    opacity: 0.2;
}

.cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 24px;
}

.cta-subtitle {
    font-family: var(--font-arabic);
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-white);
    margin: 0;
    text-align: right;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-arabic);
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-white);
    background-color: transparent;
    border: 2px solid var(--primary-white);
    border-radius: 50px;
    padding: 14px 28px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-white);
    color: var(--primary-black);
}

.cta-icon {
    width: 20px;
    height: 20px;
}

/* ===== Footer Section ===== */
.footer {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 80px var(--container-padding) 40px;
}

.footer-container {
    max-width: var(--max-width-wide);
    margin: 0 auto;
}

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

.footer-column {
    text-align: right;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-link {
    font-family: var(--font-arabic);
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.7;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-description {
    font-family: var(--font-arabic);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--primary-white);
    opacity: 0.9;
    max-width: 400px;
    text-align: right;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-bottom: 32px;
}

.footer-bottom {
    text-align: center;
}

.footer-copyright {
    font-family: var(--font-arabic);
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    opacity: 1;
    transform: translate(0px, 0px);
    margin: 0;
}

/* ===== CTA & Footer Responsive ===== */
@media (max-width: 47.99em) {
    .cta-section {
        padding: 60px var(--container-padding);
    }

    .cta-headline {
        font-size: 32px;
    }

    .cta-subtitle {
        font-size: 32px;
    }

    .cta-row {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .footer {
        padding: 60px var(--container-padding) 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .footer-column {
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-description {
        text-align: right;
        font-size: 16px;
    }

    .footer-logo-img {
        height: 40px;
    }
}

@media (max-width: 29.99em) {
    .cta-headline {
        font-size: 24px;
    }

    .cta-subtitle {
        font-size: 24px;
    }

    .cta-button {
        font-size: 16px;
        padding: 12px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-description {
        text-align: right;
    }

    .footer-logo-img {
        height: 36px;
    }
}

/* ===== Contact Page Styles ===== */

/* Contact Hero Section */
.contact-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    padding: calc(var(--navbar-height) + 60px) var(--container-padding) 60px;
}

.contact-hero-content {
    text-align: center;
}

.contact-title {
    font-family: var(--font-arabic);
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-white);
    margin-bottom: 24px;
    line-height: 1.3;
}

.contact-subtitle {
    font-family: var(--font-arabic);
    font-size: 24px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Contact Section */
.contact-section {
    background-color: transparent;
    padding: 80px var(--container-padding);
}

.contact-container {
    max-width: var(--max-width-wide);
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-areas: "form info";
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

/* Contact Info */
.contact-info {
    grid-area: info;
    background-color: var(--primary-white);
    padding: 40px;
    border-radius: 8px;
    color: var(--primary-black);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-info-title {
    font-family: var(--font-arabic);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: right;
    color: var(--primary-black);
}

.contact-info-item {
    margin-bottom: 24px;
}

.contact-info-content {
    text-align: right;
}

.contact-info-label {
    display: block;
    font-family: var(--font-arabic);
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 4px;
}

.contact-info-value {
    font-family: var(--font-arabic);
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-black);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-info-value:hover {
    opacity: 0.7;
}

.contact-map-preview {
    width: 100%;
    margin-top: 12px;
    border-radius: 8px;
    overflow: hidden;
}

.contact-map-preview iframe {
    width: 100%;
    height: 150px;
    border: 0;
    border-radius: 8px;
}

.contact-map-link {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    color: var(--primary-black);
    text-decoration: none;
    font-family: var(--font-arabic);
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact-map-link:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.2);
}

.contact-map-link .map-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--primary-black);
}

.contact-social {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: right;
}

.contact-social-label {
    display: block;
    font-family: var(--font-arabic);
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 12px;
}

.contact-social-links {
    display: flex;
    gap: 16px;
    flex-direction: row-reverse;
    justify-content: flex-start;
}

.contact-social-link {
    font-family: var(--font-arabic);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-black);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-social-link:hover {
    opacity: 0.7;
}

/* Contact Form */
.contact-form-wrapper {
    grid-area: form;
    background-color: var(--primary-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-form-title {
    font-family: var(--font-arabic);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 32px;
    text-align: right;
}

.contact-form {
    text-align: right;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-family: var(--font-arabic);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-black);
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-arabic);
    font-size: 16px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    background-color: var(--primary-white);
    color: var(--primary-black);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-black);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-left: 40px;
}

/* Phone Input with Country Code */
.phone-input-wrapper {
    display: flex;
    gap: 8px;
    direction: ltr;
}

.country-code-select {
    padding: 14px 12px;
    font-family: var(--font-arabic);
    font-size: 14px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    background-color: var(--primary-white);
    color: var(--primary-black);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 8px center;
    padding-left: 24px;
    min-width: 110px;
    flex-shrink: 0;
}

.country-code-select:focus {
    outline: none;
    border-color: var(--primary-black);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.phone-input {
    flex: 1;
    padding: 14px 16px;
    font-family: var(--font-arabic);
    font-size: 16px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    background-color: var(--primary-white);
    color: var(--primary-black);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    direction: rtl;
}

.phone-input:focus {
    outline: none;
    border-color: var(--primary-black);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.phone-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-arabic);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-white);
    background-color: var(--primary-black);
    border: 2px solid var(--primary-black);
    border-radius: 50px;
    padding: 14px 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.form-submit:hover {
    background-color: transparent;
    color: var(--primary-black);
}

.submit-icon {
    width: 18px;
    height: 18px;
}

/* Active nav button */
.nav-cta-pill.active {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.nav-cta-pill.active .cta-icon-btn {
    background-color: #341114;
}

/* ===== Careers Page Styles ===== */

/* Careers Hero Section */
.careers-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    padding: calc(var(--navbar-height) + 60px) var(--container-padding) 60px;
    position: relative;
}

.careers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.careers-hero-content {
    text-align: center;
}

.careers-title {
    font-family: var(--font-arabic);
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-white);
    margin-bottom: 24px;
    line-height: 1.3;
}

.careers-subtitle {
    font-family: var(--font-arabic);
    font-size: 24px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Careers Section */
.careers-section {
    background-color: transparent;
    padding: 80px var(--container-padding);
}

.careers-container {
    max-width: var(--max-width-wide);
    margin: 0 auto;
}

.careers-header {
    text-align: center;
    margin-bottom: 60px;
}

.careers-section-title {
    font-family: var(--font-arabic);
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-white);
    margin-bottom: 16px;
}

.careers-section-subtitle {
    font-family: var(--font-arabic);
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

/* Jobs Grid */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Job Card */
.job-card {
    background-color: var(--primary-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.job-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.job-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.job-title {
    font-family: var(--font-arabic);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0;
}

.job-badge {
    font-family: var(--font-arabic);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-white);
    background-color: #22c55e;
    padding: 6px 12px;
    border-radius: 20px;
}

.job-meta {
    display: flex;
    gap: 24px;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-arabic);
    font-size: 14px;
    font-weight: 500;
    color: var(--medium-gray);
}

.job-meta-icon {
    width: 18px;
    height: 18px;
    color: var(--primary-black);
}

.job-description {
    font-family: var(--font-arabic);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--dark-gray);
    margin-bottom: 24px;
}

.job-requirements {
    margin-bottom: 32px;
}

.job-requirements-title {
    font-family: var(--font-arabic);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 12px;
}

.job-requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-requirements-list li {
    font-family: var(--font-arabic);
    font-size: 14px;
    font-weight: 400;
    color: var(--medium-gray);
    margin-bottom: 8px;
    padding-right: 20px;
    position: relative;
}

.job-requirements-list li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--primary-black);
    border-radius: 50%;
}

.job-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-arabic);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-white);
    background-color: var(--primary-black);
    border: 2px solid var(--primary-black);
    border-radius: 50px;
    padding: 14px 32px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}

.job-apply-btn:hover {
    background-color: transparent;
    color: var(--primary-black);
}

.apply-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.job-apply-btn:hover .apply-icon {
    transform: translateX(-4px);
}

/* No Jobs Message */
.no-jobs {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--primary-white);
    border-radius: 12px;
}

.no-jobs p {
    font-family: var(--font-arabic);
    font-size: 18px;
    color: var(--medium-gray);
}

.no-jobs a {
    color: var(--primary-black);
    text-decoration: underline;
}

/* ===== Careers Page Responsive ===== */
@media (max-width: 47.99em) {
    .careers-hero {
        min-height: 50vh;
        padding: calc(var(--navbar-height) + 40px) var(--container-padding) 40px;
    }

    .careers-title {
        font-size: 36px;
    }

    .careers-subtitle {
        font-size: 18px;
    }

    .careers-section {
        padding: 60px var(--container-padding);
    }

    .careers-header {
        margin-bottom: 40px;
    }

    .careers-section-title {
        font-size: 32px;
    }

    .careers-section-subtitle {
        font-size: 16px;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .job-card {
        padding: 32px;
    }

    .job-title {
        font-size: 24px;
    }

    .job-meta {
        flex-wrap: wrap;
        gap: 16px;
    }
}

@media (max-width: 29.99em) {
    .careers-title {
        font-size: 28px;
    }

    .careers-subtitle {
        font-size: 16px;
    }

    .careers-section-title {
        font-size: 24px;
    }

    .job-card {
        padding: 24px;
    }

    .job-title {
        font-size: 20px;
    }

    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .job-apply-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Contact Page Responsive ===== */
@media (max-width: 47.99em) {
    .contact-hero {
        min-height: 50vh;
        padding: calc(var(--navbar-height) + 40px) var(--container-padding) 40px;
    }

    .contact-title {
        font-size: 36px;
    }

    .contact-subtitle {
        font-size: 18px;
    }

    .contact-section {
        padding: 60px var(--container-padding);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info, .contact-form-wrapper {
        grid-column: auto;
    }

    .contact-info {
        padding: 32px;
    }

    .contact-form-wrapper {
        padding: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .phone-input-wrapper {
        flex-direction: column;
    }

    .country-code-select {
        width: 100%;
        padding-left: 40px;
    }

    .phone-input {
        width: 100%;
    }
}

@media (max-width: 29.99em) {
    .contact-title {
        font-size: 28px;
    }

    .contact-subtitle {
        font-size: 16px;
    }

    .contact-info {
        padding: 24px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .contact-info-title,
    .contact-form-title {
        font-size: 20px;
    }

    .form-submit {
        width: 100%;
        justify-content: center;
    }
}
tact-form-title {
        font-size: 20px;
    }

    .form-submit {
        width: 100%;
        justify-content: center;
    }
}
