/* ==========================================================================
   NASL BUSINESS COMPANY - PREMIUM LIGHT DESIGN SYSTEM & STYLESHEET
   Color System: Extracted from Official Logo (Royal Navy, Amber Gold, Pearl White)
   ========================================================================== */

/* --- CSS Variables / Official Logo Color System (Light Theme) --- */
:root {
    /* === BACKGROUNDS — Pearl & Snow Light Atmosphere === */
    --bg-dark: #f5f7fb;                 /* Main page body background */
    --bg-dark-secondary: #ffffff;       /* Pure White section background */
    --bg-dark-card: #ffffff;            /* Crisp White cards */
    --bg-light: #ffffff;
    --bg-light-card: #ffffff;
    --bg-accent-section: #eef3f9;       /* Soft Royal Ice Navy section bg */

    /* === PRIMARY NAVY — Royal Deep Navy from Logo === */
    --primary-navy: #0c1d4a;            /* Deep Royal Navy */
    --primary-navy-hover: #142a66;
    --primary-navy-glow: rgba(12, 29, 74, 0.15);

    /* === LOGO GOLD SYSTEM — Warm Amber-Bronze (exact logo tones) === */
    --accent-gold: #c8900a;             /* Primary logo gold */
    --accent-gold-light: #e5a40c;       /* Bright gold highlight */
    --accent-gold-hover: #b37e06;       /* Mid hover gold */
    --accent-gold-dark: #8a5e04;        /* Deep bronze */
    --accent-gold-glow: rgba(200, 144, 10, 0.25);
    --gold-badge-bg: #fff9eb;           /* Light gold tint for badges */
    --gold-badge-border: rgba(200, 144, 10, 0.35);
    --gold-badge-text: #92400e;         /* High-contrast amber text */
    --gold-gradient: linear-gradient(135deg, #f5c038 0%, #c8900a 50%, #8a5e04 100%);
    --gold-metallic-border: linear-gradient(135deg, rgba(229,164,12,0.4), rgba(200,144,10,0.18), rgba(138,94,4,0.4));
    --gold-shimmer: linear-gradient(90deg, transparent 0%, rgba(200,144,10,0.15) 50%, transparent 100%);

    /* === SILVER & ICE ACCENT === */
    --silver: #64748b;
    --silver-light: #f1f5f9;

    /* === TEXT SYSTEM — High Contrast Light Mode === */
    --text-primary: #091736;            /* Deep Crisp Royal Navy */
    --text-secondary: #475569;          /* Readable Slate Navy */
    --text-muted: #64748b;            /* Soft Muted Grey */
    --text-dark: #071126;

    /* === BORDERS === */
    --border-glass: rgba(12, 29, 74, 0.08);
    --border-gold: rgba(200, 144, 10, 0.28);
    --border-silver: rgba(226, 232, 240, 0.8);

    /* === FONTS === */
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Outfit', sans-serif;

    /* === RADIUS === */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* === SHADOWS — Light Mode Luxury Shadows === */
    --shadow-card: 0 10px 30px -5px rgba(12, 29, 74, 0.08), 0 4px 12px -2px rgba(12, 29, 74, 0.04);
    --shadow-hover: 0 20px 40px -10px rgba(12, 29, 74, 0.15), 0 0 20px rgba(200, 144, 10, 0.2);
    --shadow-glow: 0 8px 30px rgba(200, 144, 10, 0.25);
    --shadow-logo: 0 4px 20px rgba(12, 29, 74, 0.12);

    /* === TRANSITION === */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Global Reset & General Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-ar);
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(ellipse 90% 60% at 50% -10%, rgba(12, 29, 74, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 70% 50% at 90% 80%, rgba(200, 144, 10, 0.05) 0%, transparent 60%);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    direction: rtl;
}

/* English Mode */
body.lang-en {
    direction: ltr;
    font-family: var(--font-en);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

.dark-bg {
    background-color: #eef3f9;
    position: relative;
}

/* Ensure section titles and subtitles inside .dark-bg use high-contrast navy/slate */
.dark-bg .section-title.light {
    color: var(--primary-navy);
}

.dark-bg .section-subtitle.light {
    color: var(--text-secondary);
}

/* Lighter accent section (for vvm section) */
.vvm-section.dark-bg {
    background-color: #eef3f9;
}

/* Certs section light background */
.certs-section.dark-bg {
    background-color: #eef3f9;
}

/* --- Section Headers --- */
.section-header {
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--gold-badge-bg);
    border: 1px solid var(--gold-badge-border);
    color: var(--gold-badge-text);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(200, 144, 10, 0.1);
}

.section-title {
    font-size: clamp(1.5rem, 3.2vw + 0.5rem, 2.35rem);
    font-weight: 900;
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.section-title.light {
    color: var(--primary-navy);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.section-subtitle.light {
    color: var(--text-secondary);
}

/* VVM section overrides (light-toned background) */
.vvm-section .section-title.light {
    color: var(--primary-navy);
}

.vvm-section .section-subtitle.light {
    color: var(--text-secondary);
}

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

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

/* --- Buttons System --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
}

.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1.1rem 2.2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-navy), #081538);
    color: #ffffff;
    border: 1px solid var(--border-gold);
    box-shadow: 0 4px 15px rgba(14, 34, 84, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-navy-hover), var(--primary-navy));
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--accent-gold-glow);
    border-color: var(--accent-gold);
}

.btn-gold {
    background: var(--gold-gradient);
    color: #050a17;
    font-weight: 800;
    box-shadow: 0 4px 20px var(--accent-gold-glow);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #fef3c0 0%, #f5d060 40%, #c8900a 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(200, 144, 10, 0.5);
    color: #07090f;
}

.btn-outline {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(200, 144, 10, 0.08);
    box-shadow: 0 0 22px rgba(200, 144, 10, 0.2);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: inherit;
    background: linear-gradient(45deg, var(--accent-gold), transparent, var(--primary-navy));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn-glow:hover::after {
    opacity: 1;
}

/* --- Header / Navbar --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.6rem 0;
    transition: var(--transition);
    background: var(--primary-navy);
    border-bottom: 1px solid rgba(200, 144, 10, 0.25);
    box-shadow: 0 4px 20px rgba(6, 14, 34, 0.4);
}

.site-header.scrolled {
    padding: 0.4rem 0;
    background: rgba(8, 18, 50, 0.98);
    box-shadow: 0 6px 25px rgba(6, 14, 34, 0.5), 0 1px 0 rgba(200, 144, 10, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    position: relative;
}

/* Logo — Full size on dark navy header */
.site-logo-img {
    height: 62px;
    width: auto;
    object-fit: contain;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.site-logo-img:hover {
    transform: translateY(-2px) scale(1.03);
    filter: drop-shadow(0 4px 16px rgba(200, 144, 10, 0.6));
}

.logo-badge {
    width: 44px;
    height: 44px;
    background: var(--gold-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #ffffff;
    font-size: 1.15rem;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 15px rgba(200, 144, 10, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.brand-sub {
    font-size: 0.72rem;
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.mobile-nav-header,
.mobile-nav-footer {
    display: none;
}

.nav-icon,
.nav-link i,
.main-nav i.nav-icon {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-gold);
    transition: width 0.35s ease;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--transition);
}

.lang-toggle-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(200, 144, 10, 0.15);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 10rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(160deg, 
        #f0f4fc 0%, 
        #e8eef8 30%, 
        #f5f7fb 60%,
        #fef9ef 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(200, 144, 10, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(200, 144, 10, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black, transparent 85%);
    z-index: 1;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
}

.hero-glow-1 {
    top: 5%;
    right: 15%;
    width: 600px;
    height: 600px;
    background: #0c1d4a;
}

.hero-glow-2 {
    bottom: 5%;
    left: 8%;
    width: 450px;
    height: 450px;
    background: #c8900a;
    opacity: 0.15;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 2;
}

body.lang-en .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
}

/* Hero Right Text Column (RTL) */
.hero-text-col {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

body.lang-en .hero-text-col {
    text-align: left;
    align-items: flex-start;
}

.vision-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.5rem;
    background: var(--gold-badge-bg);
    border: 1px solid var(--gold-badge-border);
    border-radius: var(--radius-full);
    color: var(--gold-badge-text);
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 15px rgba(200, 144, 10, 0.12);
}

.hero-title {
    font-size: clamp(1.65rem, 3.8vw + 0.5rem, 3.15rem);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 1.35rem;
    color: var(--primary-navy);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.18rem;
    color: var(--text-secondary);
    margin-bottom: 2.25rem;
    line-height: 1.8;
    max-width: 650px;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 0;
    flex-wrap: wrap;
}

/* Hero Left Visual & Animated Logo Showcase (RTL) */
.hero-visual-col {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.hero-logo-card {
    position: relative;
    width: 100%;
    max-width: 410px;
    height: 390px;
    background: linear-gradient(145deg, #09173c 0%, #0c1d4a 50%, #06112d 100%);
    border: 2px solid var(--accent-gold);
    border-radius: var(--radius-lg);
    box-shadow: 
        0 25px 60px rgba(12, 29, 74, 0.35),
        0 0 40px rgba(200, 144, 10, 0.3),
        inset 0 0 30px rgba(200, 144, 10, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    animation: heroFloat 6s ease-in-out infinite;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.4s ease;
    cursor: pointer;
}

.hero-logo-card:hover {
    border-color: #f5c038;
    box-shadow: 
        0 35px 75px rgba(12, 29, 74, 0.45),
        0 0 60px rgba(200, 144, 10, 0.55);
}

.hero-featured-logo {
    max-width: 85%;
    max-height: 230px;
    object-fit: contain;
    filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.6)) brightness(1.1) contrast(1.08);
    animation: logoPulse 4s ease-in-out infinite alternate;
    position: relative;
    z-index: 3;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.hero-logo-card:hover .hero-featured-logo {
    transform: scale(1.07);
    filter: drop-shadow(0 15px 35px rgba(245, 192, 56, 0.6)) brightness(1.15);
}

.logo-card-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(200, 144, 10, 0.45) 0%, rgba(245, 192, 56, 0.15) 50%, transparent 75%);
    border-radius: 50%;
    filter: blur(30px);
    animation: glowPulse 4s infinite ease-in-out alternate;
    z-index: 1;
}

.logo-card-ring {
    position: absolute;
    width: 275px;
    height: 275px;
    border: 2px dashed rgba(245, 192, 56, 0.55);
    border-radius: 50%;
    animation: rotateRing 22s linear infinite;
    z-index: 2;
    pointer-events: none;
}

.logo-card-ring.ring-outer {
    width: 335px;
    height: 335px;
    border: 1.5px dotted rgba(255, 255, 255, 0.3);
    animation: rotateRing 32s linear infinite reverse;
}

.logo-badge-floating {
    position: absolute;
    bottom: -22px;
    background: linear-gradient(135deg, #f5c038 0%, #c8900a 50%, #8a5e04 100%);
    color: #06102b;
    border: 2px solid #ffffff;
    padding: 0.65rem 1.6rem;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    box-shadow: 0 10px 30px rgba(12, 29, 74, 0.35), 0 0 20px rgba(200, 144, 10, 0.5);
    z-index: 4;
    animation: floatBadge 5s ease-in-out infinite alternate;
}

.logo-badge-floating i {
    color: #06102b;
    font-size: 1.15rem;
}

/* Keyframe Animations */
@keyframes heroFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-14px); }
}

@keyframes logoPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.04); }
}

