
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", sans-serif;
    background: #f8f9fa;
    color: #2d3436;
    line-height: 1.6;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;

    backdrop-filter: blur(15px);
    background: rgba(255,255,255,0.85);

    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.header-container {
    max-width: 1400px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 5%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.4rem;
    color: #2d3436;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: #2d3436;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

nav a:hover {
    color: #3ab158;
}

nav a::after {
    content: "";
    position: absolute;

    width: 0;
    height: 2px;

    left: 0;
    bottom: -5px;

    background: #3ab158;

    transition: 0.3s;
}

nav a:hover::after,
.section-selected::after {
    width: 100%;
}

.hero {
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(0,0,0,0.45),
            rgba(0,0,0,0.45)
        ),
        url("images/image_1.jpg");

    background-size: cover;
    background-position: center;

    color: white;
}

.hero-content {
    animation: fadeUp 1.2s ease;
}

.hero h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

main {
    max-width: 1200px;
    margin: auto;
    padding: 100px 20px;
}

section {
    background: white;

    margin-bottom: 60px;
    padding: 50px;

    border-radius: 25px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.05);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

section:hover {
    transform: translateY(-5px);

    box-shadow:
        0 20px 40px rgba(0,0,0,0.08);
}

section h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #3ab158;
}

section p {
    font-size: 1.1rem;
}

.button {
  background-color: #3ab158;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
}

footer {
    background: #222;

    color: white;
    text-align: center;

    padding: 30px 20px;
}

.hidden {
    opacity: 0;
    transform: translateY(60px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 900px) {

    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    section {
        padding: 30px;
    }

    .hero h2 {
        font-size: 3rem;
    }
}