@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap');
/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a0a;
    --bg-charcoal: #141414;
    --bg-card: #1c1c1c;
    --text-light: #f8f9fa;
    --text-muted: #a0aab2;
    --accent-gold: #d4af37;
    --accent-green: #2e4d3c;
    --border-color: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

h1 {
    font-size: 4.5rem;
    letter-spacing: 1px;
}

h2 {
    font-size: 3.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 5rem;
}

.divider {
    width: 60px;
    height: 2px;
    background-color: var(--accent-gold);
    margin: 0 auto 1.5rem auto;
}

.subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.mt-4 { margin-top: 2rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    border-radius: 2px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-nav {
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-nav:hover {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
}

.btn-hero {
    margin-top: 2rem;
    background-color: var(--text-light);
    color: var(--bg-dark);
}

.btn-hero:hover {
    background-color: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent-gold);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align content to the right side */
    padding: 0 5%;
    overflow: hidden;
}

/* ── GPU Compositing Hints for scroll-animated elements ── */
.venture-card,
.depth-line,
.o-mask-group,
.o-mask-wrapper,
.portal-revealed,
.wwd-card,
.fade-up,
.fade-in,
.scroll-reveal-container,
.word {
    transform: translateZ(0);
    backface-visibility: hidden;
}

.venture-card      { will-change: transform, opacity; }
.depth-line        { will-change: transform, opacity; }
.o-mask-group      { will-change: transform; }
.portal-revealed   { will-change: opacity; }
.word              { will-change: opacity; }


/* ---- Hero Navbar — Minimalistic Modern ---- */
.hero-navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 1.6rem 0;
    background: transparent;
}

.hero-nav-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

/* Logo */
.hero-nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.hero-nav-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

/* Center links */
.hero-nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.hero-nav-links a {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.6);
    text-decoration: none;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

/* Thin sliding underline */
.hero-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 5px rgba(0,0,0,0.8);
}

.hero-nav-links a:hover::after,
.hero-nav-links a.active::after {
    width: 100%;
}

/* Arrow for dropdown indicator */
.hero-nav-links li.has-arrow {
    position: relative;
}

.hero-nav-links li.has-arrow > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding-bottom: 6px;
}

.hero-nav-links li.has-arrow > a::after {
    content: '';
    position: static;
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    background: none;
    box-shadow: none;
    transition: transform 0.25s;
    flex-shrink: 0;
}

.hero-nav-links li.has-arrow:hover > a::after {
    transform: rotate(225deg) translateY(2px);
}

/* ── Dropdown Menu ── */
.hero-nav-links li.has-arrow .dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 20px rgba(0,0,0,0.05);
    padding: 1rem 0.6rem;
    min-width: 240px;
    list-style: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
    border: 1px solid rgba(0,0,0,0.04);
}


.hero-nav-links li.has-arrow.open .dropdown {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.hero-nav-links li.has-arrow.open > a::after,
.hero-nav-links li.has-arrow:hover > a::after {
    transform: rotate(225deg) translateY(2px);
}

/* small triangle tip */
.hero-nav-links li.has-arrow .dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.97);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.hero-nav-links li.has-arrow .dropdown li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.4rem;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #1a1a1a;
    text-shadow: none;
    text-decoration: none;
    transition: all 0.25s var(--transition-smooth);
    border-radius: 10px;
    margin: 0.2rem 0.4rem;
}

.hero-nav-links li.has-arrow .dropdown li a::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    position: static;
    background: none;
    box-shadow: none;
    flex-shrink: 0;
    transition: transform 0.18s;
}

.hero-nav-links li.has-arrow .dropdown li a:hover {
    color: var(--accent-gold);
    background: rgba(0, 0, 0, 0.03);
    padding-left: 1.6rem;
}

.hero-nav-links li.has-arrow .dropdown li a:hover::after {
    transform: rotate(-45deg) translate(2px, -2px);
    width: 5px;
}

/* ── Flyout Sub-menu (nested) ── */
.hero-nav-links li.has-arrow .dropdown li.has-flyout {
    position: relative;
}

.hero-nav-links li.has-arrow .dropdown li.has-flyout > a::after {
    transform: rotate(-45deg);
}

.hero-nav-links li.has-arrow .dropdown li.has-flyout > a:hover::after {
    transform: rotate(-45deg) translate(2px, -2px);
}

