/* ==========================================================================
   AL WATAD UNITED - Heritage Enhancements v3.0
   Additional heritage-inspired animations, decorations, and creative elements
   ========================================================================== */

/* --------------------------------------------------------------------------
   BODY BACKGROUND FIX — prevent white flash on load & mobile gaps
   -------------------------------------------------------------------------- */
body {
    background-color: var(--color-navy-deep, #0F1A2E) !important;
}

/* --------------------------------------------------------------------------
   SCROLL PROGRESS INDICATOR
   -------------------------------------------------------------------------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 10001;
    background: transparent;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
    width: 0%;
    transition: width 0.05s linear;
    box-shadow: 0 0 8px rgba(196, 151, 59, 0.4);
}

/* --------------------------------------------------------------------------
   HERO VIDEO BACKGROUND
   -------------------------------------------------------------------------- */
.hero-bg-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background-color: var(--color-navy-deep);
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background-color: var(--color-navy-deep);
}

/* Keep fallback image behind video wrapper but above section bg */
.hero-bg-video-wrapper + .hero-bg-image {
    z-index: -1;
}

/* Enhanced overlay with gradient depth */
.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 26, 48, 0.3) 0%,
        rgba(15, 26, 48, 0.5) 40%,
        rgba(15, 26, 48, 0.85) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   HERO WORD MASK ANIMATION
   -------------------------------------------------------------------------- */
.word-mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-bottom: 4px;
}

.word-mask .word {
    display: inline-block;
    will-change: transform;
}

/* --------------------------------------------------------------------------
   FLOATING HERITAGE PARTICLES
   -------------------------------------------------------------------------- */
.heritage-particles {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.h-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    transform: rotate(45deg);
    opacity: 0;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    box-shadow: 0 0 6px rgba(196, 151, 59, 0.3);
}

.h-particle-1 {
    top: 15%;
    left: 10%;
    width: 6px;
    height: 6px;
    opacity: 0.08;
    animation: floatParticle1 12s infinite;
}

.h-particle-2 {
    top: 25%;
    right: 15%;
    width: 10px;
    height: 10px;
    opacity: 0.06;
    animation: floatParticle2 16s 2s infinite;
}

.h-particle-3 {
    top: 60%;
    left: 20%;
    width: 7px;
    height: 7px;
    opacity: 0.1;
    animation: floatParticle3 14s 1s infinite;
}

.h-particle-4 {
    top: 40%;
    right: 8%;
    width: 5px;
    height: 5px;
    opacity: 0.07;
    animation: floatParticle4 18s 3s infinite;
}

.h-particle-5 {
    top: 70%;
    left: 5%;
    width: 9px;
    height: 9px;
    opacity: 0.05;
    animation: floatParticle5 20s 4s infinite;
}

.h-particle-6 {
    top: 30%;
    left: 40%;
    width: 6px;
    height: 6px;
    opacity: 0.08;
    animation: floatParticle6 15s 2.5s infinite;
}

.h-particle-7 {
    top: 55%;
    right: 25%;
    width: 8px;
    height: 8px;
    opacity: 0.06;
    animation: floatParticle7 13s 1.5s infinite;
}

.h-particle-8 {
    top: 80%;
    right: 35%;
    width: 5px;
    height: 5px;
    opacity: 0.09;
    animation: floatParticle8 17s 3.5s infinite;
}

@keyframes floatParticle1 {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.08; }
    25% { transform: rotate(45deg) translate(15px, -25px); opacity: 0.12; }
    50% { transform: rotate(45deg) translate(-10px, -40px); opacity: 0.06; }
    75% { transform: rotate(45deg) translate(20px, -15px); opacity: 0.1; }
}

@keyframes floatParticle2 {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.06; }
    33% { transform: rotate(45deg) translate(-20px, -30px); opacity: 0.1; }
    66% { transform: rotate(45deg) translate(10px, -50px); opacity: 0.04; }
}

@keyframes floatParticle3 {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.1; }
    50% { transform: rotate(45deg) translate(25px, -35px); opacity: 0.05; }
}

@keyframes floatParticle4 {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.07; }
    40% { transform: rotate(45deg) translate(-15px, -20px); opacity: 0.12; }
    80% { transform: rotate(45deg) translate(10px, -45px); opacity: 0.04; }
}

@keyframes floatParticle5 {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.05; }
    50% { transform: rotate(45deg) translate(-20px, -30px); opacity: 0.1; }
}

@keyframes floatParticle6 {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.08; }
    30% { transform: rotate(45deg) translate(18px, -22px); opacity: 0.04; }
    70% { transform: rotate(45deg) translate(-12px, -38px); opacity: 0.12; }
}

@keyframes floatParticle7 {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.06; }
    50% { transform: rotate(45deg) translate(-15px, -28px); opacity: 0.1; }
}

@keyframes floatParticle8 {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.09; }
    25% { transform: rotate(45deg) translate(12px, -18px); opacity: 0.05; }
    75% { transform: rotate(45deg) translate(-8px, -32px); opacity: 0.12; }
}

/* --------------------------------------------------------------------------
   MASHRABIYA FRAME CORNERS
   -------------------------------------------------------------------------- */
.hero-mashrabiya-frame {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.mashrabiya-corner {
    position: absolute;
    width: 60px;
    height: 60px;
}

.mashrabiya-corner::before,
.mashrabiya-corner::after {
    content: '';
    position: absolute;
    background: var(--color-gold);
}

/* Top Left */
.mashrabiya-tl {
    top: 30px;
    left: 30px;
}
.mashrabiya-tl::before {
    top: 0;
    left: 0;
    width: 40px;
    height: 1px;
}
.mashrabiya-tl::after {
    top: 0;
    left: 0;
    width: 1px;
    height: 40px;
}

/* Top Right */
.mashrabiya-tr {
    top: 30px;
    right: 30px;
}
.mashrabiya-tr::before {
    top: 0;
    right: 0;
    width: 40px;
    height: 1px;
}
.mashrabiya-tr::after {
    top: 0;
    right: 0;
    width: 1px;
    height: 40px;
}

/* Bottom Left */
.mashrabiya-bl {
    bottom: 100px;
    left: 30px;
}
.mashrabiya-bl::before {
    bottom: 0;
    left: 0;
    width: 40px;
    height: 1px;
}
.mashrabiya-bl::after {
    bottom: 0;
    left: 0;
    width: 1px;
    height: 40px;
}

/* Bottom Right */
.mashrabiya-br {
    bottom: 100px;
    right: 30px;
}
.mashrabiya-br::before {
    bottom: 0;
    right: 0;
    width: 40px;
    height: 1px;
}
.mashrabiya-br::after {
    bottom: 0;
    right: 0;
    width: 1px;
    height: 40px;
}

/* --------------------------------------------------------------------------
   HERO ARCH DECORATIONS (Enhanced)
   -------------------------------------------------------------------------- */
.hero-arch-left {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gold);
    z-index: 3;
    pointer-events: none;
}

.hero-arch-right {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
    color: var(--color-gold);
    z-index: 3;
    pointer-events: none;
}

.hero-arch-left .arch-deco-svg,
.hero-arch-right .arch-deco-svg {
    width: 120px;
    height: 300px;
}

/* --------------------------------------------------------------------------
   HERO STATS BAR (Enhanced Glassmorphism)
   -------------------------------------------------------------------------- */
.hero-stats {
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* --------------------------------------------------------------------------
   SECTION DIVIDERS
   -------------------------------------------------------------------------- */
.section-divider {
    position: relative;
    z-index: 5;
    line-height: 0;
    overflow: hidden;
}

.section-divider svg {
    display: block;
    width: 100%;
}

.section-divider-arch {
    margin-top: -60px;
    height: 120px;
}

.section-divider-arch svg {
    height: 120px;
}

.section-divider-wave {
    margin-top: -1px;
    height: 80px;
}

.section-divider-wave svg {
    height: 80px;
}

.section-divider-arch-up {
    margin-top: -1px;
    height: 100px;
}

.section-divider-arch-up svg {
    height: 100px;
}

/* Geometric Band Divider */
.section-divider-geometric {
    height: 48px;
    background: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.geometric-band {
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            60deg,
            transparent,
            transparent 20px,
            rgba(196, 151, 59, 0.08) 20px,
            rgba(196, 151, 59, 0.08) 21px
        ),
        repeating-linear-gradient(
            -60deg,
            transparent,
            transparent 20px,
            rgba(196, 151, 59, 0.08) 20px,
            rgba(196, 151, 59, 0.08) 21px
        );
}

/* --------------------------------------------------------------------------
   HERITAGE PATTERN BACKGROUNDS
   -------------------------------------------------------------------------- */
.section-pattern-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.section-pattern-bg-light {
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C4973B' stroke-width='0.4'%3E%3Cpath d='M40 0L80 40L40 80L0 40Z'/%3E%3Cpath d='M40 12L68 40L40 68L12 40Z'/%3E%3Cpath d='M20 0L40 20L60 0'/%3E%3Cpath d='M80 20L60 40L80 60'/%3E%3Cpath d='M60 80L40 60L20 80'/%3E%3Cpath d='M0 60L20 40L0 20'/%3E%3Ccircle cx='40' cy='40' r='10'/%3E%3Ccircle cx='40' cy='40' r='5'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 80px 80px;
}

.section-pattern-bg-dark {
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='0.4'%3E%3Cpath d='M40 0L80 40L40 80L0 40Z'/%3E%3Cpath d='M40 12L68 40L40 68L12 40Z'/%3E%3Cpath d='M20 0L40 20L60 0'/%3E%3Cpath d='M80 20L60 40L80 60'/%3E%3Cpath d='M60 80L40 60L20 80'/%3E%3Cpath d='M0 60L20 40L0 20'/%3E%3Ccircle cx='40' cy='40' r='10'/%3E%3Ccircle cx='40' cy='40' r='5'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 80px 80px;
}

/* --------------------------------------------------------------------------
   FLOATING ORNAMENTS
   -------------------------------------------------------------------------- */
.floating-ornament {
    position: absolute;
    color: var(--color-gold);
    pointer-events: none;
    z-index: 0;
}

.floating-ornament-tl {
    top: 60px;
    left: 40px;
    animation: floatOrnament 8s ease-in-out infinite;
}

.floating-ornament-br {
    bottom: 80px;
    right: 40px;
    animation: floatOrnament 10s 2s ease-in-out infinite;
}

.floating-ornament-tr {
    top: 80px;
    right: 40px;
    animation: floatOrnament 9s 1s ease-in-out infinite;
}

@keyframes floatOrnament {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

/* --------------------------------------------------------------------------
   GOLD GRADIENT TEXT
   -------------------------------------------------------------------------- */
.text-gold-gradient {
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --------------------------------------------------------------------------
   HERITAGE PHOTO TREATMENT
   -------------------------------------------------------------------------- */
.heritage-photo {
    filter: saturate(0.9) contrast(1.05) sepia(0.05);
    transition: filter 0.6s ease;
}

.heritage-photo:hover {
    filter: saturate(1) contrast(1) sepia(0);
}

/* --------------------------------------------------------------------------
   PROJECT FILTERS
   -------------------------------------------------------------------------- */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.filter-btn.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-white);
    box-shadow: var(--shadow-gold);
}

/* --------------------------------------------------------------------------
   BEFORE/AFTER SLIDER
   -------------------------------------------------------------------------- */
.project-ba-showcase {
    margin-bottom: 64px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    border: 1px solid var(--color-border);
}

.ba-showcase-header {
    padding: 28px 32px;
    background: var(--color-white);
}

.ba-showcase-title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 700;
    color: var(--color-navy);
    margin-top: 8px;
}

.ba-slider {
    position: relative;
    overflow: hidden;
    cursor: col-resize;
    max-height: 500px;
}

.ba-image {
    width: 100%;
}

.ba-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.ba-before {
    position: relative;
}

.ba-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0 50% 0 0);
}

.ba-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-label {
    position: absolute;
    bottom: 20px;
    padding: 6px 16px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-white);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ba-label-before {
    left: 20px;
    background: rgba(220, 53, 53, 0.7);
}

.ba-label-after {
    right: 20px;
    background: rgba(46, 160, 67, 0.7);
}

.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    cursor: col-resize;
}

.ba-handle-line {
    flex: 1;
    width: 2px;
    background: var(--color-gold);
    box-shadow: 0 0 6px rgba(196, 151, 59, 0.5);
}

