/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #e0f7fa; /* Light cyan background */
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: linear-gradient(90deg, #0288d1, #03a9f4); /* Blue gradient */
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header .logo img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

header h1 {
    margin-top: 0.5rem;
    font-size: 2.5rem;
    animation: fadeIn 2s ease-in-out;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover {
    background-color: #ff9800; /* Orange on hover */
    color: #fff;
    border-radius: 5px;
}

main {
    padding: 2rem;
    flex: 1;
}

section {
    margin-bottom: 2rem;
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

section:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

section h2 {
    margin-bottom: 1rem;
    color: #0288d1; /* Blue for section titles */
    font-size: 2rem;
    text-align: center;
}

section p {
    margin-bottom: 1rem;
    text-align: justify;
}

.learn-more {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #0288d1; /* Blue button */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.learn-more:hover {
    background: #03a9f4; /* Lighter blue on hover */
    transform: scale(1.05);
}

footer {
    background: #0288d1; /* Blue footer */
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    position: relative;
    width: 100%;
    bottom: 0;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
}

.about-image img,
.rules-image img,
.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-image img:hover,
.rules-image img:hover,
.hero-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

/* Keyframes for animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    header .logo img {
        height: auto;
        width: 100%;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    .hero-image img {
        width: 100%;
    }
}
