/* ==========================================================================
   High Skills Engineering — Design System
   Premium Industrial Corporate Identity
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    --navy: #0B1D35;
    --navy-dark: #06101C;
    --navy-light: #0A1929;
    --navy-950: #030912;
    --teal: #00bcd4;
    --teal-dark: #00838f;
    --teal-light: #4dd0e1;
    --steel-100: #f1f3f5;
    --steel-200: #e9ecef;
    --steel-300: #dee2e6;
    --steel-400: #ced4da;
    --steel-500: #adb5bd;
    --steel-600: #868e96;
    --steel-700: #495057;
    --header-h: 80px;
    --transition: 0.3s ease;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--navy-dark);
    color: var(--steel-100);
    line-height: 1.6;
    overflow-x: hidden;
}

[dir="rtl"] body,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4 {
    font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

::selection {
    background: rgba(0, 188, 212, .3);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--navy-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 188, 212, .3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 188, 212, .5);
}

/* ---------- Layout ---------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 2rem;
    }
}

.section-padding {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 7rem 0;
    }
}

/* ---------- Typography ---------- */
.gradient-text {
    background: linear-gradient(135deg, #00bcd4, #4dd0e1, #80deea);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .875rem 2rem;
    border-radius: .75rem;
    font-weight: 600;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 188, 212, .3);
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, .4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .875rem 2rem;
    border-radius: .75rem;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--teal);
    color: var(--teal);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-secondary:hover {
    background: rgba(0, 188, 212, .1);
    transform: translateY(-2px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .625rem 1.5rem;
    border-radius: .5rem;
    font-weight: 500;
    font-size: .875rem;
    color: var(--teal-light);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-ghost:hover {
    background: rgba(0, 188, 212, .08);
    color: var(--teal);
}

/* ---------- Glass Card ---------- */
.glass-card {
    background: rgba(11, 29, 53, .6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 188, 212, .1);
    border-radius: 1rem;
    transition: all var(--transition);
}

.glass-card:hover {
    border-color: rgba(0, 188, 212, .3);
    box-shadow: 0 8px 32px rgba(0, 188, 212, .1);
    transform: translateY(-4px);
}

/* ================================================================
   HEADER
   ================================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    transition: background var(--transition), backdrop-filter var(--transition);
}

.header.scrolled {
    background: rgba(6, 16, 28, .95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.header-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: .5rem;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
}

.header-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    border-radius: .25rem;
}

.header-logo-text {
    display: none;
}

@media (min-width: 640px) {
    .header-logo-text {
        display: block;
    }
}

.header-logo-name {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    transition: color var(--transition);
}

.header-logo:hover .header-logo-name {
    color: var(--teal-light);
}

.header-logo-iso {
    color: var(--steel-500);
    font-size: .7rem;
}

/* Nav */
.header-nav {
    display: none;
    align-items: center;
    gap: .25rem;
}

@media (min-width: 1024px) {
    .header-nav {
        display: flex;
    }
}

.header-nav a {
    padding: .5rem 1rem;
    border-radius: .5rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--steel-300);
    transition: all .2s;
}

.header-nav a:hover,
.header-nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, .05);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: .375rem;
    padding: .375rem .75rem;
    border-radius: .5rem;
    border: 1px solid rgba(255, 255, 255, .1);
    font-size: .875rem;
    font-weight: 500;
    color: var(--steel-300);
    background: transparent;
    cursor: pointer;
    transition: all .2s;
}

.lang-toggle:hover {
    color: #fff;
    border-color: rgba(0, 188, 212, .5);
    background: rgba(255, 255, 255, .05);
}

.header-cta {
    display: none;
}

@media (min-width: 768px) {
    .header-cta {
        display: inline-flex;
        font-size: .875rem !important;
        padding: .625rem 1.25rem !important;
    }
}

/* Mobile Menu */
.burger {
    display: flex;
    padding: .5rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: color var(--transition);
}

.burger:hover {
    color: var(--teal-light);
}

@media (min-width: 1024px) {
    .burger {
        display: none;
    }
}

