* {
    margin: 0px;
    
    --lighterColor: rgb(215, 247, 255);
    --darkColor: rgb(3, 50, 65);
    --lightColor: rgb(119, 220, 245);
    --darkerColor: rgb(2, 30, 41);

    --headingHeight: 150px;

    box-sizing: border-box;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

body {
    background: var(--lighterColor);
}

header {
    display: flex;
    position: relative;

    height: var(--headingHeight);
    width: 100%;
    background: var(--lightColor);

    text-align: center;
    justify-content: center;
    align-items: center;

    font-size: 2.5rem;
    word-spacing: 0.2em;
    font-weight: bold;
    color: var(--darkColor);

    border-bottom: 8px solid var(--darkerColor);
}

.homeButton {
    display: inline-block;
    width: 15%;
    z-index: 5;
    position: absolute;
    left: 32px;
}

button {
    box-sizing: border-box;
    padding: 1rem 1.5rem;
    margin: 0;

    border: 4px solid var(--darkColor);
    background: var(--lighterColor);
    border-radius: 1rem;

    text-align: center;
    text-decoration: none;
    color: var(--darkerColor);
    font-size: 1.8rem;
    font-weight: bold;

    cursor: pointer;

    transition: transform 150ms ease;
}

button:hover,
button:focus {
    transform: scale(1.1);
}

button:active {
    transform: scale(1);
}

.hero-section {
    background: linear-gradient(135deg, var(--darkColor) 0%, var(--darkerColor) 100%);
    color: white;
    padding: 60px 4%;

    text-align: center;
    border-bottom: 8px solid var(--darkerColor);
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.7rem;
    max-width: 900px;
    margin: 0 auto;
}

.project-section {
    background: white;
    padding: 50px 4%;
    margin: 0;
    border-bottom: 2px solid var(--lightColor);
}

.project-section.alternate {
    background: var(--lighterColor);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.2rem;
    color: var(--darkColor);
    margin-bottom: 1.5rem;
    text-align: center;
}

.project-section p {
    font-size: 1.1rem;
    line-height: 1.7rem;
    margin-bottom: 1.2rem;
    color: #333;
}

.content-with-image {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.text-content {
    flex: 1 1 50%;
    min-width: 300px;
}

.image-container {
    flex: 1 1 45%;
    min-width: 300px;
}

.operator-layout .text-content {
    flex: 1 1 38%;
}

.operator-layout .image-container {
    flex: 1 1 58%;
}

.image-container img {
    width: 100%;
    border-radius: 12px;
    border: 4px solid var(--darkColor);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.image-caption {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    line-height: 1.5rem;
    text-align: center;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.results-card {
    background: white;
    border: 4px solid var(--darkColor);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 150ms ease;
}

.results-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.results-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 2px solid #ddd;
    max-height: 250px;
    object-fit: cover;
}

.results-card h3 {
    font-size: 1.3rem;
    color: var(--darkColor);
    margin-bottom: 0.8rem;
}

.results-card p {
    font-size: 0.95rem;
    line-height: 1.6rem;
    margin: 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 1.5rem;
}

.skill-box {
    background: white;
    border: 3px solid var(--lightColor);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.skill-box h4 {
    font-size: 1.1rem;
    color: var(--darkColor);
    margin-bottom: 0.6rem;
}

.skill-box p {
    font-size: 0.95rem;
    line-height: 1.5rem;
    margin: 0;
    color: #666;
}

.validation-layout .image-container {
    flex: 1 1 55%;
}

.validation-skills {
    flex: 1 1 35%;
    min-width: 260px;
    grid-template-columns: 1fr;
    margin-top: 0;
}

footer {
    background: var(--darkColor);

    padding: 30px;

    display: flex;
    flex-direction: column;

    border-top: 8px solid var(--darkerColor);

    color: white;
    text-align: left;
    font-size: 1em;
    font-family: 'Times New Roman', Times, serif;
}

footer p {
    font-size: 1em;
}

footer a {
    color: var(--lighterColor);
}

footer a:hover {
    text-decoration: none;
    color: var(--lightColor);
}

/* Responsive Design */
@media (max-width: 900px) {
    header {
        font-size: 2rem;
        height: 120px;
    }

    .homeButton {
        width: 20%;
        left: 16px;
    }

    button {
        padding: 0.8rem 1.2rem;
        font-size: 1.4rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .content-with-image {
        flex-direction: column;
        gap: 20px;
    }

    .text-content,
    .image-container {
        flex: 1 1 100%;
    }

    .results-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .skill-box {
        padding: 15px;
    }

    .skill-box h4 {
        font-size: 1rem;
    }

    .skill-box p {
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    header {
        font-size: 1.5rem;
        height: 100px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .homeButton {
        width: 25%;
        left: 12px;
    }

    button {
        padding: 0.6rem 1rem;
        font-size: 1.1rem;
    }

    .hero-section {
        padding: 40px 3%;
    }

    .hero-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.5rem;
    }

    .project-section {
        padding: 30px 3%;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .results-card img {
        max-height: 180px;
    }
}
