/* Global Styles */
body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #2980b9;
    color: white;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.header h1 {
    margin: 0;
    font-size: 32px;
}

.header p {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

/* Logo Styles */
.header .logo {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.header .logo:hover {
    color: #3498db;
}

/* Navigation Links Styles */
.header .nav-links {
    display: flex;
    gap: 20px;
    padding-right: 20px;
}

.header .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.header .nav-links a:hover {
    background-color: #3498db;
    color: white;
}

.header .nav-links a.active {
    background-color: #e74c3c;
    color: white;
}

/* Side Menu Styles */
.side-menu {
    position: fixed;
    top: 84px; /* Adjusted to account for header height */
    left: 0;
    width: 25%;
    height: calc(100% - 84px); /* Adjusted to account for header height */
    background-color: #2c3e50;
    padding: 0;
    box-sizing: border-box;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding-bottom: 32;
}

.side-menu a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    text-decoration: none;
    color: #ecf0f1;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 500;
    border-left: 4px solid transparent;
    min-height: 44px;
}

.side-menu a:hover {
    background-color: #34495e;
    color: #fff;
}

.side-menu a.active {
    background-color: #2980b9;
    color: white;
    position: relative;
    overflow: visible;
}

.side-menu a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background-color: #e74c3c;
}

.side-menu a.indent-0 { 
    padding-left: 5px; 
    padding-top: 20px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.side-menu a.indent-1 { 
    padding-left: 40px; 
    font-size: 14px;
    font-weight: 500;
    padding-top: 8px;
    padding-bottom: 8px;
}

.side-menu a.indent-2 { 
    padding-left: 60px; 
    font-size: 13px;
    font-weight: 450;
    font-style: italic;
    padding-top: 6px;
    padding-bottom:6 px;
}

.side-menu a.indent-3 { 
    padding-left: 75px; 
    font-size: 12px;
    font-weight: 400;
    color: #bdc3c7;
    padding-top: 4px;
    padding-bottom: 4px;
}

.side-menu a:hover {
    border-left-color: #3498db;
}

.side-menu a.indent-0.active::before { background-color: #e74c3c; }
.side-menu a.indent-1.active::before { background-color: #f39c12; }
.side-menu a.indent-2.active::before { background-color: #2ecc71; }
.side-menu a.indent-3.active::before { background-color: #9b59b6; }

/* Certification Name Styles */
/* Certification Name Styles */
.certname {
    font-family: 'Arial', sans-serif; /* Change to your preferred font */
    font-weight: bold;
    font-size: 1.5em; /* Increase font size */
    text-align: center;
    color: #d0d4d2; /* Change to your preferred color */
    position: sticky;
    top: 0;
    background-color: #2c3e50; /* Change to your preferred background color */
    padding: 15px 0; /* Increase padding */
    z-index: 1000;
    border-bottom: 3px solid #219653; /* Add a border at the bottom */
    margin-bottom: 10px;
    text-transform: uppercase; /* Make the text uppercase */
    letter-spacing: 2px; /* Add letter spacing */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
    transition: background-color 0.3s ease, color 0.3s ease; /* Add transition effects */
}

.certname:hover {
    background-color: #34495e; /* Change background color on hover */
    color: #fff; /* Change text color on hover */
}

/* Content Area Styles */
.content {
    width: 75%;
    float: right;
    padding: 20px;
    box-sizing: border-box;
    margin-left: 25%;




    position: relative;
    margin-top: 50px; /* Adjusted to account for header height */
}

/* Navigation Styles */
.navigation {
    position: absolute;
    right: 20px;
    bottom: 20px;
    text-align: center;
}

.navigation .prev,
.navigation .next {
    position: fixed;
    display: inline-block;
    padding: 10px 20px;
    font-size: 28px;
    border: none;
    border-radius: 5px;
    background-color: rgba(41, 128, 185, 0.8);
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 6px 0 rgba(31, 99, 138, 0.8);
    margin: 0 10px;
}

.navigation .prev {
    bottom: 20px;
    right: 20px;
}

.navigation .next {
    bottom: 20px;
    right: 80px;
}

.navigation .prev:hover,
.navigation .next:hover {
    background-color: rgba(52, 152, 219, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2), 0 8px 0 rgba(36, 113, 163, 0.8);
}

.navigation .prev:active,
.navigation .next:active {
    background-color: rgba(36, 113, 163, 0.8);
    transform: translateY(4px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 2px 0 rgba(31, 99, 138, 0.8);
}

/* Code Block Styles */
pre {
    padding: 15px;
    border: 1px solid #ddd;
    overflow-x: auto;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

/* Lesson Styles */
.lesson-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.lesson-content {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.lesson-content p {
    margin-bottom: 20px;
}

.lesson-content ul {
    list-style-type: disc;
    margin-left: 40px;
    margin-bottom: 20px;
}

.lesson-content ul li {
    margin-bottom: 10px;
}

.lesson-content code {
    padding: 2px 5px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    color: #e74c3c;
}

/* Quiz Styles */
.quiz {
    background-color: #ecf0f1;
    padding: 20px;
    border-radius: 5px;
    margin-top: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quiz h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.quiz label {
    display: block;
    margin-bottom: 15px;
    font-size: 18px;
    color: #555;
}

.quiz input[type="radio"] {
    margin-right: 10px;
}

.quiz button {
    background-color: #2ecc71;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: auto;
    box-sizing: border-box;
}

.quiz button:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.quiz button:active {
    background-color: #219653;
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Example Styles */
.example {
    padding: 15px;
    border-left: 5px solid #007BFF;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.example pre {
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    white-space: pre-wrap;
    color: #333;
}

.example p {
    margin-top: 10px;
    color: #555;
}

.example strong {
    color: #007BFF;
}
.copyright{
    margin-top: 14px;
    margin-top: 24px;
    text-align: center;

}
br{
    line-height: 0;
}