/* ==========================================================================
   Axion Technologies — Master CSS Design System
   Corporate & Enterprise Luxury Aesthetic (Sultan Navy & Gold)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Cinzel:wght@500;600;700;800&family=Inter:wght@300;400;500;600;700;800&family=Montserrat:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
    /* Color Palette */
    --sultan-navy: #002447;
    --sultan-navy-dark: #00152b;
    --sultan-navy-deep: #050f1c;
    --sultan-navy-light: #0d3869;
    --sultan-gold: #c59b27;
    --sultan-gold-light: #e6b840;
    --sultan-gold-dark: #997311;
    --sultan-gold-glow: rgba(197, 155, 39, 0.25);
    --gold-gradient: linear-gradient(135deg, #f7d58b 0%, #c59b27 50%, #8f680c 100%);
    --navy-gradient: linear-gradient(135deg, #001b38 0%, #002447 50%, #0a3360 100%);
    --surface-dark: #0b1828;
    --surface-card: #ffffff;
    --surface-card-hover: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-light: #f8fafc;
    --border-color: #e2e8f0;
    --border-light: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 4px rgba(0, 36, 71, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(0, 36, 71, 0.08), 0 8px 10px -6px rgba(0, 36, 71, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 36, 71, 0.18);
    --shadow-gold: 0 12px 30px -5px rgba(197, 155, 39, 0.3);

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Section Animation Customizer Variables (Injected dynamically by JS/Admin) */
    --anim-duration-header: 500ms;
    --anim-duration-hero: 800ms;
    --anim-duration-about: 850ms;
    --anim-duration-companies: 700ms;
    --anim-duration-stats: 750ms;
    --anim-duration-news: 750ms;
    --anim-duration-contact: 800ms;
    --anim-duration-footer: 600ms;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: #f8fafc;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--sultan-navy);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.gold-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(197, 155, 39, 0.12);
    color: var(--sultan-gold-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 100px;
    border: 1px solid rgba(197, 155, 39, 0.3);
    margin-bottom: 16px;
}

.badge-tag.light {
    background: rgba(255, 255, 255, 0.12);
    color: #f7d58b;
    border-color: rgba(247, 213, 139, 0.3);
}

.section-padding {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--sultan-navy-dark);
    box-shadow: 0 4px 15px rgba(197, 155, 39, 0.35);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 155, 39, 0.5);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
    background: #ffffff;
    color: var(--sultan-navy);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-navy {
    background: var(--sultan-navy);
    color: #ffffff;
}

.btn-navy:hover {
    background: var(--sultan-navy-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   1. WordPress Floating Admin Bar (Top of screen for quick access)
   ========================================================================== */
.wp-front-admin-bar {
    background: #1d2327;
    color: #c3c4c7;
    font-size: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 10000;
    border-bottom: 1px solid #3c434a;
}

.wp-front-admin-bar a {
    color: #c3c4c7;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wp-front-admin-bar a:hover {
    color: #72aee6;
}

.wp-front-admin-bar .badge-role {
    background: #2271b1;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ==========================================================================
   2. Marquee Announcement Bar
   ========================================================================== */
.header-marquee-bar {
    background: linear-gradient(90deg, #001730 0%, #002447 50%, #001730 100%);
    color: #fce09b;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 6px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid rgba(197, 155, 39, 0.25);
    display: flex;
    align-items: center;
}

.marquee-content {
    display: inline-block;
    animation: marqueeScroll 25s linear infinite;
    padding-left: 100%;
}

@keyframes marqueeScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* ==========================================================================
   3. Top Utility Bar
   ========================================================================== */
.top-utility-bar {
    background: var(--sultan-navy-dark);
    color: #94a3b8;
    font-size: 0.8125rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-utility-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contacts {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-contacts a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #cbd5e1;
}

.top-contacts a i {
    color: var(--sultan-gold);
}

.top-contacts a:hover {
    color: var(--sultan-gold-light);
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.top-admin-link {
    background: var(--sultan-gold);
    color: var(--sultan-navy-dark) !important;
    padding: 3px 12px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-admin-link:hover {
    background: #f7d58b;
}

/* ==========================================================================
   4. Main Header & Navigation
   ========================================================================== */
.main-header {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 32px;
    z-index: 9999;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f5f9;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    top: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.site-logo:hover img {
    transform: scale(1.02);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 28px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--sultan-navy);
    padding: 10px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover, .nav-item.active .nav-link {
    color: var(--sultan-gold-dark);
}

.nav-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* Mega Dropdown Menu for Services */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: -180px;
    width: 780px;
    background: #ffffff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 20px 45px rgba(12, 35, 64, 0.18), 0 4px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.nav-item:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fbfcfe;
    border: 1px solid #f0f4f8;
    transition: all 0.25s ease;
}

.dropdown-item:hover {
    background: #f1f6fc;
    border-color: #d0e1f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.08);
}

.dropdown-item i {
    font-size: 1.35rem;
    color: var(--sultan-gold);
    margin-top: 2px;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.dropdown-item h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--sultan-navy);
    margin-bottom: 4px;
    line-height: 1.35;
}

.dropdown-sublist {
    margin: 4px 0 0 0;
    padding: 0;
    list-style: none;
}

.dropdown-sublist li {
    font-size: 11.5px;
    color: #50575e;
    line-height: 1.45;
    position: relative;
    padding-left: 12px;
    margin-bottom: 3px;
}

.dropdown-sublist li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #c59b27;
    font-weight: 900;
    font-size: 13px;
}

html[dir="rtl"] .mega-dropdown {
    left: auto;
    right: -180px;
}

html[dir="rtl"] .dropdown-sublist li {
    padding-left: 0;
    padding-right: 12px;
    text-align: right;
}

html[dir="rtl"] .dropdown-sublist li::before {
    left: auto;
    right: 0;
}

.header-action-btn {
    margin-left: 8px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--sultan-navy);
    cursor: pointer;
}

/* ==========================================================================
   5. Hero Section (With Animated Video / GIF / Motion Background)
   ========================================================================== */
.hero-section {
    position: relative;
    background: var(--sultan-navy-dark);
    color: #ffffff;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 90px 0 110px 0;
}

/* Background Video & Animated Media Layer */
.hero-video-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-bg-video, .hero-bg-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(1.03);
    transition: opacity 0.5s ease;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: background 0.3s ease, opacity 0.3s ease;
}

.hero-bg-overlay.navy-gradient {
    background: linear-gradient(135deg, rgba(0, 21, 43, 0.88) 0%, rgba(0, 36, 71, 0.78) 50%, rgba(5, 15, 28, 0.92) 100%),
                radial-gradient(circle at 80% 20%, rgba(197, 155, 39, 0.22) 0%, transparent 60%);
}

.hero-bg-overlay.dark-cinematic {
    background: linear-gradient(180deg, rgba(0, 10, 20, 0.9) 0%, rgba(0, 20, 40, 0.7) 50%, rgba(0, 10, 20, 0.95) 100%);
}

.hero-bg-overlay.sultan-gold-tint {
    background: linear-gradient(135deg, rgba(0, 25, 50, 0.82) 0%, rgba(197, 155, 39, 0.25) 50%, rgba(0, 15, 30, 0.9) 100%);
}

/* Canvas Particle Grid Layer */
.hero-canvas-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.35;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Video Control Button */
.hero-video-ctrl {
    position: absolute;
    bottom: 20px;
    left: 24px;
    z-index: 10;
    background: rgba(0, 21, 43, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: #f7d58b;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-video-ctrl:hover {
    background: var(--sultan-navy);
    color: #ffffff;
    border-color: var(--sultan-gold);
}

.hero-inner-wrap {
    position: relative;
    z-index: 2;
    max-width: 880px;
    transition: all 0.3s ease;
}

/* Dynamic Alignments */
.hero-inner-wrap.align-right {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

.hero-inner-wrap.align-right .hero-buttons {
    justify-content: flex-end;
}

.hero-inner-wrap.align-left {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.hero-inner-wrap.align-left .hero-buttons {
    justify-content: flex-start;
}

.hero-inner-wrap.align-center {
    margin: 0 auto;
    text-align: center;
}

.hero-inner-wrap.align-center .hero-buttons {
    justify-content: center;
}

.hero-content h1 {
    font-size: 3.4rem;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.16;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: font-size 0.2s ease, color 0.2s ease;
}

.hero-content p {
    font-size: 1.2rem;
    color: #cbd5e1;
    line-height: 1.75;
    margin-bottom: 34px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: font-size 0.2s ease, color 0.2s ease;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* Custom Dynamic Elements Injected in Hero */
.hero-custom-elements-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-custom-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: fit-content;
}

.hero-inner-wrap.align-right .hero-custom-badge {
    margin-left: auto;
}

.hero-inner-wrap.align-center .hero-custom-badge {
    margin: 0 auto;
}

.hero-custom-paragraph {
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 8px;
    background: rgba(0, 21, 43, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
}

/* ==========================================================================
   6. About Us & Founder Legacy Section
   ========================================================================== */
.about-section {
    background: #ffffff;
    padding-top: 80px;
    padding-bottom: 90px;
}

.about-top-tag-wrap {
    text-align: center;
    margin-bottom: 44px;
}

.about-top-tag {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2.2rem;
    color: var(--sultan-navy);
    font-weight: 600;
    letter-spacing: -0.5px;
    display: inline-block;
    transition: all 0.2s ease;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
    transition: all 0.3s ease;
}

/* Alignment Variants */
.about-grid.align-left-text-right-img {
    grid-template-columns: 1.05fr 0.95fr;
}

.about-grid.align-right-text-left-img {
    grid-template-columns: 0.95fr 1.05fr;
}
.about-grid.align-right-text-left-img .about-content {
    order: 2;
}
.about-grid.align-right-text-left-img .about-gallery-wrap {
    order: 1;
}

.about-grid.align-centered-stacked {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
}
.about-grid.align-centered-stacked .about-mini-stats {
    justify-content: center;
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    transition: all 0.2s ease;
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.35rem;
    line-height: 1.3;
    color: var(--sultan-navy);
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
    transition: all 0.2s ease;
}

/* Mini Stats Pill Badges (Uniform Width & Height) */
.about-mini-stats {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 14px;
    max-width: 580px;
}

.about-stat-pill {
    background: #334155;
    color: #ffffff;
    border-radius: 8px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 1 1 160px;
    min-width: 160px;
    max-width: 190px;
    height: 64px;
    box-sizing: border-box;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.about-stat-pill:hover {
    transform: translateY(-2px);
    background: #1e293b;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.about-stat-pill .stat-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1;
    flex-shrink: 0;
}

.about-stat-pill .stat-lbl {
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
    color: #cbd5e1;
    display: inline-block;
    letter-spacing: 0.2px;
}

/* Gallery Layout Variants */
.about-gallery-wrap {
    position: relative;
    width: 100%;
}

/* Layout 1: Trio Arch Gallery (Matching user design) */
.gallery-layout-trio-arch {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 16px;
    align-items: stretch;
}

.gallery-arch-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    min-height: 440px;
    box-shadow: var(--shadow-lg);
}

.gallery-arch-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 28px;
    transition: transform 0.4s ease;
}

.gallery-arch-card:hover img {
    transform: scale(1.03);
}

.gallery-stack-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery-stack-item {
    border-radius: 20px;
    overflow: hidden;
    height: 212px;
    box-shadow: var(--shadow-md);
}

.gallery-stack-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    transition: transform 0.4s ease;
}

.gallery-stack-item:hover img {
    transform: scale(1.04);
}

/* Layout 2: Duo Side-by-Side */
.gallery-layout-duo-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.gallery-layout-duo-side .gallery-side-item {
    border-radius: 22px;
    overflow: hidden;
    height: 420px;
    box-shadow: var(--shadow-lg);
}

.gallery-layout-duo-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Layout 3: Single Heroic Featured Frame */
.gallery-layout-single-hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 440px;
}

.gallery-layout-single-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Layout 4: 3 Horizontal Cards Grid */
.gallery-layout-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.gallery-layout-grid-3 .grid-item {
    border-radius: 16px;
    overflow: hidden;
    height: 280px;
    box-shadow: var(--shadow-md);
}

.gallery-layout-grid-3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   6B. Legacy & Leadership Section (Founder Tribute & Vision Story)
   ========================================================================== */
.legacy-section {
    padding: 20px 0 70px;
    background: #ffffff;
}

.legacy-section .container {
    max-width: 1560px;
    padding: 0 16px;
}

.legacy-card-container {
    background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.05) 0%, transparent 60%),
                radial-gradient(circle at 15% 85%, rgba(0, 0, 0, 0.25) 0%, transparent 60%),
                #2b3940;
    border-radius: 24px;
    padding: 46px 76px;
    color: #ffffff;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.25);
    position: relative;
    overflow: hidden;
    max-width: 1520px;
    width: 100%;
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* Subtle background swooshes matching the design */
.legacy-card-container::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
}

.legacy-card-container::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 20%;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.04);
    pointer-events: none;
}

/* Inner Grid Alignment Variants (Strict Side-by-Side) */
.legacy-inner-grid {
    display: grid;
    gap: 52px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.legacy-inner-grid.align-left-img-right-text {
    grid-template-columns: 310px 1fr;
}

.legacy-inner-grid.align-right-img-left-text {
    grid-template-columns: 1fr 310px;
}

.legacy-inner-grid.align-right-img-left-text .legacy-img-col {
    order: 2;
}

.legacy-inner-grid.align-right-img-left-text .legacy-content-col {
    order: 1;
}

.legacy-inner-grid.align-centered-stacked {
    grid-template-columns: 1fr;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.legacy-inner-grid.align-centered-stacked .legacy-img-col {
    margin: 0 auto 20px;
    width: 260px;
}

.legacy-img-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Founder Portrait Frame & Filter Processing Engine */
.legacy-portrait-frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    background: #1e293b;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    width: 280px;
    aspect-ratio: 1/1;
}

.legacy-portrait-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: filter 0.2s ease, transform 0.2s ease;
}

/* Content Column (Title + Story + Author strictly side-by-side) */
.legacy-content-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.legacy-header-wrap {
    text-align: center;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.legacy-script-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin: 0;
    transition: all 0.2s ease;
}

/* Quote & Story Content */
.legacy-quote-wrap {
    position: relative;
    padding: 0 6px;
}

.legacy-quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    line-height: 0.7;
    color: rgba(255, 255, 255, 0.25);
    user-select: none;
    font-weight: 700;
}

.legacy-quote-open {
    margin-bottom: 6px;
}

.legacy-story-text {
    font-size: 0.88rem;
    line-height: 1.68;
    color: #cbd5e1;
    font-weight: 400;
    margin-bottom: 14px;
    transition: all 0.2s ease;
}

.legacy-story-text strong {
    color: #ffffff;
    font-weight: 700;
}

.legacy-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legacy-author-box {
    display: inline-block;
}

.legacy-author-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    display: block;
    margin-bottom: 2px;
}

