/* ========== General Styles ========== */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121826;
    color: #E0E0E0;
    line-height: 1.6;
    text-align: center;
}

/* ========== Header ========== */
header {
    background: #1E2A38;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
}

/* Navigation */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #E0E0E0;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background: #3B82F6;
    color: #ffffff;
}

/* ========== Training Section Styling ========== */
.training-section {
    background: #111827;
    padding: 20px;
    margin: 20px auto;
    border-radius: 15px;
    width: 80%;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Glow Effect on Hover */
.training-section:hover {
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
    transform: scale(1.02);
}

/* ========== Input Fields ========== */
input {
    padding: 12px;
    width: 85%;
    margin-top: 10px;
    border: 2px solid #3B82F6;
    border-radius: 6px;
    font-size: 1em;
    background-color: #18233A;
    color: white;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease-in-out;
}

input:focus {
    outline: none;
    border-color: #00C8FF;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.9);
}

/* ========== Buttons ========== */
button {
    padding: 12px 18px;
    background-color: #3B82F6;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 12px;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease-in-out;
}

button:hover {
    background-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0px 0px 15px rgba(0, 200, 255, 0.6);
}

/* ========== Table Styling ========== */
table {
    width: 80%;
    margin: 0 auto; /* Centers the table */
    border-collapse: collapse;
    text-align: center; /* Centers text inside the table */
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.6);
}

th {
    background-color: #007BFF;
    color: white;
    padding: 12px;
    font-size: 1.1em;
}

td {
    padding: 10px;
    border-bottom: 1px solid #00bfff;
}

th, td {
    text-align: center;
}

/* ========== Slideshow Styling ========== */
.slideshow-container {
    position: relative;
    max-width: 60%;
    margin: auto;
    padding: 20px;
    text-align: center;
}

/* Hide all slides by default */
.slide {
    display: none;
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0px 5px 20px rgba(0, 191, 255, 0.5);
}

/* Slideshow Navigation Buttons */
button.prev, button.next {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 5px;
    margin: 10px;
    transition: background 0.3s, box-shadow 0.3s;
}

button.prev:hover, button.next:hover {
    background-color: #00BFFF;
    box-shadow: 0px 0px 15px rgba(0, 191, 255, 0.7);
}

/* Slide Caption */
.slide-caption {
    margin-top: 10px;
    font-size: 1.1em;
    font-weight: bold;
    color: #ffffff;
}

/* Return to Home Button */
.return-button {
    display: inline-block;
    margin: 15px auto;
    padding: 12px 20px;
    background-color: #3B82F6;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease-in-out, box-shadow 0.3s;
    box-shadow: 0px 5px 15px rgba(0, 191, 255, 0.5);
}

/* Hover Effect */
.return-button:hover {
    background-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0px 0px 20px rgba(0, 191, 255, 0.7);
}

/* Aligns Button with Other Buttons */
.return-button a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Center Button */
.return-button-container {
    text-align: center;
    margin-top: 15px;
}



/* ========== Footer ========== */
footer {
    margin-top: 30px;
    padding: 15px;
    background: #1E2A38;
    color: white;
    font-size: 1em;
    font-weight: 500;
}
