/* ============================================
   MASAR - Premium Website Styles
   World-Class Construction Company Website
   ============================================ */

/* Helvetica Neue Font Family */
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueUltraLight.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueUltraLightItalic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueThin.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueThinItalic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueLight.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueLightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueRoman.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueItalic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueMedium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueMediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueBold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueBoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueHeavy.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueHeavyItalic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueBlack.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/english/HelveticaNeueBlackItalic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
}

/* CSS Custom Properties */
:root {
    /* Primary Colors */
    --primary: #023e4a;
    --primary-dark: #012d36;
    --primary-light: #035563;
    --accent: #78AD96;
    --accent-light: #8ebda6;
    --accent-dark: #5a9578;

    /* Neutral Colors */
    --black: #0a0a0a;
    --dark: #141414;
    --dark-gray: #1a1a1a;
    --gray: #2a2a2a;
    --gray-light: #888888;
    --gray-lighter: #cccccc;
    --white: #ffffff;
    --off-white: #f5f5f5;

    /* Typography */
    --font-primary: 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
    --font-display: 'Helvetica Neue', 'Helvetica', Arial, sans-serif;

    /* Spacing */
    --section-padding: clamp(80px, 12vw, 160px);

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    /* Sizes */
    --container: 1400px;
    --header-height: 100px;
}

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

html {
    background: var(--primary);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--dark);
}

html:not(.has-scroll-smooth) {
    overflow-y: scroll;
}

html.has-scroll-smooth {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

html.has-scroll-dragging {
    user-select: none;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark);
    background: var(--dark);
    overflow-x: hidden;
    width: 100%;
    min-width: 100%;
    position: relative;
}

.has-scroll-smooth body {
    overflow: hidden;
}

main,
[data-scroll-container] {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    background: var(--white);
}

section {
    overflow-x: hidden;
    max-width: 100%;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--black);
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
    display: none;
}

@media (pointer: fine) {
    .cursor {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10000;
        pointer-events: none;
        mix-blend-mode: difference;
    }

    .cursor-dot {
        position: fixed;
        width: 8px;
        height: 8px;
        background: var(--white);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: transform 0.15s var(--ease-out-cubic), opacity 0.15s;
        pointer-events: none;
    }

    .cursor-outline {
        position: fixed;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: transform 0.3s var(--ease-out-expo), opacity 0.3s, border-color 0.3s;
        pointer-events: none;
    }

    .cursor.hover .cursor-dot {
        transform: translate(-50%, -50%) scale(0);
    }

    .cursor.hover .cursor-outline {
        transform: translate(-50%, -50%) scale(1.5);
        border-color: var(--accent);
    }
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.preloader-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
}

.logo-svg {
    width: 100%;
    height: 100%;
}

.logo-path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawLogo 2s var(--ease-out-expo) forwards;
}

@keyframes drawLogo {
    to {
        stroke-dashoffset: 0;
        fill: var(--primary);
    }
}

.preloader-text {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    overflow: hidden;
}

.preloader-word {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: 4px;
    transform: translateY(100%);
    animation: slideUp 0.8s var(--ease-out-expo) forwards;
}

.preloader-word:nth-child(2) {
    animation-delay: 0.1s;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

.preloader-progress {
    width: 200px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto 20px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--accent);
    animation: loadProgress 2s var(--ease-out-expo) forwards;
}

@keyframes loadProgress {
    to {
        width: 100%;
    }
}

.preloader-counter {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.counter-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.counter-percent {
    font-size: 0.875rem;
    color: var(--gray-light);
}

.preloader.loaded {
    animation: fadeOut 0.8s var(--ease-out-expo) forwards;
    animation-delay: 0.3s;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.header::before {
    display: none;
}

.header.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header.scrolled::before {
    opacity: 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 1001;
}

.nav-logo img {
    filter: none;
    transition: filter 0.3s ease;
}

.header.scrolled .nav-logo img {
    filter: brightness(0) saturate(100%);
}

.logo-mark {
    width: 44px;
    height: 44px;
    color: var(--accent);
    transition: transform 0.5s var(--ease-out-expo);
}

.nav-logo:hover .logo-mark {
    transform: rotate(-10deg) scale(1.1);
}

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

.logo-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}

.logo-tagline {
    font-size: 0.625rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Nav Menu */
.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-menu {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.nav-link {
    position: relative;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.3px;
    padding: 10px 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.nav-link.active {
    color: var(--white);
    background: var(--primary);
    box-shadow: 0 4px 15px rgba(2, 62, 74, 0.4);
}

/* Scrolled state - dark text */
.header.scrolled .nav-menu {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

.header.scrolled .nav-link {
    color: #333;
}

.header.scrolled .nav-link:hover {
    color: var(--primary);
    background: rgba(2, 62, 74, 0.08);
}

.header.scrolled .nav-link.active {
    color: #fff !important;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Nav CTA */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: #fff;
    border: none;
    border-radius: 50px;
    color: #023E4A;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.nav-cta:hover {
    background: #f0f0f0;
    color: #023E4A;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Scrolled state - dark button */
.header.scrolled .nav-cta {
    background: #023E4A;
    color: #fff;
    box-shadow: 0 4px 15px rgba(2, 62, 74, 0.3);
}

.header.scrolled .nav-cta:hover {
    background: #034a56;
    color: #fff;
}

.cta-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.nav-cta:hover .cta-icon {
    transform: translateX(4px);
}

/* Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    z-index: 1001;
}

.toggle-line {
    width: 30px;
    height: 2px;
    background: #fff;
    transition: all 0.4s var(--ease-out-expo);
}

.header.scrolled .toggle-line {
    background: var(--primary);
}

.nav-toggle.active .toggle-line:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .toggle-line:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    pointer-events: none;
}

.mobile-menu-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: var(--dark);
    transition: width 0.6s var(--ease-out-expo);
}

.mobile-menu.active {
    pointer-events: auto;
}

.mobile-menu.active .mobile-menu-bg {
    width: 100%;
}

.mobile-menu-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 200px 40px 40px;
    overflow-y: auto;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s var(--ease-out-expo);
    transition-delay: 0s;
}

.mobile-menu.active .mobile-menu-content {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.3s;
}

.mobile-nav {
    margin-bottom: 20px;
}

.mobile-nav li {
    overflow: hidden;
}

.mobile-link {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    padding: 6px 0;
    transition: color 0.3s;
}

.mobile-link:hover {
    color: var(--accent);
}

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

/* Body menu-open state */
body.menu-open {
    overflow: hidden;
}

.mobile-footer a {
    font-size: 0.875rem;
    color: var(--gray-light);
    transition: color 0.3s;
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--black);
}

/* Video Background */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
}

.hero-video-overlay {
    display: none;
}

/* Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; top: 60%; animation-delay: 2s; }
.particle:nth-child(3) { left: 70%; top: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 85%; top: 70%; animation-delay: 6s; }
.particle:nth-child(5) { left: 50%; top: 80%; animation-delay: 8s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(20px, -30px); }
    50% { transform: translate(-10px, 20px); }
    75% { transform: translate(15px, 10px); }
}

/* Hero Container */
.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
    padding-top: var(--header-height);
}

/* Hero Content */
.hero-content {
    max-width: 900px;
    padding-top: 20px;
    margin-left: 80px;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-badge span {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 1px;
}

/* Hero Title */
.hero-title {
    margin-bottom: 30px;
}

.title-line {
    display: block;
    margin-bottom: 10px;
}

.title-word {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: -1px;
    display: inline-block;
    margin-right: 15px;
}

.title-stroke {
    color: transparent;
    -webkit-text-stroke: 2px var(--accent);
}

.title-accent {
    color: var(--accent);
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--gray-lighter);
    max-width: 600px;
    margin-bottom: 50px;
    line-height: 1.8;
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 2;
    transition: transform 0.4s var(--ease-out-expo);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-dark);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out-expo);
}

.btn-primary:hover::before {
    transform: translateY(0);
}

.btn-primary:hover {
    color: var(--white);
}

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

.btn-secondary:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--black);
}

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