.legacy-author-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.legacy-bottom-row .legacy-quote-close {
    margin: 0;
    line-height: 0.5;
}

@media (max-width: 860px) {
    .legacy-card-container {
        padding: 30px 18px;
    }
    .legacy-inner-grid.align-left-img-right-text,
    .legacy-inner-grid.align-right-img-left-text {
        grid-template-columns: 1fr;
    }
    .legacy-img-col {
        width: 100%;
        margin-bottom: 18px;
    }
}

/* ==========================================================================
   6C. Our Business Interactive Showcase Section
   ========================================================================== */
.business-section {
    padding: 30px 0 50px;
    background: #ffffff;
}

.business-banner-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 20px 45px -10px rgba(0, 36, 71, 0.35);
    padding: 46px 54px;
    color: #ffffff;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-image 0.5s ease;
}

.business-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 24, 52, 0.88) 0%, rgba(2, 38, 77, 0.82) 100%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.business-header-wrap {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 24px;
}

.business-script-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2.15rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: all 0.2s ease;
}

.business-banner-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: center;
}

.business-details-col {
    max-width: 680px;
}

.business-unit-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 1.25;
    transition: all 0.3s ease;
}

.business-unit-desc p {
    font-size: 0.92rem;
    line-height: 1.72;
    color: #e2e8f0;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.business-tabs-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.business-tab-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    user-select: none;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}

.business-tab-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

.business-tab-item.active {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transform: translateX(6px);
}

.business-tab-text {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #cbd5e1;
    transition: color 0.2s ease;
}

.business-tab-item.active .business-tab-text {
    color: #ffffff;
}

.business-tab-indicator {
    width: 36px;
    height: 2px;
    background: rgba(56, 189, 248, 0.4);
    border-radius: 2px;
    position: relative;
    transition: all 0.25s ease;
}

.business-tab-item.active .business-tab-indicator {
    width: 48px;
    height: 3px;
    background: #ffffff;
    box-shadow: 0 0 8px #ffffff;
}

.business-tab-item.active .business-tab-indicator::before {
    content: '';
    position: absolute;
    left: -5px;
    top: -2.5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 8px #ffffff;
}

/* ==========================================================================
   6D. Brands Represented Carousel / Ticker Section
   ========================================================================== */
.brands-section {
    padding: 20px 0 60px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.brands-section .container {
    max-width: 1560px;
    padding: 0 16px;
}

.brands-header-wrap {
    text-align: center;
    margin-bottom: 22px;
}

.brands-script-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.85rem;
    font-weight: 600;
    color: #002447;
    letter-spacing: 0.5px;
}

.brands-carousel-container {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1520px;
    width: 100%;
    margin: 0 auto;
    padding: 8px 12px;
}

.brands-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #002447;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.brands-arrow:hover {
    background: #002447;
    color: #ffffff;
    border-color: #002447;
    transform: scale(1.06);
}