@keyframes glowPulse {
    0% { opacity: 0.4; transform: scale(0.9); }
    100% { opacity: 0.95; transform: scale(1.12); }
}

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

@keyframes floatBadge {
    0% { transform: translateY(0); }
    100% { transform: translateY(-6px); }
}

/* --- Page Header Banner (For Subpages) --- */
.page-banner {
    position: relative;
    padding: 11rem 0 5rem;
    background: linear-gradient(180deg, #eef3f9 0%, #f5f7fb 100%);
    border-bottom: 1px solid rgba(12, 29, 74, 0.08);
    overflow: hidden;
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.page-banner-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
}

.page-banner-glow-1 {
    top: -200px;
    right: -100px;
    background: rgba(12, 29, 74, 0.08);
}

.page-banner-glow-2 {
    bottom: -200px;
    left: -100px;
    background: rgba(200, 144, 10, 0.1);
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: clamp(1.6rem, 3.5vw + 0.5rem, 2.75rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--primary-navy);
}

.page-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 750px;
    line-height: 1.8;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--accent-gold);
    font-weight: 600;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Stats Bar */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(217, 155, 38, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.4rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
    text-align: right;
}

body.lang-en .stat-info {
    text-align: left;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-navy);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* --- About Section & GM Word --- */
.about-text-content {
    display: flex;
    flex-direction: column;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.body-text {
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
}

.feature-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.bullet-item i {
    color: var(--accent-gold);
}

/* GM Card */
.gm-card-wrapper {
    position: relative;
}

.gm-card {
    background: #ffffff;
    border: 1px solid rgba(200, 144, 10, 0.35);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 15px 40px rgba(12, 29, 74, 0.08), 0 0 25px rgba(200, 144, 10, 0.12);
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    font-size: 2.5rem;
    color: rgba(200, 144, 10, 0.2);
}

body.lang-en .quote-icon {
    left: auto;
    right: 2rem;
}

.gm-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 1.25rem;
}