.hero-nav-links li.has-arrow .dropdown li.has-flyout .flyout {
    position: absolute;
    top: -0.6rem;
    left: calc(100% + 14px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 20px rgba(0,0,0,0.05);
    padding: 1rem 0.6rem;
    min-width: 280px;
    max-height: 450px;
    overflow-y: auto;
    list-style: none;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 300;
    border: 1px solid rgba(0,0,0,0.04);
}

/* Minimalist Scrollbar for panels */
.hero-nav-links li.has-arrow .dropdown li.has-flyout .flyout::-webkit-scrollbar,
.nav-links li.has-arrow .dropdown li.has-flyout .flyout::-webkit-scrollbar,
.nav-links li.has-arrow .dropdown::-webkit-scrollbar {
    width: 4px;
}
.hero-nav-links li.has-arrow .dropdown li.has-flyout .flyout::-webkit-scrollbar-track,
.nav-links li.has-arrow .dropdown li.has-flyout .flyout::-webkit-scrollbar-track,
.nav-links li.has-arrow .dropdown::-webkit-scrollbar-track {
    background: transparent;
}
.hero-nav-links li.has-arrow .dropdown li.has-flyout .flyout::-webkit-scrollbar-thumb,
.nav-links li.has-arrow .dropdown li.has-flyout .flyout::-webkit-scrollbar-thumb,
.nav-links li.has-arrow .dropdown::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
}
.hero-nav-links li.has-arrow .dropdown li.has-flyout .flyout::-webkit-scrollbar-thumb:hover,
.nav-links li.has-arrow .dropdown li.has-flyout .flyout::-webkit-scrollbar-thumb:hover,
.nav-links li.has-arrow .dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold, #c9a84c);
}

.hero-nav-links li.has-arrow .dropdown li.has-flyout:hover .flyout,
.hero-nav-links li.has-arrow .dropdown li.has-flyout.open .flyout {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
}

.hero-nav-links li.has-arrow .dropdown li.has-flyout .flyout li a {
    display: block;
    padding: 0.9rem 1.4rem;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    text-transform: none;
    color: #444;
    text-decoration: none;
    border-radius: 8px;
    margin: 0.1rem 0.4rem;
    transition: all 0.25s var(--transition-smooth);
}

.hero-nav-links li.has-arrow .dropdown li.has-flyout .flyout li a:hover {
    color: var(--accent-gold);
    background: rgba(0, 0, 0, 0.03);
    padding-left: 1.6rem;
}

.hero-nav-links li.has-arrow .dropdown li.has-flyout .flyout li a::after {
    display: none;
}

/* ── Same flyout for about.html .nav-links ── */
.nav-links li.has-arrow .dropdown li.has-flyout {
    position: relative;
}

.nav-links li.has-arrow .dropdown li.has-flyout > a::after {
    transform: rotate(-45deg);
}

.nav-links li.has-arrow .dropdown li.has-flyout > a:hover::after {
    transform: rotate(-45deg) translate(2px, -2px);
}

.nav-links li.has-arrow .dropdown li.has-flyout .flyout {
    position: absolute;
    top: -0.6rem;
    left: calc(100% + 6px);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.07);
    padding: 0.6rem 0;
    min-width: 260px;
    list-style: none;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 300;
}

.nav-links li.has-arrow .dropdown li.has-flyout:hover .flyout,
.nav-links li.has-arrow .dropdown li.has-flyout.open .flyout {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
}

.nav-links li.has-arrow .dropdown li.has-flyout .flyout li a {
    display: block;
    padding: 0.8rem 1.4rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: none;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    margin: 0 0.4rem;
    transition: color 0.18s, background 0.18s;
    white-space: normal;
    line-height: 1.45;
}

.nav-links li.has-arrow .dropdown li.has-flyout .flyout li a:hover {
    color: #000;
    background: rgba(0,0,0,0.05);
}

.nav-links li.has-arrow .dropdown li.has-flyout .flyout li a::after {
    display: none;
}

/* CTA — right-aligned */
.hero-nav-cta {
    justify-self: end;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
    text-decoration: none;
    border: 2px solid #ffffff;
    padding: 0.55rem 1.4rem;
    border-radius: 2px;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hero-nav-cta:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    text-shadow: none;
}


.hero-new-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    margin-top: 20rem; /* Pushes content further down */
}

.hero-main-text {
    font-family: var(--font-body); /* Set to sans-serif to match image */
    font-size: 4.2rem;
    font-weight: 800; /* Thick bold text */
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    margin-bottom: 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: left;
}

