/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom, #f7faff, #ffffff);
    color: #222;
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(to right, #0066ff, #66ffcc);
    color: white;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

header h1 {
    font-size: 2.6em;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

header h2 {
    font-size: 1.2em;
    font-weight: normal;
}

/* Navigation Bar */
nav ul {
    display: flex;
    gap: 25px;
    justify-content: center;
    list-style: none;
    margin: 20px 0 35px;
}

nav a {
    font-weight: bold;
    color: #0066ff;
    background: #f0f8ff;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

nav a:hover,
nav a.active {
    background: #9933ff;
    color: white !important;
    border-color: #0066ff;
}

/* Sections */
section {
    margin-bottom: 50px;
    animation: fadeIn 0.5s ease-in-out;
    
    
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

h3 {
    color: #0066ff;
    margin-bottom: 18px;
    border-bottom: 2px solid #66ccff;
    padding-bottom: 6px;
    font-size: 1.5em;
    
}

h4 {
    color: #9933ff;
    margin-top: 25px;
    font-size: 1.2em;
}

/* Lists */
ul li {
    margin-bottom: 10px;
    padding-left: 18px;
    position: relative;
    font-size: 1em;
}

ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0066ff;
    font-weight: bold;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    /* Updated box-shadow to match header */
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.497);
    

}

table th, table td {
    border: 1px solid #e0e0e0;
    padding: 14px;
    text-align: center;
}

table th {
    background-color: #0066ff;
    color: white;
    font-weight: bold;
    background: linear-gradient(to right, #0066ff, #66ffcc);
}

table tr:nth-child(even) {
    background-color: #f2f9ff;
}

table tr:hover {
    background-color: #e6f7ff;
}

/* Links */
a {
    color: #0d6b6fcb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

a:hover {
    color: #9933ff;
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    font-size: 0.95em;
    color: #555;
    border-top: 1px solid #ccc;
    margin-top: 60px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Fade-in effect for .js scroll observer */
.fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll-to-Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #0066ff;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    display: none;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
}

#scrollTopBtn:hover {
    background-color: #0044cc;
}
