/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.6;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Header and Navbar */
header {
    background: #2c3e50;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar li {
    margin: 0 1rem;
}

.navbar a {
    color: #ecf0f1;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #1abc9c;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown .dropbtn {
    background: #1feac1;
    color: #fff;
    padding: 0.8rem 1rem;
    border-radius: 5px;
    transition: background 0.3s;
    cursor: pointer;
}

.dropdown-content a:hover {
    background: #1abc9c; /* Existing background */
    color: #fff; /* White text for contrast */
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #34495e;
    min-width: 220px; /* Increased width */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
}

.dropdown-content a {
    color: #ecf0f1;
    padding: 0.8rem 1rem;
    display: block;
    transition: background 0.3s;
}

.dropdown-content a:hover {
    background: #1abc9c;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Main Content */
main {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.story-image {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

section {
    padding: 2rem;
    border-bottom: 1px solid #e0e0e0;
    animation: fadeIn 1s ease-out;
    transition: transform 0.3s, box-shadow 0.3s;
}

section:nth-child(even) {
    background-color: #f2f6f9;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

section:last-of-type {
    border-bottom: none;
}

/* Call to Action Links */
section a {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    padding: 0.8rem 1.2rem;
    margin-top: 1rem;
    border-radius: 5px;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

section a:hover {
    background: linear-gradient(135deg, #2980b9, #1abc9c);
    transform: scale(1.05);
}

/* Lists */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    padding-left: 1.2rem;
    position: relative;
    margin-bottom: 0.8rem;
    transition: transform 0.2s;
}

ul li::before {
    content: '\25B6';
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 1rem;
}

ul li:hover {
    transform: translateX(5px);
    color: #1abc9c;
}

/* Footer */
footer {
    background: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.footer-link {
    color: #ecf0f1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    transition: color 0.3s;
}

.footer-link img.footer-icon {
    width: 20px;
    height: 20px;
}

.footer-link:hover {
    color: #1abc9c;
}

/* Scroll-to-Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #3498db;
    color: #fff;
    padding: 0.7rem;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: none;
}

.scroll-to-top:hover {
    background: #2980b9;
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }

    .navbar li {
        margin: 0.5rem 0;
    }

    main {
        padding: 0;
    }

    section {
        padding: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}
.back-button {
    display: inline-block;
    background: #3498db;
    color: #fff;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-bottom: 1rem;
}

.back-button:hover {
    background: #2980b9;
    transform: scale(1.05);
}

