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

body, .course-page {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f7ff;
}

header {
    width: 100%;
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #111827;
    padding: 1em 3em;
}

.logo {
    max-height: 35px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2em;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
}

.login-button, .subscription-form button {
    padding: 0.8em 1.5em;
    font-size: 1.1em;
    font-weight: bold;
    background-color: #2e44ff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-button:hover, .subscription-form button:hover {
    background-color: #1f34cc;
}

.hero-section, .course-section {
    width: 100%;
    padding: 4em 0;
}

.hero-section {
    background-color: #e9f0f5;
}

.course-section {
    background-color: #4da6b3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2em;
    display: flex;
    align-items: center;
    gap: 2em;
}

.gopher-image {
    width: 40%;
    max-width: 500px;
    margin-right: 2em;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2.4em;
    font-weight: 700;
    color: #1b1e23;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

.hero-content p {
    color: #6c7a8a;
    font-size: 1.2em;
    margin-bottom: 0.8em;
    line-height: 1.5;
}

.subscription-form {
    display: flex;
    gap: 0.5em;
    margin-top: 1.2em;
}

.subscription-form input[type="email"] {
    padding: 0.8em;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
    flex-grow: 1;
}

.course-image img {
    width: 60%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.course-content {
    color: #ffffff;
    max-width: 500px;
}

.course-price {
    color: #ffffff;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 0.5em;
    display: block;
}

.course-content h2 {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 0.5em;
}

.course-type {
    font-size: 1em;
    color: #dcdcdc;
    margin-bottom: 1em;
}

.course-content p {
    font-size: 1em;
    margin-bottom: 1em;
    line-height: 1.5;
}

.course-buttons {
    display: flex;
    gap: 1em;
    margin-top: 1em;
}

.buy-button, .learn-more-button {
    padding: 0.6em 1.2em;
    font-size: 1em;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.buy-button {
    background-color: #ffffff;
    color: #4da6b3;
    padding: 0.8em 1.2em;
}

.learn-more-button {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.buy-button:hover {
    background-color: #f0f0f0;
}

.learn-more-button:hover {
    background-color: #ffffff;
    color: #4da6b3;
}

@media (max-width: 768px) {
    .hero-section, .course-section {
        flex-direction: column;
        text-align: center;
        padding: 2em;
    }

    .container {
        flex-direction: column;
        align-items: center;
    }

    .gopher-image, .course-image img {
        width: 80%;
        max-width: none;
        margin-right: 0;
        margin-bottom: 1em;
    }

    .nav-links, .login-button {
        display: none;
    }

    .hamburger {
        display: block;
        font-size: 1.5em;
        color: #ffffff;
        cursor: pointer;
    }

    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .subscription-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6em;
    }

    .subscription-form {
        gap: 0.5em;
    }
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 1em;
}

.menu-content {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 0.5em 1em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 180px;
    animation: slideIn 0.3s ease;
}

.menu-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-content ul li {
    display: flex;
    align-items: center;
    margin: 0.4em 0;
}

.menu-content a {
    color: #111827;
    text-decoration: none;
    font-size: 1em;
    font-weight: normal;
    margin-left: 0.5em;
}

.menu-icon {
    width: 16px;
    height: 16px;
}

.menu-divider {
    border: none;
    border-top: 1px solid #dcdcdc;
    margin: 0.4em 0;
    width: 100%;
}

.close-icon {
    font-size: 1.3em;
    cursor: pointer;
    color: #111827;
    text-align: right;
}

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

.resources-section {
    background-color: #0f172a;
    color: #ffffff;
    padding: 4em 2em;
    text-align: center;
}

.resources-section h2 {
    font-size: 2.4em;
    font-weight: bold;
    margin-bottom: 2em;
    color: #ffffff;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 2em;
    margin-bottom: 3em;
    padding: 2em;
    background-color: #1e293b;
    border-radius: 8px;
    color: #e2e8f0;
}

.resource-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.resource-content {
    flex: 1;
    text-align: left;
}

.resource-content h3 {
    font-size: 1.8em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.5em;
}

.resource-content p {
    color: #cbd5e1;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 1em;
}

.resource-content ul {
    color: #cbd5e1;
    margin-bottom: 1em;
}

.resource-content ul li {
    margin-left: 1.5em;
    list-style-type: disc;
}

.resource-button {
    padding: 0.8em 1.5em;
    font-size: 1em;
    font-weight: bold;
    background-color: #2e44ff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
}

.resource-button:hover {
    background-color: #1f34cc;
}

.footer-bar {
    background-color: #f8fafc;
    color: #6b7280;
    text-align: center;
    padding: 1em 0;
    font-size: 0.9em;
    border-top: 1px solid #e5e7eb;
}

.footer-link {
    color: #6b7280;
    text-decoration: none;
    margin: 0 0.5em;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #374151;
}

.footer-separator {
    color: #6b7280;
}

.profile-label {
    color: #ffffff;
    font-weight: bold;
}

.hamburger {
    display: none;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        font-size: 1.5em;
        color: #ffffff;
        cursor: pointer;
    }

    .nav-links, #login-container, #profile-container {
        display: none;
    }
}

@media (max-width: 480px) {
    .resource-item {
        flex-direction: column;
        text-align: center;
        padding: 2em 1em;
    }

    .resource-image img {
        width: 100px;
        height: 100px;
        margin-bottom: 1em;
    }

    .resource-content {
        text-align: center;
    }

    .resource-button {
        margin-top: 1em;
    }
}

.course-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.course-page {
    background-color: #111827;
    color: #ffffff;
}

.course-page-container {
    display: flex;
    width: 100%;
}

.course-page-sidebar {
    width: 250px;
    background-color: transparent;
    padding: 20px;
    color: #fff;
    border-right: 1px solid #ffffff;
}

.course-page-sidebar-menu {
    list-style-type: none;
    font-size: 0.9em;
}

.course-page-sidebar-menu ul {
    list-style-type: none;
    margin-top: 10px;
    padding-left: 20px;
}

.course-page-sidebar-menu li ul li {
    font-weight: normal;
    margin-bottom: 5px;
}

.course-page-coming-soon {
    font-size: 0.1em;
    color: #7A7A7A;
    background-color: #333333;
    padding: 3px 6px;
    border-radius: 3px;
}

.course-page-video-section {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
}

.course-page-video-section iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    outline: none;
    border: none;
}

