
:root {
    --color-black: #060606;
    --color-gray: #A5A5A1;
    --color-dark-gray: #686863;
    --color-divider: #E3E2DD;
    --color-button: #D1242B;
    --color-white: #FFFFFF;
    --color-background: #FAFAFA;
    --color-light-gray: #F4F4F4;
    --font-primary: 'Hanken Grotesk', sans-serif;
    --font-size-base: 16px;
    --font-size-large: 18px;
    --font-size-heading: 64px;
    --line-height-base: 1.5em;
    --line-height-heading: 1.125em;
    --line-height-subheading: 1.444em;
    --transition-speed: 0.3s;
    --container-width: 1440px;
    --padding-x: 32px;
}
.Vertical-Line1 {
    width: 1px;
    height:50px; /* adjust as needed */
    background-color: #E3E2DE;
    margin: 0 1px; /* space around line */
}

.Vertical-Line {
    width: 1px;
    height: 88px; /* adjust as needed */
    background-color: #E3E2DE;
    margin: 0 1px; /* space around line */
}
/* Cross-browser vendor prefixes and fallbacks */
@media (max-width: 768px) {
    .Vertical-Line {
        display: none;
    }
    .Vertical-Line1 {
        display: none;
    }
}
@media (max-width: 540px) {
    body::before {
        display: none;
    }
}

/* body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: linear-gradient(to right, #E3E2DE 1px, transparent 1px);
    background-size: calc(100vw / 8) 100%;
    pointer-events: none;
    z-index: 1000;
}


.no-grid {
    position: relative;
    z-index: 1001;
} */

/* Cross-browser vendor prefixes and fallbacks */

@supports not (display: flex) {
    .Top-Menu,
    .Social-Media,
    .Nav-Menu,
    .Main-Nav,
    .Contact-Item,
    .Nav-Links,
    .CTA-Button {
        display: inline-block;
        vertical-align: middle;
    }
}

@supports not (--color-black: #060606) {
    /* Fallback for browsers that don't support CSS variables */
    .Header {
        background-color: #FFFFFF;
    }
    .Contact-Item span,
    .Nav-Link {
        color: #060606;
    }
    .CTA-Button {
        background-color: #D1242B;
    }
    .CTA-Button span {
        color: #FFFFFF;
    }
}

/* Reset Styles */

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

.Header {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-black);
    background-color: var(--color-background);
}

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

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

/* Header Styles */

.Header {
    width: 100%;
    border-bottom: 1px solid var(--color-divider);
    background-color: var(--color-white);
}

/* Top Menu Styles */

.Top-Menu {
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 0 var(--padding-x); */
    height: 56px;
    /* border-bottom: 1px solid var(--color-divider); */
    gap: 40px;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.Social-Media {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

.Social-Icon {
    width: 24px;
    height: 24px;
    transition: opacity var(--transition-speed);
}

.Social-Icon:hover {
    opacity: 0.8;
}

.Divider-Vertical {
    height: 24px;
}

.Divider-Horizontal {
    width: 1px;
}

.Nav-Menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    flex: 1;
}

.Top-Nav-Menu {
    margin-left: auto;
}

.Contact-Item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.Contact-Item img {
    width: 20px;
    height: 20px;
}

.Contact-Item span {
    color: var(--color-black);
}

/* Main Navigation Styles */

.Main-Nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding:5px var(--padding-x);
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    /* border-top: 1px solid var(--color-divider); */
}

.Logo {
    max-width: 150px;
    height: auto;
}

.Nav-Links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width:767px;
}

.Nav-Link {
    color: var(--color-black);
    transition: color var(--transition-speed);
    font-weight: 400;
}

.Nav-Link:hover {
    color: var(--color-button);
}

/* CTA Button Styles */

.CTA-Button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px 32px;
    background-color: var(--color-button);
    width: 185px;
    transition: background-color var(--transition-speed);
}

.CTA-Button span {
    color: var(--color-white);
}

.CTA-Button:hover {
    background-color: #b31f24;
    /* Slightly darker shade for hover */
}

/* Animation and Transition Styles */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    -webkit-transform: translateY(20px);
    -moz-transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    -webkit-transition: opacity 0.6s ease, -webkit-transform 0.6s ease;
    -moz-transition: opacity 0.6s ease, -moz-transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
}

