/* ==========================================================================
   AL WATAD UNITED - Heritage Theme Stylesheet v2.0
   Professional heritage-inspired design for contracting company
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
    /* Heritage Color Palette */
    --color-navy:        #1B2A4A;
    --color-navy-deep:   #0F1A30;
    --color-navy-light:  #243656;
    --color-navy-muted:  #2A3E62;
    --color-gold:        #C4973B;
    --color-gold-light:  #D4AD5A;
    --color-gold-dark:   #A67C2E;
    --color-gold-pale:   #F0E4CC;
    --color-parchment:   #F5F2ED;
    --color-warm-white:  #FAFAF7;
    --color-sand:        #E8E0D4;
    --color-stone:       #D1C7B8;
    --color-charcoal:    #2C2C2C;
    --color-text:        #2D3436;
    --color-text-light:  #636E72;
    --color-text-muted:  #B2BEC3;
    --color-white:       #FFFFFF;
    --color-dark-overlay: rgba(15, 26, 48, 0.92);
    --color-border:      rgba(196, 151, 59, 0.15);

    /* Heritage Accent Colors */
    --color-turquoise:       #1A8C8C;
    --color-turquoise-light: #2DB5B5;
    --color-terracotta:      #C45B28;
    --color-terracotta-light:#D4743E;
    --color-brick:           #8B4513;

    /* Typography */
    --font-heading:   'Playfair Display', 'Georgia', serif;
    --font-elegant:   'Cormorant Garamond', 'Georgia', serif;
    --font-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-arabic:    'Noto Kufi Arabic', 'Amiri', 'Tahoma', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1240px;
    --container-padding: 28px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-elegant: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);

    /* Shadows */
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 4px 20px rgba(196, 151, 59, 0.15);
    --shadow-card: 0 2px 20px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0,0,0,0.02);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-warm-white);
    line-height: 1.75;
    overflow-x: hidden;
    font-size: 16px;
}

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

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

ul { list-style: none; }

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

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* Text Utilities */
.text-accent { color: var(--color-gold); }
.text-accent-light { color: var(--color-gold-light); }

/* Arabic text utility */
.footer-desc-ar,
.footer-tagline-ar,
.mobile-menu-footer-ar {
    font-family: var(--font-arabic);
    direction: rtl;
}

/* --------------------------------------------------------------------------
   Preloader
   -------------------------------------------------------------------------- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.preloader-logo-img {
    width: 80px;
    height: auto;
    animation: preloaderPulse 2s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    border-radius: 2px;
    animation: preloaderFill 2.5s ease-in-out forwards;
}

.preloader-text {
    font-family: var(--font-body);
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: 500;
    text-transform: uppercase;
}

@keyframes preloaderPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes preloaderFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-nav {
    padding: 6px 8px 6px 16px;
    transition: var(--transition-smooth);
}

.site-header.scrolled .main-nav {
    padding: 5px 8px 5px 16px;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    width: 44px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition-smooth);
}

.logo-words {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 2px;
    line-height: 1.1;
}

.logo-sub {
    font-size: 10px;
    color: var(--color-gold-light);
    letter-spacing: 3px;
    font-weight: 500;
    text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition-smooth);
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--color-gold);
    border-radius: 2px;
}

.nav-link-cta {
    background: var(--color-gold);
    color: var(--color-white) !important;
    padding: 8px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.nav-link-cta:hover {
    background: var(--color-gold-light);
    transform: translateY(-1px);
}

.nav-link-cta.active::after {
    display: none;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark-overlay);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    text-align: center;
}

.mobile-menu-logo img {
    margin: 0 auto 40px;
    filter: brightness(0) invert(1);
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--color-white);
    padding: 8px 0;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.mobile-nav-link:hover {
    opacity: 1;
    color: var(--color-gold-light);
}

.mobile-menu-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-footer p {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1px;
}

.mobile-menu-footer-ar {
    font-size: 16px;
    color: rgba(255,255,255,0.3);
    margin-top: 8px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-elegant);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(196, 151, 59, 0.3);
}

.btn-primary:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(196, 151, 59, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--color-gold);
    color: var(--color-gold-light);
    background: rgba(196, 151, 59, 0.05);
}

.btn-light {
    background: var(--color-white);
    color: var(--color-navy);
}

.btn-light:hover {
    background: var(--color-gold-pale);
    color: var(--color-navy);
}

.btn-outline-light {
    border-color: rgba(255,255,255,0.4);
    color: var(--color-white);
}

.btn-outline-light:hover {
    border-color: var(--color-white);
    background: rgba(255,255,255,0.05);
}

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 16px;
    position: relative;
    padding: 0 20px;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--color-gold);
    opacity: 0.4;
}

.section-tag::before { right: 100%; }
.section-tag::after { left: 100%; }

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-title-ornament {
    display: flex;
    justify-content: center;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.section-title-ornament svg {
    width: 100px;
    height: 20px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-text-light);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.8;
    text-align: justify;
    text-align-last: center;
}

/* Light variants */
.section-header-light .section-tag { color: var(--color-gold-light); }
.section-header-light .section-tag::before,
.section-header-light .section-tag::after { background: var(--color-gold-light); }
.section-header-light .section-title { color: var(--color-white); }
.ornament-light { color: var(--color-gold-light); }
.section-subtitle-light { color: rgba(255,255,255,0.65); }

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0;
    overflow: hidden;
    background-color: var(--color-navy-deep);
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 26, 48, 0.92) 0%,
        rgba(27, 42, 74, 0.85) 40%,
        rgba(36, 54, 86, 0.80) 70%,
        rgba(15, 26, 48, 0.90) 100%
    );
    z-index: 1;
}