.gm-quote-text {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.gm-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(12, 29, 74, 0.08);
    padding-top: 1.25rem;
}

.gm-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-navy-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
}

.gm-details {
    display: flex;
    flex-direction: column;
}

.gm-name {
    font-weight: 800;
    color: var(--primary-navy);
}

.gm-role {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 700;
}

/* --- Vision, Values & Mission --- */
.vvm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.vvm-card {
    background: #ffffff;
    border: 1px solid rgba(12, 29, 74, 0.08);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 8px 25px rgba(12, 29, 74, 0.05);
}

.vvm-card:hover, .vvm-card.active-card {
    border-color: var(--accent-gold);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(12, 29, 74, 0.12), 0 0 20px rgba(200, 144, 10, 0.15);
}

.vvm-badge {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.75rem;
}

.vision-badge-bg  { background: var(--gold-badge-bg); color: var(--gold-badge-text); border: 1px solid var(--gold-badge-border); }
.values-badge-bg  { background: rgba(12, 29, 74, 0.06); color: var(--primary-navy); border: 1px solid rgba(12,29,74,0.15); }
.mission-badge-bg { background: var(--gold-badge-bg); color: var(--accent-gold); border: 1px solid var(--gold-badge-border); }

.vvm-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.vvm-desc {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.75;
}

.vvm-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vvm-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.vvm-list li i {
    color: var(--accent-gold);
    margin-top: 0.25rem;
}

/* --- RTCC-Style Services Auto-Sliding Carousel Section --- */
.services-rtcc-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 2.5rem;
    align-items: center;
}

.services-intro-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-intro-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 1.25rem 0 2rem;
}

.services-intro-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.slider-arrows {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.slider-arrow-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(12, 29, 74, 0.15);
    color: var(--primary-navy);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(12, 29, 74, 0.06);
}

.slider-arrow-btn:hover {
    background: var(--primary-navy);
    color: #ffffff;
    border-color: var(--primary-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(12, 29, 74, 0.15);
}

.services-slider-col {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.services-slider-viewport {
    width: 100%;
    overflow: hidden;
    padding: 0.5rem 0.25rem 1rem;
}

.services-slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* RTCC Slide Card */
.rtcc-service-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 260px;
    background: #ffffff;
    border: 1px solid rgba(12, 29, 74, 0.09);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 20px rgba(12, 29, 74, 0.05);
    display: flex;
    flex-direction: column;
}

.rtcc-service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(200, 144, 10, 0.4);
    box-shadow: 0 16px 36px rgba(12, 29, 74, 0.12), 0 0 20px rgba(200, 144, 10, 0.12);
}