.btn-white:hover {
    background: var(--accent);
    color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    border: 1px solid var(--dark);
    color: var(--dark);
}

.btn-outline-dark:hover {
    background: var(--dark);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* Hero Stats Section - Below Hero */
.hero-stats-section {
    background: var(--primary);
    padding: 30px 0;
    position: relative;
    z-index: 10;
    margin-top: -1px;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.hero-stat-item {
    text-align: center;
    padding: 15px 20px;
    position: relative;
}

.hero-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    display: inline;
}

.hero-stat-suffix {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 600;
    color: var(--accent);
    display: inline;
    margin-left: 4px;
}

.hero-stat-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .hero-stat-item:nth-child(2)::after {
        display: none;
    }

    .hero-stat-item:nth-child(3)::after,
    .hero-stat-item:nth-child(4)::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .hero-stat-item {
        padding: 20px 10px;
    }

    .hero-stat-item::after {
        display: none !important;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    .hero-stat-label {
        font-size: 0.75rem;
    }
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: 80px;
    right: clamp(20px, 4vw, 60px);
    display: flex;
    align-items: center;
    gap: 20px;
}

.scroll-line {
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-progress {
    width: 100%;
    height: 30%;
    background: var(--accent);
    animation: scrollProgress 2s infinite;
}

@keyframes scrollProgress {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(400%); }
}

.scroll-text {
    font-size: 0.6875rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

/* Hero Side */
.hero-side {
    position: absolute;
    top: 50%;
    right: clamp(20px, 4vw, 60px);
    transform: translateY(-50%);
    z-index: 10;
}

.side-social {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-social .social-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-light);
    letter-spacing: 1px;
    transition: color 0.3s;
}

.side-social .social-link:hover {
    color: var(--accent);
}

/* ============================================
   MARQUEE SECTION
   ============================================ */
.marquee-section {
    padding: 30px 0;
    background: var(--primary);
    overflow: hidden;
    overflow-x: clip;
    position: relative;
    width: 100%;
    max-width: 100%;
}

.marquee-item {
    color: var(--white);
}

.marquee-dot {
    background: var(--white);
}

.marquee {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 60px;
    padding-right: 60px;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.marquee-dot {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-header {
    margin-bottom: 60px;
}

/* Services Overview - reduced spacing */
.services-overview {
    padding-bottom: 40px;
}

.services-overview .section-header {
    margin-bottom: 0;
}

.services-overview .section-desc {
    margin: 20px auto 0;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.text-center .section-label {
    justify-content: center;
}

.label-index {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
    background: var(--accent);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.label-line {
    width: 60px;
    height: 2px;
    background: var(--accent);
}

.label-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    letter-spacing: -1px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--gray-light);
    margin-top: 20px;
    max-width: 600px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-text {
    margin-bottom: 40px;
}

.about-text p {
    font-size: 1.0625rem;
    color: var(--gray-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1 1 200px;
    min-width: 200px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.875rem;
    color: var(--gray-light);
}

/* About Visual */
.about-visual {
    position: relative;
}

.visual-wrapper {
    position: relative;
}

.visual-image {
    border-radius: 20px;
    overflow: hidden;
}

.visual-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

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

.main-image {
    height: 550px;
}

.secondary-image {
    position: absolute;
    bottom: -40px;
    left: -60px;
    width: 220px;
    height: 220px;
    border: 8px solid var(--off-white);
}

.visual-badge {
    position: absolute;
    top: 40px;
    right: -40px;
    background: var(--dark);
    padding: 30px;
    border-radius: 16px;
}

.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.badge-text {
    font-size: 0.8125rem;
    color: var(--gray-lighter);
    line-height: 1.4;
}

/* ============================================
   STATS BANNER
   ============================================ */
.stats-banner {
    position: relative;
    padding: 100px 0;
    background: var(--dark);
    overflow: hidden;
}

.stats-banner-green {
    background: var(--primary);
    padding: 60px 0;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 10px;
}

.section-tag.light {
    color: var(--accent-light);
}

.stats-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 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' fill-rule='evenodd'%3E%3Cg fill='%23c8a45c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.stats-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.4s var(--ease-out-expo);
}

.stats-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-10px);
}

.stats-icon {
    width: 56px;
    height: 56px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stats-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.stats-content {
    flex: 1;
}

.stats-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.stats-label {
    font-size: 0.875rem;
    color: var(--gray-light);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.service-card {
    position: relative;
    padding: 50px;
    background: var(--off-white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
}

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

.service-card:hover {
    background: var(--dark);
    transform: translateY(-10px);
}

.service-card:hover .card-index,
.service-card:hover .card-title,
.service-card:hover .card-desc,
.service-card:hover .card-list li {
    color: var(--white);
}

.service-card:hover .card-icon {
    background: var(--accent);
}

.service-card:hover .card-link {
    color: var(--accent);
}

.card-index {
    position: absolute;
    top: 40px;
    right: 40px;
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.05);
    line-height: 1;
    transition: color 0.5s;
}

.service-card:hover .card-index {
    color: rgba(255, 255, 255, 0.05);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: all 0.5s var(--ease-out-expo);
}

.card-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
    transition: stroke 0.5s;
}

.service-card:hover .card-icon svg {
    stroke: var(--white);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    transition: color 0.5s;
}

.card-desc {
    font-size: 0.9375rem;
    color: var(--gray-light);
    margin-bottom: 24px;
    line-height: 1.7;
    transition: color 0.5s;
}

.card-list {
    margin-bottom: 30px;
}

.card-list li {
    position: relative;
    font-size: 0.875rem;
    color: var(--gray-light);
    padding: 8px 0 8px 20px;
    transition: color 0.5s;
}

.card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.4s;
}

.card-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s var(--ease-out-expo);
}

.card-link:hover svg {
    transform: translateX(6px);
}

/* ============================================
   SERVICES HORIZONTAL - NEW DESIGN
   ============================================ */
.services-horizontal {
    padding: 100px 0 120px;
    background: #ffffff;
    overflow: hidden;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 30px;
}

.services-header-left {
    max-width: 600px;
}

.services-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    padding: 8px 16px;
    background: rgba(120, 173, 150, 0.1);
    border-radius: 30px;
}

