/* ========================================
   ASTRAROW GROUP — 2026 Future Edition
   Aurora hero, scroll animations, 3D tiles
   ======================================== */

@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --hue {
    syntax: "<number>";
    initial-value: 220;
    inherits: false;
}

:root {
    --bg: #ffffff;
    --bg-alt: #f8f7f4;
    --bg-dark: #0d1b2a;
    --text: #1a1a1a;
    --text-2: #333;
    --text-3: #666;
    --accent: #1a1a1a;
    --gold: #b59a5b;
    --border: #e5e3dd;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Inter', -apple-system, sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ========================================
   GRAIN OVERLAY — Subtle film texture
   ======================================== */
body::after {
    content: '';
    position: fixed; inset: 0; z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.4;
}

/* ========================================
   GEOMETRIC WEB CANVAS — Side patterns
   ======================================== */
.web-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* ========================================
   FLOATING PARALLAX SHAPES
   ======================================== */
.floating-shapes {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Gradient orbs */
.shape-1 {
    width: 300px; height: 300px;
    top: 15%; left: -5%;
    background: radial-gradient(circle, rgba(30,58,138,0.12) 0%, transparent 70%);
    filter: blur(40px);
    animation: floatSlow 20s ease-in-out infinite alternate;
}

.shape-2 {
    width: 250px; height: 250px;
    top: 40%; right: -3%;
    background: radial-gradient(circle, rgba(181,154,91,0.1) 0%, transparent 70%);
    filter: blur(50px);
    animation: floatSlow 18s ease-in-out infinite alternate-reverse;
}

.shape-3 {
    width: 200px; height: 200px;
    top: 65%; left: 10%;
    background: radial-gradient(circle, rgba(30,58,138,0.04) 0%, transparent 70%);
    filter: blur(45px);
    animation: floatSlow 22s ease-in-out infinite alternate;
    animation-delay: -5s;
}

.shape-4 {
    width: 180px; height: 180px;
    top: 85%; right: 15%;
    background: radial-gradient(circle, rgba(181,154,91,0.04) 0%, transparent 70%);
    filter: blur(40px);
    animation: floatSlow 16s ease-in-out infinite alternate-reverse;
    animation-delay: -8s;
}

.shape-5 {
    width: 350px; height: 350px;
    top: 30%; left: 50%;
    background: radial-gradient(circle, rgba(30,42,74,0.03) 0%, transparent 70%);
    filter: blur(60px);
    animation: floatSlow 25s ease-in-out infinite alternate;
    animation-delay: -3s;
}

.shape-6 {
    width: 150px; height: 150px;
    top: 55%; left: 70%;
    background: radial-gradient(circle, rgba(181,154,91,0.035) 0%, transparent 70%);
    filter: blur(35px);
    animation: floatSlow 19s ease-in-out infinite alternate-reverse;
    animation-delay: -10s;
}

/* Geometric rings */
.shape-ring-1 {
    width: 120px; height: 120px;
    top: 25%; right: 12%;
    border: 1px solid rgba(181,154,91,0.12);
    background: none;
    animation: floatSlow 24s ease-in-out infinite alternate, spinSlow 60s linear infinite;
}

.shape-ring-2 {
    width: 80px; height: 80px;
    top: 70%; left: 8%;
    border: 1px solid rgba(30,58,138,0.12);
    background: none;
    animation: floatSlow 20s ease-in-out infinite alternate-reverse, spinSlow 45s linear infinite reverse;
}

/* Thin lines */
.shape-line-1 {
    width: 200px; height: 1px;
    top: 35%; left: 5%;
    border-radius: 0;
    background: linear-gradient(90deg, transparent, rgba(181,154,91,0.15), transparent);
    transform-origin: center;
    animation: floatSlow 22s ease-in-out infinite alternate;
    transform: rotate(25deg);
}

.shape-line-2 {
    width: 160px; height: 1px;
    top: 80%; right: 8%;
    border-radius: 0;
    background: linear-gradient(90deg, transparent, rgba(30,58,138,0.12), transparent);
    transform-origin: center;
    animation: floatSlow 18s ease-in-out infinite alternate-reverse;
    transform: rotate(-15deg);
}

@keyframes floatSlow {
    0% { transform: translate(0, 0); }
    25% { transform: translate(15px, -20px); }
    50% { transform: translate(-10px, 10px); }
    75% { transform: translate(20px, 5px); }
    100% { transform: translate(-5px, -15px); }
}

@keyframes spinSlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* All sections need relative + z-index to sit above floating shapes */
.section, .marquee-bar, .quote-section, .footer {
    position: relative;
    z-index: 1;
}

.hero {
    z-index: 2;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 20px 0;
    transition: all 0.5s var(--ease);
}
.nav.scrolled,
.nav.nav-fixed {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav.nav-fixed .nav-logo { color: var(--text); }
.nav.nav-fixed .nav-links a { color: var(--text-2); }
.nav.nav-fixed .nav-toggle span { background: var(--text); }
.nav.nav-fixed .nav-cta {
    background: var(--text) !important;
    color: #fff !important;
    border-color: var(--text) !important;
    backdrop-filter: none;
}
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 40px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    font-family: var(--sans); font-size: 0.9rem; font-weight: 800;
    letter-spacing: 5px; color: #fff; transition: color 0.4s;
}
.nav.scrolled .nav-logo { color: var(--text); }
.nav-logo-img {
    height: 32px; width: auto;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    border-radius: 4px;
}
.nav-logo span { font-weight: 400; letter-spacing: 2px; opacity: 0.5; margin-left: 6px; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
    font-size: 0.78rem; font-weight: 500; letter-spacing: 0.5px;
    color: rgba(255,255,255,0.9); transition: color 0.3s;
}
.nav.scrolled .nav-links a { color: var(--text-2); }
.nav-links a:hover { color: var(--gold); }

.nav-cta {
    background: rgba(255,255,255,0.15) !important;
    backdrop-filter: blur(10px);
    color: #fff !important;
    padding: 10px 28px !important; font-weight: 600 !important;
    letter-spacing: 1px !important; text-transform: uppercase !important;
    font-size: 0.7rem !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    transition: all 0.3s var(--ease) !important;
}
.nav.scrolled .nav-cta {
    background: var(--text) !important; color: #fff !important;
    border-color: var(--text) !important;
    backdrop-filter: none;
}
.nav-cta:hover { background: rgba(255,255,255,0.25) !important; }
.nav.scrolled .nav-cta:hover { background: var(--gold) !important; border-color: var(--gold) !important; }

/* Language switcher */
.lang-switcher {
    position: relative;
}

.lang-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.nav.scrolled .lang-btn,
.nav.nav-fixed .lang-btn {
    border-color: var(--border);
    color: var(--text-2);
}

.lang-btn:hover { border-color: var(--gold); color: var(--gold); }

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--bg-dark);
    border: 1px solid rgba(255,255,255,0.1);
    min-width: 140px;
    z-index: 1000;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.lang-dropdown.open { display: block; }

.lang-option {
    display: block;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-family: var(--sans);
    font-size: 0.8rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-option:hover { background: rgba(255,255,255,0.05); color: #fff; }
.lang-option.active { color: var(--gold); }

/* RTL support */
[dir="rtl"] { direction: rtl; text-align: right; }
[dir="rtl"] .nav-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
@media (max-width: 768px) {
    [dir="rtl"] .nav-links { flex-direction: column !important; }
    [dir="rtl"] .nav-inner { flex-direction: row-reverse; }
}
[dir="rtl"] .about-grid { direction: rtl; }
[dir="rtl"] .global-grid { direction: rtl; }
[dir="rtl"] .contact-grid { direction: rtl; }
[dir="rtl"] .footer-mega-grid { direction: rtl; }
[dir="rtl"] .timeline { padding-left: 0; padding-right: 80px; }
[dir="rtl"] .timeline::before { left: auto; right: 30px; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 5px;
}
.nav-toggle span { width: 22px; height: 1.5px; background: #fff; transition: all 0.3s; }
.nav.scrolled .nav-toggle span { background: var(--text); }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block; font-family: var(--sans);
    font-size: 0.72rem; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; padding: 18px 44px;
    transition: all 0.35s var(--ease); cursor: pointer; border: none;
}
.btn-primary {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    color: var(--bg);
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent 50%);
    pointer-events: none;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #333, #222);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.btn-light {
    background: linear-gradient(135deg, #ffffff, #e8e8e8);
    color: var(--bg-dark);
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}
.btn-light::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.5), transparent 50%);
    pointer-events: none;
}
.btn-light:hover {
    background: linear-gradient(135deg, #f5f5f5, #ddd);
    box-shadow: 0 8px 30px rgba(255,255,255,0.1);
}

.btn-outline-light {
    background: transparent; color: #fff;
    border: 1.5px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}
.btn-outline-light::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.03), transparent);
    pointer-events: none;
}
.btn-outline-light:hover {
    border-color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 20px rgba(255,255,255,0.05);
}