/* Sticky Header Styles */

.Header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.Header.sticky {
    position: fixed;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: var(--color-white);
}

.Header.header-hidden {
    transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
}

/* Responsive Styles */

@media screen and (max-width: 1200px) {
    .Nav-Links {
        width: auto;
        margin: 0 6px;
        gap: 16px;
    }
    .Main-Nav {
        flex-wrap: wrap;
        /* gap: 16px; */
        /* justify-content: center; */
    }
    .Divider-Horizontal {
        display: none;
    }
}

@media screen and (max-width: 992px) {

    .Nav-Menu{
        gap:4px;
    }
    .Divider-Vertical {
        display: none;
    }
    .Contact-Item {
        margin: 4px 8px;
        justify-content: flex-start;
    }
    .Main-Nav {
        /* padding: 5px var(--padding-x); */
        /* flex-direction: column; */
        /* gap: 24px; */
    }
    .Logo {
        max-width: 130px;
    }
    .Nav-Links {
        /* gap: 24px; */
        /* margin: 0 6px; */
    }
    .CTA-Button {
        width: 100%;
        max-width: 150px;
        margin: 8px 0;
    }

}

@media screen and (max-width: 768px) {
    .Top-Menu {
        /* padding: 12px 16px; */
        display: none;
    }
        .Hero-Info{
        /* display: Inline; */
        flex-direction: column;
    }
    .Social-Media {
        width: 100%;
        justify-content: center;
        margin-bottom: 8px;
    }
    .Top-Nav-Menu {
        margin-left: 0;
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .Contact-Item {
        width: 100%;
        justify-content: flex-start;
    }
    .Main-Nav {
        padding: 16px;
        align-items: start;
        justify-content: inherit;
    }
    /* Mobile Navigation Styles */
    .Nav-Links {
        flex-direction: column;
        width: 100%;
        gap: 16px;
        align-items: flex-start;
        text-align: center;
        display: none;
        /* Hidden by default on mobile, shown via JavaScript */
        padding: 20px 0;
        margin-top: 15px;
        background-color: var(--color-white);
        border-top: 1px solid var(--color-divider);
    }
    .Nav-Links.active {
        display: flex;
    }
    .Nav-Link {
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid var(--color-divider);
        font-size: 18px;
    }
    /* Hamburger Menu Styles */
    .Mobile-Menu-Toggle {
        display: block;
        cursor: pointer;
        width: 30px;
        height: 24px;
        position: relative;
        margin: 8px 0;
    }
    .Mobile-Menu-Toggle span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: var(--color-black);
        border-radius: 3px;
        transition: all var(--transition-speed);
    }
        .CTA-Button{
display: none;
    }
}

.Mobile-Menu-Toggle span:nth-child(1) {
    top: 0;
}

.Mobile-Menu-Toggle span:nth-child(2) {
    top: 10px;
}

.Mobile-Menu-Toggle span:nth-child(3) {
    top: 20px;
}

.Mobile-Menu-Toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    top: 10px;
}

.Mobile-Menu-Toggle.active span:nth-child(2) {
    opacity: 0;
}

.Mobile-Menu-Toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    top: 10px;
}

.Mobile-Menu-Toggle {
    display: none;
}

@media screen and (max-width: 1000px) {
    .Mobile-Menu-Toggle {
        display: block;
        width: 30px;
        height: 25px;
        position: absolute;
        top: 40px;
        right: 20px;
        z-index: 1000;
    }
        .Hero-Info{
        flex-direction: column;
    }
    .Logo {
        /* align-items: start; */
        /* position: relative;
        right:12px ; */
        /* padding-top: 60px; */
        /* Make space for the toggle button */
    }
    /* Make sure nav links are hidden by default on mobile */
    .Nav-Links {
        display: none;
        width: 100%;
    }
    .Nav-Links.active {
        display: flex;
    }

}

