.services-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -1px;
}

.services-view-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
}

.services-view-all:hover {
    background: #5a9578;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(120, 173, 150, 0.3);
}

.view-all-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.view-all-icon svg {
    width: 16px;
    height: 16px;
}

.services-view-all:hover .view-all-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(4px);
}

/* Cards Container */
.services-cards-wrapper {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0 -20px;
    padding: 20px 20px 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.services-cards-wrapper::-webkit-scrollbar {
    display: none;
}

.services-cards-track {
    display: flex;
    gap: 15px;
    min-width: max-content;
}

/* Individual Card */
.service-h-card {
    position: relative;
    height: 480px;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
}

.service-h-card.collapsed {
    width: 80px;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
}

.service-h-card.expanded {
    width: 320px;
    background: linear-gradient(180deg, #e8e8e8 0%, #d0d0d0 100%);
}

.service-h-card:not(.collapsed):not(.expanded) {
    width: 320px;
    background: #3a3a3a;
}

/* Collapsed Content */
.card-collapsed-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 10px;
    transition: opacity 0.4s ease;
}

.service-h-card:not(.collapsed) .card-collapsed-content {
    opacity: 0;
    pointer-events: none;
}

.card-plus {
    width: 40px;
    height: 40px;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #999;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-h-card:hover .card-plus {
    border-color: var(--accent);
    color: var(--accent);
}

.card-collapsed-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Expanded Content */
.card-expanded-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.4s ease 0.2s;
}

.service-h-card:not(.collapsed) .card-expanded-content {
    opacity: 1;
}

.card-h-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.service-h-card:not(.collapsed):not(.expanded) .card-h-title {
    color: #ffffff;
}

.card-h-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
    flex-grow: 0;
}

.service-h-card:not(.collapsed):not(.expanded) .card-h-desc {
    color: rgba(255, 255, 255, 0.8);
}

.card-h-link {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: auto;
}

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

.card-h-link:hover {
    background: #5a9578;
    transform: scale(1.1);
}

