/* ==================================================================
   RAMAAT ELECTROMECHANICAL WORKS — GLOBAL STYLESHEET
   ================================================================== */


/* ============ 1. CSS RESET & GLOBAL VARIABLES ============ */
:root {
    --refined-charcoal: #2C2E33;
    --electric-amber: #F4B000;
    --brand-blue: #1A3C5E;
    --brand-blue-light: #1F4A72;
    --pure-white: #FFFFFF;
    --warm-stone: #F8F6F3;
    --warm-graphite: #5A5D63;
    --soft-clay: #D1CCC4;
    --card-border: #E8E4DE;
    --font-headline: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: 300ms ease-out;
    --container-max: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.7;
    color: var(--warm-graphite);
    background-color: var(--pure-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-headline);
    color: var(--refined-charcoal);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

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


/* ============ 2. UTILITY CLASSES ============ */
.text-center {
    text-align: center;
}

.amber-line {
    width: 80px;
    height: 3px;
    background-color: var(--electric-amber);
    margin: 32px 0;
}

.amber-line.centered {
    margin: 32px auto;
}


/* ============ 3. BUTTONS ============ */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 18px 40px;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--electric-amber);
    color: var(--refined-charcoal);
}

.btn-primary:hover {
    background-color: var(--refined-charcoal);
    color: var(--pure-white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--refined-charcoal);
    border: 1px solid var(--soft-clay);
}

.btn-secondary:hover {
    border-color: var(--electric-amber);
    color: var(--electric-amber);
}

.btn-compact {
    font-size: 14px;
    padding: 12px 24px;
}

.btn-large {
    font-size: 18px;
    padding: 22px 48px;
}

.btn-amber {
    background-color: var(--electric-amber);
    color: var(--refined-charcoal);
    font-size: 16px;
    padding: 18px;
}

.btn-amber:hover {
    background-color: var(--refined-charcoal);
    color: var(--pure-white);
}


/* ============ 4. SECTION TAGS ============ */
.section-caption {
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--electric-amber);
    margin-bottom: 20px;
}

.section-caption.light {
    color: var(--electric-amber);
}

.section-headline {
    font-weight: 400;
    font-size: 52px;
    margin-bottom: 24px;
    color: var(--refined-charcoal);
}

.section-headline.light {
    color: var(--pure-white);
}

.section-subheadline {
    font-size: 22px;
    color: var(--warm-graphite);
    max-width: 700px;
    line-height: 1.8;
}

.section-subheadline.light {
    color: rgba(255, 255, 255, 0.75);
}

.section-subheadline.center {
    margin: 0 auto;
}


/* ============ 5. HEADER ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 40px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 400ms ease, box-shadow 400ms ease;
    background-color: var(--pure-white);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.04);
}

.header-logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.header-logo-img {
    height: 44px;
    width: auto;
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 36px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.header-nav a {
    font-weight: 500;
    font-size: 16px;
    color: var(--warm-graphite);
    position: relative;
    padding-bottom: 4px;
    letter-spacing: 0.5px;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--electric-amber);
    transition: width var(--transition-smooth);
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--refined-charcoal);
}

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

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--warm-graphite);
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: 1px solid var(--card-border);
    border-radius: 4px;
    padding: 10px 16px;
    transition: all var(--transition-smooth);
}

.lang-switcher:hover {
    border-color: var(--electric-amber);
    color: var(--refined-charcoal);
}

.lang-switcher .ph {
    font-size: 18px;
}

.lang-divider {
    width: 1px;
    height: 16px;
    background-color: var(--card-border);
}

.lang-option {
    padding: 2px 4px;
    border-radius: 2px;
    transition: all var(--transition-smooth);
    cursor: pointer;
}

.lang-option.active {
    color: var(--electric-amber);
    font-weight: 600;
}

.lang-option:not(.active):hover {
    color: var(--refined-charcoal);
}

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

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--refined-charcoal);
    transition: all var(--transition-smooth);
}

/* Mobile Menu Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--pure-white);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 400ms ease;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-overlay a {
    font-family: var(--font-headline);
    font-weight: 400;
    font-size: 32px;
    color: var(--refined-charcoal);
}

.mobile-overlay a:hover {
    color: var(--electric-amber);
}

.mobile-overlay .lang-switcher-mobile {
    margin-top: 20px;
    font-size: 18px;
    border: 1px solid var(--card-border);
    border-radius: 4px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--warm-graphite);
}

.mobile-overlay .lang-option.active {
    color: var(--electric-amber);
    font-weight: 600;
}


/* ============ 6. HOMEPAGE HERO ============ */
.hero {
    display: flex;
    min-height: 100vh;
    padding-top: 80px;
    background-color: var(--pure-white);
}

