
:root {
    --primary-color: #f4c150; 
    --secondary-color: #4A4A4A; 
    --dark-color: #333333;
    --light-color: #ffffff;
    --text-color: #555555;
    --footer-bg: #2c2c2c;
    --section-bg-light: #f9f9f9; 
    --border-color: #e0e0e0;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

html {
    scroll-behavior: smooth; 
}

.container {
    max-width: 1500px;
    margin: auto;
    padding: 0 20px;
    overflow: hidden; 
}

h1, h2, h3, h4 {
    color: var(--dark-color);
    margin-bottom: 0.75em;
}

h1 { font-size: 2.8em; line-height: 1.2; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.5em; }

p {
    margin-bottom: 1em;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.section-padding {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #777;
}

.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}


.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
}
.btn-primary:hover {
    background-color: #e0ac3e;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-color);
}
.btn-secondary:hover {
    background-color: #3a3a3a;
    transform: translateY(-2px);
}

.btn-tertiary {
    background-color: var(--primary-color);
    color: var(--dark-color);
    padding: 10px 20px;
    font-size: 0.9em;
    display: block;
    text-align: center;
    margin-top: 15px;
    border-radius: 5px;
}
.btn-tertiary:hover {
    background-color: #e0ac3e;
}

.btn-dark {
    background-color: var(--dark-color);
    color: var(--light-color);
}
.btn-dark:hover {
    background-color: #222;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1em;
}


#main-header {
    background-color: var(--light-color);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

#main-header .logo {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--dark-color);
}

#main-header .logo .js-logo {
    background-color: var(--primary-color);
    color: var(--dark-color);
    padding: 2px 8px;
    border-radius: 3px;
    margin-right: 5px;
}

#navbar ul {
    display: flex;
}

#navbar ul li {
    margin-left: 25px;
}

#navbar ul li a {
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

#navbar ul li a:hover,
#navbar ul li a.active {
    color: var(--primary-color);
}

#menu-toggle { 
    display: none;
    background: none;
    border: none;
    color: var(--dark-color);
    font-size: 1.5rem;
    cursor: pointer;
}


#hero {
    background-color: var(--primary-color);
    color: var(--dark-color);
    padding: 100px 0;
    text-align: center;
}

#hero h1 {
    color: var(--dark-color); 
}

#hero p {
    font-size: 1.1em;
    max-width: 700px;
    margin: 20px auto 30px auto;
    color: #50411e; 
}

#hero .hero-buttons a {
    margin: 0 10px;
}
#hero .btn-primary {
    background-color: var(--light-color); 
    color: var(--dark-color);
}
#hero .btn-primary:hover {
    background-color: #f0f0f0;
}
#hero .btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-color);
    border: 1px solid var(--secondary-color); 
}
#hero .btn-secondary:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
}


#why-us {
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5em;
    color: var(--primary-color);
    background-color: #fff0d4;
    padding: 15px;
    border-radius: 50%;
    margin-bottom: 20px;
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 40px; 
}

.feature-card h3 {
    margin-bottom: 10px;
}


#curriculum {
    background-color: var(--section-bg-light);
}
.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}
.curriculum-card {
    background-color: var(--light-color);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    overflow: hidden; 
}
.curriculum-card .card-header {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.curriculum-card .card-header h3 {
    color: var(--light-color);
    font-size: 1.2em;
    margin-bottom: 0;
}
.curriculum-card .card-header span {
    font-size: 0.9em;
    background-color: rgba(255,255,255,0.1);
    padding: 3px 8px;
    border-radius: 3px;
}
.curriculum-card .card-body {
    padding: 20px;
}
.curriculum-card .card-body ul li {
    margin-bottom: 10px;
    font-size: 0.95em;
    display: flex;
    align-items: center;
}
.curriculum-card .card-body ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}


#projects {
    background-color: var(--light-color);
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.project-card {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease;
}
.project-card:hover {
    transform: translateY(-5px);
}
.project-card .project-icon {
    font-size: 2.8em;
    color: var(--dark-color); 
    margin-bottom: 15px;
}
.project-card h3 {
    margin-bottom: 10px;
}
.project-card p {
    font-size: 0.9em;
    min-height: 50px; 
}
.project-card .project-meta {
    font-size: 0.85em;
    color: #777;
    margin: 15px 0;
    display: flex;
    justify-content: space-around; 
}
.project-card .project-meta span i {
    margin-right: 5px;
}


