* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol";
}

a.nav-btn-hero {
    display: inline-block;
    background: #2c4c9c;
    color: #fff;
    padding: 8px 25px !important;
    border-radius: 5px;
    /* font-weight: 600; */
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    font-family: "Inter";
}

a.nav-btn-hero:hover {
    background: #0c58c0 !important;
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(216, 235, 214, 0.4);
    transform: translateY(-3px);
}

a.nav-btn-hero-filled {
    display: inline-block;
    background: #fff;
    color: #2c4c9c;
    padding: 7.1px 20px !important;
    border-radius: 5px;
    /* font-weight: 600; */
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    font-family: "Inter";
}

a.nav-btn-hero-filled:hover {
    background: #0c58c0 !important;
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(216, 235, 214, 0.4);
    transform: translateY(-3px);
}

.nav-body {
    background-color: #f5f7fa;
    color: #2c2c2c;
    padding-top: 82px;
}

.nav-header {
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 16px 24px;
    z-index: 1000;
    background-color: #f5f7fa;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    top 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-header.nav-scrolled {
    top: 10px;
    width: calc(100% - 100px);
    max-width: 1400px;
    padding: 8px 16px;
    border-radius: 50px;
    background-color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    width: 100px;
    height: 50px;
    object-fit: contain;
    transition: width 0.3s ease, height 0.3s ease;
}

.nav-header.nav-scrolled .nav-logo img {
    width: 80px;
    height: 40px;
}

.nav-toggle {
    display: none;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
    color: #2c2c2c;
    padding: 5px;
}

