/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
header {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    background: linear-gradient(
        135deg, 
        rgba(255, 200, 200, 0.8) 0%, 
        rgba(200, 220, 255, 0.8) 50%, 
        rgba(180, 240, 200, 0.8) 100%
    );
    background-blend-mode: overlay;
    background-size: cover;
    position: relative;
}

.logo {
    max-width: 80%; /* Restricts width for better scaling */
    height: auto;
    margin-bottom: 5px;
}

/* Slider Styles */
.slider {
    position: relative;
    max-width: 90%;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    display: none;
}

.slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Caption Styles */
.caption {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Navigation Arrows */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .caption {
        font-size: 1rem;
        padding: 5px;
    }
    
    .prev, .next {
        font-size: 1.5rem;
        padding: 5px;
    }
}


/* Navigation Menu Styles */
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.nav-list li {
    margin: 0;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1.2em;
}

.nav-list a:hover {
    color: #007BFF;
}

/* Mobile Navigation Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5em;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    header {
        padding: 10px;
    }
    
    .logo {
        max-width: 100%; /* Smaller size for mobile */
    }
    
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
        padding: 10px 0;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
}

/* Hero Section Styles */
.hero {
    text-align: center;
    padding: 20px 0;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

/* CTA Image Link */
.cta-image {
    position: relative;
    display: inline-block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.cta-image img {
    width: 100%;
    height: auto;
    display: block;
}

.cta-text {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translate(-50%, 0);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.cta-image:hover .cta-text {
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 1;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}
