/* ========================================
   CSS Variables & Reset
   ======================================== */

:root {
    /* Minimalistic Black & White Palette */
    --black: #000000;
    --white: #FFFFFF;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;

    /* Typography */
    --font-main: 'Heebo', sans-serif;
    --font-weight-light: 200;
    --font-weight-normal: 300;
    --font-weight-medium: 400;
    --font-weight-semibold: 500;

    /* Spacing */
    --section-padding: 120px;
    --container-max-width: 1400px;

    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

body {
    font-family: var(--font-main);
    font-weight: var(--font-weight-normal);
    color: var(--black);
    line-height: 1.6;
    direction: rtl;
    background: var(--white);
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    min-width: 100vw;
    position: relative;
    margin: 0;
    padding: 0;
}

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

.section {
    padding: var(--section-padding) 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.hidden {
    display: none !important;
}

/* ========================================
   Video Intro
   ======================================== */

.video-intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 1.5s ease;
    cursor: pointer;
}

.video-intro.fade-out {
    opacity: 0;
}

.video-intro.hidden {
    display: none;
}

.video-intro video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    animation: videoZoomOut 4s linear forwards;
}

@keyframes videoZoomOut {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(2);
    }
}

/* Tap to Start Button (Mobile) */
.tap-to-start-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.tap-to-start-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.tap-to-start-button {
    background: var(--white);
    color: var(--black);
    border: none;
    padding: 20px 40px;
    font-size: 18px;
    font-family: var(--font-main);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    border-radius: 0;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.tap-to-start-button:active {
    transform: scale(0.95);
    background: var(--gray-200);
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 9999 !important;
    transition: var(--transition);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--gray-200);
}

/* Navigation always visible - removed hide-on-scroll behavior for better UX */
.navbar.scroll-down,
.navbar.scroll-up {
    transform: translateY(0);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
}

.logo a {
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    color: var(--black) !important;
    text-decoration: none;
    letter-spacing: 3px;
    display: block;
}

.logo-main {
    display: block;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    letter-spacing: 3px;
    color: var(--black);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--black) !important;
    text-decoration: none;
    font-weight: var(--font-weight-normal);
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: inline-block;
    opacity: 1;
}

.nav-link:hover {
    opacity: 0.6;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 10001;
    position: relative;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--black) !important;
    transition: var(--transition);
    display: block;
    border-radius: 1px;
}

/* ========================================
   Hero Section with Sliding Panel
   ======================================== */

.hero {
    height: 100vh;
    width: 100%;
    max-width: 100vw;
    position: relative;
    overflow: hidden;
    background: var(--white);
}

/* Video Container - Made taller to scale video up */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 115vh;
}

/* Video Container */
.hero-videos-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-video-1 {
    z-index: 2;
    opacity: 1;
    animation: videoFade1 13.42s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.hero-video-2 {
    z-index: 1;
    opacity: 0;
    animation: videoFade2 13.42s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    min-width: 100%;
    min-height: 100%;
}

/* Video crossfade animations - synced with panel slide, includes blur */
/* Transition happens at exactly 50% (video 1 ends) and 100% (video 2 ends, loops to video 1) */
@keyframes videoFade1 {
    0% {
        opacity: 1;
        z-index: 2;
        filter: blur(0px);
    }
    47% {
        opacity: 1;
        z-index: 2;
        filter: blur(0px);
    }
    49% {
        opacity: 1;
        z-index: 2;
        filter: blur(10px);
    }
    50% {
        opacity: 0;
        z-index: 1;
        filter: blur(12px);
    }
    51% {
        opacity: 0;
        z-index: 1;
        filter: blur(10px);
    }
    52% {
        opacity: 0;
        z-index: 1;
        filter: blur(0px);
    }
    97% {
        opacity: 0;
        z-index: 1;
        filter: blur(0px);
    }
    99% {
        opacity: 0;
        z-index: 1;
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        z-index: 2;
        filter: blur(12px);
    }
}

@keyframes videoFade2 {
    0% {
        opacity: 0;
        z-index: 1;
        filter: blur(12px);
    }
    1% {
        opacity: 0;
        z-index: 1;
        filter: blur(10px);
    }
    2% {
        opacity: 0;
        z-index: 1;
        filter: blur(0px);
    }
    47% {
        opacity: 0;
        z-index: 1;
        filter: blur(0px);
    }
    49% {
        opacity: 0;
        z-index: 1;
        filter: blur(10px);
    }
    50% {
        opacity: 1;
        z-index: 2;
        filter: blur(12px);
    }
    51% {
        opacity: 1;
        z-index: 2;
        filter: blur(10px);
    }
    52% {
        opacity: 1;
        z-index: 2;
        filter: blur(0px);
    }
    97% {
        opacity: 1;
        z-index: 2;
        filter: blur(0px);
    }
    99% {
        opacity: 1;
        z-index: 2;
        filter: blur(10px);
    }
    100% {
        opacity: 0;
        z-index: 1;
        filter: blur(12px);
    }
}

/* Sliding White Panel */
.hero-sliding-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
    animation: slidePanel 18s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes slidePanel {
    0% {
        transform: translateX(0);
    }
    33% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-100%);
    }
    83% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Panel Content */