.nav-navigation {
    display: flex;
    padding: 6px;
    gap: 10px;
    transition: padding 0.3s ease, gap 0.3s ease;
    flex-wrap: wrap;
    background-color: #f5f7fa;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(200, 200, 200, 0.2);
    border-radius: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.nav-header.nav-scrolled .nav-navigation {
    padding: 4px;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-navigation a {
    padding: 10px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    color: #2c2c2c;
    transition: padding 0.3s ease, font-size 0.3s ease;
    display: inline-block;
}

.nav-header.nav-scrolled .nav-navigation a {
    padding: 8px 14px;
    font-size: 14px;
}

.nav-navigation a.nav-active {
    background-color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.nav-navigation a:hover,
.nav-dropdown a:hover {
    background-color: rgba(10, 102, 194, 0.1);
    color: #2c2c2c;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background-color: #ffffff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(200, 200, 200, 0.2);
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

.nav-dropdown::-webkit-scrollbar {
    width: 6px;
}

.nav-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.nav-dropdown::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.nav-dropdown::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.nav-dropdown a {
    display: block;
    padding: 10px 16px;
    border-radius: 0;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: gap 0.3s ease;
}

.nav-header.nav-scrolled .nav-actions {
    gap: 8px;
}

.nav-mobile-actions {
    display: none;
}

.nav-has-dropdown > a::after {
    content: " \f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 4px;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.header-section {
    padding: 40px 40px;
    max-width: 1400px !important;
    width: calc(100% - 100px);
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 25px;
    margin: 20px auto;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.header-nav .nav-left {
    display: flex;
    align-items: center;
}

.header-nav .nav-left a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    margin-right: 10px;
}

.nav-right {
    display: flex;
    gap: 12px;
}

.header-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.header-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.header-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.header-tabs button {
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-tabs button.active {
    font-weight: 600;
    color: #0a66c2;
    border-bottom: 2px solid #0a66c2;
}

.header-tabs button:hover {
    color: #0a66c2;
    border-bottom: 2px solid #0a66c2;
}

.progress-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.progress-bar span {
    font-size: 14px;
    font-weight: bold;
    color: #000;
}

.progress-bar .done {
    color: #0a66c2;
}

.progress-bar .track-progress {
    background-color: transparent;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
}

.image-section {
    text-align: center;
    border-radius: 15px;
    margin: 20px 60px;
}

.image-section img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
}

.faq-section {
    padding: 40px 40px;
    max-width: 1400px !important;
    width: calc(100% - 100px);
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 25px;
    margin: 20px auto;
}

.faq-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    margin-bottom: 10px;
}

.faq-item summary {
    padding: 15px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: "▼";
    font-size: 12px;
}

.faq-item[open] summary::after {
    content: "▲";
}

.faq-item p {
    padding: 15px;
    font-size: 14px;
    color: #666;
    background-color: #f9f9f9;
    border-radius: 0 0 25px 25px;
}

.footer-section {
    padding: 40px 60px;
    background-color: #333;
    color: #fff;
    text-align: center;
}

.footer-section p {
    font-size: 14px;
}

.footer-section a {
    color: #ffd700;
    text-decoration: none;
}

.related-courses-section {
    padding: 40px 40px;
    max-width: 1400px !important;
    width: calc(100% - 100px);
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 25px;
    margin: 20px auto;
}

.related-courses-section h2 {
    font-size: 24px;
    margin-bottom: 30px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.course-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-card-content {
    padding: 15px;
}

.course-card-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.course-meta-icon {
    width: 16px;
    height: 16px;
    color: #0a66c2;
}

.taka-symbol {
    color: #0a66c2;
    font-weight: 500;
}

.btn {
    padding: 6px 12px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    min-width: 100px;
    justify-content: center;
}

.btn-primary {
    background: #0a66c2;
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: #0c4da2;
}

.btn-secondary {
    background: white;
    color: #0a66c2;
    border: 1.5px solid #0a66c2;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.363),
        transparent
    );
    transition: 0.5s;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    color: white;
    background: #0c4da2;
}

.enroll-btn {
    width: 100%;
    padding: 12px;
    background-color: #0a66c2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.enroll-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.enroll-btn:hover {
    background-color: #0c4da2;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(10, 102, 194, 0.3);
}

.enroll-btn:hover::before {
    left: 100%;
}

@media (max-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-courses-section {
        padding: 40px 30px;
    }
}

@media (max-width: 950px) {
    .nav-header {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .nav-header.nav-scrolled {
        top: 10px;
        flex-wrap: nowrap;
    }

    .nav-toggle {
        display: block;
        order: 3;
    }

    .nav-navigation {
        flex-direction: column;
        width: 100%;
        order: 4;
        padding: 12px;
        margin-top: 12px;
        border-radius: 16px;
        display: none;
        background-color: #f5f7fa;
    }

    .nav-navigation.nav-show {
        display: flex;
    }

    .nav-header.nav-scrolled .nav-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        margin-top: 10px;
        border-radius: 16px;
        padding: 12px;
    }

    .nav-item {
        width: 100%;
    }

    .nav-navigation a {
        width: 100%;
        padding: 12px;
        display: block;
    }

    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.5);
        box-shadow: none;
        padding: 0;
        border: none;
        margin-top: 5px;
        border-left: 2px solid #0a66c2;
        border-radius: 0;
    }

    .nav-dropdown.nav-show-dropdown {
        display: block;
    }

    .nav-dropdown a {
        padding-left: 24px;
    }

    .nav-has-dropdown > a::after {
        float: right;
    }

    .nav-has-dropdown > a.nav-dropdown-active::after {
        transform: rotate(180deg);
    }

    .nav-actions {
        display: none !important;
    }

    .nav-mobile-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
        gap: 10px;
    }

    .nav-mobile-actions .nav-btn {
        width: 100%;
        height: 40px;
        border-radius: 24px;
        font-size: 14px;
        padding: 0 15px;
        min-height: 40px;
    }
}

@media (max-width: 768px) {
    .header-content h1 {
        font-size: 32px;
        margin-bottom: 8px;
    }

    .header-content p {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .header-section {
        padding: 30px 20px;
        margin: 20px 20px;
        width: calc(100% - 40px);
    }

    .faq-section {
        padding: 30px 20px;
        margin: 20px 20px !important;
        width: calc(100% - 40px) !important;
    }

    .header-tabs {
        gap: 10px;
    }

    .header-tabs button {
        padding: 8px 12px;
        font-size: 12px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .related-courses-section {
        padding: 30px 20px;
        margin: 20px 20px;
        width: calc(100% - 40px);
    }

    .btn-secondary {
        display: none;
    }

    .btn-primary {
        min-width: 20px;
    }

    .nav-header.nav-scrolled {
        width: calc(100% - 40px);
    }
}

@media (max-width: 380px) {
    .header-content h1 {
        font-size: 24px;
    }

    .header-content p {
        font-size: 13px;
    }

    .header-tabs {
        align-items: center;
        gap: 6px;
    }

    .header-tabs button {
        padding: 6px 12px !important;
        min-width: 100px !important;
    }
}