.rtcc-card-img {
    position: relative;
    width: 100%;
    height: 185px;
    overflow: hidden;
    background: #e2e8f0;
}

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

.rtcc-service-card:hover .rtcc-card-img img {
    transform: scale(1.08);
}

.rtcc-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(8, 18, 50, 0.85);
    backdrop-filter: blur(8px);
    color: var(--accent-gold);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(200, 144, 10, 0.3);
}

.rtcc-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.rtcc-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 0.6rem;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.rtcc-service-card:hover .rtcc-card-title {
    color: var(--accent-gold);
}

.rtcc-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rtcc-card-link {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.3s ease;
}

.rtcc-service-card:hover .rtcc-card-link {
    gap: 0.75rem;
}

/* Slider Dots Pagination */
.slider-dots-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.35s ease;
}

.slider-dot.active {
    width: 28px;
    border-radius: 10px;
    background: var(--accent-gold);
}

/* Dark Slider Section Variants */
.light-desc {
    color: var(--text-secondary) !important;
}

.slider-arrow-btn.light-btn {
    background: #ffffff;
    border-color: rgba(12, 29, 74, 0.15);
    color: var(--primary-navy);
    box-shadow: 0 4px 12px rgba(12, 29, 74, 0.06);
}

.slider-arrow-btn.light-btn:hover {
    background: var(--primary-navy);
    color: #ffffff;
    border-color: var(--primary-navy);
}

.rtcc-service-card.dark-card {
    background: #ffffff;
    border: 1px solid rgba(12, 29, 74, 0.09);
    color: var(--text-primary);
    box-shadow: 0 6px 20px rgba(12, 29, 74, 0.05);
}

.rtcc-service-card.dark-card .rtcc-card-title {
    color: var(--primary-navy);
}

.rtcc-service-card.dark-card .rtcc-card-desc {
    color: var(--text-secondary);
}

.rtcc-service-card.dark-card:hover {
    border-color: rgba(200, 144, 10, 0.4);
    box-shadow: 0 16px 36px rgba(12, 29, 74, 0.12), 0 0 20px rgba(200, 144, 10, 0.15);
}

@media (max-width: 1024px) {
    .services-rtcc-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .rtcc-service-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 640px) {
    .rtcc-service-card {
        flex: 0 0 100%;
    }
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(12, 29, 74, 0.08);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(12, 29, 74, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0c1d4a, #c8900a, #e5a40c, #c8900a);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    border-color: rgba(200, 144, 10, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(12, 29, 74, 0.12), 0 0 20px rgba(200, 144, 10, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--gold-badge-bg);
    border: 1px solid var(--gold-badge-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-navy);
    color: #ffffff;
    border-color: var(--primary-navy);
    transform: scale(1.08);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 0.85rem;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.service-link-btn {
    background: transparent;
    border: none;
    color: var(--accent-gold);
    font-weight: 800;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.service-link-btn:hover {
    gap: 0.75rem;
    color: var(--primary-navy);
}

/* --- Projects Section & Filters --- */
.project-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.6rem 1.4rem;
    background: #ffffff;
    border: 1px solid rgba(12, 29, 74, 0.12);
    color: var(--primary-navy);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(12, 29, 74, 0.04);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(12, 29, 74, 0.2);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    background: #ffffff;
    border: 1px solid rgba(12, 29, 74, 0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(12, 29, 74, 0.05);
}

.project-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(12, 29, 74, 0.12);
}

.project-tag-badge {
    align-self: flex-start;
    padding: 0.3rem 0.85rem;
    background: var(--gold-badge-bg);
    border: 1px solid var(--gold-badge-border);
    color: var(--gold-badge-text);
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 0.6rem;
}

.project-client {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.project-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Partners / Clients Marquee Ticker --- */
.partners-section {
    overflow: hidden;
}

/* Count badge above the marquee */
.clients-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--gold-badge-bg);
    border: 1px solid var(--gold-badge-border);
    color: var(--gold-badge-text);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    margin: 1.5rem auto 3rem;
    display: flex;
    width: fit-content;
}

/* Marquee Container */
.partners-marquee-wrapper {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
    width: 100%;
}

/* Fade edges on left and right (matching white background) */
.partners-marquee-wrapper::before,
.partners-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partners-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.partners-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.partners-marquee-track {
    display: flex;
    gap: 1.75rem;
    width: max-content;
    animation: partners-scroll 35s linear infinite;
}

.partners-marquee-track:hover {
    animation-play-state: paused;
}

/* Keyframes for RTL (Arabic default) */
@keyframes partners-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

/* Keyframes for LTR (English mode) */
body.lang-en .partners-marquee-track {
    animation-name: partners-scroll-ltr;
}

@keyframes partners-scroll-ltr {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* Each partner logo card */
.partner-card {
    background: #ffffff;
    border: 1px solid rgba(12, 29, 74, 0.09);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition);
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(12, 29, 74, 0.05);
    min-width: 160px;
    max-width: 175px;
    flex-shrink: 0;
    cursor: default;
}

.partner-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 14px 30px rgba(12, 29, 74, 0.1), 0 0 18px rgba(200, 144, 10, 0.2);
}

/* Logo image wrap */
.partner-logo-wrap {
    width: 100%;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 247, 251, 0.7);
    border: 1px solid rgba(12, 29, 74, 0.06);
    border-radius: 10px;
    overflow: hidden;
    padding: 8px 14px;
    transition: var(--transition);
}