/* ========================================
   HERO — Aurora Mesh Background
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    background: linear-gradient(160deg, #0d1b2a 0%, #1b2d45 50%, #0d1b2a 100%);
    overflow: hidden;
}

/* Canvas + Aurora layers */
.hero-bg {
    position: absolute; inset: 0;
    background: var(--bg-dark);
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.hero-bg::before,
.hero-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: auroraFloat 12s ease-in-out infinite alternate;
}

.hero-bg::before {
    width: 60vw; height: 60vw;
    top: -20%; left: -10%;
    background: radial-gradient(circle, rgba(40,80,180,0.5) 0%, transparent 70%);
    animation-duration: 14s;
}

.hero-bg::after {
    width: 50vw; height: 50vw;
    bottom: -25%; right: -15%;
    background: radial-gradient(circle, rgba(60,120,200,0.3) 0%, transparent 70%);
    animation-duration: 10s;
    animation-delay: -4s;
}

.aurora-layer {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    mix-blend-mode: screen;
    z-index: 2;
    animation: auroraFloat 16s ease-in-out infinite alternate;
}

.aurora-1 {
    width: 40vw; height: 40vw;
    top: 10%; left: 30%;
    background: radial-gradient(circle, rgba(60,100,200,0.3) 0%, transparent 70%);
    animation-delay: -2s;
}

