/* Reset some default styles */
body, h1, h2, h3, p, ul, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff9e6;
    margin: 0;
}

/* Header styling */
header {
    background-color: #ffcc00;
    color: #ff007f;
    text-align: center;
    padding: 20px 10px;
    position: sticky;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin-bottom: 10px;
}

/* Navigation bar styling */
nav {
    background-color: #ffcc66;
    padding: 10px 0;
    text-align: center;
    position: sticky;
    top: 70px;
    z-index: 1000;
    top: 0;
}

nav a {
    color: #ff007f;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1rem;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* Main content area styling */
main {
    padding: 20px;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    padding: 20px;
    max-width: 800px;
}

.card img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 10px;
}

/* Horizontal scrolling for lists inside cards */
.horizontal-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.mini-card {
    background: #ffe6e6;
    border: 1px solid #ffcc00;
    border-radius: 8px;
    padding: 15px;
    flex: 0 0 auto;
    width: 250px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Footer styling */
footer {
    background-color: #ff007f;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}




/* Style for the logo */
header .logo {
    width: 80px; /* Set logo width */
    height: auto; /* Maintain aspect ratio */
    margin-right: 15px; /* Add spacing between the logo and text */
    border-radius: 8px; /* Optional: Rounded corners */
    flex-shrink: 0; /* Prevent shrinking */
}

/* Style for the text (h1 and p) */
header .header-text {
    display: flex;
    flex-direction: column; /* Stack h1 and p vertically */
}

header .header-text h1 {
    margin: 0;
    font-size: 1.8rem; /* Adjust as needed */
}

header .header-text p {
    margin: 5px 0 0; /* Add slight spacing between h1 and p */
    font-size: 1rem; /* Adjust as needed */
}

.slideshow h2 {
    color: #ff007f;
    text-align: center;
    margin-bottom: 10px;
}

.slideshow-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 0;
}

.slide {
    flex: 0 0 auto;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    scroll-snap-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.slide img {
    height: 100%;  /* Uniform height */
    width: auto;   /* Maintain original width */
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