.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 16, 28, .98);
    z-index: 99;
    padding: 1.5rem;
    flex-direction: column;
    gap: .5rem;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    padding: .875rem 1rem;
    border-radius: .5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--steel-300);
    transition: all .2s;
}

.mobile-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .05);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy) 0%, rgba(10, 25, 41, 1) 50%, var(--navy-950) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-glow-1 {
    position: absolute;
    top: 25%;
    left: 25%;
    width: 24rem;
    height: 24rem;
    background: rgba(0, 188, 212, .05);
    border-radius: 50%;
    filter: blur(80px);
}

.hero-glow-2 {
    position: absolute;
    bottom: 25%;
    right: 25%;
    width: 20rem;
    height: 20rem;
    background: rgba(0, 131, 143, .05);
    border-radius: 50%;
    filter: blur(80px);
}

[dir="rtl"] .hero-glow-1 {
    left: auto;
    right: 25%;
}

[dir="rtl"] .hero-glow-2 {
    right: auto;
    left: 25%;
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .03;
    background-image: linear-gradient(rgba(0, 188, 212, .3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 188, 212, .3) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 8rem;
    padding-bottom: 5rem;
    max-width: 56rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.5rem;
    animation: fadeUp .6s ease-out;
}

.hero-badge {
    padding: .375rem .75rem;
    border-radius: 9999px;
    font-size: .75rem;
    font-weight: 600;
    background: rgba(0, 188, 212, .1);
    color: var(--teal-light);
    border: 1px solid rgba(0, 188, 212, .2);
}

.hero-since {
    color: var(--steel-400);
    font-size: .875rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeUp .6s ease-out .1s both;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--steel-400);
    max-width: 40rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    animation: fadeUp .6s ease-out .2s both;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeUp .6s ease-out .3s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 28rem;
    animation: fadeUp .6s ease-out .45s both;
}

.hero-stat-value {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    color: #fff;
}

.hero-stat-label {
    font-size: .875rem;
    color: var(--steel-500);
    margin-top: .25rem;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeIn .6s ease-out 1s both;
}

.scroll-mouse {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 9999px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: .375rem;
}

.scroll-dot {
    width: .375rem;
    height: .625rem;
    background: var(--teal);
    border-radius: 9999px;
    animation: scrollBounce 1.5s ease-in-out infinite;
}

/* ================================================================
   SECTION TITLE
   ================================================================ */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-title {
        margin-bottom: 4rem;
    }
}

.section-title h2 {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--steel-400);
    font-size: 1.125rem;
    max-width: 40rem;
    margin: 0 auto;
    line-height: 1.7;
}

.section-title-line {
    margin-top: 1.5rem;
    height: 4px;
    width: 5rem;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--teal), var(--teal-light));
    margin-left: auto;
    margin-right: auto;
}

/* ================================================================
   ABOUT PREVIEW
   ================================================================ */
.about-section {
    background: rgba(3, 9, 18, .5);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

[dir="rtl"] .about-text {
    order: 2;
}

[dir="rtl"] .about-image {
    order: 1;
}

.about-text h2 {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--steel-400);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-image-box {
    aspect-ratio: 4/3;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--navy), var(--navy-dark));
    border: 1px solid rgba(255, 255, 255, .05);
}

.about-image-box .placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-image-box .placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.about-image-box .placeholder-label {
    color: var(--steel-500);
    font-size: .875rem;
}

.about-image-box .corner-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 6rem;
    height: 6rem;
    background: linear-gradient(135deg, rgba(0, 188, 212, .2), transparent);
}

[dir="rtl"] .about-image-box .corner-accent {
    right: auto;
    left: 0;
    background: linear-gradient(225deg, rgba(0, 188, 212, .2), transparent);
}

/* Timeline */
.timeline-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .timeline-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.timeline-card {
    padding: 2rem;
    text-align: center;
}

.timeline-icon {
    font-size: 2.5rem;
    margin-bottom: .75rem;
}

.timeline-year {
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal-light);
    margin-bottom: .75rem;
}

.timeline-title {
    color: #fff;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: .75rem;
}

.timeline-desc {
    color: var(--steel-500);
    font-size: .875rem;
    line-height: 1.6;
}

