/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --accent-color: #ffffff;
    --accent-color-light: #f5f5f5;
    --text-color: #000000;
    --background-light: #f9f9f9;
    --transition: all 0.3s ease;
    --heading-font: 'Space Grotesk', sans-serif;
    --body-font: 'Inter', sans-serif;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    letter-spacing: -0.02em;
}

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

/* Header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

header.scroll-down {
    transform: translateY(-100%);
}

header.scroll-up {
    transform: translateY(0);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    height: 50px;
    transition: var(--transition);
    margin: -5px 0;
}

.logo:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #000;
}

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #000;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.hero .tagline {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: var(--transition);
    text-decoration: none;
    font-family: var(--body-font);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #333;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Section styles */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
}

/* About section */
.about {
    background-color: var(--background-light);
}

.about-logo-holder {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.about-logo {
    width: 50%;
    max-width: 300px;
    height: auto;
    transition: var(--transition);
}

.about-logo:hover {
    transform: scale(1.05);
}

.about p {
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Solutions section */
.solutions {
    background-color: #fff;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.solutions-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration {
    width: 100%;
    max-width: 400px;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.solutions-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.solution-card {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.solution-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.solution-card p {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Contact section */
.contact {
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

#contactCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact p {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

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

input,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--body-font);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

textarea {
    height: 150px;
    resize: vertical;
}

.contact .btn {
    width: 100%;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 500;
    padding: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.contact .btn:hover {
    background-color: #333;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Responsive design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 15px;
    }

    nav ul li {
        margin: 0 15px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero .tagline {
        font-size: 1.2rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 10px;
    }

    section h2 {
        font-size: 2rem;
    }

    .about p,
    .contact p {
        font-size: 1rem;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .solutions-illustration {
        order: -1;
    }

    .illustration {
        max-width: 300px;
    }
}