body {
    margin: 0;
    padding: 0;
    background: radial-gradient(ellipse at top left, #e0e7ff 0%, #f4f6f8 100%);
    color: #1a202c;
    font-family: Segoe UI;
}
nav {
    background-color: rgb(30, 129, 210);
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav ul li {
  font-size: 1.2em;
  font-weight: bold;
}

nav ul li a {
  border-radius: 5px;
  color: #e0e7ff;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 5px 10px;
}

/* Hide toggle button on desktop */
.nav-toggle {
    display: none;
}

header {
    text-align: center;
    padding: 100px 20px 50px;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to right, #3b82f6, #60a5fa);
    color: #ffffff;
}
header h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}
header h1 p {
   font-size: 1.2em;
   margin: 10px 0;
   text-shadow: #1a202c 1px 1px 2px;
}
figcaption {
    text-align: center;
    padding: 20px;
    font-size: 1.1em;
    color: #4a5568;
    background-color: #f7fafc;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
section {
    background-color: #ffffff;
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

section h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color:#3b82f6;
    text-align: center;
}

section h2 p {
    font-size: 1.2em;
    margin: 10px 0;
    color: #4a5568;
    text-align: justify;
    font-weight: bold;
}

section ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 10px 0;
    color: #2d3748;
    font-weight: bold;
}

section ul li {
    margin-bottom: 10px;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    justify-content: center;
}
.grid-container a img {
    width: 100%;
    height: auto;
    max-width: 180px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.grid-container a img:hover {
    transform: scale(1.05);
}


#contact {
    text-align: center;
    padding: 20px;
    font-size: 1.1em;
    color: #4a5568;
    background-color: #f7fafc;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#contact h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color:#3b82f6;
}

#contact h2 p {
    margin: 10px 0;
    color: #4a5568;
    text-align: center;
}

#contact p a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}
footer {
    width: 100%;
    height: auto;
    background-color:#3b82f6;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    font-size: 1em;
    font-family: 'Segoe UI', sans-serif;
}
footer p {
    font-weight: bold;
}
footer p a {
    color: #e0e7ff;
    text-decoration: none;
    transition: color 0.3s ease;
}
nav ul li a:hover {
    color: #f0f4f8;
    background-color: rgba(255, 255, 255, 0.2);
}
@media (max-width: 768px) {
    .nav-toggle {
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 1100;
        background: #1e81d2;
        color: white;
        border: none;
        padding: 10px;
        font-size: 1.5em;
        border-radius: 5px;
        cursor: pointer;
        display: block;
    }
    nav {
        top: 0;
        right: 0;
        height: 100vh;
        width: 200px;
        background-color: rgb(30, 129, 210);
        position: fixed;
        display: none; /* Hidden by default */
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 60px;
   }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
    }

    nav ul li {
        margin-bottom: 20px;
    }

    nav.show {
        display: flex; /* Show when toggled */
    }
        header h1 {
        font-size: 1.8em;
    }

    header h1 p {
        font-size: 1em;
    }

    section h2 {
        font-size: 1.4em;
    }

    section h2 p {
        font-size: 1em;
    }

    figcaption, #contact {
        font-size: 0.95em;
        padding: 15px;
    }

    footer p {
        font-size: 0.9em;
    }

    footer p a {
        font-size: 0.9em;
    }

}