/* ================================================================
   SERVICE CARD GRID
   ================================================================ */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    padding: 1.5rem 2rem;
    cursor: pointer;
}

.service-card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: .75rem;
    transition: color var(--transition);
}

.service-card:hover h3 {
    color: var(--teal-light);
}

.service-card p {
    color: var(--steel-400);
    font-size: .875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-card-link {
    color: var(--teal);
    font-size: .875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    transition: gap var(--transition);
}

.service-card:hover .service-card-link {
    gap: .5rem;
}

[dir="rtl"] .service-card-link .arrow {
    transform: scaleX(-1);
}

/* ================================================================
   PROJECT CARD GRID
   ================================================================ */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.project-card {
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    background: var(--navy-light);
    border: 1px solid rgba(255, 255, 255, .05);
    transition: all var(--transition);
    position: relative;
}

.project-card:hover {
    border-color: rgba(0, 188, 212, .3);
}

.project-card-image {
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy), var(--navy-dark));
}

.project-card-image .icon-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    opacity: .2;
}

.project-card-image .gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 16, 28, .9), transparent);
    z-index: 1;
}

.project-card-badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    z-index: 2;
    padding: .25rem .75rem;
    border-radius: 9999px;
    font-size: .75rem;
    font-weight: 500;
    background: rgba(0, 188, 212, .2);
    color: var(--teal-light);
    border: 1px solid rgba(0, 188, 212, .2);
    backdrop-filter: blur(8px);
}

[dir="rtl"] .project-card-badge {
    left: auto;
    right: .75rem;
}

.project-card-body {
    padding: 1.25rem;
}

.project-card-body h3 {
    color: #fff;
    font-weight: 600;
    margin-bottom: .5rem;
    font-size: 1rem;
    transition: color var(--transition);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-card:hover .project-card-body h3 {
    color: var(--teal-light);
}

.project-card-body p {
    color: var(--steel-500);
    font-size: .875rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: .75rem;
}

.project-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .75rem;
    color: var(--steel-600);
}

/* ================================================================
   PARTNER GRID
   ================================================================ */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.partner-card {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .75rem;
}

.partner-logo {
    width: 100%;
    max-width: 7rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .5rem;
    border-radius: .75rem;
    background: rgba(255, 255, 255, .95);
    filter: grayscale(80%);
    opacity: .7;
    transition: all .4s ease;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0);
    opacity: 1;
    box-shadow: 0 4px 20px rgba(0, 188, 212, .15);
    transform: scale(1.05);
}

.partner-name {
    color: var(--steel-400);
    font-size: .75rem;
    font-weight: 500;
    line-height: 1.4;
    transition: color var(--transition);
}

.partner-card:hover .partner-name {
    color: #fff;
}

/* ================================================================
   FILTER BAR
   ================================================================ */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.filter-chip {
    padding: .5rem 1.25rem;
    border-radius: 9999px;
    font-size: .875rem;
    font-weight: 500;
    background: rgba(255, 255, 255, .05);
    color: var(--steel-400);
    border: 1px solid rgba(255, 255, 255, .1);
    cursor: pointer;
    transition: all .2s;
}

.filter-chip:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.filter-chip.active {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
    box-shadow: 0 4px 15px rgba(0, 188, 212, .25);
}

.filter-search {
    position: relative;
    flex: 1;
    max-width: 16rem;
}

.filter-search input {
    width: 100%;
    padding: .5rem 2.5rem .5rem 1rem;
    border-radius: .75rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    font-size: .875rem;
    outline: none;
    transition: border var(--transition);
}

[dir="rtl"] .filter-search input {
    padding: .5rem 1rem .5rem 2.5rem;
}

.filter-search input::placeholder {
    color: var(--steel-600);
}

.filter-search input:focus {
    border-color: rgba(0, 188, 212, .5);
}

.filter-search-icon {
    position: absolute;
    top: 50%;
    right: .75rem;
    transform: translateY(-50%);
    color: var(--steel-600);
    pointer-events: none;
}

[dir="rtl"] .filter-search-icon {
    right: auto;
    left: .75rem;
}