.hero-pattern-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.03;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,1) 35px, rgba(255,255,255,1) 36px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,1) 35px, rgba(255,255,255,1) 36px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.badge-line {
    width: 40px;
    height: 1px;
    background: var(--color-gold);
    opacity: 0.5;
}

.badge-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-gold-light);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}

.hero-title-line {
    display: block;
    font-family: var(--font-heading);
    color: var(--color-white);
    line-height: 1.1;
}

.hero-title-line-1,
.hero-title-line-3 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    font-style: italic;
    opacity: 0.9;
}

.hero-title-line-2,
.hero-title-line-4 {
    font-size: clamp(56px, 8vw, 96px);
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    margin: 12px 0;
}

.divider-svg {
    width: 160px;
    height: 20px;
}

.hero-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 44px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    text-align-last: center;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.6;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--color-gold-light);
    border-radius: 3px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

.scroll-text {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Hero Arch Decoration */
.hero-arch-decoration {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

.arch-deco-svg {
    width: 200px;
    height: 280px;
    color: var(--color-gold);
}

/* Stats Bar */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    padding: 32px var(--container-padding);
    background: rgba(15, 26, 48, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(196, 151, 59, 0.15);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-gold-light);
}

.stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.stat-icon svg {
    color: var(--color-gold-light);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
}

/* --------------------------------------------------------------------------
   ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-section {
    background: var(--color-warm-white);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 80px;
}

.about-images {
    position: relative;
}

.about-img-main {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.about-img-main img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about-img-main .about-img-frame {
    position: absolute;
    inset: -8px;
    border: 2px solid var(--color-gold);
    border-radius: var(--radius-lg);
    opacity: 0.2;
    pointer-events: none;
    z-index: -1;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    height: 260px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    border: 4px solid var(--color-warm-white);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    z-index: 2;
}

.exp-badge-inner {
    width: 110px;
    height: 110px;
    background: var(--color-gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
}

.exp-text {
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    text-align: center;
    line-height: 1.3;
    font-weight: 500;
}

/* About Content */
.about-content {
    padding-top: 12px;
}

.about-headline {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 600;
    color: var(--color-navy);
    line-height: 1.4;
    margin-bottom: 28px;
}

.about-text {
    color: var(--color-text-light);
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.85;
    text-align: justify;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.highlight-item:hover {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-gold);
    transform: translateX(4px);
}

.highlight-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gold-pale);
    border-radius: 50%;
    flex-shrink: 0;
    color: var(--color-gold-dark);
}

.highlight-icon svg {
    width: 20px;
    height: 20px;
}