.brands-track-wrapper {
    overflow: hidden;
    flex: 1;
    padding: 10px 0;
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 48px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.brand-logo-item {
    min-width: 130px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    color: #1e293b;
    text-transform: uppercase;
    user-select: none;
    opacity: 0.75;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.brand-logo-item img {
    max-height: 42px;
    max-width: 130px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: all 0.25s ease;
}

.brand-logo-item:hover {
    opacity: 1;
    color: #002447;
    transform: scale(1.08);
}

.brand-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 900px) {
    .business-banner-card {
        padding: 36px 24px;
    }
    .business-banner-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .business-tabs-col {
        order: -1;
    }
}

/* ==========================================================================
   6E. Careers & Job Application Section
   ========================================================================== */
.careers-section {
    padding: 30px 0 60px;
    background: #ffffff;
}

.careers-header-wrap {
    text-align: center;
    margin-bottom: 24px;
}

.careers-script-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2.15rem;
    font-weight: 600;
    color: #002447;
    letter-spacing: 0.5px;
    display: inline-block;
}

.careers-banner-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.45);
    padding: 48px 56px;
    color: #ffffff;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background-image 0.5s ease;
}

.careers-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 5, 10, 0.86) 0%, rgba(45, 10, 20, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.careers-banner-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 48px;
    align-items: center;
}