.aurora-2 {
    width: 35vw; height: 35vw;
    top: 40%; right: 10%;
    background: radial-gradient(circle, rgba(80,130,220,0.2) 0%, transparent 70%);
    animation-duration: 18s;
    animation-delay: -6s;
}

.aurora-3 {
    width: 45vw; height: 45vw;
    bottom: 0; left: 10%;
    background: radial-gradient(circle, rgba(40,70,140,0.35) 0%, transparent 70%);
    animation-duration: 20s;
    animation-delay: -8s;
}

@keyframes auroraFloat {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
    100% { transform: translate(15px, -10px) scale(1.02); }
}

/* Animated gradient border at hero bottom */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: relative; z-index: 3;
    text-align: center; padding: 0 20px; max-width: 800px;
}

.hero-pre {
    font-size: 0.72rem; letter-spacing: 5px; text-transform: uppercase;
    color: var(--gold); font-weight: 600; margin-bottom: 28px;
    opacity: 0; animation: fadeUp 0.8s 0.3s var(--ease) forwards;
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700; line-height: 1.05; color: #fff;
    margin-bottom: 24px;
    opacity: 0; animation: fadeUp 0.8s 0.5s var(--ease) forwards;
}

.hero-sub {
    font-size: 0.9rem; letter-spacing: 2px;
    color: rgba(255,255,255,0.85); font-weight: 400;
    opacity: 0; animation: fadeUp 0.8s 0.7s var(--ease) forwards;
}

/* ========================================
   SECTIONS
   ======================================== */
.section { padding: 120px 0; }
.section-skills { background: var(--bg); }
.section-alt {
    background: var(--bg-dark) url('images/advisory-bg.png') center/cover no-repeat;
    position: relative;
    color: #fff;
}
.section-alt::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(13,27,42,0.82);
}
.section-alt .container { position: relative; z-index: 1; }
.section-alt h2 { color: #fff; }
.section-alt .subtitle { color: rgba(255,255,255,0.8); }

.label {
    font-size: 0.68rem; letter-spacing: 4px; text-transform: uppercase;
    font-weight: 700; color: var(--gold); margin-bottom: 12px;
}
.label.center { text-align: center; }

h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700; line-height: 1.15; margin-bottom: 20px;
}
h2.center { text-align: center; }

.subtitle { font-size: 1rem; color: var(--text-3); max-width: 500px; }
.subtitle.center { text-align: center; margin: 0 auto 56px; }

/* ========================================
   ABOUT
   ======================================== */
