* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    min-height: 100vh;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

header p {
    font-size: 1.3rem;
    opacity: 0.95;
    letter-spacing: 1.5px;
    margin-bottom: 35px;
    font-weight: 500;
}

.header-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.nav-btn {
    padding: 13px 28px;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2.5px solid white;
    border-radius: 30px;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-btn:hover {
    background-color: white;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

main {
    max-width: 1300px;
    margin: 50px auto;
    padding: 0 20px;
}

section article {
    background: white;
    border-radius: 15px;
    padding: 50px 40px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section article:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

h2 {
    font-size: 2.4rem;
    color: white;
    margin: 0 0 40px 0;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

h3 {
    font-size: 1.3rem;
    color: #764ba2;
    margin: 25px 0 10px 0;
    font-weight: 600;
    display: none;
}

h4 {
    font-size: 1.3rem;
    color: white;
    text-align: center;
    margin: 20px 0;
    font-weight: 600;
}

h5 {
    font-size: 0.95rem;
    color: #666;
    margin: 5px 0;
    font-weight: 500;
}

p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    text-align: right;
    margin-bottom: 15px;
    display: none;
}

.img-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.img-wrapper {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.img-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(102, 126, 234, 0.3);
}

img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.img-wrapper:hover img {
    transform: scale(1.08);
}

footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 20px 30px;
    text-align: center;
    margin-top: 80px;
    border-top: 3px solid rgba(255, 255, 255, 0.1);
}

footer h4 {
    margin-bottom: 35px;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
}

footer ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

footer li {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

footer li:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

footer a {
    color: white;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

footer a:hover {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

footer h5 {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    margin-top: 8px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 20px 20px;
    }

    header h1 {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }

    header p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .header-nav {
        gap: 8px;
    }

    .nav-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    h2 {
        font-size: 1.8rem;
        padding: 20px;
    }

    h3 {
        font-size: 1.1rem;
    }

    section article {
        padding: 25px;
        margin-bottom: 30px;
    }

    .img-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    img {
        height: 180px;
    }

    footer ul {
        flex-direction: column;
        gap: 20px;
    }
}