.hero-panel-content {
    text-align: center;
    max-width: 600px;
    padding: 60px;
    opacity: 0;
    animation: fadeInContent 1s ease 0.5s forwards;
}

@keyframes fadeInContent {
    to {
        opacity: 1;
    }
}

.hero-title {
    font-size: 56px;
    font-weight: var(--font-weight-light);
    color: var(--black);
    margin-bottom: 10px;
    letter-spacing: -2px;
    line-height: 1.2;
    white-space: nowrap;
}

.hero-secondary-title {
    font-size: 36px;
    font-weight: var(--font-weight-normal);
    color: var(--black);
    margin-bottom: 20px;
    letter-spacing: 0;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: var(--font-weight-normal);
    color: var(--gray-600);
    margin-bottom: 50px;
    letter-spacing: 0;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 18px 60px;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    font-weight: var(--font-weight-normal);
    font-size: 14px;
    letter-spacing: 2px;
    transition: var(--transition);
    border: 1px solid var(--black);
}

.cta-button:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ========================================
   Section Titles
   ======================================== */

.section-title {
    font-size: 48px;
    font-weight: var(--font-weight-light);
    color: var(--black);
    margin-bottom: 40px;
    letter-spacing: -1px;
    text-align: center;
}

/* ========================================
   About Section
   ======================================== */

.about {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-lead {
    font-size: 20px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 30px;
    font-weight: var(--font-weight-normal);
    text-wrap: balance;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 20px;
    text-wrap: pretty;
}

.about-link {
    margin-top: 40px;
}

/* Legacy styles for grid layout (if needed) */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-bottom: 100px;
}

.about-text {
    padding-right: 40px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.value-item h3 {
    font-size: 18px;
    font-weight: var(--font-weight-medium);
    color: var(--black);
    margin-bottom: 15px;
    letter-spacing: 0;
}

.value-item p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
}

/* Team Section */

.team-section {
    border-top: 1px solid var(--gray-200);
    padding-top: 80px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    max-width: 800px;
    margin: 0 auto;
}

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

.team-photo {
    margin-bottom: 30px;
}

.team-photo img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 1px solid var(--gray-300);
    margin: 0 auto;
    display: block;
    transition: var(--transition);
}

.team-member:hover .team-photo img {
    border-color: var(--black);
}

.photo-placeholder {
    width: 180px;
    height: 180px;
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: var(--transition);
}

.photo-placeholder span {
    font-size: 48px;
    color: var(--gray-300);
    font-weight: var(--font-weight-light);
}

.team-member:hover .photo-placeholder {
    border-color: var(--black);
}

.team-member h3 {
    font-size: 18px;
    font-weight: var(--font-weight-medium);
    color: var(--black);
    margin-bottom: 8px;
}

.team-role {
    font-size: 14px;
    color: var(--gray-500);
    letter-spacing: 0;
    margin-bottom: 16px;
}

.team-summary {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600);
    max-width: 320px;
    margin: 0 auto;
}

.team-link {
    text-align: center;
    margin-top: 60px;
}

.cta-link {
    display: inline-block;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    color: var(--black);
    text-decoration: none;
    border-bottom: 1px solid var(--black);
    padding-bottom: 4px;
    transition: var(--transition);
}

.cta-link:hover {
    border-bottom-color: var(--gray-400);
    color: var(--gray-600);
}

/* ========================================
   About Page
   ======================================== */