.ba-handle-circle {
    width: 48px;
    height: 48px;
    background: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    color: var(--color-white);
    box-shadow: 0 2px 12px rgba(196, 151, 59, 0.4);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.ba-active .ba-handle-circle {
    transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   PROJECT CARDS (Enhanced)
   -------------------------------------------------------------------------- */
.projects-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 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);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    transition: width 0.5s ease;
    z-index: 2;
}

.project-card:hover::before {
    width: 100%;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(196, 151, 59, 0.2);
}

.project-card-visual {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.project-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: saturate(0.9) contrast(1.05) sepia(0.05);
}

.project-card:hover .project-card-visual img {
    transform: scale(1.05);
    filter: saturate(1) contrast(1) sepia(0);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(15, 26, 48, 0.85) 0%,
        rgba(15, 26, 48, 0.3) 40%,
        transparent 70%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.project-overlay-content {
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.project-card:hover .project-overlay-content {
    transform: translateY(0);
}

.project-year {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-gold-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
    display: block;
}

.project-overlay-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white);
}

.project-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-white);
    background: rgba(196, 151, 59, 0.85);
    border-radius: 20px;
    z-index: 2;
    backdrop-filter: blur(4px);
}

/* Gallery Thumbs */
.project-gallery-thumbs {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
    z-index: 3;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition-smooth);
}

.project-card:hover .project-gallery-thumbs {
    opacity: 1;
    transform: translateY(0);
}

.gallery-thumb {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.5);
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

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

.thumb-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-white);
    background: rgba(0,0,0,0.6);
    text-align: center;
    padding: 2px 0;
}

/* Project Card Info */
.project-card-info {
    padding: 24px;
}

.project-info-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.project-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-gold);
    opacity: 0.25;
    line-height: 1;
}

.project-orgs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.org-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 600;
    color: var(--color-gold-dark);
    background: var(--color-gold-pale);
    border-radius: 20px;
    letter-spacing: 0.5px;
}

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

.project-desc {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--color-text-light);
}

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

/* --------------------------------------------------------------------------
   SERVICE CARD ENHANCED HOVER
   -------------------------------------------------------------------------- */
.service-card {
    position: relative;
    overflow: hidden;
}

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

.service-card:hover::after {
    width: 100%;
}

/* --------------------------------------------------------------------------
   VMV CARDS HERITAGE FRAME EFFECT
   -------------------------------------------------------------------------- */
.vmv-card {
    position: relative;
}

/* Reset ALL properties from main.css .vmv-card::before (transform, background, right, height) */
.vmv-card::before,
.vmv-card::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    /* Reset main.css properties */
    background: none;
    transform: none;
    right: auto;
    /* New heritage corner styling */
    border-color: var(--color-gold);
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.vmv-card::before {
    top: -1px;
    left: -1px;
    right: auto;
    border-top: 2px solid;
    border-left: 2px solid;
    background: none;
    transform: none;
}

.vmv-card::after {
    bottom: -1px;
    right: -1px;
    left: auto;
    border-bottom: 2px solid;
    border-right: 2px solid;
    background: none;
    transform: none;
}

.vmv-card:hover::before {
    opacity: 0.6;
    transform: none;
    background: none;
}

.vmv-card:hover::after {
    opacity: 0.6;
}

/* --------------------------------------------------------------------------
   REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .h-particle,
    .floating-ornament,
    .hero-arch-decoration {
        animation: none !important;
    }

    .scroll-progress-bar {
        transition: none;
    }

    .project-card::before,
    .service-card::after {
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   RESPONSIVE ENHANCEMENTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .projects-showcase {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Hide decorative elements on mobile */
    .heritage-particles,
    .hero-mashrabiya-frame,
    .floating-ornament,
    .hero-arch-decoration {
        display: none;
    }

    .section-divider-arch {
        margin-top: -30px;
        height: 60px;
    }

    .section-divider-wave {
        height: 50px;
    }

    .section-divider-arch-up {
        height: 60px;
    }

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

    .ba-slider {
        max-height: 300px;
    }

    .ba-handle-circle {
        width: 40px;
        height: 40px;
    }

    .project-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Hero stats mobile grid is now consolidated in the improvements section below */
}

@media (max-width: 480px) {
    .projects-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .project-title {
        font-size: 16px;
    }

    .ba-showcase-header {
        padding: 20px;
    }

    .ba-label {
        font-size: 10px;
        padding: 4px 10px;
    }
}

/* ==========================================================================
   CEO / MANAGING DIRECTOR SECTION
   ========================================================================== */
.ceo-section {
    position: relative;
    background: var(--color-navy);
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 80px;
}

.ceo-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='0.4'%3E%3Cpath d='M50 0L100 50L50 100L0 50Z'/%3E%3Cpath d='M50 15L85 50L50 85L15 50Z'/%3E%3Cpath d='M25 0L50 25L75 0'/%3E%3Cpath d='M100 25L75 50L100 75'/%3E%3Cpath d='M75 100L50 75L25 100'/%3E%3Cpath d='M0 75L25 50L0 25'/%3E%3Ccircle cx='50' cy='50' r='14'/%3E%3Ccircle cx='50' cy='50' r='7'/%3E%3Ccircle cx='50' cy='50' r='3'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 100px 100px;
    pointer-events: none;
}

.ceo-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: center;
}

/* --------------------------------------------------------------------------
   CEO PHOTO
   -------------------------------------------------------------------------- */
.ceo-photo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ceo-photo-frame {
    position: relative;
    width: 320px;
    height: 400px;
}

.ceo-arch-frame {
    position: absolute;
    inset: -15px;
    color: var(--color-gold);
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

.ceo-arch-frame svg {
    width: 100%;
    height: 100%;
}

.ceo-photo-img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 160px 160px 8px 8px;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.ceo-photo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: contrast(1.05) brightness(1.02);
}

/* Gold corner accents */
.ceo-photo-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    z-index: 3;
}

.ceo-corner-tl {
    top: -5px;
    left: -5px;
    border-top: 2px solid var(--color-gold);
    border-left: 2px solid var(--color-gold);
}

.ceo-corner-br {
    bottom: -5px;
    right: -5px;
    border-bottom: 2px solid var(--color-gold);
    border-right: 2px solid var(--color-gold);
}

/* Name card */
.ceo-name-card {
    text-align: center;
    margin-top: 28px;
}

.ceo-name-en {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 4px;
}

.ceo-name-ar {
    font-family: var(--font-arabic);
    font-size: 18px;
    color: var(--color-gold-light);
    display: block;
    margin-bottom: 8px;
    direction: rtl;
}

.ceo-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gold);
    display: block;
}

/* --------------------------------------------------------------------------
   CEO CONTENT / QUOTE
   -------------------------------------------------------------------------- */
.ceo-content-inner {
    max-width: 600px;
}

.ceo-content .section-tag {
    color: var(--color-gold-light);
    border-color: rgba(196, 151, 59, 0.3);
}

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

.ceo-quote-mark {
    color: var(--color-gold);
    opacity: 0.3;
    margin-bottom: 12px;
    line-height: 1;
}

.ceo-quote {
    margin: 0 0 32px;
    padding: 0;
    border: none;
}

.ceo-quote p {
    font-family: var(--font-elegant);
    font-size: 20px;
    font-style: italic;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.2px;
    text-align: justify;
}

.ceo-signature {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.ceo-sig-line {
    width: 48px;
    height: 2px;
    background: var(--color-gold);
    flex-shrink: 0;
}

.ceo-sig-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white);
    display: block;
}

.ceo-sig-role {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    display: block;
}

/* Highlights */
.ceo-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.ceo-highlight:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(196, 151, 59, 0.15);
}

.highlight-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    flex-shrink: 0;
}

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

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

.highlight-text span {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* Wave sm divider */
.section-divider-wave-sm {
    height: 40px;
    margin-top: -1px;
}

.section-divider-wave-sm svg {
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   TRANSFORMATIONS / BEFORE & AFTER GALLERY
   ========================================================================== */
.transformations-section {
    position: relative;
    background: var(--color-navy);
    overflow: hidden;
}

/* Featured large transform slider */
.transform-featured {
    margin-bottom: 32px;
}

.transform-featured .transform-slider {
    aspect-ratio: 16 / 7;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 48px rgba(0,0,0,0.4);
}

.transformations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Individual Transform Card */
.transform-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: var(--transition-elegant);
}

.transform-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

/* Transform Slider */
.transform-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: col-resize;
    user-select: none;
    -webkit-user-select: none;
}

.transform-img {
    position: absolute;
    inset: 0;
}

.transform-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.transform-before {
    z-index: 1;
    clip-path: inset(0 50% 0 0);
}

.transform-after {
    z-index: 0;
}

/* Labels */
.transform-label {
    position: absolute;
    bottom: 12px;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 20px;
    z-index: 5;
    pointer-events: none;
}

.label-before {
    left: 12px;
    background: rgba(180, 50, 50, 0.85);
    color: #fff;
    backdrop-filter: blur(4px);
}

.label-after {
    right: 12px;
    background: rgba(46, 125, 50, 0.85);
    color: #fff;
    backdrop-filter: blur(4px);
}

/* Handle */
.transform-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: col-resize;
}

.transform-handle-line {
    flex: 1;
    width: 2px;
    background: var(--color-white);
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

.transform-handle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    color: var(--color-navy);
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.transform-slider:active .transform-handle-btn {
    transform: scale(1.15);
}

/* Bottom Note */
.transformations-note {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.transformations-note p {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    font-style: italic;
}

/* --------------------------------------------------------------------------
   RESPONSIVE — CEO & TRANSFORMATIONS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .ceo-layout {
        grid-template-columns: 320px 1fr;
        gap: 40px;
    }

    .transformations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .transform-featured .transform-slider {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 768px) {
    .ceo-section {
        padding-top: 80px;
        padding-bottom: 60px;
    }

    .ceo-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .ceo-photo-wrapper {
        justify-self: center;
    }

    .ceo-photo-frame {
        width: 260px;
        height: 340px;
    }

    .ceo-quote p {
        font-size: 18px;
    }

    .ceo-content-inner {
        max-width: 100%;
    }

    .ceo-signature {
        justify-content: center;
    }

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

    .transform-slider {
        aspect-ratio: 3 / 2;
    }

    .transform-featured .transform-slider {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 480px) {
    .ceo-photo-frame {
        width: 220px;
        height: 290px;
    }

    .ceo-name-en {
        font-size: 18px;
    }

    .ceo-quote p {
        font-size: 16px;
    }

    .ceo-highlights {
        gap: 10px;
    }

    .ceo-highlight {
        padding: 10px 14px;
    }

    .transform-handle-btn {
        width: 30px;
        height: 30px;
    }

    .transform-label {
        font-size: 9px;
        padding: 3px 10px;
    }
}

/* ==========================================================================
   SOCIAL MEDIA SECTION
   ========================================================================== */
.social-section {
    position: relative;
    overflow: hidden;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

/* Social Embed Card */
.social-embed-card {
    background: var(--color-white);
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-elegant);
}

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

/* Card Header */
.social-embed-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
}

.social-embed-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-embed-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon-instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.social-icon-facebook {
    background: #1877F2;
    color: #fff;
}

.social-embed-title {
    flex: 1;
}

.social-embed-title h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.2;
    margin: 0;
}

.social-handle {
    font-size: 13px;
    color: var(--color-text-light);
}

/* Follow Button */
.social-follow-btn {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.social-follow-instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.social-follow-instagram:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.social-follow-facebook {
    background: #1877F2;
    color: #fff;
}

.social-follow-facebook:hover {
    background: #166FE5;
    transform: translateY(-1px);
}

/* Embed Body */
.social-embed-body {
    padding: 0;
}

.social-embed-frame {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
}

.social-embed-frame iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

.social-embed-frame-fb {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: #f0f2f5;
    min-height: 500px;
}

.social-embed-frame-fb iframe {
    max-width: 500px;
}

/* Card Footer */
.social-embed-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.social-view-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-navy);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-view-link:hover {
    color: var(--color-gold);
}

.social-view-link svg {
    transition: transform 0.3s ease;
}

.social-view-link:hover svg {
    transform: translate(3px, -3px);
}

/* --------------------------------------------------------------------------
   SOCIAL CTA BANNER
   -------------------------------------------------------------------------- */
.social-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 32px 40px;
    background: var(--color-navy);
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    position: relative;
}

.social-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,255,255,1) 30px, rgba(255,255,255,1) 31px),
        repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(255,255,255,1) 30px, rgba(255,255,255,1) 31px);
    pointer-events: none;
}

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

.social-cta-content h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 6px;
}

.social-cta-content p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin: 0;
    max-width: 440px;
}