.hero-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px 60px 40px;
}

.hero-content .section-caption {
    font-size: 18px;
    letter-spacing: 4px;
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 300;
    color: var(--refined-charcoal);
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.hero-content h1 strong {
    font-weight: 600;
}

.hero-body {
    font-size: 22px;
    color: var(--warm-graphite);
    line-height: 1.8;
    margin: 24px 0 40px;
    max-width: 520px;
}

.hero-cta-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    width: 50%;
    position: relative;
    overflow: hidden;
    align-self: stretch;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}


/* ============ 7. INNER PAGE HERO ============ */
.page-hero {
    padding: 160px 0 80px;
    background-color: var(--warm-stone);
    text-align: center;
}

.page-hero .section-caption {
    font-size: 16px;
    letter-spacing: 3px;
}

.page-hero h1 {
    font-size: 60px;
    font-weight: 400;
    color: var(--refined-charcoal);
    margin-bottom: 20px;
}

.page-hero .section-subheadline {
    margin: 0 auto;
}


/* ============ 8. SHIFT STATEMENT — FINAL ============ */

.shift-section {
    position: relative;
    text-align: center;
    background-color: var(--refined-charcoal);
    overflow: hidden;
    height: 500px;
}

/* NEW: Background image layer */
.shift-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('../images/shift-bg-cropped.jpg?v=2');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.45;
}

/* Overlay for text readability */
.shift-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(248, 246, 243, 0.65), rgba(248, 246, 243, 0.75));
    z-index: 1;
}

.shift-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.shift-quote {
    font-family: var(--font-headline);
    font-weight: 300;
    font-size: 42px;
    color: var(--refined-charcoal);
    line-height: 1.35;
    max-width: 780px;
}

.shift-caption {
    font-size: 20px;
    color: var(--warm-graphite);
    margin-top: 20px;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .shift-section {
        height: auto;
        min-height: 320px;
    }
    .shift-content {
        height: auto;
        padding: 80px 40px;
    }
    .shift-quote {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .shift-section {
        min-height: 280px;
    }
    .shift-content {
        padding: 60px 24px;
    }
    .shift-quote {
        font-size: 26px;
    }
    .shift-caption {
        font-size: 18px;
    }
}


/* ============ 9. CAPABILITIES CARDS (Homepage) ============ */
.capabilities {
    padding: 100px 0;
    background-color: var(--pure-white);
}

.capabilities-header {
    text-align: center;
    margin-bottom: 60px;
}

.capabilities-header .section-subheadline {
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

.card {
    border-radius: 8px;
    padding: 0;
    transition: all var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background-color: var(--pure-white);
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
}

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

.card-wide {
    grid-column: span 2;
}

.card-full {
    grid-column: span 3;
}

.card-image-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.card-body {
    padding: 36px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-icon {
    font-size: 40px;
    color: var(--soft-clay);
    margin-bottom: 20px;
    transition: color var(--transition-smooth);
}

.card:hover .card-icon {
    color: var(--electric-amber);
}

.card-title {
    font-family: var(--font-headline);
    font-size: 28px;
    font-weight: 600;
    color: var(--refined-charcoal);
    margin-bottom: 12px;
    line-height: 1.25;
}

.card-line {
    width: 50px;
    height: 3px;
    background-color: var(--electric-amber);
    margin-bottom: 20px;
    transition: width var(--transition-smooth);
}

.card:hover .card-line {
    width: 80px;
}

.card-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--warm-graphite);
    flex: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    color: var(--electric-amber);
    margin-top: 24px;
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.card:hover .card-link {
    opacity: 1;
    transform: translateX(0);
}


/* ============ 10. HOMEPAGE VISUALIZER (Beyond MEP) ============ */
.visualizer {
    padding: 100px 0;
    background-color: var(--brand-blue);
    position: relative;
    overflow: hidden;
}

.visualizer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(30deg, rgba(255,255,255,0.03) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.03) 87.5%, rgba(255,255,255,0.03) 0),
        linear-gradient(150deg, rgba(255,255,255,0.03) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.03) 87.5%, rgba(255,255,255,0.03) 0),
        linear-gradient(30deg, rgba(255,255,255,0.03) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.03) 87.5%, rgba(255,255,255,0.03) 0),
        linear-gradient(150deg, rgba(255,255,255,0.03) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.03) 87.5%, rgba(255,255,255,0.03) 0),
        linear-gradient(60deg, rgba(255,255,255,0.02) 25%, transparent 25.5%, transparent 75%, rgba(255,255,255,0.02) 75%, rgba(255,255,255,0.02) 0),
        linear-gradient(60deg, rgba(255,255,255,0.02) 25%, transparent 25.5%, transparent 75%, rgba(255,255,255,0.02) 75%, rgba(255,255,255,0.02) 0);
    background-size: 40px 70px;
    background-position: 0 0, 0 0, 20px 35px, 20px 35px, 0 0, 20px 35px;
    pointer-events: none;
    z-index: 1;
}

