/* ====================================
   VARIABLES & SETUP
   ==================================== */
:root {
    --primary: #0E1A2B;
    --accent: #E5A81B;
    --bg-light: #F7F7F5;
    --secondary: #1F2937;
    --light-grey: #ECECEC;
    --white: #FFFFFF;
    
    --font-primary: 'General Sans', sans-serif;
    
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
}

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

html {
    scroll-behavior: initial; /* Lenis handles smooth scroll */
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-light);
    color: var(--primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5vw;
}

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

/* Custom Cursor */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(229,168,27,0.15) 0%, rgba(229,168,27,0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s;
    mix-blend-mode: screen;
}

/* ====================================
   NAVIGATION
   ==================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 1000;
    mix-blend-mode: difference;
    color: var(--white);
    transition: padding 0.4s ease, background 0.4s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(14, 26, 43, 0.95);
    backdrop-filter: blur(10px);
    mix-blend-mode: normal;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: flex;
    align-items: baseline;
}

.logo-dot {
    color: var(--accent);
    font-size: 2rem;
    line-height: 0;
}

.nav-links {
    display: flex;
    gap: 3rem;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links a {
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    background: transparent;
}

.btn-primary {
    border: 1px solid var(--accent);
    color: var(--white); /* Adjusted for blend mode / dark section */
}

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

.btn-primary .btn-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

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

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