.social-cta-buttons {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.social-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.social-cta-instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.social-cta-instagram:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.3);
}

.social-cta-facebook {
    background: #1877F2;
    color: #fff;
}

.social-cta-facebook:hover {
    background: #166FE5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.3);
}

/* --------------------------------------------------------------------------
   RESPONSIVE — SOCIAL MEDIA
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .social-grid {
        gap: 24px;
    }

    .social-cta {
        padding: 28px 32px;
    }
}

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

    .social-embed-frame,
    .social-embed-frame iframe {
        min-height: 420px;
        height: 420px;
    }

    .social-cta {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }

    .social-cta-content p {
        max-width: 100%;
    }

    .social-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .social-cta-btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .social-embed-header {
        padding: 14px 16px;
        gap: 10px;
    }

    .social-embed-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

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

    .social-embed-title h3 {
        font-size: 16px;
    }

    .social-follow-btn {
        padding: 6px 14px;
        font-size: 12px;
    }

    .social-embed-frame,
    .social-embed-frame iframe {
        min-height: 350px;
        height: 350px;
    }

    .social-embed-footer {
        padding: 12px 16px;
    }
}

/* ==========================================================================
   HERITAGE IDENTITY ENHANCEMENTS - Creative Heritage Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   ISLAMIC GEOMETRIC PATTERN (SVG-based repeating pattern for overlays)
   -------------------------------------------------------------------------- */
.heritage-pattern-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C4973B' stroke-width='0.5'%3E%3Cpath d='M40 0L80 40L40 80L0 40Z'/%3E%3Cpath d='M40 10L70 40L40 70L10 40Z'/%3E%3Cpath d='M20 0L40 20L60 0'/%3E%3Cpath d='M80 20L60 40L80 60'/%3E%3Cpath d='M60 80L40 60L20 80'/%3E%3Cpath d='M0 60L20 40L0 20'/%3E%3Ccircle cx='40' cy='40' r='12'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 80px 80px;
}

.heritage-pattern-overlay-light {
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%231B2A4A' stroke-width='0.4'%3E%3Cpath d='M40 0L80 40L40 80L0 40Z'/%3E%3Cpath d='M40 12L68 40L40 68L12 40Z'/%3E%3Cpath d='M20 0L40 20L60 0'/%3E%3Cpath d='M80 20L60 40L80 60'/%3E%3Cpath d='M60 80L40 60L20 80'/%3E%3Cpath d='M0 60L20 40L0 20'/%3E%3Ccircle cx='40' cy='40' r='10'/%3E%3Ccircle cx='40' cy='40' r='5'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 80px 80px;
}

/* --------------------------------------------------------------------------
   HERITAGE SECTION FRAME BORDERS (Mashrabiya-inspired)
   -------------------------------------------------------------------------- */
.heritage-section-frame {
    position: absolute;
    inset: 20px;
    pointer-events: none;
    z-index: 1;
}

.heritage-section-frame::before,
.heritage-section-frame::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-color: var(--color-gold);
    opacity: 0.12;
    background: none;
    transform: none;
}

.heritage-section-frame::before {
    top: 0;
    left: 0;
    border-top: 1px solid;
    border-left: 1px solid;
}

.heritage-section-frame::after {
    bottom: 0;
    right: 0;
    border-bottom: 1px solid;
    border-right: 1px solid;
}

/* --------------------------------------------------------------------------
   HERITAGE ARCH HEADER DECORATION
   -------------------------------------------------------------------------- */
.section-title-ornament {
    display: flex;
    justify-content: center;
    margin: 16px auto 20px;
    color: var(--color-gold);
    width: 120px;
}

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

.ornament-light {
    color: var(--color-gold-light);
}

/* --------------------------------------------------------------------------
   ABOUT SECTION — DARK HERITAGE BACKGROUND (like former CEO section)
   -------------------------------------------------------------------------- */
.about-section.about-dark {
    position: relative;
    overflow: hidden;
    background: var(--color-navy, #1B2A4A) !important;
    color: rgba(255, 255, 255, 0.85);
}

.about-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='0.4'%3E%3Cpath d='M50 0L100 50L50 100L0 50Z'/%3E%3Cpath d='M50 15L85 50L50 85L15 50Z'/%3E%3Cpath d='M25 0L50 25L75 0'/%3E%3Cpath d='M100 25L75 50L100 75'/%3E%3Cpath d='M75 100L50 75L25 100'/%3E%3Cpath d='M0 75L25 50L0 25'/%3E%3Ccircle cx='50' cy='50' r='14'/%3E%3Ccircle cx='50' cy='50' r='7'/%3E%3Ccircle cx='50' cy='50' r='3'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 100px 100px;
    pointer-events: none;
}

/* --- Dark about: text colors --- */
.about-dark h2, .about-dark h3, .about-dark h4,
.about-dark .section-title,
.about-dark .about-headline {
    color: #fff !important;
}

.about-dark p,
.about-dark .about-text {
    color: rgba(255, 255, 255, 0.72) !important;
}

.about-dark .section-tag {
    color: var(--color-gold-light) !important;
    border-color: rgba(196, 151, 59, 0.3) !important;
}

.about-dark .section-tag::before,
.about-dark .section-tag::after {
    background: var(--color-gold-light) !important;
}

.about-dark .section-title-ornament {
    color: var(--color-gold) !important;
}

.about-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* --- Dark about: trust items --- */
.about-dark .about-trust-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(196, 151, 59, 0.15);
}

.about-dark .about-trust-item:hover {
    background: rgba(196, 151, 59, 0.08);
    border-color: rgba(196, 151, 59, 0.35);
}

.about-dark .about-trust-icon {
    background: rgba(196, 151, 59, 0.12);
    color: var(--color-gold);
}

.about-dark .about-trust-item strong {
    color: #fff !important;
}

.about-dark .about-trust-item span {
    color: rgba(255, 255, 255, 0.55) !important;
}

/* --- Dark about: accent line --- */
.about-dark .about-accent-line {
    background: linear-gradient(90deg, var(--color-gold), transparent) !important;
}

/* --- Dark about: stats bar --- */
.about-dark .about-stats-bar {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(196, 151, 59, 0.12);
}

.about-dark .about-stat-number {
    color: var(--color-gold) !important;
}

.about-dark .about-stat-label {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* --- Dark about: VMV cards --- */
.about-dark .vmv-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(196, 151, 59, 0.12) !important;
    backdrop-filter: blur(4px);
}

.about-dark .vmv-card:hover {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(196, 151, 59, 0.3) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.about-dark .vmv-card .vmv-title {
    color: #fff !important;
}

.about-dark .vmv-card .vmv-text {
    color: rgba(255, 255, 255, 0.65) !important;
}

.about-dark .vmv-icon {
    background: rgba(196, 151, 59, 0.12) !important;
    color: var(--color-gold) !important;
}

.about-dark .vmv-arch-top svg path[fill] {
    fill: rgba(196, 151, 59, 0.06);
}

.about-dark .vmv-card::before {
    background: linear-gradient(90deg, var(--color-gold), rgba(196, 151, 59, 0.3));
}

/* --- Dark about: values items --- */
.about-dark .value-item strong {
    color: #fff !important;
}

.about-dark .value-item p {
    color: rgba(255, 255, 255, 0.6) !important;
}

.about-dark .value-number {
    color: var(--color-gold) !important;
}

/* --- Dark about: kashi tiles --- */
.about-dark .kashi-tile {
    background: linear-gradient(135deg, rgba(26, 140, 140, 0.3), rgba(26, 140, 140, 0.15)) !important;
}

/* --- Dark about: experience badge border --- */
.about-dark .about-float-img {
    border-color: var(--color-navy, #1B2A4A);
}

.about-dark .about-arch-border path {
    stroke: var(--color-gold);
}

.about-img-frame {
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(196, 151, 59, 0.2);
    border-radius: var(--radius-md);
    pointer-events: none;
    z-index: -1;
}

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

.exp-badge-inner {
    width: 100px;
    height: 100px;
    background: var(--color-gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(196, 151, 59, 0.3);
}

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

.exp-text {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(196, 151, 59, 0.3); }
    50% { box-shadow: 0 8px 32px rgba(196, 151, 59, 0.5), 0 0 0 8px rgba(196, 151, 59, 0.08); }
}

/* About Highlights Heritage Styling */
.about-highlights .highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--color-warm-white);
    border: 1px solid rgba(196, 151, 59, 0.1);
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    position: relative;
}

.about-highlights .highlight-item:hover {
    border-color: rgba(196, 151, 59, 0.25);
    box-shadow: 0 4px 16px rgba(196, 151, 59, 0.08);
    transform: translateX(4px);
}

.about-highlights .highlight-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(196, 151, 59, 0.1), rgba(196, 151, 59, 0.05));
    border-radius: 10px;
    color: var(--color-gold);
    flex-shrink: 0;
}

.about-highlights .highlight-icon svg {
    width: 22px;
    height: 22px;
}

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

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

/* --------------------------------------------------------------------------
   SERVICES SECTION HERITAGE ENHANCEMENTS
   -------------------------------------------------------------------------- */
.services-section {
    position: relative;
}

/* Featured Service Heritage Arch */
.featured-service {
    position: relative;
    overflow: hidden;
}

.featured-service .heritage-arch-pattern {
    color: var(--color-gold);
    opacity: 0.08;
}

.featured-service .arch-pattern-svg {
    width: 200px;
    height: 260px;
}

.featured-standards .standard-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-gold-dark);
    background: rgba(196, 151, 59, 0.08);
    border: 1px solid rgba(196, 151, 59, 0.15);
    border-radius: 20px;
}

/* Service Card Heritage Number */
.service-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--color-gold);
    opacity: 0.08;
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(196, 151, 59, 0.1), rgba(196, 151, 59, 0.03));
    border-radius: 12px;
    color: var(--color-gold);
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-white);
}

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

/* --------------------------------------------------------------------------
   PROJECT CARDS CREATIVE HERITAGE DESIGN
   -------------------------------------------------------------------------- */