.card-h-image {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    height: 180px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.service-h-card:hover .card-h-image img {
    transform: scale(1.1);
}

/* Dark Card Variant */
.service-h-card:not(.collapsed):not(.expanded) {
    background: #3a3a3a;
}

/* Active/Expanded State Visual */
.service-h-card.expanded {
    background: linear-gradient(180deg, #e8e8e8 0%, #d0d0d0 100%);
}

/* Responsive */
@media (max-width: 1024px) {
    .services-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-h-card {
        height: 420px;
    }

    .service-h-card.expanded {
        width: 280px;
    }

    .card-h-image {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .services-horizontal {
        padding: 70px 0 80px;
    }

    .services-title {
        font-size: 1.75rem;
    }

    .service-h-card {
        height: 380px;
    }

    .service-h-card.collapsed {
        width: 60px;
    }

    .service-h-card.expanded,
    .service-h-card:not(.collapsed):not(.expanded) {
        width: 260px;
    }

    .card-h-image {
        height: 130px;
        bottom: 20px;
        left: 20px;
        right: 20px;
    }

    .card-expanded-content {
        padding: 25px 20px;
    }

    .card-h-title {
        font-size: 1.4rem;
    }
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.projects-showcase {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.project-item {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.project-item.reverse .project-image {
    order: 2;
}

.project-item.reverse .project-content {
    order: 1;
}

.project-image {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-out-expo);
}

.project-item:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(10, 10, 10, 0.4) 100%
    );
}

.project-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.project-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.project-desc {
    font-size: 1rem;
    color: var(--gray-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.project-meta span {
    font-size: 0.875rem;
    color: var(--gray-light);
}

.project-meta strong {
    color: var(--dark);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--dark);
    padding: 14px 0;
    border-bottom: 2px solid var(--dark);
    transition: all 0.4s var(--ease-out-expo);
}

.project-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.project-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.4s var(--ease-out-expo);
}

.project-link:hover svg {
    transform: translateX(6px);
}

.projects-cta {
    text-align: center;
    margin-top: 80px;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners {
    padding: 50px 0;
    background: var(--off-white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.partners-header {
    text-align: center;
    margin-bottom: 30px;
}

.partners-label {
    font-size: 0.8125rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    align-items: center;
}

.partner-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--off-white);
    border-radius: 16px;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.partner-item:hover {
    background: var(--white);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.partner-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.4s ease;
}

.partner-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.partner-item:hover .partner-icon {
    background: var(--accent);
    transform: scale(1.1);
}

.partner-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--dark);
    transition: color 0.3s;
}

.partner-item:hover .partner-name {
    color: var(--accent);
}

/* Partner Logo Items */
.partners-grid-logos {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--white);
    min-height: 120px;
}

.partner-logo-item img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: all 0.4s ease;
}

.partner-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-desc {
    font-size: 1.125rem;
    color: var(--gray-lighter);
    margin-bottom: 50px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    transition: color 0.3s;
}

.cta-phone:hover {
    color: var(--accent);
}

.phone-icon {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.cta-phone:hover .phone-icon {
    background: var(--accent);
    border-color: var(--accent);
}

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

.cta-phone:hover .phone-icon svg {
    stroke: var(--white);
}

.phone-text {
    font-size: 1.125rem;
    font-weight: 600;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-desc {
    font-size: 1rem;
    color: var(--gray-light);
    margin-bottom: 50px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: var(--off-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent);
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 1rem;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

a.detail-value:hover {
    color: var(--accent);
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 24px;
}

.social-label {
    font-size: 0.8125rem;
    color: var(--gray-light);
}

.social-links {
    display: flex;
    gap: 12px;
}

.contact-social .social-link {
    width: 44px;
    height: 44px;
    background: var(--off-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.contact-social .social-link svg {
    width: 18px;
    height: 18px;
    fill: var(--gray-light);
    transition: fill 0.3s;
}

.contact-social .social-link:hover {
    background: var(--accent);
}

.contact-social .social-link:hover svg {
    fill: var(--white);
}

/* Contact Map */
.contact-map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
    height: 100%;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: block;
}

/* Contact Form Below */
.contact-form-below {
    margin-top: 60px;
    background: var(--off-white);
    padding: 40px 50px;
    border-radius: 16px;
}

.contact-form-below .btn-full {
    width: auto;
    padding: 14px 40px;
}

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

/* Legacy Contact Form Wrapper */
.contact-form-wrapper {
    background: var(--off-white);
    padding: 60px;
    border-radius: 24px;
}

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

.form-group {
    position: relative;
}

.form-group.full {
    margin-bottom: 30px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 20px 0;
    font-size: 1rem;
    font-family: inherit;
    color: var(--dark);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    outline: none;
    transition: border-color 0.3s;
}

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

.form-group label {
    position: absolute;
    top: 20px;
    left: 0;
    font-size: 0.9375rem;
    color: var(--gray-light);
    pointer-events: none;
    transition: all 0.3s var(--ease-out-expo);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group label.active {
    top: -10px;
    font-size: 0.75rem;
    color: var(--accent);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-expo);
}

.form-group input:focus ~ .form-line,
.form-group select:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    transform: scaleX(1);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary);
    color: var(--gray-lighter);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
}

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

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

.footer-logo .logo-mark {
    width: 40px;
    height: 40px;
}

.footer-logo .logo-name {
    font-size: 0.9375rem;
}

.footer-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s;
}

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

.footer-contact ul li {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

/* Newsletter */
.footer-newsletter p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 16px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 14px 20px;
    background: var(--accent);
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: var(--accent-dark);
}

.footer-social-newsletter a {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.15);
}

.footer-legal {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal p {
    font-size: 0.8125rem;
    color: var(--gray-light);
    margin-bottom: 8px;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-light);
}

.back-to-top {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    color: var(--gray-light);
    transition: color 0.3s;
}

.back-to-top:hover {
    color: var(--accent);
}

.back-to-top svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .partners-grid-logos {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1500px) {
    .nav-center,
    .nav-cta {
        display: none !important;
    }

    .nav-toggle {
        display: flex !important;
    }

    .nav-logo img {
        height: 110px !important;
    }

    .header {
        padding: 15px 0;
    }

    .header.scrolled {
        padding: 10px 0;
    }

    .nav {
        height: auto;
        min-height: 70px;
    }
}

@media (max-width: 1200px) {
    .nav-logo img {
        height: 100px !important;
    }
}

@media (max-width: 992px) {
    .nav-logo img {
        height: 90px !important;
    }

    .hero-stats {
        display: none;
    }

    .hero-scroll,
    .hero-side {
        display: none;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

    .about-visual {
        order: -1;
    }

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

    .project-item,
    .project-item.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-item.reverse .project-image,
    .project-item.reverse .project-content {
        order: unset;
    }

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

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

    .about-features {
        flex-direction: column;
    }

    .feature {
        flex: 1 1 100%;
    }

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

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

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

    .contact-form-wrapper {
        padding: 40px 30px;
    }

    .contact-form-below {
        padding: 30px 20px;
    }

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

    .contact-map-wrapper {
        min-height: 300px;
        height: 300px;
    }

    .contact-map-wrapper iframe {
        min-height: 300px;
        height: 300px;
    }

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

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

    .cta-actions {
        flex-direction: column;
    }

    .secondary-image {
        display: none;
    }

    .visual-badge {
        right: 20px;
    }

    .nav-logo img {
        height: 150px !important;
    }

    .nav {
        padding: 0 20px;
    }

    .toggle-line {
        width: 26px;
    }

    .mobile-menu-content {
        padding: 100px 30px;
    }

    .mobile-link {
        font-size: clamp(1.75rem, 5vw, 3rem);
    }
}

@media (max-width: 480px) {
    .nav-logo img {
        height: 130px !important;
    }

    .header {
        padding: 10px 0;
    }

    .nav {
        padding: 0 15px;
        min-height: 50px;
    }

    .nav-toggle {
        padding: 8px;
        gap: 6px;
    }

    .toggle-line {
        width: 24px;
    }

    .mobile-menu-content {
        padding: 180px 20px 30px;
    }

    .mobile-link {
        font-size: 1.25rem;
        padding: 5px 0;
    }

    .mobile-footer {
        font-size: 0.875rem;
    }

    .title-word {
        font-size: 2.5rem;
    }

    .hero-badge {
        padding: 8px 16px;
    }

    .btn {
        padding: 16px 28px;
        width: 100%;
        justify-content: center;
    }

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

    .partners-grid-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .partner-logo-item {
        min-height: 90px;
        padding: 15px;
    }

    .partner-logo-item img {
        max-height: 60px;
    }
}

/* Mobile Horizontal Scroll Fix */
@media (max-width: 992px) {
    html,
    html.has-scroll-smooth,
    html.has-scroll-init {
        overflow-x: hidden !important;
        overflow-y: scroll !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
        max-width: 100% !important;
        background: #0a0a0a !important;
        position: static !important;
        height: auto !important;
        overscroll-behavior: auto !important;
    }

    body,
    body.has-scroll-smooth,
    body.has-scroll-init {
        overflow-x: hidden !important;
        overflow-y: visible !important;
        width: 100% !important;
        max-width: 100% !important;
        position: static !important;
        background: #0a0a0a !important;
        height: auto !important;
        overscroll-behavior: auto !important;
    }

    main,
    main.main {
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
    }

    [data-scroll-container] {
        transform: none !important;
        overflow: visible !important;
        height: auto !important;
    }

    [data-scroll-section] {
        transform: none !important;
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    section:not(.hero) {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        position: relative !important;
    }

    .hero {
        min-height: 100vh !important;
        height: auto !important;
        padding: 180px 0 60px !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
    }

    .hero-container {
        padding: 0 20px !important;
        padding-top: 40px !important;
        width: 100% !important;
    }

    .hero-content {
        margin-left: 0 !important;
        padding-top: 30px !important;
        max-width: 100% !important;
    }

    .hero-title {
        margin-bottom: 20px !important;
    }

    .title-word {
        font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
        margin-right: 8px !important;
        word-break: break-word !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.7 !important;
        margin-bottom: 30px !important;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-contact-bar {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        margin-top: 30px;
    }

    .hero-contact-item {
        font-size: 0.85rem;
    }

    .hero,
    .hero-container,
    .hero-content,
    .hero-video-wrapper,
    main,
    section,
    .container,
    header,
    footer,
    .marquee-section {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .hero-particles,
    .hero-side,
    .hero-scroll {
        display: none !important;
    }

    /* Ensure all elements stay within bounds */
    * {
        max-width: 100vw;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 80px 0 40px;
    }

    .hero-container {
        padding: 0 15px;
        padding-top: 40px;
    }

    .hero-content {
        padding-top: 20px;
    }

    .title-word {
        font-size: clamp(1.5rem, 7vw, 2rem) !important;
    }

    .hero-badge {
        padding: 8px 14px;
        margin-bottom: 25px;
    }

    .hero-badge span {
        font-size: 0.75rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-contact-bar {
        padding: 15px;
        border-radius: 12px;
    }

    .hero-contact-item {
        font-size: 0.8rem;
    }

    .hero-contact-item i {
        font-size: 1rem;
    }
}

/* ============================================
   PAGE HEADER STYLES
   ============================================ */
.page-header {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    padding: 120px 0 60px;
    overflow: hidden;
}

.page-header-sm {
    min-height: 40vh;
}

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

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(2, 62, 74, 0.7), rgba(10, 10, 10, 0.85));
    z-index: 1;
}

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

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.875rem;
    color: var(--gray-lighter);
}

.breadcrumb a {
    color: var(--accent);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--white);
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--gray-lighter);
}

/* Header Dark Mode - For inner pages */
.header-dark {
    background: #fff;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 15px 0;
}

.header-dark::before {
    display: none;
}

.header-dark .nav-logo img {
    filter: brightness(0) saturate(100%);
}

.header-dark .nav-menu {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

.header-dark .nav-link {
    color: #333;
}

.header-dark .nav-link:hover {
    color: var(--primary);
    background: rgba(2, 62, 74, 0.08);
}

.header-dark .nav-link.active {
    color: #fff !important;
    background: var(--primary) !important;
    box-shadow: 0 4px 15px rgba(2, 62, 74, 0.4);
}

.header-dark .toggle-line {
    background: var(--primary);
}

.header-dark .nav-cta {
    background: #023E4A;
    color: #fff;
    box-shadow: 0 4px 15px rgba(2, 62, 74, 0.3);
}

.header-dark .nav-cta:hover {
    background: #034a56;
    color: #fff;
}

/* Header Dark Responsive */
@media (max-width: 1500px) {
    .header-dark {
        padding: 10px 0;
    }

    .header-dark .nav-logo img {
        height: 100px !important;
    }

    .header-dark .nav-toggle {
        display: flex !important;
    }

    .header-dark .nav-center,
    .header-dark .nav-cta {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .header-dark .nav-logo img {
        height: 120px !important;
    }
}

@media (max-width: 480px) {
    .header-dark .nav-logo img {
        height: 100px !important;
    }
}

/* Section Padding */
.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

/* Background Utilities */
.bg-dark {
    background: var(--dark);
}

.bg-light {
    background: #f8f9fa;
}

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

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

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

/* Vision & Mission */
.vm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.vm-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.vm-card-full {
    grid-column: 1 / -1;
}

.vm-icon {
    width: 70px;
    height: 70px;
    background: var(--accent);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.vm-icon svg {
    width: 35px;
    height: 35px;
    stroke: var(--white);
}

.vm-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.vm-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-dark);
}

/* Advantages */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.advantage-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.4s ease;
}

.advantage-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.advantage-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.advantage-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.advantage-item p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-light);
}