#testimonials {
    background-color: var(--section-bg-light);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    position: relative;
}
.testimonial-card .quote {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 0.95em;
    position: relative;
    padding-left: 25px; 
}
.testimonial-card .quote::before {
    content: '\f10d'; 
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 1.5em;
    color: var(--primary-color);
    opacity: 0.5;
}
.testimonial-card .student-info {
    display: flex;
    align-items: center;
}
.testimonial-card .student-info i {
    font-size: 2.5em;
    color: var(--dark-color);
    margin-right: 15px;
}
.testimonial-card .student-info h4 {
    margin-bottom: 3px;
    font-size: 1em;
}
.testimonial-card .student-info p {
    font-size: 0.85em;
    color: #777;
    margin-bottom: 0;
}


#cta {
    background-color: var(--primary-color);
    color: var(--dark-color);
    padding: 80px 0;
}
#cta h2 {
    color: var(--dark-color);
    margin-bottom: 15px;
}
#cta p {
    max-width: 600px;
    margin: 0 auto 30px auto;
    color: #50411e;
}
#cta .btn-primary {
    background-color: var(--dark-color); 
    color: var(--light-color);
}
#cta .btn-primary:hover {
    background-color: #222222;
}


#main-footer {
    background-color: var(--footer-bg);
    color: #cccccc;
    padding: 50px 0 0 0;
}
#main-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
#main-footer .logo {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: 15px;
}
#main-footer .logo .js-logo {
    background-color: var(--primary-color);
    color: var(--dark-color);
    padding: 2px 8px;
    border-radius: 3px;
    margin-right: 5px;
}
#main-footer h4 {
    color: var(--light-color);
    margin-bottom: 15px;
    font-size: 1.1em;
}
#main-footer ul li {
    margin-bottom: 10px;
}
#main-footer ul li a {
    color: #cccccc;
    transition: color 0.3s ease;
}
#main-footer ul li a:hover {
    color: var(--primary-color);
}
#main-footer .footer-contact p {
    margin-bottom: 10px;
    font-size: 0.9em;
}
#main-footer .footer-contact p i {
    margin-right: 8px;
    color: var(--primary-color);
}
#main-footer .footer-social a {
    color: #cccccc;
    margin-right: 15px;
    font-size: 1.3em;
    transition: color 0.3s ease;
}
#main-footer .footer-social a:hover {
    color: var(--primary-color);
}
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #444444;
    font-size: 0.9em;
}



@media (max-width: 768px) {
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }

    #main-header .container {
        position: relative; 
    }

    #navbar {
        display: none; 
        position: absolute;
        top: 70px; 
        left: 0;
        width: 100%;
        background-color: var(--light-color);
        box-shadow: var(--box-shadow);
        padding: 10px 0;
    }

    #navbar.active {
        display: block;
    }

    #navbar ul {
        flex-direction: column;
        align-items: center;
    }

    #navbar ul li {
        margin: 10px 0;
    }

    #menu-toggle {
        display: block; 
    }

    .features-grid,
    .curriculum-grid,
    .projects-grid,
    .testimonials-grid,
    #main-footer .footer-grid {
        grid-template-columns: 1fr;
    }

    #hero {
        padding: 60px 0;
    }
    #hero .hero-buttons a {
        display: block;
        margin: 10px auto;
        max-width: 250px;
    }

    .section-padding {
        padding: 40px 0;
    }

    .project-card p {
        min-height: auto;
    }
}

.page-header {
    background-color: var(--section-bg-light); 
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.page-header h1 {
    color: var(--dark-color);
    margin-bottom: 10px;
}
.page-header p {
    font-size: 1.1em;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
}


.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 1rem;
    list-style: none;
    font-size: 0.9em;
    justify-content: center; 
}
.breadcrumb-item {
    display: flex;
}
.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: .5rem;
    padding-left: .5rem;
    color: #6c757d;
    content: "/";
}
.breadcrumb-item.active {
    color: var(--text-color);
}
.breadcrumb-item a {
    color: var(--primary-color);
}
.breadcrumb-item a:hover {
    text-decoration: underline;
}



#curriculum-page-content .curriculum-card .card-body p.module-description {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
    min-height: 60px; 
}


.course-category {
    margin-bottom: 40px;
}
.course-category h2 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.8em;
}
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.course-card {
    display: block; 
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color); 
}
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.course-card .course-icon {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.course-card h3 {
    font-size: 1.2em;
    color: var(--dark-color);
    margin-bottom: 8px;
}
.course-card p {
    font-size: 0.9em;
    margin-bottom: 12px;
    min-height: 50px; 
}
.course-card .course-duration {
    font-size: 0.85em;
    color: #777;
}
.course-card .course-duration i {
    margin-right: 5px;
}



.course-detail-layout, .project-detail-layout {
    display: grid;
    grid-template-columns: 3fr 1fr; 
    gap: 30px;
}
.course-video-and-text h2, .project-main-content h2 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.7em;
}
.course-video-and-text h3, .project-main-content h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.3em;
}
.video-player-container {
    background-color: #000;
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden; 
}
.video-placeholder { 
    width: 100%;
    aspect-ratio: 16 / 9; 
    background-color: #222;
    color: #777;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
}
.video-placeholder i {
    font-size: 3em;
    margin-bottom: 10px;
}
.course-video-and-text ul, .course-video-and-text ol,
.project-main-content ul, .project-main-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}
.course-video-and-text ul li, .project-main-content ul li {
    margin-bottom: 8px;
}