/* Project Card Hover Gold Glow */
.project-card:hover {
    border-color: rgba(196, 151, 59, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(196, 151, 59, 0.1);
}

/* Featured Project Card - Larger with heritage accent */
.project-card-featured {
    position: relative;
}

.project-card-featured .project-card-info {
    border-top: 1px solid rgba(196, 151, 59, 0.1);
}

/* Heritage Badge on Project Category */
.project-category-badge {
    background: rgba(196, 151, 59, 0.9);
    backdrop-filter: blur(8px);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   METHODOLOGY SECTION HERITAGE STEPS
   -------------------------------------------------------------------------- */
.methodology-section {
    position: relative;
}

/* --------------------------------------------------------------------------
   CERTIFICATIONS HERITAGE SEAL EFFECT
   -------------------------------------------------------------------------- */
.cert-card {
    position: relative;
    overflow: hidden;
}

.cert-card::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(196, 151, 59, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: none;
}

.cert-card:hover::after {
    background: radial-gradient(circle, rgba(196, 151, 59, 0.12) 0%, transparent 70%);
}

/* --------------------------------------------------------------------------
   HERITAGE ACCENT ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes goldShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.text-accent,
.text-accent-light {
    position: relative;
}

.text-accent {
    color: var(--color-gold);
}

.text-accent-light {
    color: var(--color-gold-light);
}

/* Gold gradient on section titles */
.section-title .text-accent {
    color: var(--color-gold);
}

/* Light version for dark backgrounds */
.section-header-light .section-title .text-accent-light {
    color: var(--color-gold-light);
}

/* --------------------------------------------------------------------------
   HERITAGE SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes heritageSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heritageFadeScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --------------------------------------------------------------------------
   ENHANCED SECTION BACKGROUNDS WITH HERITAGE IDENTITY
   -------------------------------------------------------------------------- */

/* About Section - Dark heritage (overridden by .about-dark) */

/* Services Section - Slight off-white with heritage texture */
.services-section {
    background: var(--color-parchment);
}

/* Projects Section - Clean white with gold accent border */
.projects-section {
    background: var(--color-warm-white);
    position: relative;
}

/* Organization Section - Heritage parchment */
.org-section {
    background: var(--color-parchment);
    position: relative;
}

/* Certifications Section on dark background */
.certifications-section {
    position: relative;
}

/* Social Section - Light with heritage warmth */
.social-section {
    background: var(--color-warm-white);
}

/* --------------------------------------------------------------------------
   HERITAGE-STYLED SCROLLBAR
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-navy-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-light);
}

/* --------------------------------------------------------------------------
   HERITAGE TEXT SELECTION COLORS
   -------------------------------------------------------------------------- */
::selection {
    background: rgba(196, 151, 59, 0.2);
    color: var(--color-navy);
}

::-moz-selection {
    background: rgba(196, 151, 59, 0.2);
    color: var(--color-navy);
}

/* --------------------------------------------------------------------------
   SECTION HEADER LIGHT (for dark background sections)
   -------------------------------------------------------------------------- */
.section-header-light .section-tag {
    color: var(--color-gold-light);
    border-color: rgba(196, 151, 59, 0.3);
}

.section-header-light .section-title {
    color: var(--color-white);
}

.section-subtitle-light {
    color: rgba(255, 255, 255, 0.6) !important;
}

.section-header-light .section-tag::before,
.section-header-light .section-tag::after {
    background: var(--color-gold-light);
}

/* --------------------------------------------------------------------------
   ENHANCED HERO PATTERN OVERLAY (Islamic geometry)
   -------------------------------------------------------------------------- */
.hero-pattern-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0L100 50L50 100L0 50Z' fill='none' stroke='%23C4973B' stroke-width='0.5'/%3E%3Cpath d='M50 20L80 50L50 80L20 50Z' fill='none' stroke='%23C4973B' stroke-width='0.3'/%3E%3Ccircle cx='50' cy='50' r='15' fill='none' stroke='%23C4973B' stroke-width='0.3'/%3E%3Ccircle cx='50' cy='50' r='5' fill='none' stroke='%23C4973B' stroke-width='0.2'/%3E%3C/svg%3E");
    background-size: 100px 100px;
}

/* --------------------------------------------------------------------------
   ENHANCED HERO BADGE
   -------------------------------------------------------------------------- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding: 8px 0;
}

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

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

/* --------------------------------------------------------------------------
   HERO SCROLL INDICATOR
   -------------------------------------------------------------------------- */
.hero-scroll-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

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

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

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

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

/* --------------------------------------------------------------------------
   ENHANCED HERO TITLE DIVIDER
   -------------------------------------------------------------------------- */
.hero-title-divider {
    display: block;
    width: 200px;
    margin: 8px auto;
    color: var(--color-gold);
}

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

/* --------------------------------------------------------------------------
   HERITAGE-THEMED VALUE ITEMS
   -------------------------------------------------------------------------- */
.value-item {
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(196, 151, 59, 0.1);
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.value-item:hover {
    border-color: rgba(196, 151, 59, 0.25);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.value-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--color-gold);
    opacity: 0.12;
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.value-item strong {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
    display: block;
    margin-bottom: 6px;
}

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

/* --------------------------------------------------------------------------
   CONTACT SECTION HERITAGE STYLING
   -------------------------------------------------------------------------- */
.contact-section {
    position: relative;
}

/* --------------------------------------------------------------------------
   FOOTER HERITAGE ENHANCEMENTS
   -------------------------------------------------------------------------- */
.site-footer {
    position: relative;
}

/* --------------------------------------------------------------------------
   LOADING / PAGE TRANSITION OVERLAY
   -------------------------------------------------------------------------- */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--color-navy);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 80px;
    height: 80px;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

/* --------------------------------------------------------------------------
   GLOBAL TEXT VISIBILITY FIXES (ensure text is always readable)
   -------------------------------------------------------------------------- */

/* Dark sections: ensure text is white/light */
.transformations-section,
.methodology-section,
.certifications-section {
    color: rgba(255, 255, 255, 0.85);
}

.transformations-section h2, .transformations-section h3,
.methodology-section h2, .methodology-section h3, .methodology-section h4,
.certifications-section h2, .certifications-section h3, .certifications-section h4 {
    color: var(--color-white);
}

.transformations-section p {
    color: rgba(255, 255, 255, 0.7);
}

/* Light sections: ensure text is dark navy */
.services-section,
.projects-section,
.org-section,
.social-section,
.contact-section {
    color: var(--color-text);
}

.services-section h2, .services-section h3, .services-section h4,
.projects-section h2, .projects-section h3, .projects-section h4,
.social-section h2, .social-section h3 {
    color: var(--color-navy);
}

.services-section p,
.projects-section p {
    color: var(--color-text-light);
}

/* VMV Cards (on light bg) - explicitly ensure visibility */
.vmv-card {
    background: var(--color-white);
    color: var(--color-text);
}

.vmv-card .vmv-title {
    color: var(--color-navy) !important;
}

.vmv-card .vmv-text {
    color: var(--color-text-light) !important;
}

.vmv-card .vmv-icon {
    color: var(--color-gold);
}

/* Values grid in VMV */
.vmv-values-card .value-item strong {
    color: var(--color-navy) !important;
}

.vmv-values-card .value-item p {
    color: var(--color-text-light) !important;
}

/* Service Cards (on light bg) */
.service-card .service-title {
    color: var(--color-navy) !important;
}

.service-card .service-desc {
    color: var(--color-text-light) !important;
}

/* Project Cards (on light bg) */
.project-card .project-title {
    color: var(--color-navy) !important;
}

.project-card .project-desc {
    color: var(--color-text-light) !important;
}

/* --------------------------------------------------------------------------
   RESPONSIVE - HERITAGE ENHANCEMENTS
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .heritage-section-frame {
        display: none;
    }

    .hero-scroll-indicator {
        bottom: 80px;
    }

    .hero-badge {
        gap: 10px;
    }

    .badge-line {
        width: 20px;
    }

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

    .about-experience-badge {
        display: none;
    }

    .hero-title-divider {
        width: 140px;
    }

    .value-item {
        padding: 14px;
    }

    .value-number {
        font-size: 24px;
    }

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

@media (max-width: 480px) {
    .service-number {
        font-size: 24px;
    }

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

/* =====================================================
   FLOATING GLASSMORPHISM NAV BAR
   ===================================================== */

/* Header wrapper — floating, centered */
.site-header {
    top: 16px;
    left: 50%;
    right: auto;
    width: auto;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    pointer-events: none;
}

/* The glass pill bar */
.main-nav {
    pointer-events: all;
    max-width: 820px;
    width: max-content;
    margin: 0;
    background: rgba(15, 26, 48, 0.45);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-radius: 60px;
    padding: 6px 8px 6px 16px;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.18),
        0 1px 3px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* On scroll — more solid glass */
.site-header.scrolled .main-nav {
    background: rgba(15, 26, 48, 0.72);
    backdrop-filter: blur(32px) saturate(1.6);
    -webkit-backdrop-filter: blur(32px) saturate(1.6);
    border-radius: 60px;
    padding: 5px 8px 5px 16px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        0 2px 6px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(196, 151, 59, 0.18);
}

/* Container inside the pill */
.nav-container {
    max-width: 100%;
    padding: 0;
    gap: 2px;
}

/* Logo */
.nav-logo {
    gap: 8px;
    flex-shrink: 0;
    margin-right: 4px;
}

.nav-logo-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.logo-words {
    display: flex;
}

.logo-name {
    font-size: 12px;
    letter-spacing: 1.5px;
}

.logo-sub {
    font-size: 7.5px;
    letter-spacing: 2px;
}

/* Nav links */
.nav-menu {
    gap: 1px;
}

.nav-link {
    font-size: 12.5px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 30px;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.72);
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.10);
}

.nav-link.active {
    color: var(--color-white);
    background: rgba(196, 151, 59, 0.16);
}

/* Active indicator dot */
.nav-link.active::after {
    bottom: 1px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-gold);
}

/* CTA button */
.nav-link-cta {
    padding: 6px 20px !important;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light)) !important;
    color: var(--color-white) !important;
    box-shadow: 0 2px 8px rgba(196, 151, 59, 0.3);
    transition: all 0.25s ease !important;
}

.nav-link-cta:hover {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold)) !important;
    box-shadow: 0 4px 16px rgba(196, 151, 59, 0.4);
    transform: translateY(-1px);
}

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

/* ---- Responsive: Floating Nav ---- */

@media (max-width: 1024px) {
    .main-nav {
        padding: 5px 6px 5px 14px;
    }
    .nav-link {
        font-size: 11.5px;
        padding: 5px 9px;
    }
    .nav-link-cta {
        padding: 5px 16px !important;
        font-size: 11.5px;
    }
    .logo-words {
        display: none;
    }
}

@media (max-width: 768px) {
    .site-header {
        top: 10px;
        left: 0;
        right: 0;
        width: 100%;
        transform: none;
    }

    .main-nav {
        width: calc(100% - 24px);
        max-width: none;
        margin: 0 auto;
        border-radius: 16px;
        padding: 6px 14px;
    }

    .site-header.scrolled .main-nav {
        max-width: none;
        border-radius: 16px;
        padding: 5px 14px;
    }

    .nav-logo-img {
        width: 26px;
        height: 26px;
    }

    .logo-words {
        display: none;
    }
}

/* =====================================================
   PRELOADER — Heritage Arch with Typing Animation
   ===================================================== */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0C1525;
    overflow: hidden;
}

.preloader-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C4973B' stroke-width='0.5'%3E%3Cpath d='M40,0 L80,40 L40,80 L0,40 Z'/%3E%3Ccircle cx='40' cy='40' r='12'/%3E%3Cpath d='M40,10 L40,70 M10,40 L70,40'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 80px 80px;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
    position: relative;
    padding: 60px 40px 40px;
    animation: preloaderEnter 0.6s ease-out both;
}

@keyframes preloaderEnter {
    from { opacity: 0; transform: scale(0.95) translateY(15px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* --- Heritage arch frame --- */
.preloader-arch {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 300px;
    pointer-events: none;
}

.preloader-arch-svg {
    width: 100%;
    height: 100%;
    animation: archBreathe 4s ease-in-out infinite;
}

@keyframes archBreathe {
    0%, 100% { opacity: 0.7; }
    50%      { opacity: 1; }
}

/* --- Logo --- */
.preloader-logo {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.preloader-logo::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(196, 151, 59, 0.15);
    border-radius: 50%;
    animation: logoRingPulse 2.5s ease-in-out infinite;
}

.preloader-logo::after {
    content: '';
    position: absolute;
    inset: -16px;
    border: 1px solid rgba(196, 151, 59, 0.07);
    border-radius: 50%;
    animation: logoRingPulse 2.5s ease-in-out 0.3s infinite;
}

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

.preloader .preloader-logo-img {
    width: 56px;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    animation: logoPulse 2.5s ease-in-out infinite;
}

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

/* --- Title --- */
.preloader .preloader-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    position: relative;
}

.preloader .preloader-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196,151,59,0.5), transparent);
    margin: 12px auto 0;
}

/* --- Typing animation area --- */
.preloader-typing-wrap {
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    min-width: 280px;
}

.preloader-typing-text {
    font-family: var(--font-elegant, 'Cormorant Garamond', serif);
    font-size: 15px;
    color: rgba(196, 151, 59, 0.7);
    letter-spacing: 1.5px;
    font-style: italic;
}

.preloader-typing-cursor {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 16px;
    color: rgba(196, 151, 59, 0.8);
    font-weight: 300;
    margin-left: 1px;
    animation: cursorBlink 0.7s step-end infinite;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}

/* --- Progress line --- */
.preloader .preloader-progress {
    width: 200px;
}

.preloader .preloader-progress-track {
    width: 100%;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
}

.preloader .preloader-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(196,151,59,0.3), var(--color-gold, #C4973B), rgba(196,151,59,0.3));
    border-radius: 2px;
    transition: width 0.2s ease-out;
    box-shadow: 0 0 6px rgba(196, 151, 59, 0.3);
}

/* --- Exit animation --- */
.preloader.loaded .preloader-inner {
    opacity: 0;
    transform: translateY(-20px) scale(1.03);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease 0.35s;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .preloader-arch {
        width: 200px;
        height: 250px;
    }
    .preloader-inner {
        padding: 50px 30px 30px;
    }
    .preloader-logo {
        width: 56px;
        height: 56px;
        margin-bottom: 18px;
    }
    .preloader .preloader-logo-img {
        width: 42px;
    }
    .preloader .preloader-title {
        font-size: 16px;
        letter-spacing: 5px;
    }
    .preloader-typing-wrap {
        min-width: 220px;
    }
    .preloader-typing-text {
        font-size: 13px;
    }
    .preloader .preloader-progress {
        width: 160px;
    }
}

/* =====================================================
   INTERACTIVE HERITAGE BACKGROUND (Canvas Particles)
   ===================================================== */

#heritageCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
    will-change: transform;
}