.visualizer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.05) 0.5px, transparent 0.5px);
    background-size: 15px 15px;
    pointer-events: none;
    z-index: 2;
}

.visualizer .container {
    position: relative;
    z-index: 3;
}

.visualizer-grid {
    display: flex;
    gap: 60px;
    align-items: center;
}

.visualizer-content {
    flex: 1;
}

.visualizer-content .section-caption {
    color: var(--electric-amber);
}

.visualizer-content h3 {
    font-family: var(--font-headline);
    font-size: 40px;
    font-weight: 400;
    color: var(--pure-white);
    margin-bottom: 24px;
}

.visualizer-content p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
}

.visualizer-content .btn-primary {
    background-color: var(--electric-amber);
    color: var(--brand-blue);
}

.visualizer-content .btn-primary:hover {
    background-color: var(--pure-white);
    color: var(--brand-blue);
}

.visualizer-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.visualizer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ============ 11. BLUE BLOCK (Mission - About Page) ============ */
.blue-block {
    padding: 100px 0;
    background-color: var(--brand-blue);
    position: relative;
    overflow: hidden;
}

.blue-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(30deg, rgba(255,255,255,0.03) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.03) 87.5%, rgba(255,255,255,0.03) 0),
        linear-gradient(150deg, rgba(255,255,255,0.03) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.03) 87.5%, rgba(255,255,255,0.03) 0),
        linear-gradient(30deg, rgba(255,255,255,0.03) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.03) 87.5%, rgba(255,255,255,0.03) 0),
        linear-gradient(150deg, rgba(255,255,255,0.03) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.03) 87.5%, rgba(255,255,255,0.03) 0),
        linear-gradient(60deg, rgba(255,255,255,0.02) 25%, transparent 25.5%, transparent 75%, rgba(255,255,255,0.02) 75%, rgba(255,255,255,0.02) 0),
        linear-gradient(60deg, rgba(255,255,255,0.02) 25%, transparent 25.5%, transparent 75%, rgba(255,255,255,0.02) 75%, rgba(255,255,255,0.02) 0);
    background-size: 40px 70px;
    background-position: 0 0, 0 0, 20px 35px, 20px 35px, 0 0, 20px 35px;
    pointer-events: none;
    z-index: 1;
}

.blue-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.05) 0.5px, transparent 0.5px);
    background-size: 15px 15px;
    pointer-events: none;
    z-index: 2;
}

.blue-block .container {
    position: relative;
    z-index: 3;
}

.blue-block-grid {
    display: flex;
    gap: 60px;
    align-items: center;
}

.blue-block-content {
    flex: 1;
}

.blue-block-content .section-caption {
    color: var(--electric-amber);
}

.blue-block-content h2,
.blue-block-content h3 {
    font-family: var(--font-headline);
    font-size: 40px;
    font-weight: 400;
    color: var(--pure-white);
    margin-bottom: 24px;
}

.blue-block-content p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
}

.blue-block-content .btn-primary {
    background-color: var(--electric-amber);
    color: var(--brand-blue);
}