.careers-text-col {
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.careers-para {
    font-size: 0.95rem;
    line-height: 1.72;
    color: #ffffff;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    margin: 0;
}

.careers-form-card {
    background: rgba(226, 232, 240, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 12px;
    padding: 26px 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    color: #1e293b;
}

.careers-form-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 18px 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.3px;
}

.careers-form-group {
    margin-bottom: 12px;
}

.careers-form-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 4px;
}

.careers-input,
.careers-textarea {
    width: 100%;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid rgba(100, 116, 139, 0.35);
    background: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    color: #0f172a;
    outline: none;
    font-family: inherit;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.careers-input:focus,
.careers-textarea:focus {
    background: rgba(255, 255, 255, 0.9);
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

.careers-file-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.careers-file-input {
    font-size: 0.8rem;
    color: #334155;
}

.careers-file-subtext {
    font-size: 0.68rem;
    color: #64748b;
    font-style: italic;
}

.careers-form-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.careers-submit-btn {
    padding: 9px 34px;
    border-radius: 5px;
    background: #1d4ed8;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.35);
}

.careers-submit-btn:hover {
    background: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(29, 78, 216, 0.45);
}

@media (max-width: 900px) {
    .careers-banner-card {
        padding: 36px 24px;
    }
    .careers-banner-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ==========================================================================
   7. Companies & Subsidiaries Grid
   ========================================================================== */
.companies-section {
    background: #f8fafc;
}

.companies-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 8px 18px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    background: #ffffff;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-tab.active, .filter-tab:hover {
    background: var(--sultan-navy);
    color: #ffffff;
    border-color: var(--sultan-navy);
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

.company-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.company-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(197, 155, 39, 0.4);
}

.company-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.company-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.company-card:hover .company-card-img img {
    transform: scale(1.06);
}

.company-card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--sultan-navy-dark);
    color: var(--sultan-gold);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(197, 155, 39, 0.3);
}