/* Ensure page content layers properly stacked */
.section,
.site-content,
.site-footer {
    position: relative;
    z-index: 1;
}

.section-divider {
    position: relative;
    z-index: 1;
}

/* =====================================================
   IMAGE LOADING PERFORMANCE
   ===================================================== */

/* Shimmer placeholder while images load — images always visible */
img[loading="lazy"]:not(.loaded) {
    background: linear-gradient(110deg, rgba(27, 42, 74, 0.06) 8%, rgba(196, 151, 59, 0.08) 18%, rgba(27, 42, 74, 0.06) 33%);
    background-size: 200% 100%;
    animation: imgShimmer 1.5s linear infinite;
}

img[loading="lazy"].loaded {
    animation: none;
    background: none;
}

@keyframes imgShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* CRITICAL: never hide images — override any accidental opacity:0 */
img {
    opacity: 1 !important;
}

/* Smooth fade-in for images */
.transform-img img,
.project-card img,
.meth-gallery-item img,
.ig-preview-thumb img,
.cert-item img {
    transition: opacity 0.4s ease;
}

/* All images visible by default — fade in via .loaded class only */
img[loading="lazy"] {
    opacity: 1;
}

/* =====================================================
   CONTACT FORM STYLES
   ===================================================== */

.contact-form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 32px rgba(27, 42, 74, 0.06);
}

/* Alert messages */
.contact-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.contact-alert-success svg {
    color: #059669;
    flex-shrink: 0;
}

.contact-alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Form layout */
.contact-form {
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group:not(.form-row .form-group) {
    margin-bottom: 20px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-navy);
    letter-spacing: 0.02em;
}

.form-group label .required {
    color: #dc2626;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm, 8px);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text);
    background: var(--color-warm-white, #fafaf7);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(27, 42, 74, 0.35);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(196, 151, 59, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit button */
.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--color-gold);
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.contact-submit-btn:hover {
    background: var(--color-gold-dark, #a67c2e);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 151, 59, 0.3);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.contact-submit-btn svg {
    transition: transform 0.2s ease;
}

.contact-submit-btn:hover svg {
    transform: translateX(3px) translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 20px;
    }
}

/* =====================================================
   HERITAGE DESIGN ENHANCEMENTS v2 - Creative Overhaul
   ===================================================== */

/* --------------------------------------------------------------------------
   CSS Heritage Pattern Library (reusable via custom properties)
   -------------------------------------------------------------------------- */
:root {
    --pattern-mashrabiya: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C4973B' stroke-width='0.5'%3E%3Crect x='5' y='5' width='50' height='50' rx='2'/%3E%3Cpath d='M30 5L30 55M5 30L55 30'/%3E%3Cpath d='M5 5L55 55M55 5L5 55'/%3E%3Ccircle cx='30' cy='30' r='12'/%3E%3Ccircle cx='30' cy='30' r='6'/%3E%3Ccircle cx='5' cy='5' r='4'/%3E%3Ccircle cx='55' cy='5' r='4'/%3E%3Ccircle cx='5' cy='55' r='4'/%3E%3Ccircle cx='55' cy='55' r='4'/%3E%3C/g%3E%3C/svg%3E");
    --pattern-arabesque: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C4973B' stroke-width='0.4'%3E%3Cpath d='M0 50Q25 25 50 50Q75 75 100 50'/%3E%3Cpath d='M0 50Q25 75 50 50Q75 25 100 50'/%3E%3Ccircle cx='50' cy='50' r='8'/%3E%3Ccircle cx='0' cy='50' r='5'/%3E%3Ccircle cx='100' cy='50' r='5'/%3E%3Cpath d='M50 0Q25 25 50 50Q75 25 50 0'/%3E%3Cpath d='M50 100Q25 75 50 50Q75 75 50 100'/%3E%3C/g%3E%3C/svg%3E");
    --pattern-geometric-8fold: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C4973B' stroke-width='0.4'%3E%3Cpath d='M40 0L80 40L40 80L0 40Z'/%3E%3Cpath d='M40 10L70 40L40 70L10 40Z'/%3E%3Cpath d='M20 0L40 20L60 0'/%3E%3Cpath d='M80 20L60 40L80 60'/%3E%3Cpath d='M60 80L40 60L20 80'/%3E%3Cpath d='M0 60L20 40L0 20'/%3E%3Ccircle cx='40' cy='40' r='12'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3C/g%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   HERO SECTION ENHANCEMENTS
   -------------------------------------------------------------------------- */

/* Animated pattern drift */
.hero-pattern-overlay {
    animation: patternDrift 60s linear infinite;
}

@keyframes patternDrift {
    0% { background-position: 0 0; }
    100% { background-position: 240px 240px; }
}

/* Enhanced mashrabiya corners with actual lattice SVG */
.mashrabiya-corner {
    width: 80px;
    height: 80px;
    background-image: var(--pattern-mashrabiya);
    background-size: 60px 60px;
    opacity: 0.2;
}

/* Increased arch decoration opacity */
.hero-arch-decoration .arch-deco-svg path:nth-child(1) { opacity: 0.18; }
.hero-arch-decoration .arch-deco-svg path:nth-child(2) { opacity: 0.12; }
.hero-arch-decoration .arch-deco-svg path:nth-child(3) { opacity: 0.08; }

/* --------------------------------------------------------------------------
   CEO SECTION ENHANCEMENTS
   -------------------------------------------------------------------------- */

/* Arch-shaped photo clip */
.ceo-photo-img {
    clip-path: polygon(0% 100%, 0% 25%, 5% 15%, 15% 6%, 30% 1%, 50% 0%, 70% 1%, 85% 6%, 95% 15%, 100% 25%, 100% 100%);
    transition: clip-path 0.6s ease;
}

.ceo-photo-wrapper:hover .ceo-photo-img {
    clip-path: polygon(0% 100%, 0% 20%, 5% 12%, 15% 4%, 30% 0%, 50% -2%, 70% 0%, 85% 4%, 95% 12%, 100% 20%, 100% 100%);
}

/* Arabesque ornament corners on quote */
.ceo-quote {
    position: relative;
}

.ceo-quote::before,
.ceo-quote::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C4973B' stroke-width='0.8'%3E%3Cpath d='M0 0Q20 0 20 20Q20 0 40 0'/%3E%3Cpath d='M0 0Q0 20 20 20Q0 20 0 40'/%3E%3Ccircle cx='10' cy='10' r='3'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    opacity: 0.4;
}

.ceo-quote::before {
    top: -15px;
    left: -15px;
}

.ceo-quote::after {
    bottom: -15px;
    right: -15px;
    transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   ABOUT SECTION ENHANCEMENTS
   -------------------------------------------------------------------------- */

/* Arch-shaped image mask */
.about-img-main img {
    border-radius: 50% 50% 4px 4px / 30% 30% 4px 4px;
}

/* VMV cards with arch top accent */
.vmv-card {
    position: relative;
    overflow: visible;
}

.vmv-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    opacity: 0.7;
}

/* Arabesque corners on VMV cards */
.vmv-card::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C4973B' stroke-width='0.5' opacity='0.3'%3E%3Cpath d='M30 0Q15 0 15 15Q15 0 0 0'/%3E%3Ccircle cx='22' cy='8' r='2'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   SERVICES SECTION ENHANCEMENTS
   -------------------------------------------------------------------------- */

/* Octagonal icon frame */
.service-icon {
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    background: linear-gradient(135deg, rgba(196, 151, 59, 0.08), rgba(196, 151, 59, 0.02));
    z-index: -1;
}

/* Card hover enhancements */
.service-card {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
    border-left: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(196, 151, 59, 0.12), 0 0 0 1px rgba(196, 151, 59, 0.08);
    border-left-color: var(--color-gold);
}

/* Featured service arch SVG animation */
.arch-pattern-svg path,
.arch-pattern-svg line,
.arch-pattern-svg circle {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: archDraw 3s ease forwards;
}

.arch-pattern-svg path:nth-child(2) { animation-delay: 0.3s; }
.arch-pattern-svg path:nth-child(3) { animation-delay: 0.6s; }
.arch-pattern-svg line { animation-delay: 0.9s; }
.arch-pattern-svg circle:nth-child(5) { animation-delay: 1.1s; }
.arch-pattern-svg circle:nth-child(6) { animation-delay: 1.3s; }

@keyframes archDraw {
    to { stroke-dashoffset: 0; }
}

/* --------------------------------------------------------------------------
   METHODOLOGY SECTION ENHANCEMENTS
   -------------------------------------------------------------------------- */

/* Heritage column-style timeline line */
.timeline-line {
    background: linear-gradient(
        180deg,
        var(--color-gold-dark),
        var(--color-gold),
        var(--color-gold-light),
        var(--color-gold),
        var(--color-gold-dark)
    ) !important;
    width: 3px !important;
    box-shadow: 0 0 12px rgba(196, 151, 59, 0.2);
}

/* Arch-shaped step markers */
.step-marker {
    position: relative;
}

.step-marker::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50% 50% 4px 4px / 40% 40% 4px 4px;
    border: 1px solid rgba(196, 151, 59, 0.3);
    pointer-events: none;
}

/* Gallery arch masks */
.meth-gallery-item img {
    border-radius: 40% 40% 4px 4px / 20% 20% 4px 4px;
}

.meth-gallery-item.meth-gallery-large img {
    border-radius: 30% 30% 4px 4px / 15% 15% 4px 4px;
}

/* --------------------------------------------------------------------------
   PROJECTS SECTION ENHANCEMENTS
   -------------------------------------------------------------------------- */

/* Arch-shaped filter buttons */
.filter-btn {
    border-radius: 50% 50% 8px 8px / 30% 30% 8px 8px !important;
    padding: 10px 24px !important;
    transition: all 0.3s ease !important;
}

.filter-btn.active,
.filter-btn:hover {
    box-shadow: 0 4px 16px rgba(196, 151, 59, 0.2);
}

/* Circular slider handle */
.ba-handle-circle,
/* Mashrabiya-style grip handle */
.transform-handle-btn {
    width: 44px !important;
    height: 44px !important;
    border-radius: 6px !important;
    background: linear-gradient(135deg, #8B6914 0%, #C4973B 40%, #D4AD5A 60%, #C4973B 100%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.15), inset 0 -1px 0 rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.25) !important;
    color: rgba(255, 255, 255, 0.8);
}

/* Project card hover zoom + rotate */
.project-card-visual img {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-card-visual img {
    transform: scale(1.08) rotate(1deg);
}

/* Gold geometric border on hover */
.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: inherit;
    transition: border-color 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.project-card:hover::after {
    border-color: rgba(196, 151, 59, 0.25);
}

/* --------------------------------------------------------------------------
   TRANSFORMATIONS SECTION ENHANCEMENTS
   -------------------------------------------------------------------------- */

/* Arch-shaped frames */
.transform-card {
    border-radius: 30% 30% 8px 8px / 12% 12% 8px 8px;
    overflow: hidden;
}

/* Mashrabiya lattice handle line */
.transform-handle-line {
    background: repeating-linear-gradient(
        180deg,
        var(--color-gold-dark) 0px,
        var(--color-gold) 3px,
        var(--color-gold-light) 6px,
        transparent 6px,
        transparent 8px,
        var(--color-gold-dark) 8px
    ) !important;
    width: 4px !important;
    box-shadow: 0 0 8px rgba(196, 151, 59, 0.3);
}

/* Diamond ornament on handle */
.transform-handle::before,
.transform-handle::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--color-gold);
    transform: rotate(45deg);
    z-index: 10;
}

.transform-handle::before { top: 10px; }
.transform-handle::after { bottom: 10px; }

/* --------------------------------------------------------------------------
   ORGANIZATION SECTION ENHANCEMENTS (Major Overhaul)
   -------------------------------------------------------------------------- */

/* Dome/arch frame for CEO card */
.org-card-primary {
    position: relative;
    border-radius: 50% 50% 12px 12px / 25% 25% 12px 12px;
    background: linear-gradient(135deg, var(--color-navy), var(--color-navy-deep));
    padding: 32px 28px 20px;
    border: 1px solid rgba(196, 151, 59, 0.25);
    box-shadow: 0 8px 32px rgba(15, 26, 48, 0.2);
}

.org-card-primary::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    border-radius: 0 0 4px 4px;
}

/* Decorative column connectors */
.org-connector {
    position: relative;
}

.org-connector::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 50%;
    top: -4px;
    box-shadow: 0 0 8px rgba(196, 151, 59, 0.3);
}

.org-connector::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    bottom: -4px;
}