.highlight-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 2px;
}

.highlight-text span {
    font-size: 12px;
    color: var(--color-text-light);
}

/* VMV Section */
.vmv-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
}

.vmv-card {
    background: var(--color-white);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: var(--transition-elegant);
    position: relative;
    overflow: hidden;
}

.vmv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.vmv-card:hover::before {
    transform: scaleX(1);
}

.vmv-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.vmv-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gold-pale);
    border-radius: 50%;
    color: var(--color-gold-dark);
}

.vmv-icon svg {
    width: 26px;
    height: 26px;
}

.vmv-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 16px;
}

.vmv-text {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.8;
    text-align: justify;
}

/* Values Grid */
.vmv-values-card {
    text-align: left;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.value-item {
    padding: 16px;
    background: var(--color-parchment);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-gold);
}

.value-number {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
}

.value-item strong {
    display: block;
    font-size: 14px;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.value-item p {
    font-size: 12px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-section {
    background: var(--color-parchment);
    overflow: hidden;
}

/* Featured Service */
.featured-service {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    background: var(--color-navy);
    padding: 48px;
    border-radius: var(--radius-lg);
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}

.featured-service::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 151, 59, 0.05));
    pointer-events: none;
}

.featured-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gold-light);
    padding: 6px 16px;
    border: 1px solid rgba(196, 151, 59, 0.3);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.featured-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
    margin-bottom: 16px;
}

.featured-text {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 24px;
    text-align: justify;
}

.featured-standards {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.standard-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-gold);
    padding: 6px 14px;
    background: rgba(196, 151, 59, 0.1);
    border: 1px solid rgba(196, 151, 59, 0.2);
    border-radius: var(--radius-sm);
}

.featured-service-visual {
    position: relative;
    z-index: 1;
}

.heritage-arch-pattern {
    opacity: 0.15;
}

.arch-pattern-svg {
    width: 160px;
    height: 220px;
    color: var(--color-gold);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--color-white);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: var(--transition-elegant);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
    border-color: var(--color-gold);
}

.service-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--color-parchment);
    line-height: 1;
    margin-bottom: 4px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-number {
    color: var(--color-gold-pale);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.7;
    text-align: justify;
}

/* --------------------------------------------------------------------------
   METHODOLOGY SECTION
   -------------------------------------------------------------------------- */
.methodology-section {
    background: var(--color-navy);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.methodology-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.02;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,1) 35px, rgba(255,255,255,1) 36px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,1) 35px, rgba(255,255,255,1) 36px);
    pointer-events: none;
}

.methodology-intro {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.methodology-intro p {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    text-align: justify;
    text-align-last: center;
}

/* Methodology Gallery */
.methodology-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 16px;
    margin-bottom: 64px;
}

.meth-gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.meth-gallery-large {
    grid-column: span 2;
    grid-row: span 2;
}

.meth-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 180px;
    transition: transform 0.6s ease;
}

.meth-gallery-large img {
    min-height: 380px;
}

.meth-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 26, 48, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition-smooth);
}

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

.meth-gallery-item:hover img {
    transform: scale(1.02);
}

.meth-gallery-overlay span {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.5px;
}

/* Timeline */
.methodology-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto 64px;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(196, 151, 59, 0.2);
    transform: translateX(-50%);
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 48px;
    position: relative;
}

.timeline-step:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
}

.step-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-gold);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 0 0 6px var(--color-navy), 0 0 0 8px rgba(196, 151, 59, 0.3);
}

.step-content {
    width: calc(50% - 60px);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    transition: var(--transition-smooth);
}

.step-content:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(196, 151, 59, 0.2);
}

.timeline-step:nth-child(odd) .step-content {
    margin-right: auto;
}

.timeline-step:nth-child(even) .step-content {
    margin-left: auto;
}

.step-content h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-gold-light);
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
    text-align: justify;
}

/* Heritage Note */
.heritage-note {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: rgba(196, 151, 59, 0.08);
    border: 1px solid rgba(196, 151, 59, 0.15);
    border-radius: var(--radius-md);
    padding: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.heritage-note-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 151, 59, 0.15);
    border-radius: 50%;
    flex-shrink: 0;
    color: var(--color-gold-light);
}

