/* ==========================================
   opASit -  Website
   
   ========================================== */

/* === ROOT VARIABLES === */
:root {
    --color-primary: #000000;
    --color-secondary: #1a1a1a;
    --color-accent: #2d2d2d;
    --color-white: #ffffff;
    --color-light-gray: #f5f5f5;
    --color-medium-gray: #e0e0e0;
    --color-dark-gray: #666666;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-highlight: #14265d;
    --color-highlight-dark: #0d1a42;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.2);
    --vh: 1vh; 
}

/* === RESET & BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important; 
    position: relative;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-fluid {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* === NAVIGATION (DESKTOP DEFAULT) === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem 0;
}

    .nav.scrolled {
        background-color: #1a1a1a !important;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

.nav-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO STYLES */
.logo-wrapper {
    position: relative;
    display: inline-block;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 700;
    color: #002d72 !important;
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
    line-height: 1;
    text-transform: none;
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.nav.scrolled .logo-text {
    color: #ffffff !important;
}

/* DESKTOP MENU LINKS */
.nav-menu {
    display: flex;
    gap: 1.8rem;
    align-items: center;
    margin-left: auto;
    margin-right: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px;
    display: block;
    position: relative;
}

    .nav-link:hover, .nav-link.active {
        color: #ffffff;
        transform: scale(1.1);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: #00adef;
        transition: width 0.3s ease;
    }

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

/* BUTTON CONSULTANTA */
.nav-cta .btn-primary {
    background-color: #ffffff !important;
    color: #002d72 !important;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    white-space: nowrap;
}

.nav.scrolled .nav-cta .btn-primary {
    background-color: #00adef !important;
    color: #ffffff !important;
}

.nav-toggle {
    display: none; 
}

/* === HERO SECTION === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #ffffff !important;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-text {
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.hero-title-line {
    display: block;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

    .hero-title-line:nth-child(1) {
        animation-delay: 0.2s;
    }

    .hero-title-line:nth-child(2) {
        animation-delay: 0.4s;
    }

    .hero-title-line:nth-child(3) {
        animation-delay: 0.6s;
    }

    .hero-title-line.highlight {
        color: var(--color-highlight);
    }

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s backwards;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1s backwards;
}

.btn-hero {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-white);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    border-radius: 4px;
    transition: var(--transition-fast);
}

    .btn-hero:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
    }

.btn-hero-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: var(--color-white);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    border: 2px solid var(--color-white);
    border-radius: 4px;
    transition: var(--transition-fast);
}

    .btn-hero-secondary:hover {
        background-color: var(--color-white);
        color: var(--color-primary);
        transform: translateY(-3px);
    }

.hero-scroll {
    position: absolute;
    bottom: -8rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
}

.scroll-indicator {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-white), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* === GENERAL SECTIONS === */
.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-highlight);
    margin-bottom: 1rem;
}

.section-title, .section-title-center {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.section-title-center {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.section-header-center {
    text-align: center;
    margin-bottom: 4rem;
}

/* === INTRO & STATS === */
.intro-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.intro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background-color: var(--color-light-gray);
    border-radius: 8px;
    transition: var(--transition-medium);
    margin: auto;
    align-items: center;
    text-align: center;
}

    .stat-item:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-light);
    letter-spacing: 0.02em;
}

/* === TECHNOLOGY SECTION === */
.technology-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-light-gray);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tech-card {
    background-color: var(--color-white);
    padding: 3rem 2rem;
    border-radius: 8px;
    transition: var(--transition-medium);
    text-align: center;
}

    .tech-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

.tech-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--color-highlight);
}

    .tech-icon svg {
        width: 100%;
        height: 100%;
    }

.tech-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.tech-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text-light);
}

/* === APPLICATIONS SECTION === */
.applications-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-white);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.app-card {
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
}

    .app-card:hover {
        box-shadow: var(--shadow-xl);
        transform: translateY(-8px);
    }

.app-image {
    position: relative;
    width: 100%;
    padding-top: 66.67%;
    overflow: hidden;
    background-color: var(--color-medium-gray);
}

    .app-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition-slow);
    }

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

.app-overlay {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 2;
}

.app-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--color-white);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.app-content {
    padding: 2rem;
}