/* Arch-shaped team cards */
.org-card-team {
    border-radius: 40% 40% 8px 8px / 20% 20% 8px 8px;
    border-top: 2px solid var(--color-gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.org-card-team:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Color-coded team cards */
.org-card-team:nth-child(1),
.org-card-team:nth-child(2) {
    border-top-color: var(--color-turquoise, #1A8C8C);
}

.org-card-team:nth-child(3) {
    border-top-color: var(--color-gold);
}

.org-card-team:nth-child(4) {
    border-top-color: var(--color-terracotta, #C45B28);
}

/* Admin unit cards with terracotta accent */
.org-card-admin {
    border-top: 2px solid var(--color-terracotta, #C45B28);
    transition: transform 0.3s ease;
}

.org-card-admin:hover {
    transform: translateY(-3px);
}

/* Heritage column background for org chart */
.org-chart {
    position: relative;
}

.org-chart::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='500' viewBox='0 0 200 500' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C4973B' stroke-width='0.3' opacity='0.15'%3E%3Cpath d='M50 500L50 100Q50 20 100 20Q150 20 150 100L150 500'/%3E%3Cpath d='M65 500L65 110Q65 35 100 35Q135 35 135 110L135 500'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 200px 500px;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

/* Highlight card (Chief Engineer) */
.org-card-highlight {
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
    color: var(--color-white);
    border-radius: 50% 50% 12px 12px / 20% 20% 12px 12px;
    box-shadow: 0 8px 24px rgba(196, 151, 59, 0.25);
}

/* --------------------------------------------------------------------------
   CERTIFICATIONS SECTION ENHANCEMENTS
   -------------------------------------------------------------------------- */

/* Ornate frame for certificate images */
.cert-image-item {
    position: relative;
    border: 2px solid rgba(196, 151, 59, 0.2);
    border-radius: var(--radius-md);
    padding: 8px;
    background: rgba(196, 151, 59, 0.03);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cert-image-item:hover {
    border-color: rgba(196, 151, 59, 0.4);
    box-shadow: var(--shadow-gold);
}

/* Gold arabesque corner ornaments */
.cert-image-item::before,
.cert-image-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C4973B' stroke-width='1'%3E%3Cpath d='M0 0L12 0L12 12' fill='none'/%3E%3Cpath d='M0 0Q12 0 12 12'/%3E%3Ccircle cx='6' cy='6' r='2'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    opacity: 0.5;
    z-index: 2;
}

.cert-image-item::before {
    top: -2px;
    left: -2px;
}

.cert-image-item::after {
    bottom: -2px;
    right: -2px;
    transform: rotate(180deg);
}

/* Medal/seal shaped recognition badges */
.recognition-item {
    position: relative;
    background: linear-gradient(135deg, rgba(196, 151, 59, 0.08), rgba(196, 151, 59, 0.02));
    border: 1px solid rgba(196, 151, 59, 0.15);
    border-radius: 50% 50% 12px 12px / 30% 30% 12px 12px;
    padding: 24px 16px 16px;
    text-align: center;
    transition: all 0.4s ease;
}

.recognition-item:hover {
    background: linear-gradient(135deg, rgba(196, 151, 59, 0.12), rgba(196, 151, 59, 0.04));
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(196, 151, 59, 0.15);
}

/* Shimmer/shine animation on hover */
.recognition-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 151, 59, 0.08), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.recognition-item:hover::after {
    left: 100%;
}

/* Capital value cartouche frame */
.cert-capital {
    position: relative;
    background: linear-gradient(135deg, rgba(196, 151, 59, 0.06), transparent);
    border: 1px solid rgba(196, 151, 59, 0.2);
    border-radius: 50px;
    padding: 16px 32px;
}

.cert-capital .capital-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.02em;
}

/* Principle cards arch accent */
.principle-card {
    position: relative;
    border-top: 3px solid transparent;
    transition: all 0.3s ease;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    border-radius: 0 0 50% 50%;
}

.principle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* --------------------------------------------------------------------------
   SOCIAL MEDIA SECTION ENHANCEMENTS
   -------------------------------------------------------------------------- */

/* Mashrabiya lattice border */
.social-embed-card {
    position: relative;
    border: 1px solid rgba(196, 151, 59, 0.15);
}

.social-embed-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border: 2px solid transparent;
    border-image: var(--pattern-mashrabiya) 20;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

/* Heritage CTA banner */
.social-cta {
    position: relative;
    background: linear-gradient(135deg, var(--color-navy-deep), var(--color-navy)) !important;
    border-radius: 50% 50% 16px 16px / 8% 8% 16px 16px !important;
    border: 1px solid rgba(196, 151, 59, 0.2);
    overflow: hidden;
}

.social-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--pattern-arabesque);
    background-size: 100px 100px;
    opacity: 0.04;
    pointer-events: none;
}

/* Social follow button pulse */
.social-follow-btn,
.social-cta-btn {
    transition: all 0.3s ease;
}

.social-follow-btn:hover,
.social-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(196, 151, 59, 0.25);
}

/* --------------------------------------------------------------------------
   CONTACT SECTION ENHANCEMENTS
   -------------------------------------------------------------------------- */

/* Arch-shaped form container */
.contact-form-wrapper {
    border-radius: 40% 40% 16px 16px / 6% 6% 16px 16px !important;
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    border-radius: 0 0 50% 50%;
}

/* Arch-shaped icon containers */
.contact-card-icon {
    border-radius: 50% 50% 8px 8px / 35% 35% 8px 8px;
    background: linear-gradient(135deg, rgba(196, 151, 59, 0.08), rgba(196, 151, 59, 0.02));
    border: 1px solid rgba(196, 151, 59, 0.12);
}

/* Gold bottom-border focus state */
.form-group input:focus,
.form-group textarea:focus {
    border-color: transparent !important;
    border-bottom-color: var(--color-gold) !important;
    border-bottom-width: 2px;
    box-shadow: 0 2px 0 0 rgba(196, 151, 59, 0.3), 0 0 0 3px rgba(196, 151, 59, 0.06) !important;
}

/* Submit button — heritage gold with elegant styling */
.contact-submit-btn {
    background: linear-gradient(135deg, var(--color-gold), #B8882F) !important;
    border: 1px solid rgba(196, 151, 59, 0.3);
    border-radius: 8px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #fff !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(196, 151, 59, 0.25);
    transition: all 0.3s ease;
}

.contact-submit-btn:hover {
    background: linear-gradient(135deg, #D4A843, var(--color-gold)) !important;
    box-shadow: 0 6px 25px rgba(196, 151, 59, 0.4);
    transform: translateY(-2px);
}

.contact-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(196, 151, 59, 0.3);
}

.contact-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.contact-submit-btn:hover::before {
    left: 100%;
}

/* --------------------------------------------------------------------------
   SECTION DIVIDERS - Heritage Overhaul
   -------------------------------------------------------------------------- */

/* Muqarnas-inspired divider */
.section-divider-muqarnas svg path {
    fill: var(--color-navy);
}

/* Mashrabiya band divider */
.section-divider-mashrabiya {
    height: 20px;
    background-image: var(--pattern-mashrabiya);
    background-size: 40px 40px;
    opacity: 0.1;
}

/* Heritage arch colonnade divider */
.section-divider-colonnade {
    position: relative;
    height: 60px;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   FOOTER HERITAGE ENHANCEMENTS
   -------------------------------------------------------------------------- */

/* Mashrabiya lattice band at top of footer */
.footer-pattern {
    height: 30px;
    background-image: var(--pattern-mashrabiya);
    background-size: 30px 30px;
    opacity: 0.12;
    margin-bottom: 20px;
}

/* Footer heading arch ornament */
.footer-heading {
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-gold);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* Minaret-styled back-to-top button */
.back-to-top {
    border-radius: 50% 50% 8px 8px / 35% 35% 8px 8px !important;
    background: linear-gradient(180deg, var(--color-gold), var(--color-gold-dark)) !important;
    border: 1px solid rgba(196, 151, 59, 0.3);
}

.back-to-top::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
}

/* --------------------------------------------------------------------------
   NAVIGATION HERITAGE ENHANCEMENTS
   -------------------------------------------------------------------------- */

/* Arch-shaped active nav indicator */
.nav-link.active::after,
.nav-link:hover::after {
    border-radius: 50% 50% 0 0 / 100% 100% 0 0 !important;
    height: 3px !important;
}

/* Mashrabiya pattern on mobile overlay */
/* Note: position: fixed (from main.css) already serves as containing block for ::before */

.mobile-menu-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--pattern-geometric-8fold);
    background-size: 80px 80px;
    opacity: 0.03;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   RESPONSIVE ADJUSTMENTS FOR HERITAGE ENHANCEMENTS
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .mashrabiya-corner { width: 50px; height: 50px; }
    .ceo-photo-img { clip-path: none; border-radius: 20% 20% 4px 4px / 15% 15% 4px 4px; }
    .org-card-primary { border-radius: 30% 30% 12px 12px / 15% 15% 12px 12px; }
    .contact-form-wrapper { border-radius: 20% 20% 16px 16px / 4% 4% 16px 16px !important; }
    .filter-btn { border-radius: 30% 30% 6px 6px / 20% 20% 6px 6px !important; }
    .transform-card { border-radius: 15% 15% 8px 8px / 8% 8% 8px 8px; }
    .social-cta { border-radius: 30% 30% 12px 12px / 5% 5% 12px 12px !important; }
}

@media (max-width: 480px) {
    .ceo-photo-img { border-radius: 12px; clip-path: none; }
    .meth-gallery-item img,
    .meth-gallery-item.meth-gallery-large img { border-radius: 12px; }
    .about-img-main img { border-radius: 12px; }
    .org-card-primary { border-radius: 16px; }
}

/* =====================================================
   SECTION REDESIGNS v4.0 - About, Services, Projects
   ===================================================== */

/* --------------------------------------------------------------------------
   ABOUT SECTION REDESIGN
   -------------------------------------------------------------------------- */
.about-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
}

.about-images-col {
    position: relative;
    padding-right: 30px;
    overflow: hidden;
}

/* Arch Frame for Main Image */
.about-arch-frame {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.about-arch-img {
    clip-path: ellipse(50% 50% at 50% 55%);
    overflow: hidden;
    border-radius: 4px;
    position: relative;
}

.about-arch-img img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-arch-frame:hover .about-arch-img img {
    transform: scale(1.05);
}

.about-arch-border {
    position: absolute;
    top: -5px;
    left: -5px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    pointer-events: none;
    z-index: 2;
}

.about-arch-ornament {
    position: absolute;
    z-index: 3;
    opacity: 0.8;
}

.about-arch-ornament-tl {
    top: -10px;
    left: -10px;
}

.about-arch-ornament-br {
    bottom: 10px;
    right: 10px;
}

/* Floating secondary image */
.about-float-img {
    position: absolute;
    bottom: -30px;
    left: -20px;
    width: 180px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--color-white);
    z-index: 3;
}

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

/* Experience Badge */
.about-exp-badge {
    position: absolute;
    top: 30px;
    right: -10px;
    z-index: 4;
}

.about-exp-inner {
    background: linear-gradient(135deg, var(--color-navy), var(--color-navy-deep));
    color: var(--color-white);
    padding: 20px 18px;
    border-radius: 50%;
    width: 110px;
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px solid rgba(196, 151, 59, 0.3);
    box-shadow: 0 8px 32px rgba(15, 26, 48, 0.25);
}

.about-exp-num {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
}

.about-exp-num sup {
    font-size: 18px;
    color: var(--color-gold-light);
}

.about-exp-label {
    font-size: 11px;
    line-height: 1.3;
    opacity: 0.8;
    margin-top: 4px;
    letter-spacing: 0.02em;
}

/* Content Column */
.about-content-col {
    padding-top: 20px;
}

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

.about-accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    margin-bottom: 24px;
    border-radius: 2px;
}

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

/* Trust Badges */
.about-trust-row {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
}

.about-trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(196, 151, 59, 0.04);
    border: 1px solid rgba(196, 151, 59, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.about-trust-item:hover {
    background: rgba(196, 151, 59, 0.08);
    border-color: rgba(196, 151, 59, 0.2);
    transform: translateX(4px);
}

.about-trust-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
}

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

.about-trust-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-navy);
}

.about-trust-item span {
    display: block;
    font-size: 12px;
    color: var(--color-text-light);
}

/* Stats Counter Bar */
.about-stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: linear-gradient(135deg, var(--color-navy), var(--color-navy-deep));
    border-radius: 16px;
    padding: 40px 48px;
    margin-bottom: 80px;
    border: 1px solid rgba(196, 151, 59, 0.15);
    box-shadow: 0 12px 48px rgba(15, 26, 48, 0.2);
    position: relative;
    overflow: hidden;
}