.hero-sub-text {
    font-family: var(--font-body);
    font-size: 1.7rem;
    font-weight: 400; /* Lighter text */
    color: #e0e0e0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin-top: 0.5rem !important;
    margin-bottom: 2.5rem !important;
    text-align: right; /* Aligned right relative to the main heading */
    max-width: none !important;
}

.hero-btn-wrap {
    text-align: left; /* Button aligned left */
}

.btn-connect {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-radius: 50px; /* Pill shape */
    padding: 1.2rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: none;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-connect:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: url('../assets/premium_dark_corporate_hero_v2.png?v=6') center/100% 100% no-repeat; /* Stretched to fill exactly without zooming/cropping */
}

/* About Section */
.about {
    padding: 10rem 0;
    background-color: var(--bg-charcoal);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.about-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.about-card h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 2px;
    height: 20px;
    background-color: var(--accent-gold);
}

/* Companies Section */
.companies {
    padding: 10rem 0;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.company-card {
    background-color: var(--bg-card);
    padding: 3rem 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.3);
}

.company-icon {
    width: 50px;
    height: 50px;
    color: var(--accent-gold);
    margin-bottom: 2rem;
}

.company-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.company-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 8rem 0 10rem 0;
    background-color: var(--bg-charcoal);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.service-item:hover {
    border-color: var(--accent-gold);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 2rem auto;
    color: var(--text-light);
}

.service-item h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    margin: 0;
}

/* Stats Section */
.stats {
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Final CTA Section */
.final-cta {
    padding: 12rem 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-charcoal) 100%);
}

.final-cta h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.final-cta p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Footer */
.footer {
    background-color: #050505;
    padding: 8rem 0 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 6rem;
    margin-bottom: 8rem;
}

.footer-logo {
    max-width: 400px;
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 2.5rem;
    color: #fff;
    opacity: 0.9;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 1px;
    background: rgba(255,255,255,0.2);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1.2rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: #888;
    letter-spacing: 0.5px;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-contact p {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

/* Animations */
.fade-up, .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in {
    transform: translateY(0);
}

.fade-up.visible, .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media screen and (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    
    .nav-links { display: none; }
    
    .about-grid, .companies-grid, .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .btn-nav { display: none; }
}

/* ============================================
   About Section - Dark Lengthy Layout
   ============================================ */
.about-new-exact {
    background-color: #000000;
    color: #ffffff;
    padding: 6rem 0 10rem 0;
    position: relative;
    font-family: var(--font-body);
    overflow: hidden;
}

/* --- Scroll Line: Absolute within section, draws down with scroll --- */
.scroll-line-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    pointer-events: none;
    z-index: 50;
    overflow: visible;
}

.scroll-line-container svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

#scroll-line-path {
    filter:
        drop-shadow(0 0 8px rgba(255, 255, 255, 1))
        drop-shadow(0 0 20px rgba(255, 255, 255, 0.5))
        drop-shadow(0 0 2px #ffffff);
}

#scroll-line-point {
    filter: drop-shadow(0 0 10px #fff) drop-shadow(0 0 20px #ffffff);
    opacity: 0; /* Hidden until drawing starts */
    transition: opacity 0.3s;
}

#scroll-line-point.visible {
    opacity: 1;
}

/* --- About + What We Do Unified Section --- */
.about-wwd-unified {
    padding: 1rem 0 4rem;
}

.what-we-do-inner {
    margin-top: 5rem;
}

/* --- About Blocks (Text Sections) --- */
.about-block {
    padding: 6rem 0;
}