.partner-card:hover .partner-logo-wrap {
    background: var(--gold-badge-bg);
    border-color: rgba(200, 144, 10, 0.3);
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(20%) contrast(1.05);
    transition: var(--transition);
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%) contrast(1.1) drop-shadow(0 3px 8px rgba(200, 144, 10, 0.25));
    transform: scale(1.08);
}

/* Fallback text abbreviation */
.partner-logo-abbr {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: var(--primary-navy);
    text-align: center;
    line-height: 1.25;
}

.partner-name {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: 0.3px;
    margin-top: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.partner-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* NASL featured partner - highlight */
.partner-card.partner-featured {
    border-color: rgba(200, 144, 10, 0.4);
    background: var(--gold-badge-bg);
    box-shadow: 0 8px 24px rgba(200, 144, 10, 0.18);
}

.partner-card.partner-featured .partner-logo-wrap {
    background: #ffffff;
    border-color: rgba(200, 144, 10, 0.25);
}

@media (max-width: 768px) {
    .partners-marquee-wrapper::before,
    .partners-marquee-wrapper::after {
        width: 60px;
    }
    .partner-card {
        min-width: 140px;
        max-width: 150px;
        padding: 1rem 1.1rem;
    }
}

/* --- Certifications Grid --- */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

/* --- Certifications Grid --- */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.cert-card {
    background: #ffffff;
    border: 1px solid rgba(12, 29, 74, 0.08);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(12, 29, 74, 0.05);
}

.cert-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(12, 29, 74, 0.12);
}

.cert-card.highlight-cert {
    background: var(--gold-badge-bg);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(200, 144, 10, 0.18);
}

.cert-icon {
    width: 60px;
    height: 60px;
    background: var(--gold-badge-bg);
    border: 1px solid var(--gold-badge-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.cert-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 0.4rem;
}

.cert-subtitle {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cert-meta {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-details {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
    margin-top: 0.5rem;
    text-align: right;
}

body.lang-en .legal-details {
    text-align: left;
}

.legal-item {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
}

.legal-label {
    color: var(--text-muted);
}

.legal-val {
    color: var(--primary-navy);
    font-weight: 800;
}

/* --- Contact & Form --- */
.contact-section .grid-2-col {
    align-items: flex-start;
}

.contact-info-block {
    padding-top: 0.25rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--gold-badge-bg);
    border: 1px solid var(--gold-badge-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-detail {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.phone-numbers a, .email-link {
    color: var(--primary-navy);
    font-weight: 800;
    font-size: 1rem;
}

.phone-numbers a:hover, .email-link:hover {
    color: var(--accent-gold);
}

.office-location {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.35rem;
}

/* Quote Form Card */
.quote-form-card {
    background: #ffffff;
    border: 1px solid rgba(200, 144, 10, 0.3);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(12, 29, 74, 0.08);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 0.4rem;
}

.form-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
}

.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: #f8fafc;
    border: 1px solid rgba(12, 29, 74, 0.12);
    border-radius: var(--radius-sm);
    color: var(--primary-navy);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent-gold);
    background: #ffffff;
    box-shadow: 0 0 15px rgba(200, 144, 10, 0.2);
}

.form-group select option {
    background: #ffffff;
    color: var(--primary-navy);
}

/* --- Footer (Deep Royal Navy Authority Footer) --- */
.site-footer {
    background: #060e22;
    border-top: 1px solid rgba(200, 144, 10, 0.35);
    color: #ffffff;
    padding: 4rem 0 2rem;
    position: relative;
}

/* Logo in dark footer — brighter & golden glow */
.site-footer .site-logo-img {
    filter: brightness(1.15) drop-shadow(0 4px 16px rgba(200, 144, 10, 0.5));
}

.site-footer .site-logo-img:hover {
    filter: brightness(1.25) drop-shadow(0 6px 22px rgba(200, 144, 10, 0.7));
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-desc {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 1rem;
    max-width: 400px;
}

.footer-links h4, .footer-contact h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-contact p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(200, 144, 10, 0.2);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* --- Service Modal --- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: #ffffff;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    max-width: 780px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 25px 50px rgba(12, 29, 74, 0.2);
    color: var(--text-primary);
}

.modal-backdrop.active .modal-box {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(12, 29, 74, 0.06);
    border: 1px solid rgba(12, 29, 74, 0.12);
    color: var(--primary-navy);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    z-index: 10;
}

body.lang-en .modal-close {
    left: auto;
    right: 1.25rem;
}

.modal-close:hover {
    background: var(--primary-navy);
    color: #ffffff;
    border-color: var(--primary-navy);
}

/* --- Service Card Thumbnail & Image Styles --- */
.service-card {
    padding: 0;
}

.service-card-thumb {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #000;
}

.service-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-thumb img {
    transform: scale(1.08);
}

.thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14, 24, 33, 0.95) 0%, rgba(14, 24, 33, 0.2) 60%, transparent 100%);
}

.photo-count-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(8, 15, 20, 0.85);
    border: 1px solid var(--border-gold);
    color: var(--accent-gold);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

body.lang-en .photo-count-badge {
    left: auto;
    right: 1rem;
}

.service-card-body {
    padding: 1.75rem 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* --- Modal Gallery Grid --- */
.modal-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.75rem;
}

/* --- Modal Subcategory Tabs --- */
.modal-tabs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    background: rgba(12, 29, 74, 0.04);
    padding: 0.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(12, 29, 74, 0.08);
}