.company-card-body {
    padding: 26px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.company-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.company-card-icon {
    width: 46px;
    height: 46px;
    background: rgba(197, 155, 39, 0.12);
    color: var(--sultan-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.25rem;
}

.company-card-header h3 {
    font-size: 1.15rem;
    color: var(--sultan-navy);
}

.company-card-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.company-card-brands {
    background: #f8fafc;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
    border-left: 3px solid var(--sultan-gold);
}

.company-card-brands strong {
    color: var(--sultan-navy);
}

.company-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.btn-card-learn {
    color: var(--sultan-navy);
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-card-learn:hover {
    color: var(--sultan-gold);
}

/* ==========================================================================
   8. Stats & Milestones Counter Section
   ========================================================================== */
.stats-section {
    background: var(--navy-gradient);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 36px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(197, 155, 39, 0.4);
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--sultan-gold);
    margin-bottom: 14px;
}

.stat-number-wrap {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fce09b;
    margin-bottom: 4px;
}

.stat-sub {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ==========================================================================
   9. News & Media Posts Section
   ========================================================================== */
.news-section {
    background: #ffffff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.news-card-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-img img {
    transform: scale(1.05);
}

.news-category-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--sultan-navy);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.news-card-body {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.news-card-body h3 {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.news-card-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
    flex-grow: 1;
}

/* ==========================================================================
   10. Contact & Inquiry Section
   ========================================================================== */
.contact-section {
    background: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}

.contact-info-panel {
    background: var(--navy-gradient);
    color: #ffffff;
    padding: 44px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.contact-info-panel h3 {
    color: #ffffff;
    font-size: 1.75rem;
    margin-bottom: 14px;
}

.contact-info-panel p {
    color: #cbd5e1;
    font-size: 1rem;
    margin-bottom: 32px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail-item i {
    width: 40px;
    height: 40px;
    background: rgba(197, 155, 39, 0.2);
    color: var(--sultan-gold-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-detail-item h5 {
    color: #fce09b;
    font-size: 0.875rem;
    margin-bottom: 2px;
}

.contact-detail-item span {
    color: #ffffff;
    font-size: 0.95rem;
}

.contact-form-card {
    background: #ffffff;
    padding: 44px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--sultan-navy);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.25s ease;
    background: #f8fafc;
}

.form-control:focus {
    outline: none;
    border-color: var(--sultan-navy);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 36, 71, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

/* ==========================================================================
   11. Footer Section (Exact Axion Technologies Corporate Styling)
   ========================================================================== */
.main-footer {
    background: #1c262b;
    color: #ffffff;
    padding: 60px 0 24px;
    position: relative;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.footer-corporate-grid {
    display: grid;
    grid-template-columns: 1.25fr 1.05fr 1.6fr;
    gap: 48px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-talk-heading {
    font-size: 1.85rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    font-family: 'Outfit', sans-serif;
}

.footer-brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-mse-logo-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0077b6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.8rem;
    box-shadow: 0 0 12px rgba(0, 119, 182, 0.45);
    flex-shrink: 0;
}

.footer-company-name {
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin: 0;
}

.footer-address-block p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 14px;
}

.footer-contacts-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.footer-contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: #cbd5e1;
}

.footer-contact-row i {
    color: #00a3e0;
    font-size: 0.95rem;
    width: 16px;
}

.footer-contact-row a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-row a:hover {
    color: #38bdf8;
}

.footer-follow-wrap {
    margin-top: 14px;
}

.footer-follow-title {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #cbd5e1;
    margin-bottom: 10px;
}

.footer-social-icons {
    display: flex;
    gap: 8px;
}

.footer-soc-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 12px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
}

.footer-soc-circle:hover {
    background: #00a3e0;
    color: #ffffff;
    border-color: #00a3e0;
    transform: translateY(-2px);
}

.footer-section-title {
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #00a3e0;
    text-transform: uppercase;
    margin: 0 0 18px 0;
    font-family: 'Outfit', sans-serif;
}

.footer-quick-links-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-quick-links-list li a {
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.4px;
    transition: color 0.2s ease;
}

.footer-quick-links-list li a:hover {
    color: #38bdf8;
    padding-left: 2px;
}

.footer-map-container {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.14);
    width: 100%;
    max-width: 270px;
}

.footer-map-container iframe {
    display: block;
    width: 100%;
}

.footer-assoc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-assoc-list li {
    font-size: 0.77rem;
    line-height: 1.45;
    color: #cbd5e1;
    transition: color 0.2s ease;
}

.footer-assoc-list li:hover {
    color: #ffffff;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    text-align: center;
    font-size: 0.76rem;
    color: #94a3b8;
}

@media (max-width: 1024px) {
    .footer-corporate-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 680px) {
    .footer-corporate-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
    font-size: 0.8125rem;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   12. Dynamic Section Animations (Controlled by Admin Panel)
   ========================================================================== */
[data-animate] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* Base Types */
[data-animate="fade-up"] {
    transform: translateY(40px);
}
[data-animate="slide-left"] {
    transform: translateX(50px);
}
[data-animate="slide-right"] {
    transform: translateX(-50px);
}
[data-animate="zoom-in"] {
    transform: scale(0.92);
}
[data-animate="flip-up"] {
    transform: perspective(600px) rotateX(25deg);
}
[data-animate="fade-in"] {
    transform: none;
}

/* When In View */
[data-animate].in-view {
    opacity: 1;
    transform: none;
}

/* Per Section Custom Duration Hooks */
.hero-section [data-animate] { transition-duration: var(--anim-duration-hero); }
.about-section [data-animate] { transition-duration: var(--anim-duration-about); }
.companies-section [data-animate] { transition-duration: var(--anim-duration-companies); }
.stats-section [data-animate] { transition-duration: var(--anim-duration-stats); }
.news-section [data-animate] { transition-duration: var(--anim-duration-news); }
.contact-section [data-animate] { transition-duration: var(--anim-duration-contact); }
.main-footer [data-animate] { transition-duration: var(--anim-duration-footer); }

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 21, 43, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: #ffffff;
    border-radius: 16px;
    max-width: 650px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-header {
    background: var(--navy-gradient);
    color: #ffffff;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    color: #ffffff;
    font-size: 1.25rem;
}

.modal-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
}

.modal-body {
    padding: 28px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mega-dropdown {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 768px) {
    .top-utility-bar {
        display: none;
    }
    .site-nav {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.3rem;
    }
    .companies-grid, .news-grid, .stats-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ==========================================================================
   Language Switcher & Omani Arabic RTL System
   ========================================================================== */
.lang-switch {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.lang-switch:hover {
    background: rgba(197, 155, 39, 0.3);
    border-color: var(--sultan-gold);
    transform: translateY(-1px);
}

.lang-badge {
    opacity: 0.6;
    transition: all 0.2s ease;
}

.lang-badge.active {
    opacity: 1;
    color: var(--sultan-gold-light);
    font-weight: 800;
    text-shadow: 0 0 8px rgba(247, 213, 139, 0.6);
}

.lang-divider {
    opacity: 0.35;
}

/* RTL Layout Transformations */
html[dir="rtl"],
html[dir="rtl"] body {
    font-family: 'Cairo', 'Tajawal', 'Plus Jakarta Sans', sans-serif !important;
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] .hero-title,
html[dir="rtl"] .about-title,
html[dir="rtl"] .legacy-title,
html[dir="rtl"] .section-title,
html[dir="rtl"] .nav-link {
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
    letter-spacing: normal !important;
}

html[dir="rtl"] .top-contacts {
    direction: rtl;
}

html[dir="rtl"] .top-contacts i,
html[dir="rtl"] .top-admin-link i {
    margin-right: 0;
    margin-left: 6px;
}

html[dir="rtl"] .nav-links {
    margin-right: auto;
    margin-left: 0;
}

html[dir="rtl"] .nav-link i {
    margin-right: 0;
    margin-left: 6px;
}

html[dir="rtl"] .mega-dropdown {
    right: 0;
    left: auto;
}

html[dir="rtl"] .dropdown-item {
    text-align: right;
}

html[dir="rtl"] .dropdown-item i {
    margin-right: 0;
    margin-left: 12px;
}

html[dir="rtl"] .hero-inner-wrap.align-right {
    text-align: right;
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .hero-inner-wrap.align-left {
    text-align: left;
    margin-right: 0;
    margin-left: auto;
}

html[dir="rtl"] .hero-actions {
    justify-content: flex-start;
}

html[dir="rtl"] .btn i {
    margin-right: 0;
    margin-left: 8px;
}

html[dir="rtl"] .about-grid.align-left-text-right-img {
    direction: rtl;
}

html[dir="rtl"] .legacy-grid-layout.align-left-img-right-text {
    direction: rtl;
}

html[dir="rtl"] .business-tabs-nav {
    direction: rtl;
}

html[dir="rtl"] .business-tab-btn i {
    margin-right: 0;
    margin-left: 8px;
}

html[dir="rtl"] .careers-form-wrap {
    text-align: right;
}

html[dir="rtl"] .careers-form label {
    text-align: right;
}

html[dir="rtl"] .footer-corporate-grid {
    direction: rtl;
}

html[dir="rtl"] .footer-address-item i,
html[dir="rtl"] .footer-contact-link i {
    margin-right: 0;
    margin-left: 10px;
}

html[dir="rtl"] .footer-assoc-item i {
    margin-right: 0;
    margin-left: 8px;
    transform: rotate(180deg);
}

html[dir="rtl"] .footer-quick-links-list a i {
    margin-right: 0;
    margin-left: 8px;
    transform: rotate(180deg);
}

html[dir="rtl"] .brand-slide i,
html[dir="rtl"] .brands-carousel-btn {
    transform: scaleX(-1);
}


/* ==========================================================================
   AXION ENTERPRISE LUXURY ANIMATIONS & SAFE VISIBILITY SYSTEM
   ========================================================================== */

/* 1. Golden Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #c59b27, #f7d58b, #c59b27);
    box-shadow: 0 0 10px rgba(197, 155, 39, 0.8), 0 0 20px rgba(247, 213, 139, 0.5);
    z-index: 99999;
    transition: width 0.1s cubic-bezier(0.25, 0.1, 0.25, 1);
    pointer-events: none;
}

/* 2. Keyframe Animations */
@keyframes axionFadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 25px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes axionPulseGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(197, 155, 39, 0.3), 0 0 30px rgba(197, 155, 39, 0.1);
    }
    50% {
        box-shadow: 0 0 25px rgba(197, 155, 39, 0.6), 0 0 50px rgba(197, 155, 39, 0.25);
    }
}

@keyframes axionFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes axionShimmerSweep {
    0% {
        transform: translateX(-150%) skewX(-20deg);
    }
    100% {
        transform: translateX(250%) skewX(-20deg);
    }
}

/* 3. Safe Visibility Default - NEVER hide sections */
section,
.legacy-card-container,
.business-banner-card,
.brands-carousel-container,
.stat-item,
.service-media-card,
.service-img-card,
.career-form-card,
.specs-card,
.consultation-cta-card,
.footer-corporate-grid {
    opacity: 1 !important;
    transform: none !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 4. Interactive Hover & Micro-Animations */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0) 80%
    );
    transform: translateX(-150%) skewX(-20deg);
    transition: none;
    pointer-events: none;
}

.btn:hover::after {
    animation: axionShimmerSweep 0.85s ease-in-out;
}

.btn-gold:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(197, 155, 39, 0.5), 0 0 20px rgba(247, 213, 139, 0.3);
}

.btn-dark-navy:hover, .btn-navy:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 36, 71, 0.4);
}

.service-media-card:hover, .service-img-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 20px 40px rgba(0, 36, 71, 0.2), 0 0 20px rgba(197, 155, 39, 0.15);
    border-color: rgba(197, 155, 39, 0.6) !important;
}