/* Quality & Safety */
.qs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.qs-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.qs-content p {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: var(--gray-dark);
    margin-bottom: 30px;
}

.qs-list {
    list-style: none;
}

.qs-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.qs-list i {
    color: var(--accent);
    font-size: 1.25rem;
    margin-top: 2px;
}

.qs-list span {
    font-size: 1rem;
    color: var(--gray-dark);
}

/* Legal Entity */
.legal-info {
    margin-top: 40px;
}

.legal-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.legal-item i {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.legal-item span {
    font-size: 1rem;
    color: var(--gray-dark);
}

.legal-item strong {
    color: var(--accent);
}

/* ============================================
   SERVICES PAGE STYLES
   ============================================ */
.service-detail {
    position: relative;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "title image"
        "list image";
    gap: 0 80px;
    align-items: center;
}

.service-detail-grid .service-detail-title {
    grid-area: title;
    align-self: end;
}

.service-detail-grid .service-detail-content {
    grid-area: list;
    align-self: start;
}

.service-detail-grid .service-detail-image {
    grid-area: image;
}

.service-detail-grid.reverse {
    grid-template-areas:
        "image title"
        "image list";
}

.service-detail-grid.reverse > * {
    direction: ltr;
}

.service-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: 10px;
}

.service-detail-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 30px;
}