/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Red, Black, White Color Scheme */
    --primary-red: #dc2626;
    --primary-dark-red: #991b1b;
    --primary-light-red: #ef4444;
    --primary-black: #000000;
    --primary-white: #ffffff;
    --text-light: #f3f4f6;
    --text-muted: #d1d5db;
    --text-gray: #6b7280;
    --bg-overlay: rgba(0, 0, 0, 0.6);
    --glass-bg: rgba(220, 38, 38, 0.1);
    --glass-border: rgba(220, 38, 38, 0.3);
    --gradient-primary: linear-gradient(135deg, #dc2626, #991b1b);
    --gradient-secondary: linear-gradient(135deg, #ffffff, #f9fafb);
    --gradient-text: linear-gradient(135deg, #ffffff, #f3f4f6);
    --shadow-light: 0 4px 20px rgba(220, 38, 38, 0.15);
    --shadow-heavy: 0 8px 30px rgba(220, 38, 38, 0.25);
    --shadow-dark: 0 8px 30px rgba(0, 0, 0, 0.3);
    --border-radius: 12px;
    --border-radius-large: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s ease;
    --z-bg: 1;
    --z-overlay: 2;
    --z-floating: 3;
    --z-content: 10;
    --z-modal: 1000;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    overflow-x: hidden;
    line-height: 1.6;
    color: var(--primary-black);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: clamp(600px, 100vh, 900px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(1rem, 4vw, 2rem);
    color: #ffffff;
    background: #0f0f0f;
    overflow: hidden;
}

/* Background Image */
.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
    animation: slowZoom 20s ease-in-out infinite alternate;
    z-index: var(--z-bg);
}

/* Overlays */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-overlay);
    z-index: var(--z-bg);
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(220, 38, 38, 0.4) 0%,
        rgba(153, 27, 27, 0.3) 25%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(220, 38, 38, 0.2) 75%,
        rgba(153, 27, 27, 0.4) 100%
    );
    z-index: var(--z-overlay);
    animation: gradientShift 8s ease-in-out infinite;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-floating);
    pointer-events: none;
}

.float-circle,
.float-square {
    position: absolute;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    will-change: transform;
}

.float-circle {
    border-radius: 50%;
}

.float-1 {
    width: clamp(40px, 8vw, 80px);
    height: clamp(40px, 8vw, 80px);
    top: 15%;
    left: 10%;
    animation: float1 12s ease-in-out infinite;
}

.float-2 {
    width: clamp(30px, 6vw, 60px);
    height: clamp(30px, 6vw, 60px);
    top: 25%;
    right: 15%;
    animation: float2 15s ease-in-out infinite;
}

.float-3 {
    width: clamp(20px, 4vw, 40px);
    height: clamp(20px, 4vw, 40px);
    bottom: 30%;
    left: 20%;
    animation: float3 10s ease-in-out infinite;
}

.float-4 {
    width: clamp(25px, 5vw, 50px);
    height: clamp(25px, 5vw, 50px);
    top: 60%;
    right: 20%;
    transform: rotate(45deg);
    animation: float4 18s ease-in-out infinite;
}

.float-5 {
    width: clamp(15px, 3vw, 30px);
    height: clamp(15px, 3vw, 30px);
    bottom: 20%;
    right: 30%;
    transform: rotate(45deg);
    animation: float5 14s ease-in-out infinite;
}