/* ================================================================
   PAGE HERO (Subpages)
   ================================================================ */
.page-hero {
    position: relative;
    padding: 8rem 0 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy), var(--navy-dark));
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 188, 212, .08), transparent 70%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    color: var(--steel-500);
    margin-bottom: 1rem;
}

.breadcrumb a {
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: var(--teal-light);
}

.breadcrumb .current {
    color: var(--teal-light);
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.page-hero .hero-desc {
    color: var(--steel-400);
    font-size: 1.125rem;
    max-width: 40rem;
    line-height: 1.7;
}

/* ================================================================
   VALUES GRID
   ================================================================ */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-card {
    padding: 2rem;
    text-align: center;
}

.value-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 1rem;
    background: rgba(0, 188, 212, .1);
    border: 1px solid rgba(0, 188, 212, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background var(--transition);
}

.value-card:hover .value-icon {
    background: rgba(0, 188, 212, .2);
}

.value-title {
    color: #fff;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: .5rem;
}

.value-desc {
    color: var(--steel-500);
    font-size: .875rem;
    line-height: 1.6;
}

/* ================================================================
   SERVICE DETAILS (accordion)
   ================================================================ */
.service-detail {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-detail-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.service-detail h3 {
    color: #fff;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: .5rem;
}

.service-detail p {
    color: var(--steel-400);
    line-height: 1.7;
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

[dir="rtl"] .contact-info {
    order: 2;
}

[dir="rtl"] .contact-form-wrapper {
    order: 1;
}

.contact-card {
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: .75rem !important;
    margin-bottom: 1rem;
}

.contact-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: .75rem;
    flex-shrink: 0;
    background: rgba(0, 188, 212, .1);
    border: 1px solid rgba(0, 188, 212, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: background var(--transition);
}

.contact-card:hover .contact-card-icon {
    background: rgba(0, 188, 212, .2);
}

.contact-card-label {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--steel-500);
    margin-bottom: .125rem;
}

.contact-card-value {
    font-size: .875rem;
    font-weight: 500;
    color: #fff;
    transition: color var(--transition);
}

.contact-card:hover .contact-card-value {
    color: var(--teal-light);
}

/* QR Block */
.qr-block {
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
    border-radius: 1rem !important;
}

.qr-box {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 1rem;
    border-radius: .75rem;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-label {
    color: var(--steel-400);
    font-size: .875rem;
}

/* Contact form */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
    .form-row.two {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group label {
    display: block;
    font-size: .875rem;
    font-weight: 500;
    color: var(--steel-300);
    margin-bottom: .5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: .75rem 1rem;
    border-radius: .75rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    font-size: .875rem;
    font-family: inherit;
    outline: none;
    transition: border var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--steel-600);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(0, 188, 212, .5);
}

.form-group textarea {
    resize: none;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

.form-submit.sent {
    background: #22c55e !important;
    box-shadow: 0 4px 15px rgba(34, 197, 94, .3) !important;
}

/* Social row */
.social-row {
    display: flex;
    gap: .75rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .5rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--steel-400);
    font-weight: 700;
    font-size: .75rem;
    transition: all .2s;
}

.social-icon:hover {
    color: var(--teal-light);
    border-color: rgba(0, 188, 212, .5);
    background: rgba(0, 188, 212, .1);
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy) 0%, rgba(10, 25, 41, 1) 50%, var(--navy-950) 100%);
}

.cta-section .glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.cta-section .glow-1 {
    top: 0;
    left: 33%;
    width: 24rem;
    height: 24rem;
    background: rgba(0, 188, 212, .05);
}

.cta-section .glow-2 {
    bottom: 0;
    right: 33%;
    width: 20rem;
    height: 20rem;
    background: rgba(0, 131, 143, .05);
}

.cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-inner h2 {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.cta-inner p {
    color: var(--steel-400);
    font-size: 1.125rem;
    max-width: 36rem;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    background: var(--navy-950);
    border-top: 1px solid rgba(255, 255, 255, .05);
}

.footer-accent {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.footer-grid {
    padding: 4rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-heading {
    color: #fff;
    font-size: .875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 1rem;
}

.footer-company-desc {
    color: var(--steel-500);
    font-size: .875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-iso {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--teal);
    font-size: .75rem;
    font-weight: 500;
}

.footer-iso-dot {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--teal);
}

.footer-links li {
    margin-bottom: .625rem;
}

.footer-links a {
    color: var(--steel-400);
    font-size: .875rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--teal-light);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .875rem;
    color: var(--steel-400);
    margin-bottom: .75rem;
}

.footer-contact-item .icon {
    color: var(--teal);
    margin-top: .125rem;
}

.footer-contact-item a {
    transition: color var(--transition);
}

.footer-contact-item a:hover {
    color: var(--teal-light);
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, .05);
    text-align: center;
    color: var(--steel-600);
    font-size: .875rem;
}

/* ================================================================
   FLOATING WHATSAPP
   ================================================================ */
.floating-wa {
    position: fixed;
    z-index: 90;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, .4);
    transition: transform var(--transition), box-shadow var(--transition);
    animation: pulseGreen 2s infinite;
}

