body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f9f9f9;
    color: #333;
}

h1, h2, h3 {
    color: #333;
}

p {
    margin: 10px 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* General Header Styling */
header {
    width: 100%;
    background-color: #ffffff; /* White background for a clean look */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 10px 20px;
    /*position: sticky;*/
    top: 0;
    z-index: 1000;
}

/* Nav Container */
.nav-container {
    display: flex;
    justify-content: space-between; /* Space between left and right logos */
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo Box Styling */
.logo-box {
    display: flex;
    align-items: center;
    padding: 5px; /* Reduced padding for a compact look */
    transition: transform 0.3s ease;
    width: 30%;
    /*background-color: yellow;*/
}

.logo-box:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Left Logo */
.left-logo {
    justify-content: flex-start; /* Align to the left */
}

/* Right Logo */
.right-logo {
    justify-content: flex-end; /* Align to the right */
}

/* Logo Styling */
.logo {
    width: auto; /* Auto width to maintain aspect ratio */
    max-width: 200px; /* Smaller logos for a compact look */
    height: 150px; /* Fixed height for consistency */
    object-fit: contain;
    transition: filter 0.3s ease;
}

.logo:hover {
    filter: brightness(1.1); /* Brighten logo on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        max-width: 100px; /* Smaller logos for tablets */
        height: 60px; /* Slightly smaller height */
    }

    header {
        position: sticky;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 5px; /* Reduce padding for very small screens */
        position: sticky;
    }

    .logo {
        max-width: 80px; /* Even smaller logos for mobile */
        height: 60px; /* Smaller height for mobile */
    }
}

/* Sections */
section {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
}

/* Call-to-Action Button */
.cta-button {
    display: inline-block;
    background: #f39c12;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #e67e22;
}

/* Features Section */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.feature {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1 1 calc(33.333% - 40px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.feature .icon {
    font-size: 2.5rem;
    color: #2575fc;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.feature:hover .icon {
    color: #6a11cb;
}

.feature h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #2575fc;
}

.feature p {
    font-size: 1rem;
    color: #666;
}

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
}

form input {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background: #3498db;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background: #2980b9;
}

/* Module Styling */
.module {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.module:hover {
    background-color: #f1f1f1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.module span {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.module .arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.module-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    background-color: #fafafa;
    border-radius: 5px;
    margin-top: 10px;
    padding: 0 15px;
}

.module-content ol {
    padding-left: 20px;
}

.module-content li {
    margin-bottom: 10px;
}

.module-content strong {
    color: #2c3e50;
}

.module-content ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 5px;
}

.module-content ul li {
    margin-bottom: 5px;
}

/* Expanded State */
.module.active {
    background-color: #e9e9e9;
}

.module.active .arrow {
    transform: rotate(90deg);
}

.module.active + .module-content {
    max-height: 1000px; /* Adjust based on content size */
    padding: 15px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .nav-container {
        flex-wrap: nowrap;
        gap: 5px;
    }

    #same-box {
        max-width: 45%;
        padding: 5px;
    }

    #logo {
        max-width: 140px;
    }

    section {
        padding: 15px;
        margin: 10px 0;
    }

    .feature {
        flex: 1 1 calc(50% - 40px);
    }

    .module {
        padding: 10px;
    }

    .module span {
        font-size: 16px;
    }

    .module .arrow {
        font-size: 16px;
    }

    form input {
        padding: 8px;
    }

    form button {
        padding: 8px;
    }

    footer {
        padding: 15px;
    }

    .course-img {
        width: 300px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 14px;
    }

    .feature {
        flex: 1 1 100%;
    }

    .feature h2 {
        font-size: 1.3rem;
    }

    .feature p {
        font-size: 0.9rem;
    }

    .module span {
        font-size: 14px;
    }

    .module .arrow {
        font-size: 14px;
    }

    .module-content {
        padding: 0 10px;
    }

    .module-content ol, .module-content ul {
        padding-left: 15px;
    }

    .course-img {
        width: 320px;
    }
}