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

:root {
    --primary: #f59e0b; /* Yellow/Orange Construction */
    --primary-dark: #d97706;
    --accent: #ea580c; /* Safety Orange */
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --concrete: #94a3b8;
    --slate-100: #f1f5f9;
    --white: #ffffff;
    --blueprint: #1e40af;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--slate-900);
    line-height: 1.6;
    /* Immersive Construction Site Background for the whole page */
    background: 
        linear-gradient(rgba(241, 245, 249, 0.92), rgba(241, 245, 249, 0.92)),
        url("https://images.unsplash.com/photo-1503387762-592dea58ef23?auto=format&fit=crop&q=80&w=2000"); /* Realistic Construction Structure */
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Safety Stripes Divider */
.safety-divider {
    height: 12px;
    background: repeating-linear-gradient(
        -45deg,
        var(--primary),
        var(--primary) 10px,
        #000 10px,
        #000 20px
    );
    border: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 2px solid var(--primary);
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
}

.logo-box {
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--concrete);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 700;
}

.lang-btn.active {
    background: var(--primary);
    color: #000;
}

.mobile-menu-btn {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile responsive fixes */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block; /* Show only on mobile */
    }
    
    .header-right {
        gap: 10px;
    }
}

/* Hero - Construction & Drafting Vibe */
.vintage-drafting-arm {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
    width: 800px;
    height: 800px;
    pointer-events: none;
    z-index: 1;
}

.hero {
    height: 100vh;
    background: #020617;
    color: var(--white);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Cinematic Construction Site - High Contrast */
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.4) 100%),
        url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&q=90&w=2000"); /* Massive Crane at Sunset */
    background-size: cover;
    background-position: center;
    /* Cinematic Filter Group */
    filter: contrast(1.1) saturate(1.2);
}

/* Vignette Effect */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, rgba(0,0,0,0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding-left: 60px;
    border-left: 6px solid var(--primary);
    /* Soft glow on text for readability */
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.btn-main {
    background: var(--primary);
    color: #000;
    border: none;
    box-shadow: 4px 4px 0 #000;
}

.btn-outline {
    background: #3c4048; /* Cast Iron color */
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: 4px 4px 0 #000;
}

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

/* Ruler effect on sides */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 100%;
    background: repeating-linear-gradient(0deg, var(--primary) 0, var(--primary) 1px, transparent 1px, transparent 10px);
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding-left: 60px;
    border-left: 4px solid var(--primary);
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.25rem;
    color: var(--slate-100);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.btn-main {
    background: var(--primary);
    color: #000;
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    transition: var(--transition);
}

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

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-outline:hover {
    background: rgba(245, 158, 11, 0.1);
}

.hero-stats {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    display: flex;
    padding: 40px 60px;
    gap: 60px;
    border-top-left-radius: 40px;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services */
section {
    padding: 120px 0;
}

.section-header {
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

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

.service-card {
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--slate-100);
    border-left: 8px solid var(--primary);
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, transparent 50%, var(--slate-100) 50%);
}

.service-card:hover {
    background: var(--slate-900);
    color: var(--white);
    transform: translateX(10px);
}

.service-card:hover .s-icon {
    background: var(--primary);
    color: #000;
}

.s-icon {
    width: 60px;
    height: 60px;
    background: var(--slate-100);
    color: var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: var(--transition);
}

/* Method BIM - Drafting Table Look */
.method {
    background: #242933; /* Dark Drafting Board */
    color: var(--white);
    border-top: 5px solid var(--primary);
    border-bottom: 5px solid var(--primary);
}

.method-text h2 {
    font-size: 3.2rem;
    color: var(--primary);
    font-weight: 800;
}

.method-list li i {
    color: var(--primary);
}

.method-visual {
    background: rgba(30, 64, 175, 0.2);
    border: 1px solid var(--primary);
    box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
}

.wireframe-box {
    border-color: var(--primary);
}

.wireframe-box::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background-image: var(--blueprint-grid);
    background-size: 20px 20px;
    opacity: 0.2;
}

@keyframes rotateBox {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Projects - The Studio Atelier */
.projects {
    position: relative;
    padding: 140px 0;
    /* Immersive Studio Environment - Light overlay for maximum visibility */
    background: 
        linear-gradient(rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.35)),
        url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=90&w=2000"); /* Architectural Designer Studio */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.projects .section-header h2 {
    color: var(--white);
    font-size: 4.5rem;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.9); /* High contrast shadow */
}