.heritage-note-icon svg {
    width: 24px;
    height: 24px;
}

.heritage-note-content h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-gold-light);
    margin-bottom: 10px;
}

.heritage-note-content p {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
    text-align: justify;
}

/* --------------------------------------------------------------------------
   PROJECTS SECTION
   -------------------------------------------------------------------------- */
.projects-section {
    background: var(--color-warm-white);
    overflow: hidden;
}

.projects-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.project-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition-elegant);
}

.project-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.project-card-large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.project-card-visual {
    position: relative;
    overflow: hidden;
}

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

.project-card:hover .project-card-visual img {
    transform: none;
}

.project-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-white);
    background: rgba(15, 26, 48, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
}

/* Before/After */
.project-before-after {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
}

.ba-item {
    width: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--color-white);
    position: relative;
}

.ba-item img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    min-height: auto;
}

.ba-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: var(--color-white);
    font-size: 9px;
    font-weight: 600;
    text-align: center;
    padding: 2px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Project Gallery Thumbs */
.project-gallery-thumbs {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
}

.gallery-thumb {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--color-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.gallery-thumb:hover {
    border-color: var(--color-gold);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: auto;
}

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

.project-number {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.35;
    margin-bottom: 10px;
}

.project-desc {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--color-parchment);
    border-radius: var(--radius-sm);
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-navy);
}

.project-orgs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.org-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-gold-dark);
    padding: 5px 12px;
    background: var(--color-gold-pale);
    border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   ORGANIZATIONAL STRUCTURE SECTION
   -------------------------------------------------------------------------- */
.organization-section {
    background: var(--color-parchment);
    overflow: hidden;
}

.org-chart {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.org-level {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.org-card {
    background: var(--color-white);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    min-width: 160px;
}

.org-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.org-card h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.org-card span {
    font-family: var(--font-arabic);
    font-size: 12px;
    color: var(--color-text-light);
    direction: rtl;
}

.org-card-icon {
    margin-bottom: 8px;
    color: var(--color-gold);
}

.org-card-icon svg {
    width: 28px;
    height: 28px;
    margin: 0 auto;
}

.org-card-primary {
    background: var(--color-navy);
    border-color: var(--color-navy);
}

.org-card-primary h4 { color: var(--color-white); }
.org-card-primary span { color: rgba(255,255,255,0.6); }
.org-card-primary .org-card-icon { color: var(--color-gold-light); }

.org-card-secondary {
    background: var(--color-white);
    border-color: var(--color-gold);
    border-width: 2px;
}

.org-card-highlight {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.org-card-highlight h4 { color: var(--color-white); }
.org-card-highlight span { color: rgba(255,255,255,0.8); }

.org-card-admin {
    background: var(--color-parchment);
    border-color: var(--color-sand);
}

.org-card-team {
    background: var(--color-white);
}

.org-connector {
    display: flex;
    justify-content: center;
    height: 32px;
    position: relative;
}

.org-connector-down::after {
    content: '';
    width: 2px;
    height: 100%;
    background: var(--color-gold);
    opacity: 0.3;
}

.org-connector-split::after {
    content: '';
    width: 2px;
    height: 100%;
    background: var(--color-gold);
    opacity: 0.3;
}

/* --------------------------------------------------------------------------
   CERTIFICATIONS SECTION
   -------------------------------------------------------------------------- */
.certifications-section {
    background: var(--color-navy);
    color: var(--color-white);
}

.certifications-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.015;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,1) 35px, rgba(255,255,255,1) 36px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,1) 35px, rgba(255,255,255,1) 36px);
    pointer-events: none;
}

.certs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 64px;
}

.cert-block {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 36px;
}

.cert-block-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-gold-light);
    margin-bottom: 14px;
}

.cert-block-text {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
    margin-bottom: 24px;
    text-align: justify;
}

/* Certificate Images */
.cert-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.cert-image-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.1);
    transition: var(--transition-smooth);
}

.cert-image-item:hover {
    border-color: var(--color-gold);
}