.service-list {
    list-style: none;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 1rem;
    color: var(--gray-dark);
}

.service-list i {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.service-detail-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Approach Cards */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.approach-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.approach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.approach-icon {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.approach-icon i {
    font-size: 2rem;
    color: var(--white);
}

.approach-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.approach-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-dark);
}

/* Triangle Diagram */
.triangle-section {
    margin-top: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.triangle-diagram {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.triangle-point {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.triangle-point.time {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #ef4444;
    color: white;
}

.triangle-point.cost {
    bottom: 30px;
    left: 0;
    background: #3b82f6;
    color: white;
}

.triangle-point.quality {
    bottom: 30px;
    right: 0;
    background: #10b981;
    color: white;
}

.triangle-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    color: white;
}

.triangle-text p {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: var(--gray-dark);
}

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

/* ============================================
   PROJECTS PAGE STYLES
   ============================================ */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--gray-lighter);
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Project Card Large */
.project-card-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.project-card-large.reverse {
    direction: rtl;
}

.project-card-large.reverse > * {
    direction: ltr;
}

.project-card-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

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

.project-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-badge.ongoing {
    background: var(--accent);
}

.project-card-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
}

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

.meta-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.meta-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 5px;
}

.meta-value {
    font-weight: 600;
    color: var(--dark);
}

.project-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-dark);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.project-card-img {
    height: 220px;
    overflow: hidden;
}

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

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

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

.project-category {
    display: inline-block;
    padding: 6px 15px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.project-category.ongoing {
    background: var(--accent);
}

.project-card-info h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.project-card-info p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-dark);
    margin-bottom: 15px;
}

.project-meta-small {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-meta-small span {
    font-size: 0.8125rem;
    color: var(--gray);
}

.project-meta-small i {
    margin-right: 8px;
    color: var(--accent);
}

/* Timeline */
.timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.timeline-period {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
}

.period-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-year {
    font-weight: 600;
    color: var(--accent);
    font-size: 0.9375rem;
}

.timeline-project {
    color: var(--gray-light);
    font-size: 0.9375rem;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */
.contact-page .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-page .contact-info {
    padding-right: 40px;
}

.contact-page .contact-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.contact-page .contact-desc {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 40px;
}

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

.contact-page .detail-icon {
    width: 55px;
    height: 55px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-page .detail-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.contact-page .detail-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 5px;
}

.contact-page .detail-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
}

.contact-page .detail-value:hover {
    color: var(--accent);
}

.contact-page .contact-social {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-page .social-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.contact-page .social-links {
    display: flex;
    gap: 12px;
}

.contact-page .social-link {
    width: 45px;
    height: 45px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.contact-page .social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.contact-legal {
    margin-top: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
}

.contact-legal h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.contact-legal p {
    font-size: 0.875rem;
    color: var(--gray-dark);
    margin-bottom: 8px;
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 30px;
}

/* Map Section */
.map-section {
    position: relative;
}

.map-container iframe {
    display: block;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%);
}

/* Quick Contact */
.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.quick-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.quick-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.quick-icon {
    width: 70px;
    height: 70px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.quick-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.quick-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.quick-card p {
    font-size: 0.9375rem;
    color: var(--gray);
    margin-bottom: 15px;
}

.quick-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
}

a.quick-link:hover {
    color: var(--primary);
}

/* CTA with Image Background */
.cta-section .cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Compact CTA Section */
.cta-compact {
    padding: 60px 0;
}

.cta-compact .cta-overlay {
    background: linear-gradient(135deg, rgba(2, 62, 74, 0.88) 0%, rgba(1, 42, 51, 0.92) 100%);
}

.cta-compact .cta-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.cta-compact .cta-left h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #fff;
    margin-bottom: 10px;
}

.cta-compact .cta-left p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.cta-compact .cta-right {
    display: flex;
    justify-content: center;
}

.cta-compact .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .cta-compact {
        padding: 40px 0;
    }
    .cta-compact .cta-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
}

/* Button Outline White */
.btn-outline-white {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--dark);
}

/* ============================================
   RESPONSIVE STYLES FOR NEW PAGES
   ============================================ */
@media (max-width: 992px) {
    .vm-grid,
    .qs-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-detail-grid,
    .service-detail-grid.reverse {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "title"
            "image"
            "list";
        gap: 20px;
    }

    .service-detail-grid.reverse {
        direction: ltr;
    }

    .project-card-large,
    .project-card-large.reverse,
    .triangle-section,
    .timeline,
    .contact-page .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-card-large.reverse {
        direction: ltr;
    }

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

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

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

@media (max-width: 768px) {
    .page-header {
        min-height: 40vh;
        padding-top: 200px;
    }

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

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

    .filter-tabs {
        flex-direction: column;
        align-items: stretch;
    }

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

    .triangle-diagram {
        width: 250px;
        height: 250px;
    }

    .triangle-point {
        width: 80px;
        height: 80px;
        font-size: 0.75rem;
    }

    .triangle-center {
        width: 100px;
        height: 100px;
        font-size: 1rem;
    }

    /* Services Detail Mobile */
    .service-detail {
        padding: 50px 0;
    }

    .service-number {
        font-size: 3rem;
    }

    .service-detail-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .service-list li {
        font-size: 0.9rem;
        padding: 15px 0;
        gap: 12px;
    }

    .service-list i {
        width: 35px;
        height: 35px;
        min-width: 35px;
        font-size: 0.9rem;
    }

    .service-detail-image img {
        border-radius: 15px;
    }

    .approach-card {
        padding: 30px 25px;
    }

    .approach-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding-top: 180px;
    }

    .service-number {
        font-size: 2.5rem;
    }

    .service-detail-title {
        font-size: 1.25rem;
    }

    .service-list li {
        font-size: 0.85rem;
        padding: 12px 0;
    }

    .service-list i {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.8rem;
        border-radius: 8px;
    }
}

/* ================================
   Team Section - Professional Grid
   ================================ */
.team-section {
    background: #141414;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 20%, rgba(120, 173, 150, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(200, 169, 126, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.team-section .section-header {
    text-align: center;
    margin-bottom: 70px;
}

