@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Space+Mono:wght@400;700&display=swap');

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

:root {
    --teal-primary: #0D5C63;
    --teal-light: #17858E;
    --copper: #B7754A;
    --copper-light: #D4956F;
    --charcoal: #2D3436;
    --off-white: #FAF9F6;
    --light-teal: #E8F4F5;
}

body {
    font-family: 'Space Mono', monospace;
    background: var(--off-white);
    color: var(--charcoal);
    line-height: 1.6;
}

/* Navigation */
nav {
    background: white;
    box-shadow: 0 2px 10px rgba(13, 92, 99, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-nav svg {
    width: 40px;
    height: auto;
}

.company-name {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--teal-primary);
}

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

.nav-links a {
    color: var(--charcoal);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition: color 0.3s;
}

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

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

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--teal-primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--teal-primary) 0%, var(--charcoal) 100%);
    color: white;
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(183, 117, 74, 0.1) 49%, rgba(183, 117, 74, 0.1) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(183, 117, 74, 0.1) 49%, rgba(183, 117, 74, 0.1) 51%, transparent 52%);
    background-size: 60px 60px;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero .tagline {
    font-size: 1.5rem;
    color: var(--copper-light);
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--copper);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background: var(--copper-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(183, 117, 74, 0.4);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--copper);
    margin-left: 15px;
}

.cta-button.secondary:hover {
    background: var(--copper);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--teal-primary);
    margin-bottom: 15px;
    text-align: center;
}

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

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(13, 92, 99, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(13, 92, 99, 0.2);
}

.service-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--teal-primary);
    margin-bottom: 15px;
}

.service-card ul {
    margin-left: 20px;
    margin-top: 15px;
}

.service-card ul li {
    margin-bottom: 10px;
}

/* Process Steps - 3x2 Grid with centered bottom row for 5 items */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

/* Center the 4th and 5th items */
.step:nth-child(4) {
    grid-column: 1 / 2;
    margin-left: auto;
    margin-right: 0;
}

.step:nth-child(5) {
    grid-column: 3 / 4;
    margin-left: 0;
    margin-right: auto;
}

/* Alternative approach - use this if the above doesn't center perfectly */
@supports (display: grid) {
    .process-steps {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .step:nth-child(1) { grid-column: 1 / 3; }
    .step:nth-child(2) { grid-column: 3 / 5; }
    .step:nth-child(3) { grid-column: 5 / 7; }
    .step:nth-child(4) { grid-column: 2 / 4; }
    .step:nth-child(5) { grid-column: 4 / 6; }
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--copper);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.step h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--teal-primary);
    margin-bottom: 10px;
}

/* Case Studies */
.case-studies {
    background: var(--light-teal);
    padding: 80px 40px;
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.case-study-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(13, 92, 99, 0.1);
}

.case-study-tag {
    display: inline-block;
    background: var(--copper);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.case-study-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--teal-primary);
    margin-bottom: 15px;
}

.case-study-stats {
    background: var(--light-teal);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.case-study-stats strong {
    color: var(--teal-primary);
}

/* Why Choose Us - 3x2 Grid */
.why-choose {
    background: white;
    padding: 80px 40px;
}

.features-grid-3x2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--light-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.feature h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--teal-primary);
    margin-bottom: 10px;
}

/* About Section */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.expertise-item {
    background: var(--light-teal);
    padding: 30px;
    border-radius: 8px;
}

.expertise-item h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--teal-primary);
    margin-bottom: 10px;
}

.expertise-years {
    font-size: 2rem;
    font-weight: 700;
    color: var(--copper);
}

/* Contact Form */
.contact-section {
    background: var(--light-teal);
    padding: 80px 40px;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.contact-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--teal-primary);
    margin-bottom: 20px;
}

/* Contact Grid - 2x2 Layout */
.contact-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 40px;
}

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

.contact-item strong {
    color: var(--teal-primary);
    font-size: 0.85rem;
}

.contact-item a {
    color: var(--charcoal);
    text-decoration: none;
    word-break: break-word;
}

.contact-item a:hover {
    color: var(--copper);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--teal-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-teal);
    border-radius: 4px;
    font-family: 'Space Mono', monospace;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal-primary);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Footer */
footer {
    background: var(--charcoal);
    color: white;
    padding: 40px;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

footer a {
    color: var(--copper-light);
    text-decoration: none;
}

footer a:hover {
    color: var(--copper);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid-3x2,
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .tagline {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .case-study-grid,
    .features-grid-3x2,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .contact-grid-2x2 {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-button.secondary {
        margin-left: 0;
        margin-top: 15px;
    }
}