.about-grid {
    display: grid; grid-template-columns: 400px 1fr; gap: 80px; align-items: center;
}
.about-photo {
    aspect-ratio: 3/4; background: var(--bg-alt); border: 1px solid var(--border);
    overflow: hidden; position: relative;
}
.photo-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; color: var(--text-3); letter-spacing: 3px; text-transform: uppercase;
}
.about-content p { font-size: 1.05rem; line-height: 1.8; color: var(--text-2); margin-bottom: 16px; }

.stats-row {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border);
}
.stat { text-align: center; }
.stat strong {
    display: block; font-family: var(--serif);
    font-size: 2rem; font-weight: 700; color: var(--text);
}
.stat span { font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-3); }

/* ========================================
   GALLERY — Full width, edge to edge
   ======================================== */
.gallery-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative; z-index: 1;
}

.gallery-full .gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.gallery-full .gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease), filter 0.6s;
    filter: brightness(0.7) contrast(1.05);
}

.gallery-full .gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(0.85) contrast(1.1);
}

.gallery-full .gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px 24px;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: #fff;
    background: linear-gradient(0deg, rgba(13,27,42,0.7) 0%, transparent 100%);
    opacity: 0; transform: translateY(8px);
    transition: all 0.4s var(--ease);
}

.gallery-full .gallery-item:hover .gallery-caption {
    opacity: 1; transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery-full { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================
   CATEGORY TITLES (skills grouping)
   ======================================== */
.category-title {
    font-family: var(--sans) !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    color: var(--gold) !important;
    margin: 48px 0 16px !important;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.category-title:first-of-type { margin-top: 20px !important; }

.tiles-4 { grid-template-columns: repeat(4, 1fr) !important; }
.tiles-5 { grid-template-columns: repeat(5, 1fr) !important; }

@media (max-width: 1024px) {
    .tiles-4, .tiles-5 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 768px) {
    .tiles-4, .tiles-5 { grid-template-columns: 1fr !important; }
}

/* ========================================
   JOURNEY / TIMELINE
   ======================================== */
.section-journey {
    background: var(--bg-alt);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    padding-left: 80px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--border) 5%, var(--border) 95%, transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: 48px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -54px; top: 6px;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid #1b2d45;
    z-index: 1;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -50px; top: 10px;
    width: 1px; height: 1px;
    border-radius: 50%;
    background: #1b2d45;
    box-shadow: 0 0 12px 4px rgba(27,45,69,0.15);
}

.timeline-year {
    font-family: var(--sans);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-2);
}

@media (max-width: 768px) {
    .timeline { padding-left: 50px; }
    .timeline::before { left: 15px; }
    .timeline-item::before { left: -39px; }
    .timeline-item::after { left: -35px; }
}

/* ========================================
   PAGE HERO — Subpage headers
   ======================================== */
.page-hero {
    padding: 140px 0 60px;
    background: var(--bg-alt);
    position: relative; z-index: 1;
}

.page-hero-dark {
    background: var(--bg-dark);
}

.page-hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
}

.page-hero-dark h1 { color: #fff; }
.page-hero-dark .label { color: var(--gold); }

/* Gallery full width for subpages */
.gallery-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative; z-index: 1;
}

.gallery-full .gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.gallery-full .gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease), filter 0.6s;
    filter: brightness(0.7) contrast(1.05);
}

.gallery-full .gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(0.85) contrast(1.1);
}

.gallery-full .gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px 24px;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: #fff;
    background: linear-gradient(0deg, rgba(13,27,42,0.7) 0%, transparent 100%);
    opacity: 0; transform: translateY(8px);
    transition: all 0.4s var(--ease);
}

.gallery-full .gallery-item:hover .gallery-caption {
    opacity: 1; transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery-full { grid-template-columns: repeat(2, 1fr); }
}

/* Old gallery section removed — now using .gallery-strip inside about */

/* ========================================
   MARQUEE
   ======================================== */
.marquee-bar {
    padding: 20px 0; background: #1b2d45;
    overflow: hidden; white-space: nowrap;
}
.marquee-track {
    display: inline-flex; align-items: center; gap: 20px;
    animation: marquee 35s linear infinite;
}
.marquee-track span {
    font-size: 0.78rem; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase; color: rgba(255,255,255,0.9); flex-shrink: 0;
}
.marquee-track .sep { color: var(--gold); font-size: 0.6rem; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   CATEGORY CARDS + ACCORDION
   ======================================== */
.category-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    touch-action: manipulation;
    display: grid;
    grid-template-columns: 200px 1fr;
    margin-top: 16px;
}