.btn-text {
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

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

.btn-link {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-link:hover .arrow {
    transform: translateX(5px);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: linear-gradient(rgba(14,26,43,0.8), rgba(14,26,43,0.9)), url('https://images.unsplash.com/photo-1541888081622-4a006c9e078f?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.blueprint-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.floating-coordinates {
    position: absolute;
    left: 2rem;
    bottom: 20%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.4);
    font-family: monospace;
}

.gold-lines-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.gold-line {
    position: absolute;
    background: var(--accent);
    opacity: 0.5;
    box-shadow: 0 0 10px var(--accent);
}

.gl-1 { top: 30%; left: 0; width: 100%; height: 1px; transform-origin: left; transform: scaleX(0); }
.gl-2 { top: 0; left: 40%; width: 1px; height: 100%; transform-origin: top; transform: scaleY(0); }
.gl-3 { bottom: 20%; right: 0; width: 30%; height: 1px; transform-origin: right; transform: scaleX(0); }

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    padding-top: 10vh;
}

.hero-left {
    flex: 1;
}

.hero-title {
    font-size: clamp(3.5rem, 7vw, 7rem);
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    max-width: 500px;
    margin-bottom: 3rem;
    color: rgba(255,255,255,0.8);
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-right {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.architectural-structure {
    width: 400px;
    height: 400px;
    position: relative;
    perspective: 1000px;
}

.wireframe-cube {
    width: 200px;
    height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
    transform: translate(-50%, -50%) rotateX(-20deg) rotateY(45deg);
    animation: slowRotate 20s infinite linear;
}

@keyframes slowRotate {
    0% { transform: translate(-50%, -50%) rotateX(-20deg) rotateY(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(-20deg) rotateY(360deg); }
}

.face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(229,168,27,0.3);
    background: rgba(14,26,43,0.5);
}
.face.front  { transform: translateZ(100px); }
.face.back   { transform: translateZ(-100px); }
.face.right  { transform: rotateY(90deg) translateZ(100px); }
.face.left   { transform: rotateY(-90deg) translateZ(100px); }
.face.top    { transform: rotateX(90deg) translateZ(100px); border: 1px solid var(--accent); }
.face.bottom { transform: rotateX(-90deg) translateZ(100px); }

.gear-container {
    position: absolute;
    bottom: -50px;
    right: 50px;
    width: 150px;
    height: 150px;
    opacity: 0.6;
}

.rotating-gear {
    width: 100%;
    height: 100%;
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.crane-line {
    position: absolute;
    top: -100px;
    left: 50%;
    width: 1px;
    height: 200px;
    background: var(--accent);
    opacity: 0.5;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.blueprint-arrow {
    width: 24px;
    height: 24px;
    color: var(--accent);
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Text Reveal Utilities */
.reveal-text .line {
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

/* ====================================
   METRICS
   ==================================== */
.metrics-section {
    padding: 6rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--light-grey);
}

.metrics-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.metric {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.metric-text-large {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.metric-text-large.highlight {
    color: var(--accent);
}

.metric-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--secondary);
    font-weight: 500;
}

.metric-separator {
    width: 1px;
    height: 60px;
    background: var(--accent);
    opacity: 0.3;
}

/* ====================================
   ABOUT
   ==================================== */
.about-section {
    padding: 10rem 0;
    background: var(--bg-light);
}

.about-container {
    display: flex;
    gap: 6rem;
    align-items: center;
}

.about-left {
    flex: 1;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    margin-bottom: 2rem;
}

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

.about-text {
    font-size: 1.1rem;
    color: var(--secondary);
    max-width: 600px;
}

.about-text > p {
    margin-bottom: 3rem;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.value-num {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    padding-top: 0.2rem;
}

.value-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.about-right {
    flex: 1;
    height: 700px;
    position: relative;
}

.layered-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.img-back {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=1931&auto=format&fit=crop') center/cover;
    filter: grayscale(80%) contrast(1.2);
}

.img-front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 60%;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop') center/cover;
    border: 10px solid var(--bg-light);
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

.blueprint-texture-overlay {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background-image: linear-gradient(var(--accent) 1px, transparent 1px), linear-gradient(90deg, var(--accent) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.2;
    z-index: -1;
}

/* ====================================
   SERVICES (Horizontal)
   ==================================== */
.services-wrapper {
    background: var(--primary);
    color: var(--white);
    overflow: hidden;
}

.services-pin {
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.services-header {
    padding-top: 8rem;
    padding-bottom: 2rem;
}

.services-header p {
    color: rgba(255,255,255,0.6);
    max-width: 500px;
    margin-top: 1rem;
}

.services-container {
    display: flex;
    height: calc(100vh - 200px);
    width: 300%; /* 3 panels */
}

.service-panel {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 5vw;
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(0.6);
    transition: filter 0.5s;
}

.service-panel:hover .service-bg {
    filter: grayscale(50%) brightness(0.8);
}

.bg-1 { background-image: url('https://images.unsplash.com/photo-1518398046578-8cca57782e17?q=80&w=2070&auto=format&fit=crop'); }
.bg-2 { background-image: url('https://images.unsplash.com/photo-1541888081622-4a006c9e078f?q=80&w=2070&auto=format&fit=crop'); }
.bg-3 { background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?q=80&w=2070&auto=format&fit=crop'); }

.service-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    background: rgba(14, 26, 43, 0.8);
    backdrop-filter: blur(10px);
    padding: 4rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.service-num {
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.service-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

.service-deliverables {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

.service-deliverables li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-deliverables li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
}

.progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent);
}

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

.section-header {
    margin-bottom: 6rem;
}

.magazine-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 400px;
    gap: 2rem;
}

.project-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.proj-large {
    grid-column: span 8;
    grid-row: span 2;
}

.proj-small {
    grid-column: span 4;
    grid-row: span 1;
}

.project-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-1 { background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=1931&auto=format&fit=crop'); }
.p-2 { background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop'); }
.p-3 { background-image: url('https://images.unsplash.com/photo-1541888081622-4a006c9e078f?q=80&w=2070&auto=format&fit=crop'); }

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(14,26,43,0.9) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

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

.project-details h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

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

.tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tags span {
    background: var(--accent);
    color: var(--primary);
    padding: 0.2rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tech-specs {
    display: flex;
    gap: 2rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    font-family: monospace;
}

/* ====================================
   WHY CHOOSE US
   ==================================== */
.why-us-section {
    padding: 10rem 0;
    background: var(--bg-light);
    overflow: hidden;
}

.massive-words {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.massive-word {
    font-size: clamp(4rem, 10vw, 12rem);
    font-weight: 700;
    line-height: 0.9;
    color: var(--primary);
    text-transform: uppercase;
    opacity: 0.8;
}

/* ====================================
   QUALITY & SAFETY
   ==================================== */
.dark-section {
    background: var(--primary);
    color: var(--white);
}

.quality-safety-section {
    padding: 10rem 0;
    position: relative;
}

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

.qs-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 4rem;
    max-width: 500px;
}

.process-visualization {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.iso-circle {
    width: 100px;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iso-circle span {
    position: absolute;
    font-weight: 700;
    color: var(--accent);
}

.iso-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.anim-circle {
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: drawCircle 3s forwards infinite;
}

@keyframes drawCircle {
    0% { stroke-dashoffset: 283; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 0; }
}

.iso-line {
    width: 100px;
    height: 1px;
    background: rgba(255,255,255,0.2);
    position: relative;
}

.iso-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--accent);
    animation: drawLine 3s infinite;
}

@keyframes drawLine {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 100%; }
}

.qs-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.glass-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
}

.stat-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin: 1rem 0 0.5rem;
}

.stat-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ====================================
   PROCESS TIMELINE
   ==================================== */
.process-section {
    padding: 10rem 0;
    background: var(--bg-light);
}

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

.timeline-container {
    position: relative;
    margin-top: 6rem;
}

.timeline-line {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--light-grey);
}

.timeline-progress {
    position: absolute;
    top: 20px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 150px;
}

.step-dot {
    width: 16px;
    height: 16px;
    background: var(--bg-light);
    border: 2px solid var(--primary);
    border-radius: 50%;
    margin-bottom: 2rem;
    transition: var(--transition-fast);
}

.step.active .step-dot {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(229,168,27,0.5);
}

.step-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-grey);
    line-height: 1;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.step.active .step-num {
    color: var(--primary);
}

.step-title {
    font-size: 1.1rem;
    color: var(--secondary);
}

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

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

.contact-info p {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 4rem;
}

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

.detail h5 {
    color: var(--accent);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.detail p {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary);
}

.minimal-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    position: relative;
    margin-top: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(14,26,43,0.2);
    padding: 1rem 0;
    font-family: inherit;
    font-size: 1.1rem;
    color: var(--primary);
}

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

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: rgba(14,26,43,0.5);
    pointer-events: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -1.5rem;
    font-size: 0.8rem;
    color: var(--accent);
}

.full-width {
    width: 100%;
}

.contact-form-wrapper.glass-card {
    background: var(--bg-light);
    border-color: var(--light-grey);
}

/* ====================================
   FOOTER
   ==================================== */
.footer {
    padding: 6rem 0 2rem;
}

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

.footer-brand .logo.large {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    max-width: 300px;
}

.footer-links h4 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

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

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

.footer-legal {
    display: flex;
    gap: 2rem;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */
@media (max-width: 1200px) {
    .container {
        padding: 0 4vw;
    }
    .about-section, .projects-section, .why-us-section, .quality-safety-section, .process-section, .contact-section {
        padding: 8rem 0;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 15vh;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-right {
        display: none;
    }
    
    .about-container,
    .qs-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .about-right {
        width: 100%;
        height: 400px;
    }
    
    .magazine-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 350px;
    }
    
    .proj-large, .proj-small {
        grid-column: span 1;
        grid-row: span 1;
    }

    .timeline-container {
        margin-top: 4rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
    }

    .timeline-line, .timeline-progress {
        width: 2px;
        height: 100%;
        top: 0;
        left: 20px;
    }

    .timeline-steps {
        flex-direction: column;
        gap: 3rem;
        align-items: flex-start;
        margin-left: -7px;
    }

    .step {
        flex-direction: row;
        text-align: left;
        width: auto;
        gap: 2rem;
    }

    .step-dot {
        margin-bottom: 0;
    }

    .step-num {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    .about-section, .projects-section, .why-us-section, .quality-safety-section, .process-section, .contact-section {
        padding: 5rem 0;
    }

    .nav-links {
        display: none;
    }

    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 0.75rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

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

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

    .btn-secondary, .btn-link {
        width: 100%;
    }
    
    .metrics-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .metric-separator {
        width: 100%;
        height: 1px;
    }
    
    .services-container {
        width: 100%;
        flex-direction: column;
        height: auto;
    }
    
    .services-pin {
        height: auto;
    }
    
    .service-panel {
        height: auto;
        padding: 4rem 5vw;
    }

    .service-content {
        padding: 2rem;
    }

    .progress-bar-container {
        display: none;
    }

    .process-visualization {
        flex-direction: column;
        gap: 2rem;
    }

    .iso-line {
        width: 1px;
        height: 50px;
    }

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

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .ar-title {
        font-size: 1.8rem;
    }

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

    .ar-title-sm {
        font-size: 1.5rem;
    }

    .massive-word {
        font-size: 2.5rem;
    }
    
    .ar-massive {
        font-size: 2.5rem;
    }

    .metric-number, .metric-text-large {
        font-size: 2.5rem;
    }

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

    .project-details h3 {
        font-size: 1.5rem;
    }
    
    .ar-heading {
        font-size: 1rem;
    }
}

@media (pointer: coarse) {
    .cursor-glow {
        display: none !important;
    }
}

/* ====================================
   ARABIC TYPOGRAPHY (BILINGUAL)
   ==================================== */
[dir="rtl"], .ar-title, .ar-title-sm, .ar-subtitle, .ar-text, .ar-heading, .ar-nav, .ar-btn, .ar-small, .ar-massive {
    font-family: 'Tajawal', sans-serif;
}

.ar-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-top: 1rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0;
}

.ar-title-sm {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-top: 0.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0;
}

.ar-title-sm.light {
    color: var(--white);
}

.ar-subtitle {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    font-weight: 400;
    display: block;
    margin-top: 0.8rem;
    opacity: 0.8;
}

.ar-nav {
    display: block;
    font-size: 0.7rem;
    color: var(--accent);
    margin-top: 0.2rem;
    opacity: 0.7;
}

.nav-links a:hover .ar-nav {
    opacity: 1;
}

.ar-btn {
    font-weight: 700;
    margin-left: 0.5rem;
    font-size: 0.8rem;
}

.ar-text {
    font-size: 1rem;
    margin-top: 0.5rem;
    display: block;
    line-height: 1.8;
}

.ar-text.light {
    color: rgba(255,255,255,0.7);
}

.ar-heading {
    font-size: 1.1em;
    color: var(--accent);
    display: block;
    margin-top: 0.3rem;
}

.ar-small {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    display: block;
    margin-top: 0.2rem;
}

.ar-massive {
    font-size: clamp(2rem, 5vw, 6rem);
    display: block;
    color: rgba(229,168,27,0.3);
}