.blue-block-content .btn-primary:hover {
    background-color: var(--pure-white);
    color: var(--brand-blue);
}

.blue-block-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.blue-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ============ 12. BLUE BLOCK - STRIPED VARIANT (Services Page) ============ */
.blue-block-striped {
    padding: 100px 0;
    background-color: var(--brand-blue);
    position: relative;
    overflow: hidden;
}

.blue-block-striped::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        -35deg,
        transparent,
        transparent 4px,
        rgba(255, 255, 255, 0.04) 4px,
        rgba(255, 255, 255, 0.04) 10px
    );
    pointer-events: none;
    z-index: 1;
}

.blue-block-striped::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(ellipse at center, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
}

.blue-block-striped .container {
    position: relative;
    z-index: 3;
}

.blue-block-striped .section-caption {
    color: var(--electric-amber);
}

.blue-block-striped h2 {
    font-family: var(--font-headline);
    font-size: 44px;
    font-weight: 400;
    color: var(--pure-white);
    margin-bottom: 24px;
}

.blue-block-striped .service-intro-text {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.blue-block-striped .btn-primary {
    background-color: var(--electric-amber);
    color: var(--brand-blue);
    margin-top: 28px;
}

.blue-block-striped .btn-primary:hover {
    background-color: var(--pure-white);
    color: var(--brand-blue);
}


/* ============ 13. SERVICE DETAIL SECTIONS (Services Page) ============ */
.service-detail {
    padding: 100px 0;
    background-color: var(--pure-white);
}

.service-detail.alt {
    background-color: var(--warm-stone);
}

.service-detail-grid {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.service-detail-content {
    flex: 1;
}

.service-detail-content h2 {
    font-size: 40px;
    font-weight: 400;
    color: var(--refined-charcoal);
    margin-bottom: 12px;
}

.service-detail-content .service-subtitle {
    font-size: 18px;
    color: var(--electric-amber);
    font-weight: 500;
    margin-bottom: 24px;
}

.service-detail-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--warm-graphite);
    margin-bottom: 28px;
}

.service-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.service-highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: var(--warm-graphite);
    line-height: 1.6;
}

.service-highlight .ph {
    color: var(--electric-amber);
    font-size: 22px;
    margin-top: 1px;
    flex-shrink: 0;
}

.service-detail-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    position: sticky;
    top: 100px;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ============ 14. VALUES GRID (About Page) ============ */
.about-values {
    padding: 100px 0;
    background-color: var(--pure-white);
}

.about-values-header {
    margin-bottom: 40px;
}

.about-values-header .section-caption {
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--electric-amber);
    margin-bottom: 20px;
}

.about-values-header .section-headline {
    font-weight: 400;
    font-size: 52px;
    margin-bottom: 20px;
    color: var(--refined-charcoal);
}

.about-values-header .section-subheadline {
    font-size: 22px;
    color: var(--warm-graphite);
    max-width: 700px;
    line-height: 1.8;
}

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

.about-value-card {
    background-color: #FDF6E8;
    border: 1px solid #F5E6CC;
    border-radius: 8px;
    padding: 40px;
    transition: all var(--transition-smooth);
}

.about-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border-color: var(--electric-amber);
}

.about-value-card .ph {
    font-size: 40px;
    color: var(--electric-amber);
    margin-bottom: 20px;
}

.about-value-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--refined-charcoal);
    margin-bottom: 12px;
    font-family: var(--font-headline);
}

.about-value-card p {
    font-size: 18px;
    color: var(--warm-graphite);
    line-height: 1.8;
}


/* ============ 15. COMMITMENT (HSEQ) ============ */
.about-commitment {
    padding: 100px 0;
    background-color: var(--warm-stone);
}

.about-commitment-header {
    margin-bottom: 40px;
}

.about-commitment-header .section-caption {
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--electric-amber);
    margin-bottom: 20px;
}

.about-commitment-header .section-headline {
    font-weight: 400;
    font-size: 52px;
    margin-bottom: 20px;
    color: var(--refined-charcoal);
}

.about-commitment-header .section-subheadline {
    font-size: 22px;
    color: var(--warm-graphite);
    max-width: 700px;
    line-height: 1.8;
}

.about-commitment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.about-commitment-card {
    background-color: var(--pure-white);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 44px 36px;
    text-align: center;
    transition: all var(--transition-smooth);
}