.category-card:first-of-type { margin-top: 48px; }

.category-card * {
    pointer-events: none;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
    border-color: transparent;
}

.category-card.active {
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(181,154,91,0.1);
}

.category-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #1b2d45;
    transition: transform 0.6s var(--ease);
    overflow: hidden;
    min-height: 100px;
}

.category-card:hover .category-img {
    transform: scale(1.04);
}

.category-info {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.category-arrow {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-3);
    transition: all 0.3s;
    vertical-align: middle;
}

.category-card.active .category-arrow {
    transform: rotate(45deg);
    color: var(--gold);
}

.category-info h3 {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.category-info p {
    font-size: 0.8rem;
    color: var(--text-2);
    line-height: 1.5;
    margin-bottom: 8px;
}

.category-count {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s var(--ease), margin 0.4s, opacity 0.4s;
    opacity: 0;
    margin-top: 0;
    pointer-events: none;
}

.accordion-panel.open {
    max-height: 2000px;
    opacity: 1;
    margin-top: 24px;
    margin-bottom: 8px;
    pointer-events: auto;
}

/* ========================================
   TILES — 3D hover + image backgrounds
   ======================================== */
.tiles-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
}


.tile {
    position: relative;
    aspect-ratio: 4/3;
    background-size: cover; background-position: center;
    background-color: #1e2a4a;
    display: flex; align-items: flex-end;
    overflow: hidden; cursor: pointer; text-decoration: none;
    transform-style: preserve-3d;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.tile:hover {
    transform: perspective(800px) rotateX(2deg) rotateY(-2deg) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
    z-index: 2;
}

.tile-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.15) 100%);
    transition: background 0.5s var(--ease);
}
.tile:hover .tile-overlay {
    background: linear-gradient(0deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.4) 100%);
}

.tile-content {
    position: relative; z-index: 2;
    padding: 28px; width: 100%;
    transform: translateY(0);
    transition: transform 0.5s var(--ease);
}
.tile:hover .tile-content { transform: translateY(-6px); }

.tile-tag {
    display: inline-block; font-family: var(--sans);
    font-size: 0.62rem; font-weight: 800; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}

.tile h3 {
    font-family: var(--sans);
    font-size: 1.2rem; font-weight: 800; color: #fff;
    line-height: 1.3; letter-spacing: 0.3px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

/* Glow line at bottom of tile on hover */
.tile::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.tile:hover::after { opacity: 1; }

/* ========================================
   ADVISORY BOARD
   ======================================== */
.advisory-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.advisor-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 36px 20px; text-align: center;
    transition: all 0.4s var(--ease);
}
.advisor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
}
.advisor-img {
    width: 36px; height: 36px; margin: 0 auto 16px;
    object-fit: contain; filter: brightness(0) invert(1); opacity: 0.3;
    transition: all 0.4s;
}
.advisor-card:hover .advisor-img { opacity: 0.7; }