.service-media-card img, .service-img-card img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-media-card:hover img, .service-img-card:hover img {
    transform: scale(1.06);
}

.badge-tag.light {
    animation: axionFloat 4s ease-in-out infinite;
}

.stat-item {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(197, 155, 39, 0.4) !important;
    box-shadow: 0 15px 35px rgba(0, 21, 43, 0.3);
}

.business-tab-item {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.business-tab-item:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.12);
}

.business-tab-item.active {
    transform: translateX(6px);
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE DESIGN SYSTEM
   ========================================================================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    .hero-title {
        font-size: 2.6rem !important;
    }
    .about-grid {
        gap: 36px;
    }
    .business-banner-content {
        gap: 30px;
    }
    .footer-corporate-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-col-assoc {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .wp-front-admin-bar {
        display: none !important;
    }

    .top-utility-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 8px 0;
    }
    
    .top-contacts {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        font-size: 11px;
    }

    .top-actions {
        margin-top: 4px;
    }

    .header-marquee-bar {
        padding: 6px 0;
        font-size: 11.5px;
    }

    .main-header {
        padding: 12px 0;
    }

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .site-logo img {
        height: 48px !important;
        width: auto !important;
    }

    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(197, 155, 39, 0.15);
        color: var(--sultan-gold);
        border: 1px solid rgba(197, 155, 39, 0.35);
        border-radius: 8px;
        font-size: 20px;
        cursor: pointer;
        z-index: 1001;
        transition: all 0.3s ease;
    }

    .mobile-toggle:active {
        transform: scale(0.92);
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        background: linear-gradient(180deg, #00152b 0%, #002447 100%);
        backdrop-filter: blur(16px);
        padding: 80px 24px 40px;
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.5);
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        overflow-y: auto;
    }

    .site-nav.active {
        right: 0 !important;
    }

    .nav-links {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 12px 16px;
        font-size: 1.05rem;
        color: #ffffff;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-link:hover, .nav-item.active .nav-link {
        background: rgba(197, 155, 39, 0.2);
        color: #f7d58b;
        border-color: rgba(197, 155, 39, 0.4);
    }

    .mega-dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: rgba(0, 21, 43, 0.6) !important;
        border: 1px solid rgba(197, 155, 39, 0.2) !important;
        border-radius: 8px;
        margin-top: 10px;
        padding: 10px !important;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .dropdown-item {
        padding: 10px !important;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 6px;
    }

    .hero-section {
        padding: 110px 0 60px !important;
        min-height: auto !important;
    }

    .hero-inner-wrap {
        padding: 0 !important;
        text-align: center;
    }

    .hero-content {
        max-width: 100% !important;
    }

    #hero-title {
        font-size: 2.1rem !important;
        line-height: 1.25 !important;
        margin-bottom: 16px !important;
    }

    #hero-desc {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 24px !important;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .about-section {
        padding: 60px 0 !important;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .about-pill-stats-row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .about-gallery-mosaic {
        grid-template-columns: 1fr !important;
        height: auto !important;
    }

    .gallery-arch-card, .gallery-stack-cards {
        height: 240px !important;
    }

    .legacy-section {
        padding: 60px 0 !important;
    }

    .legacy-inner-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .legacy-portrait-frame {
        max-width: 260px;
        margin: 0 auto;
    }

    .legacy-story-text {
        font-size: 0.98rem !important;
        line-height: 1.7 !important;
    }

    .business-section {
        padding: 60px 0 !important;
    }

    .business-banner-card {
        padding: 24px 16px !important;
        border-radius: 12px !important;
    }

    .business-banner-content {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .business-tabs-col {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .business-tab-item {
        padding: 12px 10px !important;
        font-size: 0.85rem !important;
        text-align: center;
        justify-content: center;
    }

    .business-tab-item .business-tab-text {
        font-size: 0.82rem !important;
    }

    .business-unit-title {
        font-size: 1.5rem !important;
    }

    .business-unit-desc p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    #business-unit-cta {
        width: 100%;
        justify-content: center;
    }

    .stats-grid-corporate {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .stat-item {
        padding: 20px 14px !important;
    }

    .stat-num-wrap .counter {
        font-size: 2.2rem !important;
    }

    .brand-logo-item {
        padding: 10px 16px !important;
        font-size: 0.9rem !important;
    }

    .career-form-card {
        padding: 24px 16px !important;
    }

    .career-form-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .footer-corporate-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .footer-bottom-bar {
        text-align: center;
        font-size: 0.85rem;
    }

    .service-detail-hero {
        padding: 100px 0 50px !important;
    }

    .service-hero-title {
        font-size: 1.9rem !important;
    }

    .service-media-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .consultation-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 16px !important;
    }

    .consultation-cta-card .btn-dark-navy {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    #hero-title {
        font-size: 1.8rem !important;
    }

    .business-tabs-col {
        grid-template-columns: 1fr !important;
    }

    .stats-grid-corporate {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================================
   CAREERS & JOB APPLICATION SECTION (EXACT DESIGN)
   ========================================================================== */
.careers-section {
    padding: 30px 0 60px;
    background: #ffffff;
}

.careers-header-wrap {
    text-align: center;
    margin-bottom: 24px;
}

.careers-script-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2.15rem;
    font-weight: 600;
    color: #002447;
    letter-spacing: 0.5px;
    display: inline-block;
}

.careers-banner-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.45);
    padding: 48px 56px;
    color: #ffffff;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background-image 0.5s ease;
}