.modal-tab-btn {
    background: #ffffff;
    border: 1px solid rgba(12, 29, 74, 0.1);
    color: var(--primary-navy);
    padding: 0.45rem 0.95rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.25s ease;
    font-family: inherit;
}

.modal-tab-btn i {
    color: var(--accent-gold);
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.modal-tab-btn:hover {
    background: var(--gold-badge-bg);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.modal-tab-btn.active {
    background: var(--primary-navy);
    color: #ffffff;
    border-color: var(--primary-navy);
    box-shadow: 0 4px 12px rgba(12, 29, 74, 0.2);
}

.modal-tab-btn.active i {
    color: var(--accent-gold);
}

/* Service Card Subchips */
.service-subchips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.service-subchip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(200, 144, 10, 0.08);
    color: var(--primary-navy);
    border: 1px solid rgba(200, 144, 10, 0.25);
    border-radius: 6px;
    padding: 0.2rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.service-subchip i {
    color: var(--accent-gold);
    font-size: 0.75rem;
}

.modal-gallery-item {
    position: relative;
    height: 110px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid rgba(12, 29, 74, 0.06);
    cursor: pointer;
    transition: var(--transition);
}

.modal-gallery-item:hover {
    border-color: var(--accent-gold);
    transform: scale(1.02);
}

.modal-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modal-gallery-item:hover img {
    transform: scale(1.1);
}

.modal-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 29, 74, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-gallery-item:hover .modal-gallery-overlay {
    opacity: 1;
}

/* --- Field Work Gallery Section --- */
.gallery-section {
    position: relative;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}

.gfilter-btn {
    padding: 0.5rem 1.2rem;
    background: #ffffff;
    border: 1px solid rgba(12, 29, 74, 0.12);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(12, 29, 74, 0.04);
}

.gfilter-btn:hover, .gfilter-btn.active {
    background: var(--primary-navy);
    color: #ffffff;
    border-color: var(--primary-navy);
    box-shadow: 0 4px 15px rgba(12, 29, 74, 0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 240px;
    border: 1px solid var(--border-glass);
    cursor: pointer;
    background: var(--bg-dark-card);
    transition: var(--transition);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.gallery-card:hover img {
    transform: scale(1.12);
}

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 15, 20, 0.95) 0%, rgba(8, 15, 20, 0.3) 60%, transparent 100%);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}

.gallery-cat {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.gallery-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.gallery-zoom-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 34px;
    height: 34px;
    background: rgba(12, 29, 74, 0.85);
    border: 1px solid rgba(200, 144, 10, 0.5);
    color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transform: scale(0.8);
    opacity: 0;
    transition: var(--transition);
}

body.lang-en .gallery-zoom-icon {
    left: auto;
    right: 1rem;
}

.gallery-card:hover .gallery-zoom-icon {
    transform: scale(1);
    opacity: 1;
}

/* --- Lightbox Modal --- */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(15px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 1000px;
    width: 92%;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transform: scale(0.95);
    transition: var(--transition);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-gold);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
    background: #000000;
}

.lightbox-info {
    margin-top: 1.25rem;
    text-align: center;
}

.lightbox-tag {
    display: inline-block;
    padding: 0.25rem 0.85rem;
    background: rgba(217, 155, 38, 0.15);
    border: 1px solid var(--border-gold);
    color: var(--accent-gold);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.lightbox-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
}

.lightbox-close {
    position: absolute;
    top: 1.75rem;
    right: 2rem;
    background: #ffffff;
    border: 2px solid var(--accent-gold);
    color: var(--primary-navy);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 3100;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
}

body.lang-en .lightbox-close {
    right: auto;
    left: 2rem;
}

.lightbox-close:hover {
    background: var(--accent-gold);
    color: #ffffff;
    border-color: var(--accent-gold);
    transform: scale(1.1);
}