.app-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.app-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.app-features {
    list-style: none;
    padding: 0;
}

    .app-features li {
        font-size: 0.95rem;
        color: var(--color-text-light);
        padding-left: 1.5rem;
        position: relative;
        margin-bottom: 0.7rem;
    }

        .app-features li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--color-highlight);
            font-weight: 700;
        }

/* === PROJECTS SECTION === */
.projects-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-primary);
}

    .projects-section .section-label,
    .projects-section .section-title-center {
        color: var(--color-white);
    }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    grid-auto-rows: 280px;
}

.project-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-medium);
    background-color: #000;
}

    .project-item.large {
        grid-column: span 4;
        grid-row: span 1;
    }

    .project-item:not(.large) {
        grid-column: span 4;
        grid-row: span 1;
    }

.project-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 50%);
    opacity: 0;
    transition: var(--transition-medium);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

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

.project-info {
    color: var(--color-white);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.project-item:hover .project-info {
    transform: translateY(0);
}

.project-category {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-highlight);
    margin-bottom: 0.5rem;
    display: block;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-description {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* === WHY SECTION === */
.why-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-light-gray);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.why-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.why-item {
    display: flex;
    gap: 1.5rem;
}

.why-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 4px;
}

.why-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.why-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

.why-image-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

    .why-image-wrapper img {
        width: 100%;
        height: auto;
    }

/* === STRENGTHS SECTION === */
.strengths-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-white);
    overflow: hidden;
}

.strengths-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-top: 4rem;
    position: relative;
}

.strengths-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 5rem;
    flex: 1;
    max-width: 280px;
    z-index: 2;
}

.strengths-center {
    flex: 0 0 auto;
    width: 340px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mesh-image-container {
    width: 100%;
    height: 500px;
    background: radial-gradient(circle at center, var(--color-light-gray) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.mesh-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.strength-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-medium);
}

    .strength-item:hover {
        transform: translateY(-5px);
    }

.strength-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-medium-gray);
    color: var(--color-text);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .strength-icon svg {
        width: 32px;
        height: 32px;
        stroke-width: 1.5;
        transition: var(--transition-medium);
        z-index: 2;
    }

.strength-item:hover .strength-icon {
    border-color: var(--color-highlight);
    color: var(--color-highlight);
    box-shadow: 0 8px 25px rgba(0, 173, 239, 0.25);
}

.strength-item h4 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.3;
    transition: var(--transition-fast);
}

.strength-item:hover h4 {
    color: var(--color-highlight);
}

/* Săgețile */
.arrow-left, .arrow-right {
    position: absolute;
    top: 50%;
    width: 100px;
    height: 40px;
    color: var(--color-highlight);
    opacity: 0.6;
    z-index: 1;
}

.arrow-left {
    left: -110px;
    transform: translateY(-50%) rotate(-10deg);
}

.arrow-right {
    right: -110px;
    transform: translateY(-50%) rotate(10deg);
}

/* === ECO/SUSTAINABILITY SECTION (COMPLETE) === */
.eco-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-secondary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

    .eco-section::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        height: 100%;
        background: radial-gradient(circle at top right, rgba(0, 173, 239, 0.05), transparent 60%);
        pointer-events: none;
    }

.eco-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.eco-content .section-title {
    color: var(--color-white);
}

.eco-content .section-text {
    color: var(--color primary);
    margin-bottom: 2rem;
}

/* Badges & Details */
.eco-badges {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.eco-badge {
    border-left: 3px solid var(--color-highlight);
    padding-left: 1rem;
}

.badge-title {
    display: block;
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.badge-desc {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.section-text-small {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.check-icon {
    width: 18px;
    height: 18px;
    color: var(--color-highlight);
}

/* Eco Stats Grid */
.eco-stats-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.eco-card {
    background: var(--color-white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(20, 38, 93, 0.1);
    padding: 1.25rem;
    border-radius: 12px;
    transition: var(--transition-medium);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    max-width: 100% !important;
}

    .eco-card.highlight {
        grid-column: span 2;
        background: rgba(20, 38, 93, 0.05) 0%, rgba(255,255,255,1) 100%);
        border-color: rgba(20, 38, 93, 0.2);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .eco-card:hover {
        transform: translateY(-5px);
        border-color: var(--color-highlight);
        box-shadow: 0 15px 35px rgba(20, 38, 93, 0.1);
    }

.eco-icon {
    color: var(--color-highlight);
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

.eco-card.highlight .eco-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0;
    margin-right: 1.5rem;
}

.eco-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
}

.eco-unit {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-highlight);
    letter-spacing: 0.05em;
}

.eco-label {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-primary);
}

.eco-note {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.eco-card.highlight .eco-data {
    flex: 1;
}

/* === PRESENCE SECTION (DESKTOP) === */
.presence-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
    overflow: hidden;
}

.presence-wrapper {
    display: flex;
    height: 500px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    gap: 0;
}

.presence-item {
    position: relative;
    flex: 1;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    /* FIX PENTRU SAFARI / iOS */
    -webkit-transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1), -webkit-flex 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1), flex-grow 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    border-right: 1px solid rgba(255,255,255,0.2);
}

    .presence-item:last-child {
        border-right: none;
    }