.careers-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 5, 10, 0.86) 0%, rgba(45, 10, 20, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.careers-banner-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 48px;
    align-items: center;
}

.careers-text-col {
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.careers-para {
    font-size: 0.95rem;
    line-height: 1.72;
    color: #ffffff;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    margin: 0;
}

.careers-form-card {
    background: rgba(226, 232, 240, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 12px;
    padding: 26px 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    color: #1e293b;
}

.careers-form-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 18px 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.3px;
}

.careers-form-group {
    margin-bottom: 12px;
}

.careers-form-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 4px;
}

.careers-input,
.careers-textarea {
    width: 100%;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid rgba(100, 116, 139, 0.35);
    background: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    color: #0f172a;
    outline: none;
    font-family: inherit;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.careers-input:focus,
.careers-textarea:focus {
    background: rgba(255, 255, 255, 0.9);
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

.careers-file-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.careers-file-input {
    font-size: 0.8rem;
    color: #334155;
}

.careers-file-subtext {
    font-size: 0.68rem;
    color: #64748b;
    font-style: italic;
}

.careers-form-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.careers-submit-btn {
    padding: 9px 34px;
    border-radius: 5px;
    background: #1d4ed8;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.35);
}

.careers-submit-btn:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(29, 78, 216, 0.45);
}

/* ==========================================================================
   STATS & MILESTONES SECTION (EXACT DESIGN)
   ========================================================================== */
.stats-section {
    background: var(--navy-gradient);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(197, 155, 39, 0.4);
    box-shadow: 0 15px 35px rgba(0, 21, 43, 0.3);
}

.stat-num-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: #f7d58b;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-prefix {
    font-size: 2.2rem;
    color: var(--sultan-gold);
    margin-right: 2px;
}