.about-block-inner {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.about-label {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-new-exact h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

/* ---- ShinyText Effect ---- */
.shiny-text {
    display: inline-block;
    background-image: linear-gradient(
        120deg,
        #cccccc 0%,
        #cccccc 30%,
        #ffffff 45%,
        #f0f0f0 50%,
        #ffffff 55%,
        #cccccc 70%,
        #cccccc 100%
    );
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shiny-sweep 3s linear infinite;
}

.shiny-text:hover {
    animation-play-state: paused;
}

@keyframes shiny-sweep {
    0%   { background-position: 150% center; }
    100% { background-position: -50% center; }
}

.about-new-exact p {
    font-family: var(--font-body);
    font-size: 1.4rem;
    color: #ffffff;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 400;
    letter-spacing: normal;
    text-align: left;
}

/* --- What We Do --- */
.what-we-do {
    padding: 2rem 0;
}

/* MagicRings WebGL Background */
.what-we-do-inner {
    position: relative;
}

#magic-rings-bg {
    position: absolute;
    inset: -6rem -10%;
    width: 120%;
    height: calc(100% + 12rem);
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.what-we-do-inner > *:not(#magic-rings-bg) {
    position: relative;
    z-index: 1;
}


.what-we-do-title {
    font-size: 2.8rem !important;
    margin-bottom: 4rem !important;
    color: #ffffff !important;
}

.wwd-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

@media screen and (min-width: 1025px) {
    .what-we-do {
        padding-bottom: 2rem;
    }
}

.wwd-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    text-align: left;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 3;
}

.wwd-card:hover, .wwd-card:active {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(255, 255, 255, 0.15);
    z-index: 10;
}

.wwd-img-container {
    height: 240px;
    width: 45%;
    background-color: transparent;
    position: relative;
    flex-shrink: 0;
}

.card-content-side {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2.5rem;
    text-align: left;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}

.card-content-side h3 {
    margin: 0 !important;
    padding: 0 0 0.8rem 0 !important;
    font-size: 2.2rem !important;
    color: #ffffff !important;
    font-weight: 600;
}

.card-content-side .wwd-desc {
    padding: 0 !important;
    color: #cecece !important;
    font-size: 1.25rem !important;
    line-height: 1.7 !important;
    text-align: left !important;
}

.wwd-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grayscale-img {
    filter: grayscale(100%) contrast(1.2) brightness(0.9);
}

.wwd-card h3 {
    font-family: var(--font-heading);
    padding: 1.2rem 1rem 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.wwd-desc {
    padding: 0 1.5rem 2rem;
    font-size: 0.95rem !important;
    color: #888888 !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

.big-decorative-text {
    font-family: var(--font-heading);
    font-size: 15vw;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1;
    text-align: center;
    margin: 4rem auto;
    opacity: 1;
    pointer-events: none;
    letter-spacing: -0.02em;
    user-select: none;
    width: 100%;
}

/* ============================================================
   O-PORTAL SECTION — Cinematic depth tunnel
   ============================================================ */
/* ============================================================
   O-PORTAL SECTION — Cinematic depth tunnel
   ============================================================ */
.o-portal-section {
    position: relative;
    height: 1200vh; /* Increased to accommodate 9-card sequence */
    background: #000;
}

.o-portal-stage {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, #0d0d0d 0%, #000000 100%);
}

.portal-depth-texts {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    pointer-events: none;
    z-index: 2;
}

.depth-line {
    font-family: var(--font-heading);
    font-size: 2.5vw;
    font-weight: 700;
    color: rgba(255, 255, 255, 0);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    opacity: 0;
    transform: scale(0.08) translateZ(0);
    filter: none;
    will-change: transform, opacity;
    white-space: nowrap;
    text-align: center;
}

.depth-line--hero {
    font-size: 9vw;
    letter-spacing: -0.02em;
    font-weight: 900;
    color: #fff;
}

.portal-o {
    display: inline-block;
    color: #ffffff;
    position: relative;
}

.o-mask-wrapper {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 45vh; /* Pushes the circle further below the text */
    z-index: 5;
    pointer-events: none;
    opacity: 0;
}

.o-mask-group {
    position: relative;
    width: 200px;
    height: 200px;
    transform: scale(0);
    will-change: transform;
    display: flex;
    align-items: center;
    justify-content: center;
}

.o-mask-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
    /* Force GPU rendering */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.orbit-text {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateOrbit 12s linear infinite;
}

@keyframes rotateOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit-char {
    position: absolute;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    transform-origin: center center;
    white-space: pre;
}

.portal-revealed {
    position: absolute;
    inset: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 6;
}

/* --- Ventures Section Styles --- */
.ventures-container {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 10rem 6rem 6rem; /* Increased top padding to push stack down */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fdfdfd;
}

.ventures-header {
    position: absolute;
    top: 5rem;
    right: 5rem;
    text-align: right;
    z-index: 10;
}

.ventures-main-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: #000;
    margin: 0;
    line-height: 0.9;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.ventures-sub-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: #e0e0e0;
    margin: 0;
    line-height: 0.9;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.ventures-stack {
    position: relative;
    width: 100%;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.venture-card {
    position: absolute;
    width: 320px; /* Increased width */
    height: 380px; /* Decreased height */
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    padding: 0;
    box-shadow: -15px 0 45px rgba(0,0,0,0.04); 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    left: 50%;
    top: 55%; 
    transform: translate(150%, 150%) rotate(10deg);
    margin-left: -220px; 
    margin-top: -240px; 
    opacity: 0;
    filter: none;
    will-change: transform, opacity;
    border-radius: 4px; /* Sharper corners as seen in modern minimal designs */
    overflow: hidden;
}

.card-image-wrap {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    border-radius: 0; /* Sharp image edges */
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.card-placeholder-box {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-placeholder-box::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 1px;
    background: rgba(0,0,0,0.1);
    transform: rotate(45deg);
}

.card-placeholder-box::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 1px;
    background: rgba(0,0,0,0.1);
    transform: rotate(-45deg);
}

.venture-card h4 {
    font-family: var(--font-heading); /* Outfit */
    font-size: 1.8rem;
    font-weight: 800;
    color: #000;
    margin-top: 0.5rem;
    margin-bottom: 0;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.5px;
}

.card-num {
    font-family: var(--font-heading); /* Outfit */
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 142, 154, 0.25);
    line-height: 0.7;
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    z-index: 1;
}

@media screen and (max-width: 768px) {
    .ventures-container { padding: 2rem; }
    .ventures-header { top: 2rem; right: 2rem; }
    .ventures-main-title, .ventures-sub-title { font-size: 2.5rem; }
    .venture-card { width: 90vw; height: 400px; padding: 2rem; }
    .card-num { font-size: 6rem; }
}

/* --- Values Grid --- */
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.about-value-card {
    background: #0c0c0c;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    transition: border-color 0.3s, transform 0.3s;
}

.about-value-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
}

.about-value-icon {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.about-value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1rem;
}

.about-value-card p {
    font-size: 0.95rem !important;
    color: #888 !important;
    margin: 0 !important;
    line-height: 1.65 !important;
}

/* --- Stats Row --- */
.about-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}

.about-stat-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.6rem;
}