.course-sidebar, .project-sidebar {
    background-color: var(--section-bg-light);
    padding: 20px;
    border-radius: 5px;
    height: fit-content; 
}
.course-sidebar h3, .project-sidebar h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}
.course-sidebar ul li a, .project-sidebar ul li a {
    display: block;
    padding: 8px 0;
    color: var(--text-color);
    transition: color 0.2s ease;
    font-size: 0.95em;
}
.course-sidebar ul li a:hover,
.course-sidebar ul li a.active-lesson {
    color: var(--primary-color);
    font-weight: 500;
}
.project-sidebar .project-meta-list li {
    margin-bottom: 10px;
    font-size: 0.95em;
}
.project-sidebar .project-meta-list li i {
    margin-right: 8px;
    color: var(--primary-color);
    width: 20px; 
}
.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}
.mt-20 { margin-top: 20px; }

.course-navigation {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}


.snippet-card {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}
.snippet-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}
.snippet-card p {
    font-size: 0.95em;
    margin-bottom: 15px;
}
.snippet-card pre {
    background-color: #2d2d2d; 
    border-radius: 5px;
    padding: 15px;
    overflow-x: auto; 
}
.snippet-card pre code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
}
.copy-code-btn {
    background-color: var(--primary-color);
    color: var(--dark-color);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    margin-top: 10px;
    transition: background-color 0.2s ease;
}
.copy-code-btn:hover {
    background-color: #e0ac3e;
}


@media (max-width: 992px) {
    .course-detail-layout, .project-detail-layout {
        grid-template-columns: 1fr; 
    }
    .course-sidebar, .project-sidebar {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 30px 0;
    }
    .page-header h1 {
        font-size: 2em;
    }
    .page-header p {
        font-size: 1em;
    }
    .courses-grid {
        grid-template-columns: 1fr;
    }
    .course-navigation {
        flex-direction: column;
    }
    .course-navigation a {
        margin-bottom: 10px;
    }
    .course-navigation a:last-child {
        margin-bottom: 0;
    }
}
.progress-bar-container {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 5px;
    height: 20px; 
    overflow: hidden; 
}
.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    line-height: 20px; 
    font-size: 0.8em;
    border-radius: 5px 0 0 5px; 
    transition: width 0.5s ease-in-out;
}
.mt-5 { margin-top: 5px; }
.mb-20 { margin-bottom: 20px; }
.list-group {
    padding-left: 0;
    list-style: none;
}
.list-group-item {
    position: relative;
    display: block;
    padding: .75rem 1.25rem;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125);
}
.list-group-item:first-child {
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}
.list-group-item:last-child {
    margin-bottom: 0;
    border-bottom-right-radius: .25rem;
    border-bottom-left-radius: .25rem;
}
.d-flex { display: flex !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-center { align-items: center !important; }
.mb-0 { margin-bottom: 0 !important; }
.ml-2 { margin-left: .5rem !important; }
.badge {
    display: inline-block;
    padding: .35em .65em;
    font-size: .75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}
.badge-success { color: #fff; background-color: #28a745; }
.p-2 { padding: .5rem !important; }
.btn-outline-info { color: #17a2b8; border-color: #17a2b8; }
.btn-outline-info:hover { color: #fff; background-color: #17a2b8; border-color: #17a2b8; }
.mt-30 { margin-top: 30px; }

 #main-header .container {
     display: flex;
     justify-content: space-between;
     align-items: center;
        }
 .header-ad-area {

     text-align: center; 
     margin: 0 auto; 
 }
 .ad-slot-header_banner_728x90 div, .ad-slot-header_banner_728x90 iframe, .ad-slot-header_banner_728x90 ins {
     margin: 0 auto !importan}
        


.ad-slot-container {
    margin: 15px auto;
    display: flex; 
    justify-content: center;
    align-items: center;
}


.ad-slot-header_banner_728x90 {
    min-height: 90px;
    max-width: 728px; 
}
.ad-slot-sidebar_300x250 {
    min-height: 250px;
    max-width: 300px;
}
.in-article-ad {
    margin: 20px 0;
    clear: both; 
}


.ad-slot-container img {
    max-width: 100%;
    height: auto;
    display: block; 
}        