.about-hero {
    padding: 160px 0 80px;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.page-title {
    font-size: 48px;
    font-weight: var(--font-weight-light);
    color: var(--black);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Our Way Section */

.our-way-section {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.our-way-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.our-way-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 25px;
    text-wrap: pretty;
}

/* Team Detailed Section */

.team-detailed-section {
    padding: var(--section-padding) 0;
}

.team-detailed-card {
    max-width: 900px;
    margin: 0 auto 100px;
    padding-bottom: 100px;
    border-bottom: 1px solid var(--gray-200);
}

.team-detailed-card:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.team-detailed-header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.team-detailed-photo {
    flex-shrink: 0;
}

.team-detailed-photo img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border: 1px solid var(--gray-300);
}

.team-detailed-intro h2 {
    font-size: 32px;
    font-weight: var(--font-weight-medium);
    color: var(--black);
    margin-bottom: 8px;
}

.team-detailed-role {
    font-size: 16px;
    color: var(--gray-500);
    letter-spacing: 0;
}

.team-detailed-content {
    text-align: right;
}

.team-detailed-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 24px;
}

.team-detailed-philosophy {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.team-detailed-philosophy h3 {
    font-size: 22px;
    font-weight: var(--font-weight-medium);
    color: var(--black);
    margin-bottom: 20px;
}

.team-detailed-philosophy p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 16px;
}

/* Team CTA */

.team-cta {
    text-align: center;
    padding: 80px 0 0;
    max-width: 600px;
    margin: 0 auto;
}

.team-cta h2 {
    font-size: 32px;
    font-weight: var(--font-weight-light);
    color: var(--black);
    margin-bottom: 16px;
}

.team-cta p {
    font-size: 17px;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* ========================================
   Urban Signature Section
   ======================================== */

.urban-signature {
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
}

.signature-intro {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray-700);
}

.signature-diagram {
    max-width: 1000px;
    margin: 0 auto;
}

.circles-diagram,
.rectangles-diagram {
    width: 100%;
    height: auto;
}

.rectangles-diagram-mobile {
    display: none;
}

.rectangles-diagram-desktop {
    display: block;
}

.circle {
    fill: var(--gray-300);
    transition: var(--transition);
}

.rectangle {
    fill: rgba(0, 0, 0, 0.05);
    stroke: rgba(0, 0, 0, 0.2);
    stroke-width: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.rectangle:hover,
.rectangle-personal:hover,
.rectangle-planning:hover,
.rectangle-urban:hover {
    fill: rgba(255, 255, 255, 0.3);
    stroke: var(--black);
    stroke-width: 1;
}

.circle-planning {
    fill: #5BA3B8;
}

.circle-urban {
    fill: #7DAA92;
}

.circle-personal {
    fill: #F4845F;
}

.circle-label {
    font-size: 32px;
    fill: var(--white);
    font-weight: var(--font-weight-medium);
    font-family: var(--font-main);
}

.rectangle-label {
    font-size: 22px;
    fill: var(--gray-800);
    font-weight: 300;
    font-family: var(--font-main);
    pointer-events: none;
    transition: fill 0.3s ease;
}

.signature-label {
    font-size: 20px;
    fill: var(--black);
    font-weight: var(--font-weight-medium);
    font-family: var(--font-main);
}

/* Legacy Approach Styles (if needed elsewhere) */
.approach {
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
}

.approach-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

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

.approach-title {
    font-size: 36px;
    font-weight: var(--font-weight-light);
    color: var(--black);
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.approach-subtitle {
    font-size: 16px;
    font-style: italic;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.approach-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 40px;
}

.signature-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    padding: 30px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    font-size: 14px;
    color: var(--gray-700);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--black);
}

/* ========================================
   Values Section
   ======================================== */

.values {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.value-card:hover {
    background: var(--white);
    border-color: var(--black);
}

.value-card h3 {
    font-size: 18px;
    font-weight: var(--font-weight-medium);
    color: var(--black);
    margin-bottom: 15px;
    letter-spacing: 0;
}

.value-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600);
}

/* ========================================
   Selected Projects Section
   ======================================== */

.selected-projects {
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
}

.projects-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

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

.showcase-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--gray-200);
    margin-bottom: 20px;
    transition: var(--transition);
}