[dir="rtl"] .floating-wa {
    right: auto;
    left: 1.5rem;
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, .5);
}

/* ================================================================
   MODAL
   ================================================================ */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-backdrop.open {
    display: flex;
}

.modal-bg {
    position: absolute;
    inset: 0;
    background: rgba(3, 9, 18, .8);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 40rem;
    background: var(--navy-light);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, .1);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .5);
    animation: scaleIn .3s ease-out;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(6, 16, 28, .8);
    border: 1px solid rgba(255, 255, 255, .1);
    color: var(--steel-400);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .875rem;
    transition: all .2s;
}

[dir="rtl"] .modal-close {
    right: auto;
    left: 1rem;
}

.modal-close:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .2);
}

.modal-image {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--navy), var(--navy-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    opacity: .2;
}

.modal-body {
    padding: 1.5rem 2rem 2rem;
}

.modal-badge {
    display: inline-block;
    padding: .25rem .75rem;
    border-radius: 9999px;
    font-size: .75rem;
    font-weight: 500;
    background: rgba(0, 188, 212, .2);
    color: var(--teal-light);
    border: 1px solid rgba(0, 188, 212, .2);
    margin-bottom: .75rem;
}

.modal-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.modal-body>p {
    color: var(--steel-400);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.modal-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .modal-details {
        grid-template-columns: repeat(3, 1fr);
    }
}

.modal-detail-item {
    background: rgba(255, 255, 255, .03);
    border-radius: .75rem;
    padding: .75rem;
    border: 1px solid rgba(255, 255, 255, .05);
}

.modal-detail-label {
    color: var(--steel-600);
    font-size: .7rem;
    margin-bottom: .25rem;
}

.modal-detail-value {
    color: #fff;
    font-size: .875rem;
    font-weight: 500;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

@keyframes pulseGreen {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, .4);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .5s ease-out, transform .5s ease-out;
}

.reveal-stagger.visible>*:nth-child(1) {
    transition-delay: .05s;
}

.reveal-stagger.visible>*:nth-child(2) {
    transition-delay: .1s;
}

.reveal-stagger.visible>*:nth-child(3) {
    transition-delay: .15s;
}

.reveal-stagger.visible>*:nth-child(4) {
    transition-delay: .2s;
}

.reveal-stagger.visible>*:nth-child(5) {
    transition-delay: .25s;
}

.reveal-stagger.visible>*:nth-child(6) {
    transition-delay: .3s;
}

.reveal-stagger.visible>*:nth-child(7) {
    transition-delay: .35s;
}

.reveal-stagger.visible>*:nth-child(8) {
    transition-delay: .4s;
}

.reveal-stagger.visible>*:nth-child(9) {
    transition-delay: .45s;
}

.reveal-stagger.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* Flash transition overlay */
.page-flash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    background: linear-gradient(135deg, var(--teal), var(--navy));
    opacity: 0;
    transition: opacity .15s ease;
}

.page-flash.active {
    opacity: 1;
    pointer-events: all;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .reveal-stagger>* {
        opacity: 1;
        transform: none;
    }
}