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

:root {
    --primary-green: #00ff88;
    --dark-bg: #1a1a1a;
    --darker-bg: #0f0f0f;
    --light-text: #ffffff;
    --grey-bg: #f5f5f5;
    --text-dark: #333333;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.6;
    color: var(--light-text);
    background-color: var(--dark-bg);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: 300;
    color: var(--primary-green);
    margin: 0;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-green);
}

.nav-link.active {
    text-decoration: underline;
    text-decoration-color: var(--primary-green);
    text-underline-offset: 5px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 400;
    color: var(--light-text);
    margin-bottom: 40px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid var(--primary-green);
    color: var(--light-text);
    text-decoration: none;
    font-size: 18px;
    font-weight: 300;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.4);
}

.cta-button:hover {
    background-color: var(--primary-green);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

/* Services Section */
.services {
    background-color: #1D231C;
    padding: 100px 0;
    color: var(--text-dark);
}

.services-header {
    margin-bottom: 60px;
    text-align: center;
}

.services-title {
    font-size: 42px;
    font-weight: 300;
    color: var(--light-text);
    margin-bottom: 20px;
}

.services-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

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

.service-card {
    background-color: #2a2a2a;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #e0e0e0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
    filter: grayscale(80%);
}

.service-heading {
    font-size: 24px;
    font-weight: 300;
    color: #00ff88;
    margin: 30px 30px 20px 30px;
    text-decoration: underline;
    text-decoration-color: #00ff88;
    text-underline-offset: 8px;
}

.service-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--light-text);
    margin: 0 30px 15px 30px;
}

.service-text:last-of-type {
    margin-bottom: 30px;
}

/* How We Do It Section */
.how-we-do-it {
    background-color: var(--dark-bg);
    padding: 100px 0;
}

.how-we-do-it-title {
    font-size: 42px;
    font-weight: 300;
    color: var(--light-text);
    text-align: center;
    margin-bottom: 60px;
}

.how-we-do-it-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.how-we-do-it-item {
    padding: 0;
}

.how-we-do-it-heading {
    font-size: 24px;
    font-weight: 300;
    color: var(--primary-green);
    margin-bottom: 20px;
    line-height: 1.3;
}

.how-we-do-it-text {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Section */
.contact {
    background-color: var(--dark-bg);
    padding: 100px 0;
    text-align: center;
}

.contact-title {
    font-size: 42px;
    font-weight: 300;
    color: var(--light-text);
    margin-bottom: 20px;
}

.contact-text {
    font-size: 18px;
    color: #cccccc;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--light-text);
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-button {
    padding: 15px 40px;
    background-color: var(--primary-green);
    color: var(--dark-bg);
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #00e677;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(0, 255, 136, 0.2);
    color: var(--primary-green);
    border: 1px solid var(--primary-green);
}

.form-message.error {
    display: block;
    background-color: rgba(255, 0, 0, 0.2);
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
}

/* Footer */
.footer {
    background-color: var(--darker-bg);
    padding: 30px 0;
    text-align: center;
    color: #888888;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .services-title,
    .contact-title,
    .how-we-do-it-title {
        font-size: 32px;
    }

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


    .how-we-do-it-item {
        padding: 30px;
    }

    .nav {
        gap: 20px;
    }

    .logo {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* Fine-tuned adjustments for specific elements */
/* Uncomment and modify these as needed for precise control */

/* Example: Adjust kerning for hero title only */
/*
.hero-title {
    letter-spacing: 1.5px;
}
*/

/* Example: Different letter spacing for headings */
/*
h1, h2, h3 {
    letter-spacing: 1.2px;
}
*/

/* Example: Tighter spacing for body text */
/*
.service-text {
    letter-spacing: 0.5px;
}
*/

/* Example: Adjust line height for specific sections */
/*
.hero-title {
    line-height: 1.3;
}
*/

/* Example: Custom spacing for logo */
/*
.logo {
    letter-spacing: 2px;
    word-spacing: 3px;
}
*/