.presence-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.7);
    transform: scale(1.05);
    transition: all 0.7s ease;
}

.presence-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.presence-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.presence-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1rem;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.presence-country {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-white);
    margin-bottom: 0;
    transform-origin: left bottom;
    transition: all 0.5s ease;
    white-space: nowrap;
}

.presence-details {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(20px);
    transition: all 0.5s ease 0.1s;
}

.project-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-highlight);
    margin-bottom: 0.2rem;
}

.project-tag {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Hover Interaction Desktop */
.presence-item:hover, .presence-item.active {
    flex: 3;
}

    .presence-item:hover .presence-bg, .presence-item.active .presence-bg {
        filter: grayscale(0%) brightness(1);
        transform: scale(1);
    }

    .presence-item:hover .presence-country, .presence-item.active .presence-country {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .presence-item:hover .presence-details, .presence-item.active .presence-details {
        height: auto;
        opacity: 1;
        transform: translateY(0);
    }

    .presence-item:hover .presence-number, .presence-item.active .presence-number {
        color: var(--color-highlight);
    }

/* === CTA SECTION === */
.cta-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    text-align: center;
}

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

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

.cta-text {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-block;
    padding: 1.25rem 3rem;
    background-color: var(--color-white);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    border-radius: 4px;
    transition: var(--transition-fast);
}

    .btn-cta-primary:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-xl);
    }

.btn-cta-secondary {
    display: inline-block;
    padding: 1.25rem 3rem;
    background-color: transparent;
    color: var(--color-white);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    border: 2px solid var(--color-white);
    border-radius: 4px;
    transition: var(--transition-fast);
}

    .btn-cta-secondary:hover {
        background-color: var(--color-white);
        color: var(--color-primary);
        transform: translateY(-3px);
    }

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: var(--color-highlight);
}

    .contact-icon svg {
        width: 100%;
        height: 100%;
    }

.contact-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-primary);
}

    .contact-value:hover {
        color: var(--color-highlight);
    }

.contact-form-wrapper {
    background-color: var(--color-light-gray);
    padding: 3rem;
    border-radius: 12px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-input {
    padding: 1rem;
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-white);
    border: 2px solid transparent;
    border-radius: 4px;
    transition: var(--transition-fast);
    width: 100%;
}

    .form-input:focus {
        outline: none;
        border-color: var(--color-highlight);
    }

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

select.form-input {
    cursor: pointer;
}

.btn-submit {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-white);
    background-color: var(--color-primary);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
}

    .btn-submit:hover {
        background-color: var(--color-highlight);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

/* === FOOTER (COMPLETE) === */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo .logo-text {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition-fast);
}

    .social-link:hover {
        background-color: var(--color-highlight);
        transform: translateY(-3px);
    }

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

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    transition: var(--transition-fast);
}

    .footer-links a:hover {
        color: var(--color-highlight);
        padding-left: 0.5rem;
    }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: -150px; 
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95); 
    color: #fff;
    padding: 15px 20px;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.2);
    z-index: 99999; 
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Clasa adăugată de JavaScript după 2 secunde */
.cookie-banner.show {
    bottom: 0; 
}

.cookie-content {
    max-width: 1000px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ddd;
}