/* --- Floating WhatsApp Widget --- */
.whatsapp-float-container {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 2500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.whatsapp-tooltip {
    background: rgba(8, 15, 20, 0.92);
    border: 1px solid var(--border-gold);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
    transform: translateX(10px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.whatsapp-float-container:hover .whatsapp-tooltip {
    transform: translateX(0);
    opacity: 1;
}

.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    position: relative;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-pulse-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: whatsappPulse 2s infinite ease-out;
    pointer-events: none;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* --- Advanced Scroll Animation Classes --- */
.reveal-init {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.88);
}

.reveal-visible {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* ==========================================================================
   ADVANCED SCROLL ANIMATIONS, LIGHTING & INTERACTIVE EFFECTS
   ========================================================================== */

/* 1. Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-navy), var(--accent-gold), var(--accent-gold-light));
    z-index: 10000;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* 2. Scroll Reveal Keyframe Animations */
.reveal-init {
    opacity: 0;
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(45px);
}

.reveal-scale {
    transform: translateY(35px) scale(0.95);
}

.reveal-left {
    transform: translateX(-45px);
}

.reveal-right {
    transform: translateX(45px);
}

.reveal-visible {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* 3. Interactive Card Mouse Spotlight Glow Effect */
.service-card, .project-card, .rtcc-service-card, .partner-card, .cert-card, .vvm-card, .stat-card, .gm-card, .gallery-card {
    position: relative;
}

.service-card::before, .project-card::before, .rtcc-service-card::before, 
.partner-card::before, .cert-card::before, .vvm-card::before, 
.stat-card::before, .gm-card::before, .gallery-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.14), transparent 70%);
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.service-card:hover::before, .project-card:hover::before, .rtcc-service-card:hover::before, 
.partner-card:hover::before, .cert-card:hover::before, .vvm-card:hover::before, 
.stat-card:hover::before, .gm-card:hover::before, .gallery-card:hover::before {
    opacity: 1;
}

/* 4. Floating Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-navy);
    color: var(--accent-gold);
    border: 1px solid var(--border-gold);
    box-shadow: 0 8px 25px rgba(12, 29, 74, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 2400;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

body.lang-en .back-to-top-btn {
    right: auto;
    left: 2rem;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.88);
}

.reveal-visible {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* ==========================================================================
   NAV BACKDROP OVERLAY & MOBILE MENU SYSTEM
   ========================================================================== */

.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(9, 23, 54, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    pointer-events: none;
}

.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.menu-open {
    overflow: hidden !important;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES — COMPREHENSIVE DEVICE SUPPORT
   ========================================================================== */

/* -- Large Screens (1200px and below) -- */
@media (max-width: 1200px) {
    .container { max-width: 1100px; }
}

/* -- Tablet Landscape & Medium Desktops (1024px and below) -- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-text-col,
    body.lang-en .hero-text-col {
        align-items: center;
        text-align: center;
    }
    .hero-cta { justify-content: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .vvm-grid, .services-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .partners-grid, .certs-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .grid-2-col { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

/* -- Tablet Portrait & Mobile Devices (768px and below) -- */
@media (max-width: 768px) {
    .site-header { padding: 0.75rem 0; }
    .brand-title { font-size: 1.05rem; }
    .brand-sub { font-size: 0.65rem; }
    .logo-badge { width: 36px; height: 36px; font-size: 1rem; }

    .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: var(--gold-badge-bg);
        border: 1px solid var(--gold-badge-border);
        color: var(--primary-navy);
        border-radius: var(--radius-sm);
        font-size: 1.15rem;
        cursor: pointer;
        transition: var(--transition);
        z-index: 2005;
        position: relative;
    }

    .mobile-toggle:hover {
        background: var(--primary-navy);
        color: var(--accent-gold);
        border-color: var(--primary-navy);
    }

    /* ==========================================================================
       NAV BACKDROP OVERLAY & MOBILE MENU SYSTEM
       ========================================================================== */

    .nav-backdrop {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: rgba(3, 8, 22, 0.78) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        z-index: 100 !important;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
        pointer-events: none;
    }

    .nav-backdrop.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .mobile-nav-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding-bottom: 1.25rem !important;
        margin-bottom: 1.25rem !important;
        border-bottom: 1.5px solid rgba(247, 215, 117, 0.25) !important;
    }

    .mobile-nav-brand {
        display: flex !important;
        align-items: center !important;
        gap: 0.75rem !important;
    }

    .mobile-nav-logo {
        height: 40px !important;
        width: auto !important;
        object-fit: contain !important;
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5)) !important;
    }

    .mobile-brand-text {
        display: flex !important;
        flex-direction: column !important;
    }

    .mobile-brand-name {
        font-size: 1.05rem !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        line-height: 1.1 !important;
    }

    .mobile-brand-sub {
        font-size: 0.7rem !important;
        color: #f7d775 !important;
        font-weight: 700 !important;
    }

    .mobile-nav-close {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background: #142757 !important;
        border: 1.5px solid #f7d775 !important;
        color: #f7d775 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.2rem !important;
        cursor: pointer !important;
        transition: var(--transition) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    }

    .mobile-nav-close:hover {
        background: #f7d775 !important;
        color: #0a183d !important;
        transform: scale(1.08) !important;
    }

    .main-nav {
        position: fixed !important;
        top: 0 !important;
        right: -100%;
        width: 85% !important;
        max-width: 320px !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: linear-gradient(180deg, #09173d 0%, #0c2054 50%, #06112e 100%) !important;
        padding: 1.5rem 1.25rem 1.75rem !important;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1), left 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        border-left: 2px solid #f7d775 !important;
        box-shadow: -15px 0 50px rgba(0, 0, 0, 0.7) !important;
        z-index: 500 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        opacity: 1 !important;
    }

    body.lang-en .main-nav {
        right: auto !important;
        left: -100% !important;
        border-left: none !important;
        border-right: 2px solid #f7d775 !important;
        box-shadow: 15px 0 50px rgba(0, 0, 0, 0.7) !important;
    }

    .main-nav.mobile-active { right: 0 !important; }
    body.lang-en .main-nav.mobile-active { left: 0 !important; }

    .main-nav ul {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.65rem !important;
        width: 100% !important;
    }

    .main-nav ul li { width: 100% !important; }

    .nav-icon {
        display: none !important;
    }

    .nav-link {
        font-size: 1.02rem !important;
        font-weight: 700 !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.85rem !important;
        padding: 0.8rem 1rem !important;
        color: #ffffff !important;
        background: #102353 !important;
        border: 1px solid rgba(247, 215, 117, 0.18) !important;
        border-radius: 12px !important;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    }

    .nav-link:hover {
        color: #ffffff !important;
        background: #183375 !important;
        border-color: #f7d775 !important;
        transform: translateX(-4px) !important;
    }

    .nav-link.active {
        color: #09173d !important;
        background: linear-gradient(135deg, #f7d775 0%, #d4af37 100%) !important;
        border-color: #f7d775 !important;
        font-weight: 800 !important;
        transform: translateX(-4px) !important;
        box-shadow: 0 6px 20px rgba(247, 215, 117, 0.35) !important;
    }

    body.lang-en .nav-link:hover,
    body.lang-en .nav-link.active {
        transform: translateX(4px) !important;
    }



    .nav-link::after { display: none !important; }

    .mobile-nav-footer {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.85rem !important;
        margin-top: 1.5rem !important;
        padding-top: 1.25rem !important;
        border-top: 1.5px solid rgba(247, 215, 117, 0.2) !important;
    }

    .mobile-nav-contact {
        display: flex !important;
        justify-content: center !important;
    }

    .mobile-nav-contact a {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        color: #ffffff !important;
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        transition: var(--transition) !important;
    }

    .mobile-nav-contact a:hover {
        color: #f7d775 !important;
    }

    .hero-logo-card {
        max-width: 290px;
        height: 270px;
        padding: 1.25rem;
    }
    .hero-featured-logo { max-height: 140px; }
    .logo-card-ring { width: 190px; height: 190px; }
    .logo-card-ring.ring-outer { width: 240px; height: 240px; }

    .hero-subtitle, .page-subtitle { font-size: 0.95rem; }
    .hero-cta { flex-direction: column; width: 100%; gap: 0.85rem; }
    .hero-cta .btn { width: 100%; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .vvm-grid, .services-grid, .projects-grid, .partners-grid, .certs-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .gallery-card { height: 200px; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

    .project-filters, .gallery-filters {
        display: flex;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 0.75rem;
        padding-top: 0.25rem;
        margin-bottom: 1.5rem;
        gap: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
    }

    .project-filters::-webkit-scrollbar,
    .gallery-filters::-webkit-scrollbar { display: none; }

    .filter-btn, .gfilter-btn {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 0.5rem 1rem;
        font-size: 0.82rem;
        scroll-snap-align: start;
    }

    .whatsapp-float-container { bottom: 1.25rem; left: 1.25rem; }
    body.lang-en .whatsapp-float-container { left: auto; right: 1.25rem; }
    .whatsapp-float-btn { width: 48px; height: 48px; font-size: 1.5rem; }
    .whatsapp-tooltip { display: none; }

    .back-to-top-btn { bottom: 1.25rem; right: 1.25rem; width: 44px; height: 44px; font-size: 1rem; }
    body.lang-en .back-to-top-btn { right: auto; left: 1.25rem; }

    .lightbox-modal { padding: 0.75rem; }
    .lightbox-content { width: 96%; max-height: 92vh; }
    .lightbox-content img { max-height: 65vh; border-radius: var(--radius-md); }
    .lightbox-close { top: 0.75rem; right: 0.75rem; width: 40px; height: 40px; font-size: 1rem; }
    body.lang-en .lightbox-close { right: auto; left: 0.75rem; }

    .modal-box { padding: 1.5rem; max-height: 85vh; overflow-y: auto; }
    .modal-close { top: 0.75rem; left: 0.75rem; }
}

/* -- Small Mobile Phones (480px and below) -- */
@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .section-padding { padding: 3.25rem 0; }
    .page-banner { padding: 7.5rem 0 2.5rem; }
    .section-subtitle { font-size: 0.88rem; }
    .header-actions .btn-sm,
    .header-actions .header-quote-btn { display: none; }

    .hero-logo-card { max-width: 250px; height: 235px; padding: 1rem; }
    .hero-featured-logo { max-height: 120px; }
    .logo-card-ring { width: 160px; height: 160px; }
    .logo-card-ring.ring-outer { width: 200px; height: 200px; }

    .stats-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; gap: 0.85rem; }
    .gallery-card { height: 215px; }
    .gallery-title { font-size: 0.95rem; }
    .gallery-cat { font-size: 0.7rem; }
}