.about-stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--pattern-geometric-8fold);
    background-size: 80px;
    opacity: 0.03;
    pointer-events: none;
}

.about-stat {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.about-stat-suffix {
    font-size: 32px;
    color: var(--color-gold-light);
}

.count-up {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

.about-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.about-stat-sep {
    flex-shrink: 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   IRAQI KASHI TILE STATISTICS
   -------------------------------------------------------------------------- */
.kashi-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kashi-tile {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    clip-path: polygon(
        30% 0%, 70% 0%, 100% 30%, 100% 70%,
        70% 100%, 30% 100%, 0% 70%, 0% 30%
    );
    background: linear-gradient(135deg, #1BA89F 0%, #1A8C8C 50%, #157575 100%);
    animation: kashiShimmer 4s ease-in-out infinite;
}

.kashi-tile-border {
    position: absolute;
    inset: 3px;
    clip-path: polygon(
        30% 0%, 70% 0%, 100% 30%, 100% 70%,
        70% 100%, 30% 100%, 0% 70%, 0% 30%
    );
    border: 1px solid rgba(196, 151, 59, 0.4);
    background: linear-gradient(135deg,
        rgba(196, 151, 59, 0.08) 0%,
        transparent 50%,
        rgba(196, 151, 59, 0.08) 100%
    );
    pointer-events: none;
}

.kashi-tile .about-stat-number {
    position: relative;
    z-index: 1;
    font-size: 36px;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0;
}

.kashi-tile .about-stat-suffix {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes kashiShimmer {
    0%, 100% {
        box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
    }
    50% {
        box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.15),
                    0 0 15px rgba(26, 140, 140, 0.2);
    }
}

@media (max-width: 768px) {
    .kashi-tile {
        width: 80px;
        height: 80px;
    }
    .kashi-tile .about-stat-number {
        font-size: 28px;
    }
    .kashi-tile .about-stat-suffix {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .kashi-tile {
        width: 68px;
        height: 68px;
    }
    .kashi-tile .about-stat-number {
        font-size: 24px;
    }
}

/* VMV Arch Top */
.vmv-arch-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    z-index: 1;
    pointer-events: none;
}

.vmv-arch-top svg {
    width: 100%;
    height: 40px;
}

/* --------------------------------------------------------------------------
   SERVICES SECTION REDESIGN
   -------------------------------------------------------------------------- */

/* Featured Service */
.svc-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(27, 42, 74, 0.03), rgba(196, 151, 59, 0.04));
    border: 1px solid rgba(196, 151, 59, 0.1);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.svc-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--pattern-arabesque);
    background-size: 100px;
    opacity: 0.025;
    pointer-events: none;
}

.svc-featured-img {
    position: relative;
    max-width: 450px;
    margin: 0 auto;
}

.svc-featured-arch {
    clip-path: ellipse(50% 50% at 50% 55%);
    overflow: hidden;
    border-radius: 4px;
}

.svc-featured-arch img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-featured-img:hover .svc-featured-arch img {
    transform: scale(1.05);
}

.svc-featured-arch-border {
    position: absolute;
    top: -8px;
    left: -8px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
    pointer-events: none;
    z-index: 2;
}

.svc-featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
}

.svc-featured-badge span {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
}

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

.svc-featured-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.svc-featured-tag svg {
    color: var(--color-gold);
}

.svc-featured-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.3;
    margin-bottom: 20px;
}

.svc-featured-text {
    font-size: 15px;
    line-height: 1.85;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

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

.svc-standard {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(27, 42, 74, 0.06);
    border: 1px solid rgba(27, 42, 74, 0.1);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-navy);
    transition: all 0.3s ease;
}

.svc-standard:hover {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}

.svc-standard svg {
    flex-shrink: 0;
}

/* Services Grid */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.svc-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.svc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(196, 151, 59, 0.12), 0 0 0 1px rgba(196, 151, 59, 0.1);
}

.svc-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.svc-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 26, 48, 0.6) 100%);
    pointer-events: none;
}

.svc-card-num {
    position: absolute;
    top: 12px;
    right: 14px;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
    z-index: 2;
}

.svc-card-body {
    padding: 20px 22px 24px;
}

.svc-card-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.svc-card-desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--color-text-light);
}

/* Gold left border accent on hover */
.svc-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-gold);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 2;
}

.svc-card:hover::before {
    transform: scaleY(1);
}

/* --------------------------------------------------------------------------
   PROJECTS TIMELINE REDESIGN
   -------------------------------------------------------------------------- */
.proj-timeline {
    position: relative;
    padding: 40px 0;
    margin-bottom: 60px;
}

/* Center timeline line */
.proj-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(180deg,
        transparent,
        var(--color-gold-dark) 10%,
        var(--color-gold) 50%,
        var(--color-gold-dark) 90%,
        transparent
    );
    z-index: 0;
}

.proj-timeline-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(196, 151, 59, 0.3);
}

.proj-timeline-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--color-gold);
    transition: height 0.3s ease;
    box-shadow: 0 0 10px rgba(196, 151, 59, 0.4);
}

/* Timeline items */
.proj-timeline-item {
    position: relative;
    width: 50%;
    padding-bottom: 50px;
    z-index: 1;
}

.proj-timeline-left {
    padding-right: 50px;
    margin-left: 0;
}

.proj-timeline-right {
    padding-left: 50px;
    margin-left: 50%;
}

/* Timeline Marker */
.proj-timeline-marker {
    position: absolute;
    top: 30px;
    width: 24px;
    height: 24px;
    z-index: 3;
}

.proj-timeline-left .proj-timeline-marker {
    right: -12px;
}

.proj-timeline-right .proj-timeline-marker {
    left: -12px;
}

.proj-marker-dot {
    width: 24px;
    height: 24px;
    background: var(--color-gold);
    border: 4px solid var(--color-warm-white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(196, 151, 59, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.proj-marker-year {
    position: absolute;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-gold-dark);
    letter-spacing: 1px;
}

.proj-timeline-left .proj-marker-year {
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);
}

.proj-timeline-right .proj-marker-year {
    left: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);
}

/* Timeline Card — Ottoman Gilded Style */
.proj-timeline-card {
    background: linear-gradient(135deg, #FDFBF8 0%, #F8F4EE 50%, #F2EDE4 100%);
    border-radius: 16px;
    overflow: visible;
    border: 1px solid rgba(196, 151, 59, 0.25);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

/* Inner gold frame line */
.proj-timeline-card::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(196, 151, 59, 0.15);
    border-radius: 14px;
    pointer-events: none;
    z-index: 2;
}

/* Corner-gradient gold border on hover */
.proj-timeline-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border: 2px solid transparent;
    border-radius: 18px;
    background: linear-gradient(var(--color-white), var(--color-white)) padding-box,
                linear-gradient(45deg, var(--color-gold) 0%, transparent 20%, transparent 80%, var(--color-gold) 100%) border-box;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.proj-timeline-card:hover::after {
    opacity: 1;
}

.proj-timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(196, 151, 59, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
    border-color: rgba(196, 151, 59, 0.35);
}

/* Card Image */
.proj-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.proj-card-img > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.proj-timeline-card:hover .proj-card-img > img {
    transform: scale(1.05);
}

.proj-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-white);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Gallery thumbnails */
.proj-card-gallery {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.proj-card-gallery img {
    width: 50px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

/* Card Content */
.proj-card-content {
    padding: 18px 20px 22px;
    position: relative;
}

/* Gold L-shaped corner ornaments */
.proj-card-content::before,
.proj-card-content::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: var(--color-gold);
    border-style: solid;
    opacity: 0.3;
    z-index: 3;
    transition: opacity 0.4s ease;
}

.proj-card-content::before {
    top: 4px;
    left: 6px;
    border-width: 2px 0 0 2px;
}

.proj-card-content::after {
    bottom: 4px;
    right: 6px;
    border-width: 0 2px 2px 0;
}

.proj-timeline-card:hover .proj-card-content::before,
.proj-timeline-card:hover .proj-card-content::after {
    opacity: 0.6;
}

.proj-card-orgs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.proj-org {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    color: var(--color-gold-dark);
    background: rgba(196, 151, 59, 0.08);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(196, 151, 59, 0.1);
}

.proj-card-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.4;
    margin-bottom: 8px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), 0 -1px 0 rgba(0, 0, 0, 0.03);
}

.proj-card-desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 14px;
}

.proj-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.proj-meta-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--color-text-light);
}

.proj-meta-date svg {
    color: var(--color-gold);
    flex-shrink: 0;
}

.proj-meta-value {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-navy);
    background: rgba(27, 42, 74, 0.06);
    padding: 3px 12px;
    border-radius: 20px;
}

/* Before/After Showcase */
.proj-ba-showcase {
    margin-bottom: 70px;
}

.proj-ba-header {
    text-align: center;
    margin-bottom: 28px;
}

.proj-ba-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-navy);
    margin-top: 8px;
}

/* Infrastructure Projects Grid */
.proj-infra-section {
    margin-top: 20px;
}

.proj-infra-header {
    margin-bottom: 28px;
}

.proj-infra-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-navy);
}

.proj-infra-title svg {
    color: var(--color-gold);
}

.proj-infra-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.proj-infra-card {
    background: linear-gradient(145deg, #FDFBF8 0%, #F5F2ED 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(196, 151, 59, 0.15);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.proj-infra-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(196, 151, 59, 0.1);
    border-color: rgba(196, 151, 59, 0.35);
}

.proj-infra-img {
    height: 140px;
    overflow: hidden;
}

.proj-infra-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.proj-infra-card:hover .proj-infra-img img {
    transform: scale(1.05);
}

.proj-infra-info {
    padding: 14px 16px;
}

.proj-infra-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold-dark);
    margin-bottom: 6px;
}

.proj-infra-info h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-navy);
    line-height: 1.4;
    margin-bottom: 6px;
}

.proj-infra-value {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   CURRENT PROJECT SECTION
   -------------------------------------------------------------------------- */
.current-project-section {
    background: linear-gradient(135deg, var(--color-navy), var(--color-navy-deep));
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.current-project-section .section-title-ornament {
    color: var(--color-gold);
}

.section-tag-glow {
    position: relative;
    animation: tagPulse 2s ease-in-out infinite;
}

@keyframes tagPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.section-title-light {
    color: var(--color-white) !important;
}

.cur-proj-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cur-proj-visual {
    position: relative;
}

.cur-proj-img-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.3);
}

.cur-proj-img-wrap img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.cur-proj-live-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 26, 48, 0.85);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-white);
    border: 1px solid rgba(196, 151, 59, 0.2);
    z-index: 3;
}

.cur-proj-pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.cur-proj-arch-frame {
    position: absolute;
    top: -12px;
    left: -12px;
    width: calc(100% + 24px);
    height: calc(100% + 24px);
    pointer-events: none;
    z-index: 1;
}

.cur-proj-details {
    position: relative;
    z-index: 1;
}

.cur-proj-tag-row {
    margin-bottom: 12px;
}

.cur-proj-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gold);
    border: 1px solid rgba(196, 151, 59, 0.3);
    padding: 5px 16px;
    border-radius: 20px;
}

.cur-proj-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
    margin-bottom: 18px;
}

.cur-proj-desc {
    font-size: 15px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
}

/* Info Grid */
.cur-proj-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.cur-proj-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

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

.cur-proj-info-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: rgba(196, 151, 59, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
}

.cur-proj-info-label {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cur-proj-info-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
}

/* Progress Bar */
.cur-proj-progress {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px 22px;
}

.cur-proj-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.cur-proj-progress-pct {
    font-weight: 600;
    color: var(--color-gold);
}

.cur-proj-progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
}

.cur-proj-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.cur-proj-progress-glow {
    position: absolute;
    top: -2px;
    right: 0;
    width: 20px;
    height: calc(100% + 4px);
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    filter: blur(4px);
    animation: progressGlow 1.5s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Weaving-Style Progress Bar */
.weaving-bar {
    height: 16px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(196, 151, 59, 0.15);
}

.weaving-fill {
    border-radius: 3px;
    overflow: hidden;
}

.weaving-pattern {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            60deg,
            transparent 0px,
            transparent 4px,
            rgba(255, 255, 255, 0.15) 4px,
            rgba(255, 255, 255, 0.15) 5px
        ),
        repeating-linear-gradient(
            -60deg,
            transparent 0px,
            transparent 4px,
            rgba(255, 255, 255, 0.15) 4px,
            rgba(255, 255, 255, 0.15) 5px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 8px,
            rgba(27, 42, 74, 0.12) 8px,
            rgba(27, 42, 74, 0.12) 9px
        );
    background-size: 12px 16px, 12px 16px, 10px 16px;
    animation: weavingScroll 3s linear infinite;
}