.showcase-image:hover {
    border-color: var(--black);
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.showcase-address {
    font-size: 15px;
    color: var(--gray-700);
    font-weight: var(--font-weight-normal);
}

.projects-link {
    text-align: center;
    margin-top: 60px;
}

/* ========================================
   Process Section
   ======================================== */

.process {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.process .section-title {
    text-align: center;
    margin-bottom: 80px;
}

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

.process-step {
    text-align: center;
    padding: 40px 20px;
    transition: var(--transition);
}

.step-number {
    font-size: 72px;
    font-weight: var(--font-weight-light);
    color: var(--gray-200);
    line-height: 1;
    margin-bottom: 30px;
}

.process-step:hover .step-number {
    color: var(--black);
}

.process-step h3 {
    font-size: 18px;
    font-weight: var(--font-weight-medium);
    color: var(--black);
    margin-bottom: 15px;
}

.process-step p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--gray-600);
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
}

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

.contact-info h2 {
    font-size: 42px;
    font-weight: var(--font-weight-light);
    color: var(--black);
    margin-bottom: 30px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.contact-lead {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 60px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.method-label {
    font-size: 12px;
    color: var(--gray-500);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-method a {
    font-size: 18px;
    color: var(--black);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.contact-method a:hover {
    border-bottom-color: var(--black);
}

/* Contact Form */

.contact-form-wrapper {
    background: var(--white);
    padding: 60px;
    border: 1px solid var(--gray-200);
}

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

.form-group label {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid var(--gray-300);
    font-family: var(--font-main);
    font-size: 16px;
    background: transparent;
    color: var(--black);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--black);
}

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

.form-consents {
    margin: 30px 0;
    padding: 20px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
}

.consent-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.consent-item:last-child {
    margin-bottom: 0;
}

.consent-item input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--black);
}

.consent-item label {
    font-size: 13px;
    line-height: 1.6;
    color: var(--gray-600);
    cursor: pointer;
    margin: 0;
    text-transform: none;
    letter-spacing: normal;
}

.submit-button {
    width: 100%;
    padding: 18px;
    background: var(--black);
    color: var(--white);
    border: 1px solid var(--black);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.submit-button:hover {
    background: var(--white);
    color: var(--black);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--white);
    color: var(--gray-600);
    padding: 80px 0 40px;
    border-top: 1px solid var(--gray-200);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 60px;
}

.footer-logo h3 {
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    color: var(--black);
    margin-bottom: 10px;
    letter-spacing: 4px;
}

.footer-logo p {
    font-size: 14px;
    color: var(--gray-500);
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-nav,
.footer-legal,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav h4,
.footer-legal h4,
.footer-contact h4 {
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    color: var(--black);
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-links a {
    font-size: 14px;
    color: var(--gray-600);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--black);
}

.footer-contact p {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--gray-500);
}

/* ========================================
   Cookie Banner
   ======================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-text p {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn-primary,
.cookie-btn-secondary {
    padding: 12px 24px;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--black);
    white-space: nowrap;
    letter-spacing: 1px;
}

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

.cookie-btn-primary:hover {
    background: var(--gray-800);
}

.cookie-btn-secondary {
    background: transparent;
    color: var(--black);
}

.cookie-btn-secondary:hover {
    background: var(--gray-100);
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive Design
   ======================================== */

/* Mobile menu overlay backdrop */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9998;
}

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

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        right: -300px;
        left: auto;
        top: 0;
        bottom: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        width: 250px;
        max-width: 65vw;
        height: 100dvh;
        max-height: 100vh;
        text-align: right;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--gray-200);
        padding: 80px 20px 40px 20px;
        gap: 0;
        z-index: 10000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.05);
        overflow-y: auto;
        overflow-x: hidden;
    }

    .nav-menu.active {
        right: 0;
        left: auto;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--gray-200);
    }

    .nav-link {
        display: block;
        padding: 16px 0;
        font-size: 15px;
    }

    .hamburger {
        display: flex;
        z-index: 10001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    .container {
        padding: 0 30px;
    }

    .nav-container {
        padding: 16px 30px;
    }

    .hero-title {
        font-size: 42px;
        margin-bottom: 8px;
    }

    .hero-secondary-title {
        font-size: 30px;
        margin-bottom: 18px;
    }

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

    .hero-panel-content {
        padding: 40px;
    }

    .hero-sliding-panel {
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }

    .section-title {
        font-size: 36px;
    }

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

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

    .team-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .value-card {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .value-card h3 {
        margin-bottom: 0;
    }

    .value-card p {
        display: none;
    }

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

    .showcase-image {
        height: 250px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    .cookie-content {
        flex-direction: column;
        gap: 20px;
    }

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

    .cookie-btn-primary,
    .cookie-btn-secondary {
        width: 100%;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 80px;
    }

    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 14px 20px;
    }

    .logo a {
        font-size: 13px;
        gap: 8px;
    }

    .logo-main,
    .logo-subtitle {
        font-size: 13px;
    }

    .hero-title {
        font-size: 20px;
        margin-bottom: 4px;
        letter-spacing: -1px;
    }

    .hero-secondary-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .hero-subtitle {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .hero-panel-content {
        padding: 20px 15px;
        max-width: 100%;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 11px;
        letter-spacing: 1px;
    }

    /* Videos cropped to left side on mobile with taller aspect ratio */
    .hero-video-wrapper {
        width: 100%;
        height: 100%;
    }

    .hero-video-1,
    .hero-video-2 {
        width: 100%;
        height: 100%;
    }

    .hero-video {
        object-position: center center;
        object-fit: cover;
    }

    /* Panel narrower on mobile and slides to left edge - taller for classic mobile aspect */
    .hero-sliding-panel {
        width: 45%;
        max-width: 45vw;
        height: 66.67vh;
        top: 0;
        right: 0;
        left: auto;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        animation: slidePanelMobile 18s cubic-bezier(0.4, 0, 0.2, 1) infinite;
        align-items: center;
        justify-content: center;
        padding-top: 0;
    }

    .hero {
        height: 66.67vh;
        min-height: auto;
    }

    .hero-video-container {
        height: 77vh;
    }

    @keyframes slidePanelMobile {
        0% {
            transform: translateX(0);
        }
        33% {
            transform: translateX(0);
        }
        50% {
            transform: translateX(-55vw);
        }
        83% {
            transform: translateX(-55vw);
        }
        100% {
            transform: translateX(0);
        }
    }

    .section-title {
        font-size: 28px;
    }

    .signature-intro {
        font-size: 16px;
    }

    .circle-label,
    .rectangle-label {
        font-size: 16px;
    }

    .signature-diagram {
        max-width: 100%;
        padding: 0 20px;
    }

    .rectangles-diagram-desktop {
        display: none;
    }

    .rectangles-diagram-mobile {
        display: block;
    }

    .signature-label {
        font-size: 16px;
    }

    .rectangle-label {
        font-size: 20px;
    }

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

    .photo-placeholder {
        width: 150px;
        height: 150px;
    }

    .signature-features {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Form Messages & Loading States
   ======================================== */

.form-message {
    display: none;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    text-align: center;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Submit button loading state */
.submit-button.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.submit-button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Field validation states */
.field-error {
    border-color: #dc3545 !important;
    background-color: #fff5f5;
}

.field-error:focus {
    outline-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Form accessibility improvements */
.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--black);
    outline-offset: 2px;
}

/* Mobile form message adjustments */
@media (max-width: 768px) {
    .form-message {
        padding: 15px;
        font-size: 14px;
        margin-bottom: 20px;
    }
}

/* ========================================
   Projects Page
   ======================================== */

.projects-hero {
    padding: 160px 0 80px;
    background: var(--white);
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.projects-section {
    padding: 60px 0 var(--section-padding);
    background: var(--white);
}

.projects-grid {
    display: grid;
    gap: 80px;
    margin-bottom: 100px;
}

.project-card {
    display: grid;
    grid-template-columns: 4fr 1fr;
    gap: 60px;
    align-items: start;
}

/* First project: Image Left (80%), Text Right (20%) */
.project-card:nth-child(1) {
    direction: ltr;
}

.project-card:nth-child(1) .project-content {
    direction: rtl;
}

/* Second project: Text Left (20%), Image Right (80%) - alternating layout */
.project-card:nth-child(2) {
    direction: rtl;
}

.project-card:nth-child(2) .project-content {
    direction: rtl;
}

/* Third project: Image Left (80%), Text Right (20%) */
.project-card:nth-child(3) {
    direction: ltr;
}

.project-card:nth-child(3) .project-content {
    direction: rtl;
}

/* Fourth project (coming soon): Text Left (20%), Image Right (80%) - alternating layout */
.coming-soon-section .project-card {
    direction: rtl;
}

.coming-soon-section .project-card .project-content {
    direction: rtl;
}

.project-image {
    width: 100%;
    aspect-ratio: 2/1;
    overflow: hidden;
    background: var(--gray-100);
    border-radius: 0;
}

/* All projects except the first one (Golan) should be 1:1 */
.projects-grid > .project-card:nth-child(2) .project-image,
.projects-grid > .project-card:nth-child(3) .project-image {
    aspect-ratio: 1/1;
}

/* Coming soon projects should also be 1:1 */
.coming-soon-section .project-card .project-image {
    aspect-ratio: 1/1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.coming-soon-section {
    margin-top: 100px;
    padding-top: 80px;
    border-top: 1px solid var(--gray-200);
}

.coming-soon-section .section-subtitle {
    font-size: 32px;
    font-weight: var(--font-weight-normal);
    color: var(--gray-500);
    margin-bottom: 60px;
    letter-spacing: -0.01em;
}

.project-card.coming-soon {
    opacity: 0.8;
}

.project-content {
    padding: 0;
}

.project-title {
    font-size: 48px;
    font-weight: var(--font-weight-normal);
    color: var(--black);
    margin: -8px 0 30px 0;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.project-stats {
    display: flex;
    flex-direction: row;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
    align-items: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-icon {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    max-width: 16px;
    max-height: 16px;
    color: var(--black);
    flex-shrink: 0;
    display: block;
}

.stat-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    white-space: nowrap;
}

.project-location {
    font-size: 16px;
    font-weight: var(--font-weight-normal);
    color: var(--gray-500);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 30px;
    text-align: justify;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.feature-tag:hover {
    background: var(--gray-200);
}

.projects-cta {
    text-align: center;
    padding: 80px 40px;
    background: var(--gray-100);
    max-width: 800px;
    margin: 0 auto;
}

.projects-cta h2 {
    font-size: 36px;
    font-weight: var(--font-weight-normal);
    color: var(--black);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.projects-cta p {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Projects Page Navigation Active State */
.nav-link.active {
    opacity: 1;
}

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

/* Responsive Design */
@media (max-width: 968px) {
    .project-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-card:nth-child(even) {
        direction: rtl;
    }

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

    .project-stats {
        gap: 15px;
        flex-wrap: nowrap;
    }

    .stat-icon {
        width: 14px;
        height: 14px;
        min-width: 14px;
        min-height: 14px;
        max-width: 14px;
        max-height: 14px;
    }

    .stat-value {
        font-size: 13px;
        font-weight: 600;
    }

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

@media (max-width: 768px) {
    /* Page Headers */
    .about-hero,
    .projects-hero {
        padding: 120px 20px 60px;
    }

    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    /* Team Section - Homepage */
    .team-section {
        padding-top: 60px;
    }

    .team-section .section-title {
        font-size: 32px;
        margin-bottom: 50px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        max-width: 100%;
    }

    .team-summary {
        font-size: 14px;
        max-width: 100%;
    }

    .team-link {
        margin-top: 50px;
    }

    /* Team Detailed - About Page */
    .team-detailed-card {
        margin-bottom: 80px;
        padding-bottom: 80px;
    }

    .team-detailed-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }

    .team-detailed-photo img {
        width: 140px;
        height: 140px;
    }

    .team-detailed-intro h2 {
        font-size: 28px;
    }

    .team-detailed-role {
        font-size: 15px;
    }

    .team-detailed-content p {
        font-size: 16px;
        line-height: 1.7;
    }

    .team-detailed-philosophy {
        margin-top: 30px;
        padding-top: 30px;
    }

    .team-detailed-philosophy h3 {
        font-size: 20px;
    }

    .team-detailed-philosophy p {
        font-size: 16px;
    }

    .team-cta {
        padding: 60px 0 0;
    }

    .team-cta h2 {
        font-size: 28px;
    }

    .team-cta p {
        font-size: 16px;
    }

    /* Projects */
    .projects-grid {
        gap: 60px;
        margin-bottom: 60px;
    }

    .project-card {
        gap: 30px;
    }

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

    .project-stats {
        gap: 12px;
        flex-wrap: nowrap;
    }

    .stat-icon {
        width: 12px;
        height: 12px;
        min-width: 12px;
        min-height: 12px;
        max-width: 12px;
        max-height: 12px;
    }

    .stat-value {
        font-size: 12px;
        font-weight: 600;
    }

    .project-description {
        font-size: 16px;
        line-height: 1.7;
    }

    .projects-cta {
        padding: 60px 30px;
    }

    .projects-cta h2 {
        font-size: 28px;
    }

    .projects-cta p {
        font-size: 16px;
    }
}