.projects .section-header p {
    color: var(--primary); /* Highlight color */
    font-size: 1.4rem;
    font-weight: 600;
}

.projects-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
}

.tab-btn {
    padding: 15px 35px;
    border: 2px solid var(--white);
    background: transparent;
    color: var(--white);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    border: 1px solid var(--slate-100);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.project-visual {
    height: 250px;
    position: relative;
    background: var(--slate-100);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.project-visual.floorplan {
    background: #e2e8f0;
    padding: 20px;
}

.project-visual.floorplan svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* 3D Visualizer UI */
.render-ui {
    background: #020617;
    flex-direction: column;
    padding: 0;
}

.render-viewport {
    width: 100%;
    height: 180px;
    position: relative;
    background: radial-gradient(circle at center, #1e293b 0%, #020617 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.model-axes {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
}

.model-axes::before, .model-axes::after {
    content: '';
    position: absolute;
    background: #ef4444; /* X axis */
}

.model-axes::before { width: 100%; height: 1px; bottom: 0; }
.model-axes::after { width: 1px; height: 100%; left: 0; background: #22c55e; } /* Y axis */

.wireframe-mesh {
    width: 100px;
    height: 100px;
    border: 1px solid var(--accent);
    transform: rotateX(60deg) rotateZ(45deg);
    position: relative;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.wireframe-mesh::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--accent) 1px, transparent 1px), 
                      linear-gradient(90deg, var(--accent) 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.5;
}

.cloud-points {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(var(--accent) 1px, transparent 1px);
    background-size: 8px 8px;
    transform: rotateX(45deg);
    opacity: 0.4;
}

.software-ui {
    width: 100%;
    background: #1e293b;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: 0.65rem;
    color: #94a3b8;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.visual-label {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(15, 23, 42, 0.8);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
}

.project-info {
    padding: 25px;
}

.project-info h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.project-info p {
    font-size: 0.9rem;
    color: var(--slate-700);
}

.crane-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    animation: swing 4s ease-in-out infinite;
}

@keyframes swing {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* Projects - Tech Dossier Look */
.project-card {
    border: 2px solid var(--slate-900);
    border-radius: 0;
    background: #fff;
    box-shadow: 5px 5px 0 var(--primary);
}

.tab-btn {
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 800;
}

/* Contact Section - Cinematic Site Background */
.contact {
    position: relative;
    padding: 140px 0;
    background: #020617;
    background-image: 
        linear-gradient(rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.8)),
        url("https://images.unsplash.com/photo-1541888946425-d81bb19480c5?auto=format&fit=crop&q=90&w=2000"); /* Construction at night */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Contact - High-Tech Dashboard Look */
.contact-box {
    background: rgba(15, 23, 42, 0.7); /* Deep Glassmorphism */
    backdrop-filter: blur(25px);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-top: 15px solid var(--primary);
    padding: 80px;
    border-radius: 8px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.8);
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-box h2 {
    color: var(--white);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.contact-box p {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 40px;
}

.contact-box::before {
    content: 'SITE MANAGEMENT / DATA UPLOAD';
    position: absolute;
    top: -25px;
    left: 40px;
    background: var(--primary);
    color: #000;
    padding: 4px 20px;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 3px;
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.tech-form input, .tech-form select, .tech-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 20px 20px 20px 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    transition: all 0.4s ease;
}

.tech-form input:focus, .tech-form select:focus, .tech-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.15);
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: #000;
    border: none;
    padding: 25px;
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.btn-submit:hover {
    background: var(--white);
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.2);
    letter-spacing: 8px;
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    border-top: 5px solid var(--primary);
}

.info-item {
    color: var(--concrete);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--slate-100);
    font-size: 0.9rem;
    color: var(--slate-700);
}

.socials a {
    color: var(--slate-900);
    font-size: 1.2rem;
    margin-left: 20px;
}

/* Mobile */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 3rem; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .method-wrapper { grid-template-columns: 1fr; gap: 50px; }
    .hero-stats { padding: 30px; gap: 30px; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 2.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .contact-box { padding: 40px; }
    .footer-content { flex-direction: column; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}