.cert-image-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.cert-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.06);
}

.cert-item-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 151, 59, 0.15);
    border-radius: 50%;
    flex-shrink: 0;
    color: var(--color-gold-light);
}

.cert-item-icon svg {
    width: 20px;
    height: 20px;
}

.cert-item strong {
    display: block;
    font-size: 14px;
    color: var(--color-white);
    margin-bottom: 2px;
}

.cert-item span {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
}

.cert-capital {
    padding: 16px 20px;
    background: rgba(196, 151, 59, 0.1);
    border: 1px solid rgba(196, 151, 59, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.capital-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.capital-value {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-gold-light);
}

/* Recognition */
.recognition-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.recognition-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    transition: var(--transition-smooth);
}

.recognition-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(196, 151, 59, 0.2);
}

.recognition-item svg {
    width: 32px;
    height: 32px;
    color: var(--color-gold-light);
}

.recognition-item span {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

/* Principles Section */
.principles-section {
    position: relative;
}

.principles-header {
    text-align: center;
    margin-bottom: 40px;
}

.principles-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-gold-light);
}

.principles-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.principles-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.principles-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.principles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.principle-card {
    padding: 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.principle-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(196, 151, 59, 0.2);
}

.principle-num {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-gold);
    padding: 4px 10px;
    background: rgba(196, 151, 59, 0.1);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.principle-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
}

.principle-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    text-align: justify;
}

/* --------------------------------------------------------------------------
   CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-section {
    background: var(--color-warm-white);
    overflow: hidden;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.contact-card:hover {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-gold);
    transform: translateX(4px);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gold-pale);
    border-radius: 50%;
    flex-shrink: 0;
    color: var(--color-gold-dark);
    transition: var(--transition-smooth);
}

.contact-card:hover .contact-card-icon {
    background: var(--color-gold);
    color: var(--color-white);
}

.contact-card-icon svg {
    width: 22px;
    height: 22px;
}

.contact-card-content h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.contact-card-content p,
.contact-card-content a {
    font-size: 14px;
    color: var(--color-text-light);
}

.contact-card-content a:hover {
    color: var(--color-gold);
}

/* Social Links */
.contact-social {
    display: flex;
    gap: 12px;
    padding-top: 8px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-light);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Contact CTA */
.contact-cta {
    display: flex;
    align-items: stretch;
}

.cta-card {
    background: var(--color-navy);
    border-radius: var(--radius-lg);
    padding: 56px 44px;
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-arch {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gold);
    opacity: 0.1;
    pointer-events: none;
}

.cta-arch svg {
    width: 180px;
    height: 220px;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
    margin-bottom: 32px;
    text-align: justify;
}

.cta-content .btn {
    margin-right: 12px;
    margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--color-navy-deep);
    color: rgba(255,255,255,0.7);
    padding: 72px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.015;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,1) 35px, rgba(255,255,255,1) 36px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,1) 35px, rgba(255,255,255,1) 36px);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

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

.footer-logo-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1px;
}

.footer-logo-tagline {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.5px;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    line-height: 1.8;
    margin-bottom: 12px;
    text-align: justify;
}

.footer-desc-ar {
    font-size: 14px;
    color: rgba(255,255,255,0.3);
    line-height: 1.8;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-gold);
}

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

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-gold-light);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.footer-contact-item svg {
    color: var(--color-gold);
    flex-shrink: 0;
}

.footer-contact-item a {
    color: rgba(255,255,255,0.5);
}

.footer-contact-item a:hover {
    color: var(--color-gold-light);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-bottom-left p {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}

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

.footer-tagline {
    font-family: var(--font-elegant);
    font-size: 15px;
    font-style: italic;
    color: rgba(255,255,255,0.4);
    display: block;
}

.footer-tagline-ar {
    font-size: 14px;
    color: rgba(255,255,255,0.25);
    display: block;
    margin-top: 4px;
}

.footer-bottom-right a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: rgba(255,255,255,0.4);
    transition: var(--transition-smooth);
}