/* Main Content */
.content {
    position: relative;
    z-index: var(--z-content);
    max-width: min(800px, 90vw);
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

/* Title */
.title {
    font-family: var(--font-primary);
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    animation: fadeInUp 1.2s ease both;
}

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

.title-line:nth-child(2) {
    animation-delay: 0.6s;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.desc {
    font-size: clamp(18px, 2.5vw, 22px);
    line-height: 1.7;
    margin-bottom: clamp(2rem, 5vw, 3rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.desc-line {
    display: block;
    animation: fadeInUp 1s ease both;
}

.desc-line:nth-child(1) {
    animation-delay: 0.8s;
}

.desc-line:nth-child(2) {
    animation-delay: 1s;
}

/* CTA Buttons */
.cta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
    animation: fadeInUp 1s ease 1.2s both;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient-secondary);
    color: var(--primary-black);
    text-decoration: none;
    padding: clamp(0.875rem, 2vw, 1rem) clamp(2rem, 4vw, 2.5rem);
    font-size: clamp(1rem, 2.2vw, 1.1rem);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    min-height: 48px;
    min-width: 120px;
    touch-action: manipulation;
    /* removed red border for minimalist style */
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    transition: left 0.6s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    background: var(--gradient-primary);
    color: var(--primary-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-btn:active {
    transform: none;
    transition: transform 0.1s ease;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

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

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(2rem, 6vw, 4rem);
    animation: fadeInUp 1s ease 1.4s both;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    opacity: 0;
    transform: translateY(20px);
    animation: statFadeIn 0.8s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 1.6s; }
.stat-item:nth-child(3) { animation-delay: 1.8s; }
.stat-item:nth-child(5) { animation-delay: 2.0s; }

.stat-number {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    transition: var(--transition-smooth);
}

.stat-label {
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    text-align: center;
}

.stat-divider {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
    opacity: 0.6;
    animation: dividerFadeIn 0.8s ease 1.9s forwards;
    transform: scaleY(0);
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: clamp(1rem, 3vw, 2rem);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: var(--z-content);
    animation: fadeInUp 1s ease 1.6s both;
}

.scroll-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-text {
    font-size: clamp(0.7rem, 1.5vw, 0.75rem);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* Featured Projects Section */
.featured-projects {
    padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 4vw, 2rem);
    background: var(--primary-white);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(3rem, 8vw, 5rem);
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Project Cards */
.project-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    transition: var(--transition-smooth);
    cursor: pointer;
    height: clamp(340px, 26vw, 420px);
    opacity: 0;
    transform: translateY(30px);
    animation: cardFadeIn 0.6s ease forwards;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }

.project-card.featured {
    /* removed red border for featured card */
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(220, 38, 38, 0.2);
}

.card-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

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

.card-category {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    color: var(--primary-white);
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    font-size: clamp(10px, 3.2vw, 12px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

/* Card Overlay */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.1) 30%,
        rgba(0, 0, 0, 0.6) 70%,
        rgba(0, 0, 0, 0.9) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: clamp(1.5rem, 3vw, 2rem);
    opacity: 1;
    transition: var(--transition-smooth);
}

/* Reveal control class set by JS */
.project-card .card-overlay,
.project-card .card-content { opacity: 0; transform: translateY(10px); }
.project-card.show-text .card-overlay,
.project-card.show-text .card-content { opacity: 1; transform: translateY(0); }

/* Desktop hover also reveals */
@media (min-width: 1025px) {
    .project-card:hover .card-overlay,
    .project-card:hover .card-content { opacity: 1; transform: translateY(0); }
}

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

.card-content {
    width: 100%;
    color: var(--primary-white);
    transform: translateY(0);
    transition: transform 0.4s ease 0.1s;
}

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

.card-title {
    font-family: var(--font-primary);
    font-size: clamp(20px, 6vw, 28px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: var(--primary-white);
}

.card-location {
    font-size: clamp(12px, 3.5vw, 14px);
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
}

.card-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.card-stat-label {
    font-size: clamp(11px, 3.2vw, 12px);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.card-stat-value {
    font-size: clamp(12px, 3.5vw, 14px);
    font-weight: 700;
    color: var(--primary-white);
}

.card-stat-value.positive {
    color: #22c55e;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-red);
    color: var(--primary-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: clamp(12px, 3.4vw, 14px);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
    position: relative;
    z-index: 10;
}

.card-btn:hover {
    background: var(--primary-dark-red);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    padding: clamp(1rem, 4vw, 2rem);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: relative;
    background: var(--primary-white);
    border-radius: var(--border-radius-large);
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: var(--transition-smooth);
    margin: 1rem;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-red);
    color: var(--primary-white);
}

.modal-content {
    padding: clamp(2.5rem, 5vw, 3.5rem);
}

.modal-title {
    font-family: var(--font-primary);
    font-size: clamp(28px, 6vw, 48px);
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 0.75rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.modal-location {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.modal-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    padding: clamp(1rem, 3vw, 2rem);
    background: #f8fafc;
    border-radius: var(--border-radius);
    border: 1px solid #e2e8f0;
}

.modal-stat {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
}

.modal-stat-label {
    font-size: clamp(12px, 2.5vw, 14px);
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.modal-stat-value {
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 800;
    color: var(--primary-black);
    line-height: 1.1;
}

.modal-stat-value.positive {
    color: var(--primary-red);
}

.modal-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(0.9rem, 3vw, 1.5rem) clamp(1rem, 4vw, 2rem);
    background: var(--primary-red);
    color: var(--primary-white);
    border-radius: var(--border-radius);
    margin-bottom: 0;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
    flex-wrap: nowrap;
}

.modal-timeline-label {
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.modal-timeline-value {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    font-weight: 700;
}

.modal-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--primary-white);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 25px;
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
    width: 100%;
}

.modal-close-btn:hover {
    background: var(--primary-dark-red);
    transform: translateY(-2px);
}

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

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

@keyframes slowZoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

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

@keyframes dividerFadeIn {
    to {
        transform: scaleY(1);
    }
}

@keyframes float1 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(-180deg);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(-25px) rotate(225deg);
    }
}

@keyframes float4 {
    0%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(-18px) rotate(225deg);
    }
}

@keyframes float5 {
    0%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(-22px) rotate(405deg);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(1rem, 3vw, 2rem);
    }
    .project-card { height: clamp(320px, 35vw, 400px); }
    
    .stat-divider {
        display: block;
    }
    .card-stats {
        display: flex;
        gap: 1.5rem;
        margin-bottom: 2.75rem;
    }
    
}
@media (min-width: 1400px) {

    .card-stats {
        display: flex;
        gap: 1.5rem;
        margin-bottom: 2.75rem;
    }
    
}
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: clamp(1rem, 4vw, 2rem);
    }
    .project-card { height: clamp(280px, 60vw, 420px); }
    
    .stats {
        gap: clamp(2rem, 6vw, 3rem);
    }
    
    .stat-divider {
        display: none;
    }
    
    .modal-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modal-timeline { flex-direction: row; gap: 1rem; text-align: left; }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        padding: 1rem;
    }
    
    .floating-elements {
        display: none;
    }
    
    .project-card {
        height: 350px;
    }
    
    .card-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Modal improvements for mobile */
    .modal-container {
        max-width: 95vw;
        max-height: 90vh;
        margin: 0.5rem;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
    }
    
    .modal-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .modal-timeline {
        padding: 1rem 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .modal-timeline-label {
        font-size: 0.8rem;
    }
    
    .modal-timeline-value {
        font-size: 1rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --glass-bg: rgba(220, 38, 38, 0.2);
        --glass-border: rgba(220, 38, 38, 0.5);
        --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.3);
        --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.4);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-elements {
        display: none;
    }
}