.stat-label {
    font-size: 0.95rem;
    color: #cbd5e1;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .careers-banner-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .careers-text-col {
        max-width: 100%;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .careers-banner-card {
        padding: 32px 20px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   ABOUT US SECTION (EXACT DESIGN SYSTEM)
   ========================================================================== */
.about-section {
    background: #ffffff;
    padding-top: 80px;
    padding-bottom: 90px;
}

.about-top-tag-wrap {
    text-align: center;
    margin-bottom: 44px;
}

.about-top-tag {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2.2rem;
    color: var(--sultan-navy);
    font-weight: 600;
    letter-spacing: -0.5px;
    display: inline-block;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.35rem;
    line-height: 1.3;
    color: var(--sultan-navy);
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}

.about-mini-stats {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 14px;
    max-width: 580px;
}

.about-stat-pill {
    background: #334155;
    color: #ffffff;
    border-radius: 8px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 1 1 160px;
    min-width: 160px;
    max-width: 190px;
    height: 64px;
    box-sizing: border-box;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.about-stat-pill:hover {
    transform: translateY(-2px);
    background: #1e293b;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.about-stat-pill .stat-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1;
    flex-shrink: 0;
}

.about-stat-pill .stat-lbl {
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
    color: #cbd5e1;
    display: inline-block;
    letter-spacing: 0.2px;
}

.about-gallery-wrap {
    position: relative;
    width: 100%;
}

.gallery-layout-trio-arch {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 16px;
    align-items: stretch;
}

.gallery-arch-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    min-height: 440px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.gallery-arch-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 28px;
    transition: transform 0.4s ease;
}

.gallery-arch-card:hover img {
    transform: scale(1.03);
}

.gallery-stack-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery-stack-item {
    border-radius: 20px;
    overflow: hidden;
    height: 212px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.gallery-stack-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    transition: transform 0.4s ease;
}

.gallery-stack-item:hover img {
    transform: scale(1.03);
}