.about-commitment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.about-commitment-card .ph {
    font-size: 48px;
    color: var(--brand-blue);
    margin-bottom: 20px;
    opacity: 0.7;
}

.about-commitment-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--refined-charcoal);
    margin-bottom: 10px;
    font-family: var(--font-headline);
}

.about-commitment-card p {
    font-size: 16px;
    color: var(--warm-graphite);
    line-height: 1.7;
}


/* ============ 16. CONTACT SECTION (Contact Page) ============ */
.contact-grid {
    display: flex;
    gap: 60px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 24px;
}

.contact-info p {
    font-size: 18px;
    color: var(--warm-graphite);
    margin-bottom: 36px;
    line-height: 1.8;
}

.contact-detail {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.contact-detail .ph {
    font-size: 26px;
    color: var(--electric-amber);
    margin-top: 2px;
}

.contact-detail strong {
    display: block;
    color: var(--refined-charcoal);
    font-size: 17px;
    margin-bottom: 4px;
}

.contact-detail span {
    color: var(--warm-graphite);
    font-size: 16px;
}

.contact-form-wrapper {
    flex: 1;
    padding: 44px;
    border-radius: 8px;
}

.contact-form-wrapper.amber-bg {
    background-color: #FFF3E0;
    border: 1px solid #F0D5B0;
}

.contact-form-wrapper h3 {
    font-size: 26px;
    margin-bottom: 28px;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 16px 20px;
    border-radius: 4px;
    border: 1px solid var(--card-border);
    font-family: var(--font-body);
    font-size: 17px;
    background-color: var(--pure-white);
    color: var(--refined-charcoal);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--soft-clay);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form .btn-amber {
    background-color: var(--electric-amber);
    color: var(--refined-charcoal);
    font-size: 16px;
    padding: 18px;
}

.contact-form .btn-amber:hover {
    background-color: var(--refined-charcoal);
    color: var(--pure-white);
}

.form-success {
    display: none;
    background-color: var(--pure-white);
    color: var(--refined-charcoal);
    padding: 24px;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    font-size: 18px;
    margin-top: 20px;
}

.form-success.visible {
    display: block;
}


/* ============ 17. STATS SECTION (Homepage) ============ */
.stats {
    padding: 90px 0;
    background-color: var(--pure-white);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.stats-row {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item {
    flex: 1;
    min-width: 150px;
}

.stat-number {
    font-family: var(--font-headline);
    font-weight: 300;
    font-size: 64px;
    color: var(--electric-amber);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--warm-graphite);
}


/* ============ 18. PROJECTS TEASER (Homepage) ============ */
.projects-teaser {
    padding: 100px 0;
    background-color: var(--warm-stone);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 20px;
}

.projects-link {
    font-weight: 600;
    color: var(--electric-amber);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.projects-link:hover {
    color: var(--brand-blue);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.project-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    cursor: pointer;
    border: 1px solid var(--card-border);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

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

.project-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    background: linear-gradient(to top, rgba(26, 60, 94, 0.95) 0%, rgba(26, 60, 94, 0) 100%);
    transform: translateY(100%);
    transition: transform var(--transition-smooth);
}

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

.project-card-tag {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--electric-amber);
    margin-bottom: 6px;
    font-weight: 500;
}

.project-card-title {
    font-family: var(--font-headline);
    font-weight: 600;
    font-size: 22px;
    color: var(--pure-white);
}


/* ============ 19. IMAGE BANNER ============ */
.image-banner {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.image-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ============ 20. CTA SECTION ============ */
.cta-section {
    padding: 80px 0;
    background-color: var(--electric-amber);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 400;
    color: var(--brand-blue);
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(26, 60, 94, 0.8);
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 36px;
}

.cta-content .btn {
    background-color: var(--brand-blue);
    color: var(--pure-white);
    font-size: 18px;
    padding: 22px 52px;
}

.cta-content .btn:hover {
    background-color: var(--refined-charcoal);
    color: var(--pure-white);
}


/* ============ 21. FOOTER ============ */
.footer {
    background-color: var(--brand-blue);
    padding: 80px 0 0;
    color: var(--pure-white);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.03) 0.5px, transparent 0.5px);
    background-size: 12px 12px;
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

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

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.footer-col h4 {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--electric-amber);
    margin-bottom: 24px;
}

.footer-brand-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin: 0 0 24px;
}