@keyframes weavingScroll {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: 12px 0, 12px 0, 10px 0; }
}

/* Loom edge at fill boundary */
.weaving-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: repeating-linear-gradient(
        180deg,
        var(--color-gold-light) 0px,
        var(--color-gold-light) 2px,
        transparent 2px,
        transparent 4px
    );
    opacity: 0.6;
    z-index: 2;
}

.cur-proj-progress-phases {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
}

.cur-proj-progress-phases .phase-active {
    color: var(--color-gold);
}

.cur-proj-progress-phases .phase-current {
    color: var(--color-gold-light);
    font-weight: 600;
    position: relative;
}

.cur-proj-progress-phases .phase-current::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-gold);
    border-radius: 1px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE: Redesigned Sections
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .about-showcase {
        gap: 40px;
    }

    .svc-featured {
        padding: 28px;
        gap: 36px;
    }

    .svc-featured-title {
        font-size: 26px;
    }

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

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

    .cur-proj-showcase {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-images-col {
        padding-right: 0;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-arch-img img {
        height: 380px;
    }

    .about-float-img {
        width: 140px;
        left: 0;
        bottom: -20px;
    }

    .about-float-img img {
        height: 110px;
    }

    .about-exp-badge {
        right: 0;
    }

    .about-arch-ornament-tl {
        top: 0;
        left: 0;
    }

    .about-exp-inner {
        width: 90px;
        height: 90px;
        padding: 14px;
    }

    .about-exp-num {
        font-size: 26px;
    }

    .about-stats-bar {
        flex-wrap: wrap;
        padding: 28px 20px;
        gap: 20px;
    }

    .about-stat {
        flex: 0 0 calc(50% - 10px);
    }

    .about-stat-number {
        font-size: 36px;
    }

    .about-stat-sep {
        display: none;
    }

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

    .svc-featured-arch img {
        height: 320px;
    }

    .svc-featured-title {
        font-size: 24px;
    }

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

    /* Timeline: Stack on mobile */
    .proj-timeline-line {
        left: 20px;
    }

    .proj-timeline-item {
        width: 100%;
        padding-left: 52px;
        padding-right: 0;
    }

    .proj-timeline-left {
        padding-right: 0;
    }

    .proj-timeline-right {
        margin-left: 0;
        padding-left: 52px;
    }

    .proj-timeline-left .proj-timeline-marker,
    .proj-timeline-right .proj-timeline-marker {
        left: 8px;
        right: auto;
    }

    .proj-timeline-left .proj-marker-year,
    .proj-timeline-right .proj-marker-year {
        left: calc(100% + 14px);
        right: auto;
        top: 50%;
        transform: translateY(-50%);
    }

    .proj-infra-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cur-proj-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cur-proj-img-wrap img {
        height: 280px;
    }

    .cur-proj-title {
        font-size: 24px;
    }

    .cur-proj-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-arch-img img {
        height: 300px;
    }

    .about-headline {
        font-size: 20px;
    }

    .about-stats-bar {
        padding: 20px 16px;
    }

    .about-stat-number {
        font-size: 30px;
    }

    .svc-featured-arch img {
        height: 260px;
    }

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

    .proj-card-img {
        height: 180px;
    }

    .proj-infra-grid {
        grid-template-columns: 1fr;
    }

    .cur-proj-img-wrap img {
        height: 220px;
    }

    .cur-proj-title {
        font-size: 22px;
    }

    .cur-proj-progress-phases {
        font-size: 9px;
    }
}

/* ==========================================================================
   PROFESSIONAL IMPROVEMENTS v4.6
   Inline styles moved here + responsive/UX fixes
   ========================================================================== */

/* --------------------------------------------------------------------------
   Moved from section-organization.php inline <style>
   -------------------------------------------------------------------------- */
.org-card-desc {
    display: block;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.7;
    margin-top: 4px;
    font-family: var(--font-body);
}

/* --------------------------------------------------------------------------
   Moved from section-social.php inline <style>
   -------------------------------------------------------------------------- */
.fb-page-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 16px;
    background: #f0f2f5;
    min-height: 500px;
}

.fb-page-wrapper .fb-page {
    width: 100%;
    max-width: 500px;
}

.fb-page-wrapper .fb-page > span,
.fb-page-wrapper .fb-page iframe {
    width: 100% !important;
}

.ig-embeds-scroll {
    display: flex;
    justify-content: center;
    padding: 16px;
    background: #fafafa;
    min-height: 480px;
}

.ig-embeds-scroll .instagram-media {
    margin: 0 !important;
}

/* --------------------------------------------------------------------------
   Skip Navigation Link (Accessibility)
   -------------------------------------------------------------------------- */
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    padding: 12px 24px;
    margin: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
    background: var(--color-navy);
    color: var(--color-white);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    z-index: 100000;
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Phone Floating Button
   -------------------------------------------------------------------------- */
.phone-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 30px;
    background: var(--color-gold);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(196, 151, 59, 0.35);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.phone-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(196, 151, 59, 0.45);
    background: var(--color-gold-dark);
    color: var(--color-white);
}

.phone-float svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    flex-shrink: 0;
}

.phone-float-label {
    white-space: nowrap;
    direction: ltr;
}

/* --------------------------------------------------------------------------
   Hero Title — fix 480px override to use clamp instead of fixed px
   -------------------------------------------------------------------------- */
/* Handled via main.css override below */

/* --------------------------------------------------------------------------
   Contact Form — Touch-friendly inputs (min 48px tap target)
   -------------------------------------------------------------------------- */
.form-group input,
.form-group textarea,
.form-group select {
    min-height: 48px;
}

.contact-submit-btn {
    min-height: 52px;
}

/* --------------------------------------------------------------------------
   Org Chart — hide connectors on mobile
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   RESPONSIVE FIXES — Consolidated improvements
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    /* Social embeds */
    .fb-page-wrapper {
        padding: 12px;
        min-height: 420px;
    }

    .ig-embeds-scroll {
        padding: 12px;
        min-height: 400px;
    }

    /* Org chart connectors — simplify on mobile */
    .org-connector-split::after {
        width: 2px !important;
    }

    /* Phone button — compact on mobile */
    .phone-float {
        bottom: 16px;
        right: 12px;
        padding: 12px 16px;
        font-size: 13px;
        gap: 8px;
    }

    .phone-float svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    /* Hero title — use clamp instead of fixed 48px */
    .hero-title-line-2,
    .hero-title-line-4 {
        font-size: clamp(36px, 12vw, 48px) !important;
    }

    /* Social embeds */
    .fb-page-wrapper {
        min-height: 350px;
    }

    .ig-embeds-scroll {
        min-height: 350px;
    }

    /* B/A slider handle — larger for touch */
    .transform-handle-btn {
        width: 36px;
        height: 36px;
    }

    .ba-handle-circle {
        width: 44px;
        height: 44px;
    }

    /* Contact form spacing */
    .contact-form-wrapper {
        padding: 20px 16px;
    }

    /* Org chart — stack better */
    .org-connector {
        padding: 8px 0;
    }

    .org-card {
        min-width: 0;
        width: 100%;
    }

    /* Phone button — icon only on very small screens */
    .phone-float {
        padding: 12px;
        border-radius: 50%;
    }

    .phone-float-label {
        display: none;
    }

    .phone-float svg {
        width: 22px;
        height: 22px;
    }
}

/* --------------------------------------------------------------------------
   Hero Stats Bar — resolve conflict between main.css and heritage-enhancements.css
   Use grid on mobile instead of conflicting flex-wrap + grid
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .hero-stats {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 20px;
    }

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

    .hero-stat-divider {
        display: none;
    }
}

@media (max-width: 360px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   SHANASHEEL-INSPIRED SECTION DIVIDERS
   -------------------------------------------------------------------------- */
.section-divider-shanasheel {
    margin-top: -1px;
    height: 80px;
    line-height: 0;
}

.section-divider-shanasheel svg {
    display: block;
    width: 100%;
    height: 80px;
}

.section-divider-shanasheel-overhang {
    margin-top: -1px;
    height: 100px;
    line-height: 0;
}

.section-divider-shanasheel-overhang svg {
    display: block;
    width: 100%;
    height: 100px;
}

@media (max-width: 768px) {
    .section-divider-shanasheel { height: 50px; }
    .section-divider-shanasheel svg { height: 50px; }
    .section-divider-shanasheel-overhang { height: 60px; }
    .section-divider-shanasheel-overhang svg { height: 60px; }
}

/* --------------------------------------------------------------------------
   MANUSCRIPT REVEAL EFFECT — METHODOLOGY SECTION
   -------------------------------------------------------------------------- */
.methodology-timeline {
    perspective: 1200px;
}

.manuscript-page {
    position: relative;
    background: linear-gradient(135deg, #F8F4EE 0%, #F2EDE4 50%, #E8E0D4 100%);
    border: 1px solid rgba(196, 151, 59, 0.2);
    border-radius: 4px 12px 12px 4px;
    padding: 32px 36px;
    box-shadow:
        2px 2px 8px rgba(0, 0, 0, 0.08),
        inset -2px 0 8px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transform-origin: top center;
    width: calc(50% - 60px);
}

.manuscript-fold-shadow {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.06) 30%, rgba(0,0,0,0.06) 70%, transparent 100%);
    pointer-events: none;
}

.manuscript-seal {
    position: absolute;
    bottom: 12px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    opacity: 0.5;
    box-shadow: 0 2px 6px rgba(196, 151, 59, 0.3);
}

/* Override step-content styles when inside manuscript-page */
.manuscript-page .step-content {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.manuscript-page .step-content:hover {
    background: transparent;
    border-color: transparent;
}

.manuscript-page .step-content h4 {
    color: var(--color-navy);
}

.manuscript-page .step-content p {
    color: var(--color-text);
}

/* Positioning for odd/even steps with manuscript */
.timeline-step:nth-child(odd) .manuscript-page {
    margin-right: auto;
}

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

/* Mobile: disable 3D, simple layout */
@media (max-width: 768px) {
    .methodology-timeline {
        perspective: none;
    }

    .manuscript-page {
        width: 100%;
        padding: 24px 20px;
        border-radius: 8px;
    }

    .manuscript-seal {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }
}

/* --------------------------------------------------------------------------
   CUSTOM HERITAGE CURSOR
   -------------------------------------------------------------------------- */

/* Hammer/chisel cursor for heritage/construction sections */
.hero-section,
.methodology-section,
.projects-section,
.current-project-section,
.transformations-section,
.certifications-section {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='%23C4973B' stroke-width='1.5'%3E%3Crect x='4' y='2' width='6' height='12' rx='1' fill='%23C4973B' opacity='0.3'/%3E%3Cpath d='M7 14V28' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M4 12h6' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") 7 2, auto;
}

/* Calligraphy qalam cursor for text-heavy sections */
.about-section,
.ceo-section,
.services-section,
.organization-section,
.contact-section,
.social-section {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='%23C4973B' stroke-width='1.5'%3E%3Cpath d='M8 28L24 4' stroke-width='2'/%3E%3Cpath d='M24 4l3 2-2 3z' fill='%23C4973B'/%3E%3Cpath d='M8 28l-2 2 3-1z' fill='%23C4973B'/%3E%3C/g%3E%3C/svg%3E") 2 30, auto;
}

/* Pointer cursor for interactive elements (override) */
a, button, .nav-link, .filter-btn, .transform-handle, .ba-handle,
[role="button"], input, textarea, select, label {
    cursor: pointer !important;
}

/* Gold particle trail element (created by JS) */
.cursor-trail-particle {
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    width: 4px;
    height: 4px;
    background: var(--color-gold);
    border-radius: 50%;
    opacity: 0;
}

/* Disable custom cursor on mobile/touch */
@media (max-width: 768px), (hover: none) {
    .hero-section, .methodology-section, .projects-section,
    .current-project-section, .transformations-section,
    .certifications-section, .about-section, .ceo-section,
    .services-section, .organization-section, .contact-section,
    .social-section {
        cursor: auto;
    }
}

/* --------------------------------------------------------------------------
   Canvas Heritage Background — hide on mobile via CSS
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    #heritageCanvas {
        display: none !important;
    }
}