.cookie-content a {
    color: #ffffff; 
    text-decoration: underline;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.cookie-content a:hover {
    opacity: 0.8; 
}

.cookie-buttons {
    flex-shrink: 0; 
}

.btn-cookie-accept {
    background-color: var(--color-primary); 
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-cookie-accept:hover {
    background-color: #fff;
    color: var(--color-primary);
}

/* Adaptare pentru mobil */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .btn-cookie-accept {
        width: 100%;
    }
}

/* ============================================================
   MOBILE OPTIMIZATION MASTER
   All mobile-specific styles consolidated here
   ============================================================ */

@media (max-width: 968px) {

    /* 1. GENERAL LAYOUT RESETS */
    .container, .container-fluid {
        padding: 0 1.5rem;
    }

    section {
        padding: 4rem 0;
    }

    .section-title, .section-title-center {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    /* 2. NAVIGATION (GLASSMORPHISM & FIXES) */
    .nav-toggle {
        display: block;
        z-index: 10001; 
        position: relative;
        cursor: pointer;
    }

        .nav-toggle span {
            display: block;
            width: 25px;
            height: 3px;
            background-color: #ffffff;
            margin-bottom: 5px;
            transition: all 0.3s ease-in-out;
            border-radius: 2px;
        }

        /* Hamburger animation to X */
        .nav-toggle.open span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 6px);
        }

        .nav-toggle.open span:nth-child(2) {
            opacity: 0;
        }

        .nav-toggle.open span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -6px);
        }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -1; 
        width: 100%;
        height: 100vh;
        
        transform: translateX(100%);
        /* === DESIGN ELEGANT (Păstrat) === */
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 10000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        
        transition: transform 0.4s ease-in-out;
    }

      
        .nav-menu.active {
            transform: translateX(0);
        }

        .nav-menu li {
            margin: 1rem 0;
            opacity: 0; /* Pentru animație */
            transform: translateY(20px);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .nav-menu.active li {
            opacity: 1;
            transform: translateY(0);
        }

            /* Animation delays */
            .nav-menu.active li:nth-child(1) {
                transition-delay: 0.1s;
            }

            .nav-menu.active li:nth-child(2) {
                transition-delay: 0.2s;
            }

            .nav-menu.active li:nth-child(3) {
                transition-delay: 0.3s;
            }

            .nav-menu.active li:nth-child(4) {
                transition-delay: 0.4s;
            }

            .nav-menu.active li:nth-child(5) {
                transition-delay: 0.5s;
            }

    .nav-cta {
        margin-right: 1.5rem;
    }

        .nav-cta .btn-primary {
            padding: 0.6rem 1rem;
            font-size: 0.8rem;
        }

    /* 3. HERO ADJUSTMENTS */
    .hero {
        min-height: 600px; 
        min-height: -webkit-fill-available;
    }

    .hero-title {
        font-size: clamp(2.5rem, 7vw, 4rem);
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-hero, .btn-hero-secondary {
        width: 100%;
        text-align: center;
    }

    /* 4. GRID RESETS (SINGLE COLUMN) */
    .intro-grid,
    .tech-grid,
    .applications-grid,
    .contact-grid,
    .eco-grid,
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    /* 5. SPECIFIC FIX: WHY SECTION */
    .why-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 2rem;
    }

    .why-content {
        padding: 0 1rem;
    }

    .why-item {
        justify-content: flex-start;
        text-align: left;
    }

    /* 6. SPECIFIC FIX: PROJECTS */
    .projects-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .project-item, .project-item.large {
        grid-column: auto;
        grid-row: auto;
        height: 250px;
    }

    .project-overlay {
        opacity: 1;
    }

    .project-info {
        transform: translateY(0) !important;
        padding-bottom: 0.5rem;
    }

    /* Always visible on mobile */

    /* 7. SPECIFIC FIX: STRENGTHS */
    .strengths-container {
        flex-direction: column;
        gap: 3rem;
        margin-top: 2rem;
    }

    .strengths-col {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }

    .strengths-center {
        order: -1;
    }

    .arrow-left, .arrow-right {
        display: none;
    }

    .strength-item {
        width: 45%;
    }

    /* 8. SPECIFIC FIX: ECO SECTION */
    .eco-badges {
        flex-direction: column;
        gap: 1.5rem;
    }

    .eco-card.highlight {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

        .eco-card.highlight .eco-icon {
            margin-bottom: 1rem;
        }

    /* 9. SPECIFIC FIX: PRESENCE ACCORDION (VERTICAL) */
    .presence-wrapper {
        flex-direction: column;
        height: 850px; /* Height for 8 items vertical */
        width: 100%;
        margin-bottom: 2rem;
    }

    .presence-item {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.3);
        flex: 1;
        -webkit-transition: flex 0.5s ease, -webkit-flex 0.5s ease;
        transition: flex 0.5s ease, flex-grow 0.5s ease;
    }

    .presence-content {
        padding: 0 1.5rem;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 1rem;
    }

    .presence-number {
        margin-bottom: 0;
        font-size: 1.1rem;
        opacity: 0.8;
    }

    .presence-country {
        font-size: 1.4rem !important;
        margin-bottom: 0 !important;
    }

    .presence-details {
        display: none;
    }

    /* Active State Mobile */
    .presence-item.active {
        flex: 8;
    }

        .presence-item.active .presence-content {
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-end;
            padding: 2rem;
        }

        .presence-item.active .presence-country {
            font-size: 2.5rem !important;
            margin-bottom: 0.5rem !important;
        }

        .presence-item.active .presence-details {
            display: block;
            opacity: 1;
            margin-top: 0.5rem;
        }

    .presence-bg {
        filter: grayscale(100%) brightness(0.4);
    }

    .presence-item.active .presence-bg {
        filter: grayscale(0%) brightness(1);
    }

    /* 10. FORMS & FOOTER */
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-links ul {
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    /* 11. iOS SAFARI SMOOTH SCROLL */
    body {
        -webkit-overflow-scrolling: touch;
    }

    input, textarea {
        font-size: 16px !important;
    }
    /* Prevents zoom */
}

/* === EXTRA SMALL SCREENS (Phones < 480px) === */
@media (max-width: 480px) {
    .nav-cta {
        display: none;
    }
    /* Hide big button on small phones */
    .strength-item {
        width: 100%;
    }

    .presence-wrapper {
        height: 750px;
    }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.5);
    }
}