.team-section .section-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.team-section .section-title {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.team-section .section-desc {
    color: #888888;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Team Grid Layout */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(120, 173, 150, 0.1);
}

.team-card-inner {
    position: relative;
    height: 100%;
}

.team-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.5s ease;
    filter: grayscale(20%);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Team Overlay */
.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(20, 20, 20, 0.95) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 25px;
    opacity: 0;
    transition: all 0.4s ease;
}

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

.team-social {
    display: flex;
    gap: 15px;
    transform: translateY(30px);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card:hover .team-social {
    transform: translateY(0);
}

.team-social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #141414;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-social-link:hover {
    background: #ffffff;
    transform: scale(1.15) rotate(5deg);
}

/* Team Info */
.team-info {
    padding: 28px 25px 32px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.team-card:hover .team-name {
    color: var(--accent);
}

.team-role {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 16px;
    background: rgba(120, 173, 150, 0.1);
    border-radius: 20px;
}

.team-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #999999;
}

/* Team Grid Responsive */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .team-section .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 70px 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }

    .team-section .section-title {
        font-size: 2rem;
    }

    .team-section .section-header {
        margin-bottom: 50px;
    }

    .team-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .team-image {
        height: 280px;
    }

    .team-info {
        padding: 22px 20px 26px;
    }

    .team-name {
        font-size: 1.2rem;
    }
}


/* Print Styles */
@media print {
    .preloader,
    .cursor,
    .header,
    .hero-video-wrapper,
    .hero-particles {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero {
        min-height: auto;
        padding: 50px 0;
    }

    .title-word {
        color: #000 !important;
        -webkit-text-stroke: none !important;
    }
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}
.lang-switcher:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}
.lang-switcher .lang-icon {
    opacity: 0.8;
}
.header.scrolled .lang-switcher,
.header-dark .lang-switcher {
    background: rgba(2, 62, 74, 0.08);
    border-color: rgba(2, 62, 74, 0.15);
    color: var(--primary);
}
.header.scrolled .lang-switcher:hover,
.header-dark .lang-switcher:hover {
    background: rgba(2, 62, 74, 0.15);
}

/* Mobile Language Switcher */
.mobile-lang-switcher {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}
.lang-switcher-mobile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: rgba(120, 173, 150, 0.15);
    border: 1px solid rgba(120, 173, 150, 0.3);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    font-family: var(--font-primary);
}
.lang-switcher-mobile:hover {
    background: rgba(120, 173, 150, 0.25);
}

/* Language Switching Transition */
.lang-switching [data-translate] {
    transition: opacity 0.15s ease;
    opacity: 0.3;
}

/* TranslatePress Arabic: RTL + Cairo font */
html[lang="ar"] body {
    direction: rtl;
    font-family: 'Cairo', 'Helvetica Neue', Arial, sans-serif !important;
}
html[lang="ar"] body * {
    font-family: 'Cairo', 'Helvetica Neue', Arial, sans-serif !important;
}
/* Font Awesome protection for Arabic mode */
html[lang="ar"] [class^="fa-"],
html[lang="ar"] [class*=" fa-"],
html[lang="ar"] .fa-solid,
html[lang="ar"] .fa-regular,
html[lang="ar"] .fa-brands,
html[lang="ar"] .fas,
html[lang="ar"] .far,
html[lang="ar"] .fab,
html[lang="ar"] .fa {
    font-family: 'Font Awesome 6 Free' !important;
    font-style: normal !important;
}
html[lang="ar"] .fa-brands,
html[lang="ar"] i.fa-brands,
html[lang="ar"] .fab {
    font-family: 'Font Awesome 6 Brands' !important;
}

/* ============================================
   RTL / ARABIC STYLES
   ============================================ */

/* === 1. BASE === */
body.ar {
    direction: rtl;
    font-family: 'Cairo', 'Helvetica Neue', Arial, sans-serif;
    text-align: right;
}
body.ar * {
    letter-spacing: 0 !important;
}
body.ar h1, body.ar h2, body.ar h3, body.ar h4, body.ar h5, body.ar h6,
body.ar p, body.ar span, body.ar a, body.ar li, body.ar label,
body.ar input, body.ar textarea, body.ar select, body.ar button,
body.ar div, body.ar td, body.ar th {
    font-family: 'Cairo', 'Helvetica Neue', Arial, sans-serif;
}
/* Font Awesome protection */
body.ar [class^="fa-"], body.ar [class*=" fa-"] {
    font-family: 'Font Awesome 6 Free' !important;
    font-style: normal !important;
}
body.ar .fa-brands, body.ar i.fa-brands {
    font-family: 'Font Awesome 6 Brands' !important;
}



/* === 3. NAVIGATION === */
body.ar .nav-center {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}
/* nav-actions: direction:rtl from body.ar handles ordering */
body.ar .nav-actions {
    /* no row-reverse needed with direction:rtl */
}

/* === 4. HERO === */
body.ar .hero-content {
    margin-left: 0;
    margin-right: 80px;
}
body.ar .title-word {
    font-weight: 800 !important;
    margin-right: 0;
    margin-left: 15px;
}
body.ar .hero-subtitle {
    font-weight: 600;
}

/* === 5. SECTION LABELS === */
body.ar .section-label {
    flex-direction: row-reverse;
}
body.ar .text-center .section-label {
    flex-direction: row;
    justify-content: center;
}

/* === 6. ARROW/ICON FLIPS === */
body.ar .btn-icon svg,
body.ar .wwd-card-link svg,
body.ar .proj-alt-card-link svg,
body.ar .blog-read-more svg,
body.ar .wwd-view-all svg,
body.ar .view-all-btn svg,
body.ar .wwd-nav-btn svg,
body.ar .team-slider-btn svg,
body.ar .card-link svg,
body.ar .project-link svg,
body.ar .cta-icon {
    transform: scaleX(-1);
}
body.ar .btn:hover .btn-icon {
    transform: translateX(-4px);
}
body.ar .nav-cta:hover .cta-icon {
    transform: scaleX(-1) translateX(-4px);
}
body.ar .wwd-card:hover .wwd-card-link svg {
    transform: scaleX(-1) translateX(-5px);
}
body.ar .card-link:hover svg {
    transform: scaleX(-1) translateX(-6px);
}
body.ar .project-link:hover svg {
    transform: scaleX(-1) translateX(-6px);
}
body.ar .services-view-all:hover .view-all-icon {
    transform: translateX(-4px);
}