.about-stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
}

/* --- About Top --- */
.about-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

.about-text-content {
    flex: 1;
    max-width: 750px;
}

/* --- Responsive --- */
@media screen and (max-width: 1024px) {
    .wwd-grid, .about-values-grid, .about-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .scroll-line-container {
        right: 10px;
        width: 50px;
    }
}

@media screen and (max-width: 768px) {
    .wwd-grid, .about-values-grid, .about-stats-row {
        grid-template-columns: 1fr;
    }
    .scroll-line-container {
        display: none;
    }
}

.about-new-exact h2 {
    font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.about-new-exact .about-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8rem;
    gap: 4rem;
}

.about-new-exact .about-text-content {
    flex: 1;
    max-width: 750px;
}

.about-new-exact .about-text-content h2 {
    font-size: 3.5rem;
}

.about-new-exact .about-text-content p {
    font-size: 2.2rem;
    line-height: 1.4;
    font-weight: 700;
    color: #ffffff;
}

.about-new-exact .about-logo-wrapper {
    flex: 0 0 350px;
    display: flex;
    justify-content: flex-end;
}

.team-oak-type-logo {
    display: inline-block;
    text-align: left;
    line-height: 0.8;
}

.team-oak-type-logo .team-text {
    font-size: 2.2rem;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 2px;
}

.team-oak-type-logo .oak-text {
    font-size: 8.5rem;
    font-weight: 900;
    letter-spacing: -3px;
    font-family: 'Arial Black', Impact, sans-serif;
    display: block;
    margin-top: -10px;
}

.about-new-exact .what-we-do-title {
    font-size: 3rem;
    margin-bottom: 4rem;
}

.about-new-exact .wwd-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-new-exact .wwd-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    text-align: left;
    transition: var(--transition-smooth);
}

.about-new-exact .wwd-card:hover, .about-new-exact .wwd-card:active {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(212, 175, 55, 0.3);
    z-index: 10;
}

.about-new-exact .wwd-img-container {
    height: 200px;
    width: 45%;
    flex-shrink: 0;
}

.about-new-exact .wwd-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-new-exact .card-content-side {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
}

.about-new-exact .grayscale-img {
    filter: grayscale(100%) contrast(1.2) brightness(1.1);
}

