html {
    scroll-behavior: smooth;
}

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

header {
    background: #232F3E;
    color: white;
    text-align: center;
    padding: 1.5rem 1rem;
}

header p {
    font-size: 1.2rem;
}

main {
    padding: 1rem;
    max-width: 900px;
    margin: auto;
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

section {
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

textarea, input {
    width: 90%;
    margin: 0.5rem 0;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

button {
    background: #0078d4;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

button:hover {
    background: #005bb5;
}

pre {
    background: #f4f4f4;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.9rem;
}

footer {
   background: #232F3E;
   color: white;
   text-align: center;
   padding: 1.5rem 1rem;
   margin: auto;
}

footer a {
    color: #fff; /* Default white for unvisited links */
    text-decoration: none;
}

/* Hover state */
footer a:hover {
    color: #f90; /* Orange for hover */
}

/* Visited state */
footer a:visited {
    color: #ccc; /* Light gray for visited links */
}

/* Default Link Style */
.nav-links a, .mobile-nav a {
    color: #333333; /* Dark grey text */
    text-decoration: none;
}

/* Hover State */
.nav-links a:hover, .mobile-nav a:hover {
    color: #0078D4; /* Calming blue hover color */
}

/* Visited State */
.nav-links a:visited, .mobile-nav a:visited {
    color: #6A5ACD; /* Soft lavender-blue for visited links */
}

/* Active State */
.nav-links a:active, .mobile-nav a:active {
    color: #FF4500; /* Bright orange for an engaging active state */
}
        /* Responsive Styles */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .menu-toggle {
                display: block;
            }

            .mobile-nav.active {
                display: flex;
            }
        }