.advisor-fallback {
    width: 36px; height: 36px; margin: 0 auto 16px;
    border: 1.5px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 800; color: rgba(255,255,255,0.9); letter-spacing: -0.5px;
}
.advisor-card:hover .advisor-fallback { color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.9); }
.advisor-card h4 { font-size: 0.85rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.advisor-role { font-size: 0.7rem; font-weight: 500; color: rgba(255,255,255,0.85); }
.advisor-by { font-size: 0.62rem; color: rgba(255,255,255,0.9); margin-top: 2px; }

.advisory-note {
    margin-top: 48px; text-align: center;
    max-width: 640px; margin-left: auto; margin-right: auto;
    padding: 36px 48px; border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
}
.advisory-note p { font-size: 0.95rem; line-height: 1.7; color: rgba(255,255,255,0.8); font-style: italic; }

/* ========================================
   LIFE — Personal pursuits
   ======================================== */
.section-life {
    background: var(--bg-alt);
}

.life-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.life-card {
    background: var(--bg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.life-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border-color: transparent;
}

.life-img {
    width: 100%;
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    background-color: #1b2d45;
    transition: transform 0.6s var(--ease);
}

.life-card:hover .life-img {
    transform: scale(1.04);
}

.life-img-tennis {
    background: linear-gradient(135deg, #1b4d3e, #0d2818);
    position: relative;
}

.life-img-tennis::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 60px; height: 60px;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 50%;
}

.life-body {
    padding: 28px 24px;
}

.life-body h3 {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.life-body p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-2);
}

@media (max-width: 768px) {
    .life-grid { grid-template-columns: 1fr; }
}

/* ========================================
   ADVISORY BOARD — Corporate team page
   ======================================== */
.section-board {
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.section-board .label { color: var(--gold); }
.section-board h2 { color: var(--text); }

.board-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 48px;
    border: 1px solid rgba(255,255,255,0.06);
}

.board-member {
    text-align: center;
    padding: 48px 20px 40px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s var(--ease);
    text-decoration: none;
    position: relative;
    background: var(--bg);
}

.board-member:nth-child(5n) { border-right: none; }
.board-member:nth-child(n+6) { border-bottom: none; }

.board-member:hover {
    background: var(--bg-alt);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.board-avatar {
    width: 100%;
    aspect-ratio: 3/4;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.board-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.05);
    transition: transform 0.5s var(--ease), filter 0.4s;
}

.board-member:hover .board-avatar img {
    transform: scale(1.04);
    filter: brightness(1) contrast(1.1);
}

.board-member h4 {
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.board-role {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-2);
    margin-bottom: 4px;
}

.board-company {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

@media (max-width: 1024px) {
    .board-grid { grid-template-columns: repeat(3, 1fr); }
    .board-member:nth-child(5n) { border-right: 1px solid rgba(255,255,255,0.06); }
    .board-member:nth-child(3n) { border-right: none; }
}

@media (max-width: 768px) {
    .board-grid { grid-template-columns: repeat(2, 1fr); }
    .board-member:nth-child(3n) { border-right: 1px solid rgba(255,255,255,0.06); }
    .board-member:nth-child(2n) { border-right: none; }
    .board-member { padding: 36px 16px 32px; }
}

/* ========================================
   GLOBAL
   ======================================== */
.section-global-wrap {
    background: var(--bg-dark) url('images/global-bg.png') center/cover no-repeat;
    position: relative;
}
.section-global-wrap::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(13,27,42,0.78);
}
.section-global-wrap .container { position: relative; z-index: 1; }

.global-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.global-grid p { font-size: 1.05rem; color: rgba(255,255,255,0.9); line-height: 1.7; }
.global-locations { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.location {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    padding: 28px 24px; transition: all 0.4s var(--ease);
}
.location:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
    background: rgba(255,255,255,0.07);
}
.location h4 { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; color: #fff; }
.location p { font-size: 0.8rem; color: rgba(255,255,255,0.8); margin: 0; }

/* ========================================
   QUOTE
   ======================================== */
.quote-section {
    padding: 100px 0;
    background: var(--bg-dark) url('images/quote-bg.png') center/cover no-repeat;
    position: relative;
}
.quote-section::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(13,27,42,0.75);
}
.quote-section blockquote { text-align: center; max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.quote-section p {
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.7; color: #fff; font-style: italic;
}
.quote-section cite {
    display: block; margin-top: 28px;
    font-family: var(--sans); font-style: normal;
    font-size: 0.72rem; letter-spacing: 3px;
    text-transform: uppercase; color: rgba(255,255,255,0.85); font-weight: 600;
}

/* ========================================
   CONTACT
   ======================================== */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.contact-grid p { font-size: 1.05rem; color: var(--text-2); line-height: 1.7; }
.contact-details { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; }
.contact-row { display: flex; flex-direction: column; gap: 2px; }
.contact-label {
    font-size: 0.62rem; letter-spacing: 3px; text-transform: uppercase;
    color: var(--gold); font-weight: 700;
}
.contact-row a { font-size: 1rem; font-weight: 500; color: var(--text); transition: color 0.3s; }
.contact-row a:hover { color: var(--gold); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; background: var(--bg-alt); border: 1px solid var(--border);
    color: var(--text); font-family: var(--sans); font-size: 0.9rem;
    padding: 16px 20px; outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    -webkit-appearance: none;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-3); }
.contact-form select { color: var(--text-3); cursor: pointer; }
.contact-form select option { color: var(--text); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(181,154,91,0.08);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form .btn { align-self: flex-start; }

/* ========================================
   FOOTER — Mega Professional
   ======================================== */
.footer {
    background: var(--bg-dark); color: #fff;
    position: relative; overflow: hidden;
}

.footer-canvas {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Animated glow orbs */
.footer::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    top: -200px; left: -100px;
    background: radial-gradient(circle, rgba(30,58,138,0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: footerGlow 12s ease-in-out infinite alternate;
}

.footer::after {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    bottom: -150px; right: -50px;
    background: radial-gradient(circle, rgba(181,154,91,0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: footerGlow 9s ease-in-out infinite alternate-reverse;
}

@keyframes footerGlow {
    0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    100% { transform: translate(40px, -30px) scale(1.2); opacity: 0.9; }
}

/* --- CTA Section --- */
.footer-cta {
    padding: 100px 0;
    text-align: center;
    position: relative; z-index: 1;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    background: url('images/cta-bg.png') center/cover no-repeat;
}
.footer-cta::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(13,27,42,0.8);
    z-index: 0;
}
.footer-cta > * { position: relative; z-index: 1; }
.footer-cta .container { position: relative; z-index: 1; }

.footer-cta-label {
    font-size: 0.68rem; letter-spacing: 5px; text-transform: uppercase;
    color: var(--gold); font-weight: 700; margin-bottom: 16px;
}

.footer-cta-title {
    font-family: var(--serif) !important;
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    color: #fff !important;
    margin-bottom: 36px !important;
}

.footer-cta-btn {
    font-size: 0.78rem !important;
    padding: 20px 56px !important;
}

/* Footer quote one-liner */
.footer-quote {
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: relative; z-index: 1;
}
.footer-quote p {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: rgba(255,255,255,0.5);
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
}

/* Footer advisory — clean logo strip */
.footer-advisory {
    padding: 44px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: relative; z-index: 1;
}

.footer-advisors-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.ai-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
    transition: all 0.4s var(--ease);
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.5px;
}

.ai-logo img {
    width: 22px; height: 22px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.ai-logo:hover {
    opacity: 0.9;
    transform: scale(1.15);
}

.footer-logo {
    width: 80px; height: 80px;
    object-fit: contain;
    margin: 0 auto 24px;
    display: block;
    border-radius: 8px;
    opacity: 0.7;
}

/* --- Giant Brand --- */
.footer-brand-section {
    padding: 80px 0 60px;
    text-align: center;
    position: relative; z-index: 1;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    background: url('images/footer-bg.png') center/cover no-repeat;
}
.footer-brand-section::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(13,27,42,0.82);
}
.footer-brand-section .container { position: relative; z-index: 1; }

.footer-hero h2 {
    font-family: var(--sans);
    font-size: clamp(3.5rem, 10vw, 9rem);
    font-weight: 900; letter-spacing: 14px;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255,255,255,0.08);
    margin-bottom: 16px; line-height: 1;
    transition: all 0.8s var(--ease);
}

.footer-hero:hover h2 {
    -webkit-text-stroke: 1.5px rgba(255,255,255,0.25);
    text-shadow: 0 0 80px rgba(181,154,91,0.1);
}

.footer-hero p {
    font-family: var(--serif); font-size: 1.1rem;
    color: rgba(255,255,255,0.9); font-style: italic;
}

/* --- Skills Map --- */
.footer-skills {
    padding: 50px 0;
    position: relative; z-index: 1;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.footer-section-title {
    font-size: 0.58rem; letter-spacing: 4px; text-transform: uppercase;
    color: var(--gold); font-weight: 700; margin-bottom: 24px;
    text-align: center;
}

.footer-skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

.footer-skills-grid a {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.04);
    transition: all 0.3s var(--ease);
    position: relative;
}

.footer-skills-grid a::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(181,154,91,0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.footer-skills-grid a:hover {
    color: #fff;
    border-color: rgba(181,154,91,0.2);
    background: rgba(255,255,255,0.03);
}
.footer-skills-grid a:hover::before { opacity: 1; }

/* --- Mega Grid --- */
.footer-mega {
    padding: 60px 0;
    position: relative; z-index: 1;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.footer-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px 40px;
}

.footer-col { display: flex; flex-direction: column; gap: 10px; }

.footer-col h5 {
    font-size: 0.58rem; letter-spacing: 3px; text-transform: uppercase;
    color: var(--gold); font-weight: 700; margin-bottom: 8px;
}

.footer-col a {
    font-size: 0.82rem; color: rgba(255,255,255,0.8);
    transition: all 0.3s; padding-left: 0;
}
.footer-col a:hover {
    color: #fff;
    padding-left: 8px;
}

.footer-info {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.9);
    display: block;
    padding: 2px 0;
}

/* Social links */
.social-links { display: flex; gap: 10px; margin-top: 4px; flex-wrap: wrap; }

.social-links-large .social-link {
    width: 44px; height: 44px;
}

.social-link {
    width: 40px; height: 40px;
    border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.4s var(--ease);
    position: relative; overflow: hidden;
}
.social-link::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(181,154,91,0.15), transparent);
    opacity: 0; transition: opacity 0.3s;
}
.social-link:hover::before { opacity: 1; }
.social-link svg {
    width: 16px; height: 16px;
    fill: #fff;
    transition: all 0.3s;
    position: relative; z-index: 1;
}
.social-link:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}
.social-link:hover svg { fill: var(--gold); }