/* -- Extra Small Devices (360px and below) -- */
@media (max-width: 360px) {
    html { font-size: 14px; }
    .btn-lg { padding: 0.8rem 1.2rem; font-size: 0.95rem; }
    .main-nav { max-width: 90%; }
}

/* -- Safe Area Insets for notched devices -- */
@supports (padding: max(0px)) {
    @media (max-width: 768px) {
        .whatsapp-float-container {
            bottom: max(1.25rem, env(safe-area-inset-bottom));
        }
        .back-to-top-btn {
            bottom: max(1.25rem, env(safe-area-inset-bottom));
        }
    }
}

.sectors-toggle-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.sector-card {
    background: #ffffff;
    border: 2px solid rgba(12, 29, 74, 0.1);
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s ease;
    flex: 1;
    width: 100%;
    box-shadow: 0 10px 25px rgba(12, 29, 74, 0.05);
}

.sector-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(12, 29, 74, 0.1);
    border-color: rgba(200, 144, 10, 0.4);
}

.sector-card.active {
    background: var(--primary-navy);
    border-color: var(--accent-gold);
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(12, 29, 74, 0.2);
}

.sector-icon {
    font-size: 4.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.sector-card.active .sector-icon {
    transform: scale(1.1);
}

.sector-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    color: var(--primary-navy);
    transition: color 0.4s ease;
}

.sector-card.active h3 {
    color: #ffffff;
}

@media (max-width: 768px) {
    .sectors-toggle-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .sector-card {
        padding: 1.5rem;
        max-width: 100%;
    }
}