/* === 7. FLEX REVERSALS === */
/* Layout containers - use direction:rtl (inherited from body.ar) */
body.ar .wwd-header,
body.ar .projects-alt-header,
body.ar .team-slider-header {
    /* direction:rtl inherited - no row-reverse needed */
}
/* Inline links - reverse icon+text order for RTL */
body.ar .wwd-view-all,
body.ar .view-all-btn,
body.ar .proj-alt-card-link,
body.ar .blog-read-more {
    flex-direction: row-reverse;
}

/* === 8. PROJECT CARDS === */
body.ar .proj-alt-card.reverse {
    flex-direction: row;
}
body.ar .proj-alt-card:not(.reverse) {
    flex-direction: row-reverse;
}

/* === 9. POSITIONED ELEMENTS === */
body.ar .about-new-badge {
    right: auto;
    left: -30px;
}
body.ar .ca-card-icon {
    left: auto;
    right: -24px;
}
body.ar .ceo-badge {
    right: auto;
    left: -20px;
}
body.ar .hero-scroll {
    right: auto;
    left: clamp(20px, 4vw, 60px);
}
body.ar .hero-side {
    right: auto;
    left: clamp(20px, 4vw, 60px);
}
body.ar .secondary-image {
    left: auto;
    right: -60px;
}
body.ar .visual-badge {
    right: auto;
    left: -40px;
}
body.ar .card-index {
    right: auto;
    left: 40px;
}
body.ar .project-badge {
    left: auto;
    right: 20px;
}

/* === 10. SERVICE CARD ANIMATIONS === */
body.ar .service-card::before {
    transform-origin: right;
}

/* === 11. CARD LIST BULLETS === */
body.ar .card-list li {
    padding: 8px 20px 8px 0;
}
body.ar .card-list li::before {
    left: auto;
    right: 0;
}

/* === 12. FORM INPUTS === */
body.ar .form-group label {
    left: auto;
    right: 0;
}
body.ar .form-line {
    left: auto;
    right: 0;
    transform-origin: right;
}
body.ar input, body.ar textarea, body.ar select {
    text-align: right;
}

/* === 13. NEWSLETTER FORM === */
body.ar .newsletter-form {
    flex-direction: row-reverse;
}
body.ar .newsletter-form input {
    border-radius: 0 8px 8px 0;
}
body.ar .newsletter-form button {
    border-radius: 8px 0 0 8px;
}

/* === 14. KEEP LTR FOR SPECIFIC ELEMENTS === */
body.ar .social-links,
body.ar .footer-social,
body.ar .share-buttons {
    direction: ltr;
}

/* === 15. SERVICE DETAIL GRID (override base direction:ltr) === */
body.ar .service-detail-grid {
    grid-template-areas:
        "image title"
        "image list";
}
body.ar .service-detail-grid.reverse {
    grid-template-areas:
        "title image"
        "list image";
}
body.ar .service-detail-grid.reverse > * {
    direction: rtl;
}

/* === 16. BLOG FEATURED === */
body.ar .blog-featured-content {
    padding: 50px 0 50px 50px;
}
body.ar .blog-card-overlay-content {
    text-align: right;
}

/* === 17. CONTACT PAGE === */
body.ar .detail-item {
    flex-direction: row-reverse;
}
body.ar .contact-page .contact-info {
    padding-right: 0;
    padding-left: 40px;
}

/* === 18. JOB CARDS === */
body.ar .job-card:hover {
    transform: translateX(-5px);
}
body.ar .job-meta-item {
    flex-direction: row-reverse;
}
body.ar .job-detail-list li {
    flex-direction: row-reverse;
}

/* === 19. MOBILE MENU === */
body.ar .mobile-menu-content {
    transform: translateX(-50px);
    text-align: right;
}
body.ar .mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}
body.ar .mobile-nav li {
    text-align: right;
}
body.ar .mobile-link {
    text-align: right;
}
body.ar .mobile-lang-switcher {
    text-align: right;
}
body.ar .mobile-footer {
    text-align: right;
}

/* === 20. RESPONSIVE === */
@media (max-width: 1500px) {
    body.ar .nav-center {
        left: auto;
        right: 50%;
        transform: translateX(50%);
    }
}
@media (max-width: 992px) {
    body.ar .hero-content {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    body.ar .about-new-badge {
        left: 20px;
        right: auto;
    }
    body.ar .ceo-badge {
        left: 50%;
        right: auto;
    }
    body.ar .title-word {
        margin-left: 8px !important;
        margin-right: 0 !important;
    }
    body.ar .blog-featured-content {
        padding: 40px;
    }
    body.ar .service-detail-grid,
    body.ar .service-detail-grid.reverse {
        grid-template-columns: 1fr;
        grid-template-areas: "title" "image" "list";
    }
    body.ar .contact-page .contact-info {
        padding-left: 0;
        padding-right: 0;
    }
}
@media (max-width: 900px) {
    body.ar .proj-alt-card,
    body.ar .proj-alt-card.reverse {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    body.ar .hero-content {
        margin-right: 0 !important;
        text-align: center;
    }
    body.ar .hero-subtitle {
        text-align: center;
    }
    body.ar .hero-cta {
        justify-content: center;
    }
    body.ar .section-label {
        justify-content: center;
        flex-direction: row;
    }
    body.ar .page-header-content {
        text-align: center;
    }
    body.ar .breadcrumb {
        justify-content: center;
    }
    body.ar .footer-grid,
    body.ar .cta-box,
    body.ar .cta-content {
        text-align: center;
    }
    body.ar .footer-social {
        justify-content: center;
    }
    body.ar .blog-featured-content {
        padding: 30px 20px;
        text-align: right;
    }
    body.ar .visual-badge {
        left: 20px;
        right: auto;
    }
    body.ar .detail-item {
        flex-direction: column;
        text-align: center;
    }
    body.ar .footer-bottom-content {
        text-align: center;
    }
}

/* Hide TranslatePress floating language switcher on mobile */
@media (max-width: 900px) {
    .trp-language-switcher,
    .trp-ls-shortcode-language {
        display: none !important;
    }
}