/* === SECTIUNEA FAQ === */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Efect hover premium */
.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 45, 114, 0.08);
    border-color: rgba(0, 45, 114, 0.3);
    transform: translateY(-2px);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease, color 0.3s ease;
    font-family: inherit;
}

.faq-icon {
    font-size: 1.8rem;
    font-weight: 300;
    color: #002d72; 
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


.faq-item.active {
    border-color: #002d72;
}

.faq-item.active .faq-question {
    background: #f8fbff; 
    color: #002d72;
}

/* Rotește + în x */
.faq-item.active .faq-icon {
    transform: rotate(45deg); 
}

/* --- ANIMAȚIA ACORDEON --- */
.faq-answer {
    max-height: 0; 
    overflow: hidden;
    padding: 0 25px; 
    background: #f8fbff;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
    margin: 0;
    color: #444;
    line-height: 1.7;
    font-size: 1rem;
}

/* Deschide caseta când este activă */
.faq-item.active .faq-answer {
    max-height: 400px; 
    padding: 0 25px 25px 25px; 
}

/* --- SCROLLYTELLING ANIMATION STYLES --- */
.scroll-timeline-wrapper {
    position: relative;
    background-color: var(--color-bg-offwhite);
    height: 400vh; /* Înălțime pentru 4 pași de scroll */
}

.scroll-timeline-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.scroll-timeline-header {
    position: absolute;
    top: 12%;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.timeline-main-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--color-text-dark);
}

.bg-year {
    font-family: var(--font-display);
    font-size: clamp(6rem, 25vw, 18rem);
    color: var(--color-navy-exact);
    opacity: 0.04;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 1;
    user-select: none;
}

.step-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -30%);
    width: 90%;
    max-width: 600px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 5;
}

.step-content.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

.step-content h3 {
    font-size: 2.2rem;
    color: var(--color-navy-exact);
    margin-bottom: 1rem;
    font-weight: 600;
}

.vision-title {
    font-family: var(--font-display);
    font-size: 3rem !important;
}

.vision-desc {
    font-weight: 500;
    color: var(--color-text-dark) !important;
}

.progress-container {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 12vh;
    background: rgba(20, 38, 93, 0.1);
    z-index: 10;
}

.progress-bar-fill {
    width: 100%;
    background: var(--color-navy-exact);
    height: 0%;
    transition: height 0.1s linear;
}