.social-link-light {
    border-color: var(--border);
}
.social-link-light svg { fill: var(--text-2) !important; }
.social-link-light:hover { border-color: var(--gold); }
.social-link-light:hover svg { fill: var(--gold) !important; }

/* Footer world map */
.footer-map {
    padding: 40px 0 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: relative; z-index: 1;
}

.world-map-canvas {
    width: 100%;
    height: 400px;
    display: block;
    margin-top: 16px;
}

/* Footer contact bar */
.footer-contact-bar {
    padding: 60px 0;
    background: var(--bg-alt);
    position: relative; z-index: 1;
    border-top: 1px solid var(--border);
}

/* --- Bottom Bar --- */
.footer-bottom {
    padding: 28px 0;
    position: relative; z-index: 1;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom-logo {
    width: 24px; height: 24px;
    object-fit: contain;
    border-radius: 4px;
    opacity: 0.6;
}

.footer-bottom-name {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom-name span {
    font-weight: 400;
    opacity: 0.5;
    letter-spacing: 1px;
}

.footer-bottom p {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
}

.footer-tagline-small {
    color: rgba(181,154,91,0.4) !important;
    font-style: italic;
}

/* Animated separator lines between footer sections */
.footer-cta::after,
.footer-brand-section::after,
.footer-skills::after,
.footer-mega::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(181,154,91,0.2), transparent);
}