.footer-bottom-right a:hover {
    border-color: var(--color-gold);
    color: var(--color-gold-light);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 48px;
    height: 48px;
    background: var(--color-navy);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 100;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(196, 151, 59, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-navy-light);
    transform: translateY(-3px);
    border-color: var(--color-gold);
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .about-grid {
        gap: 48px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-showcase {
        grid-template-columns: 1fr;
    }

    .project-card-large {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .methodology-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .meth-gallery-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .meth-gallery-large img {
        min-height: 260px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
        --container-padding: 20px;
    }

    .nav-menu { display: none; }
    .nav-toggle { display: flex; }

    /* Hero stats grid layout handled in heritage-enhancements.css */

    .stat-number {
        font-size: 28px;
    }

    .hero-arch-decoration { display: none; }

    /* Hero content — better mobile spacing */
    .hero-content {
        padding: 0 16px;
    }

    .hero-badge {
        margin-bottom: 24px;
    }

    .badge-text {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .hero-subtitle {
        font-size: 15px;
        text-align: center;
        text-align-last: center;
    }

    .hero-actions {
        margin-bottom: 40px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    /* About section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-img-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        height: 200px;
        margin-top: 16px;
    }

    .vmv-section {
        grid-template-columns: 1fr;
    }

    .vmv-card {
        padding: 28px 20px;
    }

    .featured-service {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .featured-service-visual { display: none; }

    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .service-card {
        padding: 24px 16px;
    }

    .service-number {
        font-size: 32px;
    }

    /* Timeline Mobile */
    .timeline-line { left: 24px; }

    .timeline-step,
    .timeline-step:nth-child(even) {
        flex-direction: column;
        padding-left: 68px;
        text-align: left;
    }

    .step-marker {
        left: 24px;
    }

    .step-content {
        width: 100%;
    }

    .methodology-gallery {
        grid-template-columns: 1fr;
    }

    .meth-gallery-large {
        grid-column: span 1;
    }

    .meth-gallery-large img,
    .meth-gallery-item img {
        min-height: 200px;
    }

    .certs-grid {
        grid-template-columns: 1fr;
    }

    .cert-block {
        padding: 24px 20px;
    }

    .principles-content {
        grid-template-columns: 1fr;
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

    .principles-image img {
        height: 280px;
    }

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

    .contact-card {
        padding: 18px 16px;
        gap: 14px;
    }

    .org-level-3,
    .org-level-4 {
        flex-direction: column;
        align-items: center;
    }

    .org-card {
        min-width: 0;
        width: 100%;
        padding: 16px 20px;
    }

    .org-level {
        flex-direction: column;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-bottom-right {
        display: flex;
        gap: 12px;
        justify-content: center;
    }

    /* Section headers — better mobile sizing */
    .section-header {
        margin-bottom: 40px;
    }

    .section-subtitle {
        font-size: 14px;
        text-align: center;
        text-align-last: center;
    }

    /* Back to top — smaller on mobile */
    .back-to-top {
        width: 42px;
        height: 42px;
        bottom: 16px;
        left: 12px;
    }

    /* Heritage note — stack on mobile */
    .heritage-note {
        flex-direction: column;
        gap: 16px;
        padding: 24px 20px;
        text-align: center;
        align-items: center;
    }

    /* CTA card padding */
    .cta-card {
        padding: 36px 24px;
    }

    .cta-arch {
        display: none;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 48px;
        --container-padding: 16px;
    }

    /* Hero title uses clamp() in heritage-enhancements.css for smooth scaling */

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 20px 16px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .recognition-badges {
        grid-template-columns: 1fr;
    }

    .cert-images-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cert-image-item img {
        height: 120px;
    }

    /* Footer on small screens */
    .footer-desc {
        font-size: 13px;
        text-align: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

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

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

    .footer-contact-item {
        justify-content: center;
    }

    /* Featured service */
    .featured-service {
        padding: 20px 16px;
    }

    .featured-title {
        font-size: 22px;
    }

    /* Project cards */
    .project-card-large {
        grid-template-columns: 1fr;
    }

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

    /* Section header */
    .section-tag {
        font-size: 11px;
        letter-spacing: 2px;
    }

    /* Contact form */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Stat labels */
    .stat-label {
        font-size: 10px;
    }
}