.about-new-exact .wwd-card h3 {
    margin: 0 !important;
    padding: 0 0 0.8rem 0 !important;
    font-size: 1.5rem !important;
    font-weight: 700;
    color: #ffffff;
}

@media screen and (max-width: 1024px) {
    .about-new-exact .about-top {
        flex-direction: column;
    }
    .about-new-exact .about-logo-wrapper {
        justify-content: flex-start;
        margin-top: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .about-new-exact .wwd-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Scroll Reveal Text Animation Styles
   ============================================ */
.scroll-reveal-container {
    perspective: 1000px;
}

.scroll-reveal-text .word {
    display: inline-block;
    will-change: opacity;
}

/* ============================================
   Our Clients Section
   ============================================ */
.clients-section {
    position: relative;
    padding: 10rem 0;
    background: #ffffff;
    color: #000000;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.clients-header {
    margin-bottom: 4rem;
    text-align: center;
    width: 100%;
}

.clients-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.clients-subtitle {
    font-size: 1.2rem;
    color: #666666;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.clients-masonry-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-flow: row;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.brand-box {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 5/4;
    width: 100%;
}

.placeholder-img {
    width: 55%;
    height: 45%;
    border: 2px dashed rgba(0,0,0,0.2);
    border-radius: 4px;
    position: relative;
}

.placeholder-img::after {
    content: attr(data-brand);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 1vw;
    font-weight: 600;
    color: rgba(0,0,0,0.3);
    text-align: center;
    width: 100%;
}


/* Background Colors updated to white per user request */
.bg-grey { background-color: #ffffff; }
.bg-mint { background-color: #ffffff; }
.bg-pink { background-color: #ffffff; }
.bg-green { background-color: #ffffff; }
.bg-bluegrey { background-color: #ffffff; }
.bg-yellow { background-color: #ffffff; }
.bg-cyan { background-color: #ffffff; }
.bg-whiteish { background-color: #ffffff; }

.brand-testimonial {
    grid-column: 3 / span 2;
    grid-row: 1 / span 2;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.tb-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.tb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 100%);
    z-index: 2;
}

.tb-content {
    position: relative;
    z-index: 3;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tb-logo {
    background: #fff;
    color: #000;
    font-weight: 700;
    font-family: monospace;
    font-size: 1rem;
    display: inline-block;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: auto;
    letter-spacing: 2px;
}

.tb-quote {
    font-size: 1.1vw;
    font-weight: 500;
    line-height: 1.5;
    margin: 2rem 0;
    padding-right: 15%;
}

.tb-play {
    align-self: flex-end;
    cursor: pointer;
    margin-top: auto;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.tb-play:hover {
    background: #ffffff;
}

@media screen and (max-width: 1024px) {
    .clients-masonry-grid { grid-template-columns: repeat(6, 1fr); }
    .brand-testimonial { grid-column: 1 / span 6; grid-row: 1 / span 2; }
    .brand-box h4 { font-size: 2.5vw; }
    .tb-quote { font-size: 2.5vw; }
}

@media screen and (max-width: 768px) {
    .clients-masonry-grid { grid-template-columns: repeat(3, 1fr); }
    .brand-testimonial { grid-column: 1 / span 3; grid-row: 1 / span 2; }
    .clients-title { font-size: 2.5rem; }
    .brand-box h4 { font-size: 4vw; }
    .tb-quote { font-size: 4vw; }
    .clients-section { padding: 6rem 0; }
}

/* ============================================
   Portal Revealed - New Blank Page
   ============================================ */
.portal-revealed-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
}

.blank-page-content {
    background: #ffffff;
    padding: 4rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* ============================================
   Our Global Presence Section
   ============================================ */
.global-presence-section {
    position: relative;
    padding: 5rem 0 2rem;
    background: linear-gradient(135deg, #fdfdfd 0%, #f4f4f4 100%);
    overflow: hidden;
    z-index: 5;
}

.global-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.global-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: #111;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.global-subtitle {
    color: #555;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.interactive-map-wrapper {
    position: relative;
    width: 180vw;
    max-width: none;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 1rem;
    aspect-ratio: 16 / 6;
    z-index: 2;
}

.base-world-map {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.15;
    filter: grayscale(100%);
    user-select: none;
    pointer-events: none;
    clip-path: inset(0 0 14% 0);
}

.map-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

.flag-box {
    position: relative;
    width: 72px;
    height: 48px;
    border-radius: 6px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    border: 3px solid rgba(255,255,255,0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    z-index: 2;
    overflow: hidden;
}

.flag-img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.9;
}

.map-pin:hover .flag-box {
    transform: scale(1.3) translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.35);
}

.pin-label {
    position: absolute;
    top: -55px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
    z-index: 3;
}

.map-pin:hover .pin-label {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Flag Gradients */
.flag-canada { background: linear-gradient(135deg, #FF0000 30%, #FFFFFF 30%, #FFFFFF 70%, #FF0000 70%); }
.flag-uk { background: linear-gradient(135deg, #012169 33%, #C8102E 33%, #C8102E 66%, #FFFFFF 66%); }
.flag-saudi { background: linear-gradient(135deg, #006C35 60%, #FFFFFF 60%); }
.flag-uae { background: linear-gradient(135deg, #FF0000 25%, #00732F 25%, #00732F 50%, #FFFFFF 50%, #FFFFFF 75%, #000000 75%); }
.flag-oman { background: linear-gradient(135deg, #C8102E 33%, #FFFFFF 33%, #FFFFFF 66%, #009A44 66%); }
.flag-india { background: linear-gradient(135deg, #FF9933 33%, #FFFFFF 33%, #FFFFFF 66%, #138808 66%); }

/* ============================================
   MINIMAL STANDARD FOOTER
   ============================================ */
.minimal-footer {
    background-color: var(--bg-dark, #0a0a0a);
    color: var(--text-light, #ffffff);
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    padding: 5rem 5% 2rem;
    border-top: 1px solid var(--border-color, rgba(255,255,255,0.08));
    position: relative;
    z-index: 10;
}
.mf-container {
    max-width: 1300px;
    margin: 0 auto;
}
.mf-columns {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr 1.5fr;
    gap: 3rem;
    padding-bottom: 4rem;
}
.mf-col h4 {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-light, #ffffff);
    margin-bottom: 2rem;
    letter-spacing: -0.2px;
}
.mf-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.mf-col ul li a, .mf-text {
    font-size: 0.95rem;
    color: var(--text-muted, #888888);
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.5;
}
.mf-col ul li a:hover {
    color: var(--text-light, #ffffff);
}

/* Contact Column Specifics */
.mf-contact ul {
    gap: 1.5rem;
}
.mf-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.mf-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: transparent;
    color: var(--accent-gold, #c59b27);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px var(--border-color, rgba(255,255,255,0.08));
    transition: all 0.3s ease;
}
.mf-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
.mf-text {
    padding-top: 5px;
}

/* Bottom Bar */
.mf-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color, rgba(255,255,255,0.08));
    font-size: 0.9rem;
    color: var(--text-muted, #888888);
}
.mf-legal {
    display: flex;
    gap: 2rem;
}
.mf-legal a {
    color: var(--text-muted, #888888);
    text-decoration: none;
    transition: color 0.3s;
}
.mf-legal a:hover {
    color: var(--text-light, #ffffff);
}

@media (max-width: 1024px) {
    .mf-columns {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 3rem 2rem;
    }
    .mf-contact {
        grid-column: 1 / -1;
    }
}
@media (max-width: 640px) {
    .mf-columns {
        grid-template-columns: 1fr;
    }
    .mf-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
\n


/* ═══════════════════════════
   PREMIUM LANGUAGE SWITCHER
═══════════════════════════ */
.premium-lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
    z-index: 1000;
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
}

.pls-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 6px 12px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.pls-btn:hover {
    background: rgba(197, 155, 39, 0.1);
    border-color: #c59b27;
    color: #c59b27;
}

.pls-globe {
    opacity: 0.8;
}

.pls-arrow {
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.pls-btn[aria-expanded="true"] .pls-arrow {
    transform: rotate(180deg);
}

.pls-btn[aria-expanded="true"] {
    background: rgba(197, 155, 39, 0.1);
    border-color: #c59b27;
    color: #c59b27;
}

.pls-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-width: 150px;
    padding: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pls-btn[aria-expanded="true"] + .pls-dropdown,
.premium-lang-switcher.active .pls-dropdown {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.pls-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    color: #444444;
    font-family: inherit;
}

.pls-code {
    font-size: 0.75rem;
    font-weight: 700;
    color: #888888;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.pls-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.pls-option:hover {
    background: #f9f9f9;
}

.pls-option.active {
    background: rgba(197, 155, 39, 0.08);
    color: #c59b27;
}

.pls-option.active .pls-code {
    background: #c59b27;
    color: #ffffff;
}

/* Mobile Switcher Specifics */
.mobile-switcher-li {
    list-style: none;
    margin-top: 15px;
    padding-left: 0;
    width: 100%;
}

.mobile-switcher-li .premium-lang-switcher {
    margin-left: 0;
    width: 100%;
}

.mobile-switcher-li .pls-btn {
    width: 100%;
    justify-content: space-between;
}

.mobile-switcher-li .pls-dropdown {
    position: relative;
    top: 10px;
    width: 100%;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-switcher-li .pls-option {
    color: #ffffff;
}

.mobile-switcher-li .pls-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-switcher-li .pls-code {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Hide Mobile Switcher on Desktop, Hide Desktop Switcher on Mobile */
.desktop-switcher {
    display: inline-flex;
}

@media (max-width: 768px) {
    .desktop-switcher {
        display: none !important;
    }
}

/* ═══════════════════════════
   RTL LAYOUT SUPPORT
═══════════════════════════ */
html[dir="rtl"] {
    text-align: right;
    direction: rtl;
}

/* Fonts override for RTL */
html[dir="rtl"], 
html[dir="rtl"] body, 
html[dir="rtl"] *, 
html[dir="rtl"] button, 
html[dir="rtl"] input, 
html[dir="rtl"] textarea, 
html[dir="rtl"] select {
    font-family: 'Cairo', sans-serif !important;
    --font-h: 'Cairo', sans-serif !important;
    --font-b: 'Cairo', sans-serif !important;
    --font-heading: 'Cairo', sans-serif !important;
    --font-body: 'Cairo', sans-serif !important;
}

/* RTL navigation items flipping */
html[dir="rtl"] .hero-nav-container,
html[dir="rtl"] .nav,
html[dir="rtl"] .footer-inner,
html[dir="rtl"] .custom-footer-grid {
    flex-direction: row-reverse !important;
}

html[dir="rtl"] .nav-links {
    padding-left: 0;
    padding-right: 0;
}

/* Switcher positions in RTL */
html[dir="rtl"] .premium-lang-switcher {
    margin-left: 0;
    margin-right: 15px;
}

html[dir="rtl"] .pls-dropdown {
    right: auto;
    left: 0;
}

html[dir="rtl"] .pls-option {
    text-align: right;
}

/* Mega menu dropdown fixes for RTL */
html[dir="rtl"] .nav-links li.has-arrow .dropdown {
    left: auto !important;
    right: 50% !important;
    transform: translateX(50%) translateY(-10px) !important;
}

html[dir="rtl"] .nav-links li.has-arrow.open .dropdown {
    transform: translateX(50%) translateY(0) !important;
}

html[dir="rtl"] .nav-links li.has-arrow .dropdown li.has-flyout .flyout {
    left: auto !important;
    right: calc(100% + 5px) !important;
    transform: translateX(10px) !important;
}

html[dir="rtl"] .nav-links li.has-arrow .dropdown > li.has-flyout:hover .flyout {
    transform: translateX(0) !important;
}

html[dir="rtl"] .mf-contact-item {
    flex-direction: row-reverse;
}

html[dir="rtl"] .mf-text {
    padding-top: 5px;
    padding-right: 15px;
    padding-left: 0;
}

/* Mobile Nav Flip in RTL */
@media (max-width: 768px) {
    html[dir="rtl"] .nav-links, 
    html[dir="rtl"] .hero-nav-links {
        right: auto !important;
        left: -100% !important;
        border-left: none;
        border-right: 1px solid rgba(255,255,255,0.05);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    html[dir="rtl"] .nav.mobile-active .nav-links,
    html[dir="rtl"] .hero-navbar.mobile-active .hero-nav-links {
        left: 0 !important;
        right: auto !important;
    }
}

/* Logical CSS fixes for layouts */
html[dir="rtl"] .story-text h2,
html[dir="rtl"] .story-text h3,
html[dir="rtl"] .story-text ul,
html[dir="rtl"] .highlight-quote {
    text-align: right !important;
}

html[dir="rtl"] .highlight-quote {
    border-left: none !important;
    border-right: 3px solid var(--accent-gold);
    padding-left: 0 !important;
    padding-right: 2rem !important;
}

html[dir="rtl"] .scroll-reveal-text {
    text-align: right !important;
}