.footer-cta,
.footer-brand-section,
.footer-skills,
.footer-mega { position: relative; }

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.9s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children with scale */
.tile.reveal {
    transform: translateY(40px) scale(0.96);
}
.tile.reveal.visible {
    transform: translateY(0) scale(1);
}

.advisor-card.reveal {
    transform: translateY(30px) scale(0.95);
    opacity: 0;
}
.advisor-card.reveal.visible {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Stats counter animation */
.stat.reveal {
    transform: translateY(20px);
}
.stat.reveal.visible {
    transform: translateY(0);
}

/* Location cards slide from side */
.location.reveal:nth-child(odd) {
    transform: translateX(-30px);
    opacity: 0;
}
.location.reveal:nth-child(even) {
    transform: translateX(30px);
    opacity: 0;
}
.location.reveal.visible {
    transform: translateX(0);
    opacity: 1;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .container { padding: 0 28px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-photo { max-width: 360px; }
    .global-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .tiles-grid { grid-template-columns: repeat(2, 1fr); }
    .advisory-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-mega-grid { grid-template-columns: repeat(3, 1fr); gap: 36px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; position: fixed; inset: 0;
        background: rgba(13,27,42,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column !important; justify-content: center;
        align-items: center; gap: 28px; z-index: 999;
    }
    .nav-links.open { display: flex !important; flex-direction: column !important; }
    .nav-links a { font-size: 1rem; color: rgba(255,255,255,0.85) !important; }
    .nav-links a:hover { color: var(--gold) !important; }
    [dir="rtl"] .nav-links { flex-direction: column !important; }
    [dir="rtl"] .nav-links.open { flex-direction: column !important; }
    .nav-toggle { display: flex; z-index: 1001; }
    .section { padding: 80px 0; }
    .tiles-grid { grid-template-columns: 1fr; }
    .category-card { grid-template-columns: 120px 1fr; }
    .category-img { min-height: 80px; }
    .advisory-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .global-locations { grid-template-columns: 1fr; }
    .footer-mega-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-hero h2 { letter-spacing: 6px; }
    .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; }
    .advisory-note { padding: 24px 20px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
}