/* Focus indicators for accessibility */
.cta-btn:focus,
.card-btn:focus,
.modal-close:focus,
.modal-close-btn:focus {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .floating-elements,
    .scroll-indicator {
        display: none;
    }
    
    .hero {
        height: auto;
        min-height: auto;
    }
    
    .project-card {
        break-inside: avoid;
    }
}





.home-sec8-footer-section {
            background-color: #F4F4F4;
            padding: 80px 104px 40px;
            overflow: hidden;
        }

        .home-sec8-footer-container {
            /* max-width: 1312px; */
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 50px;
            overflow: hidden;
        }

        .home-sec8-footer-header {
            width: 100%;
            text-align: center;
            overflow: hidden;
            position: relative;
            height: 200px;
        }

        .home-sec8-footer-main-title {
            font-family: var(--font-primary);
            font-weight: 800;
            font-size: 152px;
            line-height: 1.05;
            letter-spacing: -0.04em;
            text-transform: uppercase;
            color: #E3E2DD;
            margin: 0;
            white-space: nowrap;
            display: inline-block;
            animation: marquee 30s linear infinite;
            position: absolute;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
            width: max-content;
        }

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

        .home-sec8-footer-content {
            display: flex;
            justify-content: center;
            gap: 80px;
            flex-wrap: wrap;
            max-width: 800px;
            margin: 0 auto;
        }

        .home-sec8-footer-column {
            display: flex;
            flex-direction: column;
            gap: 24px;
            min-width: 200px;
        }

        .home-sec8-footer-column:first-child {
            width: 230px;
        }

        .home-sec8-footer-column:nth-child(2) {
            width: 144px;
        }

        .home-sec8-footer-column.newsletter {
            width: 270px;
            height: 128px;
        }

        .home-sec8-footer-column-title {
            font-family: var(--font-primary);
            font-weight: 800;
            font-size: 24px;
            line-height: 1.33;
            letter-spacing: -0.04em;
            text-transform: uppercase;
            color: #060606;
            margin: 0;
        }

        .home-sec8-footer-contact-info {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .home-sec8-contact-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .home-sec8-contact-icon {
            width: 16px;
            height: 16px;
            fill: #E3E2DD;
        }

        .home-sec8-contact-text {
            font-family: var(--font-primary);
            font-weight: 400;
            font-size: 16px;
            line-height: 1.5;
            color: #060606;
        }

        .home-sec8-footer-links {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .home-sec8-footer-link {
            font-family: var(--font-primary);
            font-weight: 400;
            font-size: 16px;
            line-height: 1.5;
            color: #060606;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .home-sec8-footer-link:hover {
            color: #D1242B;
        }

        .home-sec8-newsletter-form {
            display: flex;
            align-items: center;
            border-bottom: 1px solid #E3E2DD;
            padding: 24px 0;
            gap: 8px;
        }

        .home-sec8-newsletter-input {
            flex: 1;
            background: transparent;
            border: none;
            outline: none;
            font-family: var(--font-primary);
            font-weight: 400;
            font-size: 16px;
            line-height: 1.5;
            color: #686863;
        }

        .home-sec8-newsletter-input::placeholder {
            color: #686863;
        }

        .home-sec8-newsletter-btn {
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 4px;
            transition: opacity 0.3s ease;
        }

        .home-sec8-newsletter-btn:hover {
            opacity: 0.7;
        }

        .home-sec8-newsletter-arrow {
            width: 16px;
            height: 16px;
            stroke: #060606;
            stroke-width: 1;
        }

        .home-sec8-footer-bottom {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 40px;
            flex-wrap: wrap;
        }

        .home-sec8-footer-logo-container {
            display: flex;
            justify-content: center;
            margin: 0 auto 40px;
        }

        .home-sec8-footer-logo-img {
            height: 150px;
            width: auto;
            border-radius: 4px;
        }

        .home-sec8-footer-copyright {
            width: 100%;
            text-align: center;
        }

        .home-sec8-footer-copyright p {
            font-family: var(--font-primary);
            font-weight: 400;
            font-size: 16px;
            line-height: 1.5;
            color: #000000;
            margin: 0;
        }

        /* Mobile Footer Design */
        @media (max-width: 768px) {
            .home-sec8-footer-section {
                padding: 40px 20px 24px;
                overflow: hidden;
            }
            
            .home-sec8-footer-container {
                gap: 40px;
                overflow: hidden;
            }
            
            .home-sec8-footer-header {
                height: 120px;
            }
            
            .home-sec8-footer-main-title {
                font-size: 64px;
                line-height: 1.1;
                animation-duration: 20s;
            }
            
            .home-sec8-footer-logo-container {
                margin: 0 auto 32px;
            }
            
            .home-sec8-footer-logo-img {
                height: 80px;
            }
            
            .home-sec8-footer-content {
                flex-direction: column;
                gap: 32px;
                max-width: 100%;
            }
            
            .home-sec8-footer-column,
            .home-sec8-footer-column:first-child,
            .home-sec8-footer-column:nth-child(2),
            .home-sec8-footer-column.newsletter {
                width: 100%;
                height: auto;
            }
            
            .home-sec8-footer-bottom {
                gap: 20px;
            }
        }
        
        @media (max-width: 480px) {
            .home-sec8-footer-section {
                padding: 32px 16px 20px;
            }
            
            .home-sec8-footer-container {
                gap: 32px;
            }
            
            .home-sec8-footer-header {
                height: 80px;
            }
            
            .home-sec8-footer-main-title {
                font-size: 48px;
                line-height: 1.1;
                animation-duration: 15s;
            }
            
            .home-sec8-footer-logo-container {
                margin: 0 auto 24px;
            }
            
            .home-sec8-footer-logo-img {
                height: 60px;
            }
            
            .home-sec8-footer-column-title {
                font-size: 20px;
            }
            
            .home-sec8-contact-text,
            .home-sec8-footer-link {
                font-size: 14px;
            }
            
            .home-sec8-newsletter-input {
                font-size: 14px;
            }
            
            .home-sec8-footer-copyright p {
                font-size: 14px;
            }
        }
        
        /* Large Screen Optimization */
        @media (min-width: 1400px) {
            .home-sec8-footer-main-title {
                font-size: 180px;
                animation-duration: 40s;
            }
            
            .home-sec8-footer-logo-img {
                height: 180px;
            }
            
        }
        @media (min-width: 1200px) {
            
        .home-sec8-footer-content {
            max-width: 1000px;
            gap: 80px;
        }
    }