.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    transition: all var(--transition-smooth);
}

.footer-social a:hover {
    border-color: var(--electric-amber);
    color: var(--electric-amber);
}

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

.footer-col ul a {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-smooth);
}

.footer-col ul a:hover {
    color: var(--pure-white);
}

.footer-contact-item {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    line-height: 1.7;
}

.footer-contact-item strong {
    color: var(--pure-white);
    font-weight: 500;
}

.footer .btn-secondary {
    color: var(--pure-white);
    border-color: rgba(255, 255, 255, 0.3);
    margin-top: 16px;
}

.footer .btn-secondary:hover {
    border-color: var(--electric-amber);
    color: var(--electric-amber);
    background-color: transparent;
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    margin-left: 24px;
}

.footer-bottom a:hover {
    color: var(--pure-white);
}


/* ============ 22. RTL SUPPORT (Arabic) ============ */
[dir="rtl"] .header {
    flex-direction: row;
}

[dir="rtl"] .header-right {
    flex-direction: row;
    gap: 36px;
}

[dir="rtl"] .header-nav {
    flex-direction: row;
    gap: 36px;
}

[dir="rtl"] .header-nav a::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .contact-detail {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .card-link {
    flex-direction: row-reverse;
}

[dir="rtl"] .service-highlight {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-content {
    text-align: right;
}

[dir="rtl"] .amber-line.centered {
    margin-left: auto;
    margin-right: auto;
}

[dir="rtl"] .footer-social {
    justify-content: flex-start;
}

[dir="rtl"] .footer-bottom a {
    margin-left: 0;
    margin-right: 24px;
}

[dir="rtl"] .page-hero,
[dir="rtl"] .shift-section,
[dir="rtl"] .capabilities-header,
[dir="rtl"] .text-center {
    text-align: center;
}

[dir="rtl"] .section-subheadline.center {
    margin-left: auto;
    margin-right: auto;
}


/* ============ 23. RESPONSIVE ============ */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        min-height: auto;
    }

    .hero-content {
        width: 100%;
        padding: 60px 40px;
        order: 1;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-image {
        width: 100%;
        height: 50vh;
        order: 0;
        position: relative;
    }

    .hero-image img {
        position: absolute;
    }

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

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

    .about-commitment-grid {
        grid-template-columns: 1fr;
    }

    .card-wide {
        grid-column: span 2;
    }

    .card-full {
        grid-column: span 2;
    }

    .visualizer-grid,
    .blue-block-grid,
    .contact-grid,
    .service-detail-grid {
        flex-direction: column;
    }

    .service-detail-image {
        height: 300px;
        position: static;
        order: -1;
    }

    .service-highlights {
        grid-template-columns: 1fr;
    }

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

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

    .blue-block-striped h2 {
        font-size: 32px;
    }

    .section-headline {
        font-size: 40px;
    }

    .about-values-header .section-headline,
    .about-commitment-header .section-headline {
        font-size: 40px;
    }

    .shift-quote {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .header-right {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-body {
        font-size: 18px;
    }

    .hero-cta-row {
        flex-direction: column;
    }

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

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

    .about-commitment-grid {
        grid-template-columns: 1fr;
    }

    .card-wide,
    .card-full {
        grid-column: span 1;
    }

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

    .stats-row {
        flex-direction: column;
    }

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

    .section-headline {
        font-size: 32px;
    }

    .about-values-header .section-headline,
    .about-commitment-header .section-headline {
        font-size: 32px;
    }

    .shift-quote {
        font-size: 28px;
    }

    .cta-content h2,
    .page-hero h1 {
        font-size: 32px;
    }

    .blue-block-content h2,
    .blue-block-content h3,
    .visualizer-content h3 {
        font-size: 30px;
    }

    .service-detail-content h2 {
        font-size: 30px;
    }

    .blue-block-striped h2 {
        font-size: 28px;
    }

    .contact-info h2 {
        font-size: 30px;
    }

    .section-subheadline {
        font-size: 18px;
    }

    .about-values-header .section-subheadline,
    .about-commitment-header .section-subheadline {
        font-size: 18px;
    }
}