.course-page-main-content {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.course-page-summary {
    flex: 3;
    padding-right: 20px;
}

.course-page-title {
    border-bottom: 1px solid #ffffff;
}

.course-text-section {
    margin-top: 20px;
}

.course-page-sidebar-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.course-page-pricing {
    background-color: transparent;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.course-page-pricing h2 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.course-page-price {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
    margin: 0;
}

.course-page-price span {
    font-size: 0.5em;
    font-weight: normal;
    vertical-align: super;
    margin-left: 4px;
}

.course-page-price small {
    font-size: 0.7em;
    color: #b3b3b3;
    display: block;
    margin-top: 4px;
}

.course-page-buy-now {
    background-color: #3B82F6;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
}

.course-page-buy-now:hover {
    background-color: #2563EB;
}

.course-page-testimonial {
    background-color: transparent;
    color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9em;
    line-height: 1.6;
    border: 1px solid #ffffff;
}

.course-page-taxes {
    font-size: 0.7em;
}

@media (max-width: 768px) {
    .course-page-container {
        flex-direction: column;
        padding: 10px;
    }

    .course-page-main-content {
        flex-direction: column;
    }

    .course-page-sidebar {
        width: 100%;
        padding: 15px;
        margin-bottom: 20px;
    }

    .course-page-summary, .course-page-sidebar-right {
        padding: 0;
        width: 100%;
    }

    .course-page-video-section iframe {
        height: 300px;
    }

    .course-page-buy-now {
        width: 100%;
    }
}

.course-page-sidebar {
    width: 250px;
    background-color: transparent;
    padding: 20px;
    color: #fff;
    border-right: 1px solid #ffffff;
}

.course-page-dropdown-toggle {
    display: none;
    width: 100%;
    padding: 10px;
    background-color: #333333;
    color: #ffffff;
    border: none;
    text-align: left;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .course-page-sidebar {
        display: none;
        width: 100%;
    }

    .course-page-sidebar.show {
        display: block;
        margin-top: 10px;
        border-radius: 5px;
    }

    .course-page-dropdown-toggle {
        display: block;
        margin-bottom: 10px;
    }
}

.course-page-sidebar ul ul {
    display: none;
    transition: max-height 0.3s ease;
}

.course-page-sidebar ul li.active > ul {
    display: block;
}

.course-page-video-container {
    display: none;
}

.course-page-video-container.active {
    display: block;
}

.course-page-sidebar-menu li {
    position: relative;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 15px;
}

.course-page-sidebar-menu li .caret {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    color: #7A7A7A;
    transition: transform 0.3s ease;
}

.course-page-sidebar-menu li.active .caret{
    visibility: hidden;
}

.course-page-sidebar-menu li.active {
    font-weight: bold;
    background-color: #e0f7fa;
}

.course-page-sidebar-menu ul li:hover {
    color: #3B82F6;
}